Infrastructure.available#
- property Infrastructure.available: DiGraph
Return a filtered view containing only the available nodes.
Uses nx.subgraph_view to avoid creating a full Infrastructure instance. The view is dynamic: it reflects the current state of the graph at all times, filtering out nodes where availability <= 0.
- Returns:
A subgraph view with only the available nodes.
- Return type:
nx.DiGraph