finds the edges incident to a vertex set
incident(Vset, G, 'In')
incident(Vset, G, 'Out')
graph or network
vertex in G
vertex set in G
Important:The networks package has been deprecated. Use the superseding command GraphTheory[IncidentEdges]instead.
Given a vertex v the edges incident with v are returned as a set.
Given a vertex set then the set of cut edges to the subgraph induced by that set of edges is returned.
The 'In'/'Out' flags specify which kind of directed edges should be considered. Undirected edges are considered bidirectional and included in both classifications.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[incident](...).
Download Help Document
What kind of issue would you like to report? (Optional)