Package com.powsybl.sld.builders
Class NetworkGraphBuilder
- java.lang.Object
-
- com.powsybl.sld.builders.NetworkGraphBuilder
-
- All Implemented Interfaces:
GraphBuilder
public class NetworkGraphBuilder extends Object implements GraphBuilder
- Author:
- Franck Lecuyer
, Slimane Amar
-
-
Constructor Summary
Constructors Constructor Description NetworkGraphBuilder(com.powsybl.iidm.network.Network network)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstationGraph
buildSubstationGraph(String id)
Build substation graph with no parent graph.SubstationGraph
buildSubstationGraph(String id, ZoneGraph parentGraph)
Build substation graph within the given parent zone graph.VoltageLevelGraph
buildVoltageLevelGraph(String id)
Build voltage level graph with no parent graph.VoltageLevelGraph
buildVoltageLevelGraph(String id, Graph parentGraph)
Build voltage level graph within the given parent graph.ZoneGraph
buildZoneGraph(List<String> substationIds)
Build the zone graph containing the given substations
-
-
-
Method Detail
-
buildVoltageLevelGraph
public VoltageLevelGraph buildVoltageLevelGraph(String id, Graph parentGraph)
Description copied from interface:GraphBuilder
Build voltage level graph within the given parent graph.- Specified by:
buildVoltageLevelGraph
in interfaceGraphBuilder
-
buildVoltageLevelGraph
public VoltageLevelGraph buildVoltageLevelGraph(String id)
Description copied from interface:GraphBuilder
Build voltage level graph with no parent graph. This means the root graph is the created voltage level graph.- Specified by:
buildVoltageLevelGraph
in interfaceGraphBuilder
-
buildSubstationGraph
public SubstationGraph buildSubstationGraph(String id, ZoneGraph parentGraph)
Description copied from interface:GraphBuilder
Build substation graph within the given parent zone graph.- Specified by:
buildSubstationGraph
in interfaceGraphBuilder
-
buildSubstationGraph
public SubstationGraph buildSubstationGraph(String id)
Description copied from interface:GraphBuilder
Build substation graph with no parent graph. This means the root graph is the created substation graph.- Specified by:
buildSubstationGraph
in interfaceGraphBuilder
-
buildZoneGraph
public ZoneGraph buildZoneGraph(List<String> substationIds)
Description copied from interface:GraphBuilder
Build the zone graph containing the given substations- Specified by:
buildZoneGraph
in interfaceGraphBuilder
-
-