finesse.model.Model.to_component_network

Model.to_component_network(add_edge_info: bool = False)[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.