finesse.model.Model.to_component_network

Model.to_component_network()[source]

Generate an undirected graph containing components as the nodes of the graph and connections (spaces, wires) between component nodes as the edges of the graph.

Returns:
networkx.Graph

The component network.