% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proxy.R
\name{g6_get_ports}
\alias{g6_get_ports}
\alias{g6_get_input_ports}
\alias{g6_get_output_ports}
\title{Extract ports from a g6 graph state via proxy}
\usage{
g6_get_ports(graph)

g6_get_input_ports(graph)

g6_get_output_ports(graph)
}
\arguments{
\item{graph}{A g6_proxy object.}
}
\value{
A named list of ports for each node, optionally filtered by type.
}
\description{
These helpers extract ports from the graph state stored in Shiny input,
accessed via a g6_proxy object. Ports are grouped by node and can be filtered by type.
}
