finesse.model.Model.get_network¶
- Model.get_network(network_type='full')[source]¶
 Get specified network.
- Parameters:
 - network_typestr, optional
 The network type to export: full (nodes, ports and components), “components” (just components), or “optical” (the optical subnetwork).
- Returns:
 networkx.DiGraphThe network.
- Raises:
 - ValueError
 If the specified network_type is unknown.