Package | Description |
---|---|
com.powsybl.sld | |
com.powsybl.sld.layout | |
com.powsybl.sld.model | |
com.powsybl.sld.svg |
Modifier and Type | Method and Description |
---|---|
void |
VoltageLevelDiagram.writeSvg(String prefixId,
ComponentLibrary componentLibrary,
LayoutParameters layoutParameters,
DiagramInitialValueProvider initialValueProvider,
DiagramStyleProvider styleProvider,
Path svgFile) |
void |
SubstationDiagram.writeSvg(String prefixId,
ComponentLibrary componentLibrary,
LayoutParameters layoutParameters,
DiagramInitialValueProvider initProvider,
DiagramStyleProvider styleProvider,
Path svgFile) |
Modifier and Type | Method and Description |
---|---|
LayoutParameters |
InfoCalcPoints.getLayoutParam() |
LayoutParameters |
LayoutParameters.setArrowDistance(double arrowDistance) |
LayoutParameters |
LayoutParameters.setAvoidSVGComponentsDuplication(boolean avoidSVGComponentsDuplication) |
LayoutParameters |
LayoutParameters.setCellWidth(double cellWidth) |
LayoutParameters |
LayoutParameters.setDiagramName(String diagramName) |
LayoutParameters |
LayoutParameters.setDrawStraightWires(boolean drawStraightWires) |
LayoutParameters |
LayoutParameters.setExternCellHeight(double externCellHeight) |
LayoutParameters |
LayoutParameters.setHorizontalBusPadding(double horizontalSpaceBus) |
LayoutParameters |
LayoutParameters.setHorizontalSnakeLinePadding(double horizontalSnakeLinePadding) |
LayoutParameters |
LayoutParameters.setHorizontalSubstationPadding(double padding) |
LayoutParameters |
LayoutParameters.setInitialXBus(double initialXBus) |
LayoutParameters |
LayoutParameters.setInitialYBus(double initialYBus) |
LayoutParameters |
LayoutParameters.setInternCellHeight(double internCellHeight) |
LayoutParameters |
LayoutParameters.setScaleFactor(double scaleFactor) |
LayoutParameters |
LayoutParameters.setScaleShiftFeedersPosition(double scaleShiftFeedersPosition) |
LayoutParameters |
LayoutParameters.setShiftFeedersPosition(boolean shiftFeedersPosition) |
LayoutParameters |
LayoutParameters.setShowGrid(boolean showGrid) |
LayoutParameters |
LayoutParameters.setShowInductorFor3WT(boolean showInductorFor3WT) |
LayoutParameters |
LayoutParameters.setShowInternalNodes(boolean showInternalNodes) |
LayoutParameters |
LayoutParameters.setStackHeight(double stackHeight) |
LayoutParameters |
LayoutParameters.setTranslateX(double translateX) |
LayoutParameters |
LayoutParameters.setTranslateY(double translateY) |
LayoutParameters |
LayoutParameters.setVerticalSnakeLinePadding(double verticalSnakeLinePadding) |
LayoutParameters |
LayoutParameters.setVerticalSpaceBus(double verticalSpaceBus) |
LayoutParameters |
LayoutParameters.setVerticalSubstationPadding(double padding) |
Modifier and Type | Method and Description |
---|---|
protected Coord |
HorizontalSubstationLayout.calculateCoordVoltageLevel(LayoutParameters layoutParam,
Graph vlGraph)
Calculate relative coordinate of voltageLevel in the substation
|
protected Coord |
VerticalSubstationLayout.calculateCoordVoltageLevel(LayoutParameters layoutParam,
Graph vlGraph)
Calculate relative coordinate of voltageLevels in the substation
|
protected abstract Coord |
AbstractSubstationLayout.calculateCoordVoltageLevel(LayoutParameters layoutParameters,
Graph vlGraph) |
protected List<Double> |
HorizontalSubstationLayout.calculatePolylineSnakeLine(LayoutParameters layoutParam,
Node node1,
Node node2,
AbstractSubstationLayout.InfosNbSnakeLines infosNbSnakeLines,
boolean increment) |
protected List<Double> |
VerticalSubstationLayout.calculatePolylineSnakeLine(LayoutParameters layoutParam,
Node node1,
Node node2,
AbstractSubstationLayout.InfosNbSnakeLines infosNbSnakeLines,
boolean increment) |
protected abstract List<Double> |
AbstractSubstationLayout.calculatePolylineSnakeLine(LayoutParameters layoutParameters,
Node node1,
Node node2,
AbstractSubstationLayout.InfosNbSnakeLines infosNbSnakeLines,
boolean increment) |
protected double |
HorizontalSubstationLayout.getHorizontalSubstationPadding(LayoutParameters layoutParameters) |
protected double |
VerticalSubstationLayout.getHorizontalSubstationPadding(LayoutParameters layoutParameters) |
protected abstract double |
AbstractSubstationLayout.getHorizontalSubstationPadding(LayoutParameters layoutParameters) |
protected double |
HorizontalSubstationLayout.getVerticalSubstationPadding(LayoutParameters layoutParameters) |
protected double |
VerticalSubstationLayout.getVerticalSubstationPadding(LayoutParameters layoutParameters) |
protected abstract double |
AbstractSubstationLayout.getVerticalSubstationPadding(LayoutParameters layoutParameters) |
void |
ZoneLayout.run(LayoutParameters layoutParam)
Calculate real coordinates of nodes in the zone
|
void |
PositionVoltageLevelLayout.run(LayoutParameters layoutParam)
Calculate real coordinate of busNode and blocks connected to busbar
|
void |
RandomVoltageLevelLayout.run(LayoutParameters layoutParam) |
void |
SubstationLayout.run(LayoutParameters layoutParameters)
Calculate real coordinates of nodes in the substation graph
|
void |
VoltageLevelLayout.run(LayoutParameters layoutParam)
Calculate real coordinate of busbar and blocks connected to busbar
|
void |
AbstractSubstationLayout.run(LayoutParameters layoutParameters) |
void |
InfoCalcPoints.setLayoutParam(LayoutParameters layoutParam) |
Constructor and Description |
---|
LayoutParameters(LayoutParameters other) |
Modifier and Type | Method and Description |
---|---|
void |
BusNode.calculateCoord(LayoutParameters layoutParameters) |
void |
InternCell.calculateCoord(LayoutParameters layoutParam) |
void |
Block.calculateCoord(LayoutParameters layoutParam)
Calculates all the blocks dimensions and find the order of the layout.block inside
the cell
|
void |
Cell.calculateCoord(LayoutParameters layoutParam) |
void |
AbstractBusCell.calculateCoord(LayoutParameters layoutParam) |
void |
ShuntCell.calculateCoord(LayoutParameters layoutParam) |
void |
AbstractBlock.calculateCoord(LayoutParameters layoutParam) |
void |
Block.calculateRootCoord(LayoutParameters layoutParam) |
void |
AbstractBlock.calculateRootCoord(LayoutParameters layoutParam) |
void |
BodyParallelBlock.coordHorizontalCase(LayoutParameters layoutParam) |
void |
BodyPrimaryBlock.coordHorizontalCase(LayoutParameters layoutParam) |
void |
LegParralelBlock.coordHorizontalCase(LayoutParameters layoutParam) |
void |
LegPrimaryBlock.coordHorizontalCase(LayoutParameters layoutParam) |
void |
SerialBlock.coordHorizontalCase(LayoutParameters layoutParam) |
void |
Block.coordHorizontalCase(LayoutParameters layoutParam) |
void |
UndefinedBlock.coordHorizontalCase(LayoutParameters layoutParam) |
void |
BodyPrimaryBlock.coordVerticalCase(LayoutParameters layoutParam) |
void |
LegPrimaryBlock.coordVerticalCase(LayoutParameters layoutParam) |
void |
SerialBlock.coordVerticalCase(LayoutParameters layoutParam) |
void |
Block.coordVerticalCase(LayoutParameters layoutParam) |
void |
UndefinedBlock.coordVerticalCase(LayoutParameters layoutParam) |
Modifier and Type | Field and Description |
---|---|
protected LayoutParameters |
DefaultSVGWriter.layoutParameters |
Modifier and Type | Method and Description |
---|---|
LayoutParameters |
SVGWriter.getLayoutParameters() |
LayoutParameters |
GraphMetadata.getLayoutParameters() |
LayoutParameters |
DefaultSVGWriter.getLayoutParameters() |
Constructor and Description |
---|
DefaultSVGWriter(ComponentLibrary componentLibrary,
LayoutParameters layoutParameters) |
GraphMetadata(List<ComponentMetadata> componentMetadataList,
List<GraphMetadata.NodeMetadata> nodeMetadataList,
List<GraphMetadata.WireMetadata> wireMetadataList,
List<GraphMetadata.LineMetadata> lineMetadataList,
List<GraphMetadata.ArrowMetadata> arrowMetadataList,
LayoutParameters layoutParams) |
Copyright © 2019. All rights reserved.