public class StatechartStyle extends java.lang.Object implements PGNodeExtendProvider<StatechartLayoutNode>, PGLayoutConfiguration<StatechartLayoutNode>
Modifier and Type | Field and Description |
---|---|
static boolean |
renderBoundingBoxes |
Constructor and Description |
---|
StatechartStyle(Statechart model,
Direction layoutDir,
IActivityLabeler activityLabeler) |
public static final boolean renderBoundingBoxes
public StatechartStyle(Statechart model, Direction layoutDir, IActivityLabeler activityLabeler)
public double getWidth(StatechartLayoutNode node)
getWidth
in interface PGNodeExtendProvider<StatechartLayoutNode>
public double getHeight(StatechartLayoutNode node)
getHeight
in interface PGNodeExtendProvider<StatechartLayoutNode>
public boolean nodeHasLabel(ISCState state)
public boolean nodeHasSymbol(ISCState state)
public double getCanvasPadding()
public Direction getDirection()
getDirection
in interface PGLayoutConfiguration<StatechartLayoutNode>
public double getGapBetweenNodes(StatechartLayoutNode node1, StatechartLayoutNode node2)
getGapBetweenNodes
in interface PGLayoutConfiguration<StatechartLayoutNode>
public Padding getPaddingNode(StatechartLayoutNode node)
getPaddingNode
in interface PGLayoutConfiguration<StatechartLayoutNode>
public boolean isLayoutOrtogonal(StatechartLayoutNode node)
isLayoutOrtogonal
in interface PGLayoutConfiguration<StatechartLayoutNode>
public boolean isLayoutReverse(StatechartLayoutNode node)
isLayoutReverse
in interface PGLayoutConfiguration<StatechartLayoutNode>
public CenterAlignment getNodeCenterAlignment(StatechartLayoutNode node)
getNodeCenterAlignment
in interface PGLayoutConfiguration<StatechartLayoutNode>
public ForwardAlignment getNodeForwardAlignment(StatechartLayoutNode node)
getNodeForwardAlignment
in interface PGLayoutConfiguration<StatechartLayoutNode>
public double getNodeSymbolWidth()
public double getNodeSymbolHeight()
public double getNodeSymbolPadding()
public double getNodeWidthPadding()
public double getNodeHeightPadding()
public ISVGReference getNodeIcon(ISCState state)
public IActivityLabeler getActivityLabeler()
public double getLabelHeightOffset(ISCState state)
public java.util.Map<java.lang.String,java.lang.String> getStyleNodeName()
public java.util.Map<java.lang.String,java.lang.String> getStyleNodeBox()
public java.util.Map<java.lang.String,java.lang.String> getStyleEdge()
public java.util.Map<java.lang.String,java.lang.String> getStyleNodePoint()
public java.util.Map<java.lang.String,java.lang.String> getStyleNodeSplitPseudo()
public double getLoopOffset()