@OpenApiAll public class StateDiagramLayouter extends HierarchicDiagramLayouter
| Modifier and Type | Class and Description |
|---|---|
static class |
StateDiagramLayouter.Type |
| Constructor and Description |
|---|
StateDiagramLayouter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterLayout(AbstractDiagramLayouterOptionsGroup options,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
com.nomagic.magicdraw.commands.MacroCommand mc) |
boolean |
canLayoutAsHierarchic(UMLGraph graph) |
StateDiagramLayouter.Type |
getPredefinedLayouterType() |
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
protected void |
moveToAppropriateFrameEdge(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
java.lang.String orientation)
Moves shapes on diagram frame to appropriate frame.
|
protected void |
preProcessing(AbstractDiagramLayouterOptionsGroup options,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
com.nomagic.magicdraw.commands.MacroCommand mc) |
void |
setPredefinedLayouterType(StateDiagramLayouter.Type type) |
canIntegrateLabels, collectOutgoingFromNonNode, collectPathsOneEndLayoutedOtherNot, findPathToRelayout, fixOnFrameElements, getAllUnlayoutableSymbols, initDefaultHierarchicSettings, resizeOnEdgeElements, routeNonRoutedPaths, wrapToAccordingGroupLayoutercreateGraph, getSelected, isSubgraphLayout, isTypeSupported, setSubgraphLayoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanLayout, drawLayoutResults, getOptionsIDprotected boolean layout(AbstractDiagramLayouterOptionsGroup opt, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouterlayout in class HierarchicDiagramLayouteropt - layouter optionsdpe - diagram to layoutgraph - a constructed graph from the diagrampublic boolean canLayoutAsHierarchic(UMLGraph graph)
protected void preProcessing(AbstractDiagramLayouterOptionsGroup options, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, com.nomagic.magicdraw.commands.MacroCommand mc)
preProcessing in class HierarchicDiagramLayouterprotected void afterLayout(AbstractDiagramLayouterOptionsGroup options, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph, com.nomagic.magicdraw.commands.MacroCommand mc)
afterLayout in class HierarchicDiagramLayouterprotected void moveToAppropriateFrameEdge(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
java.lang.String orientation)
dpe - diagramgraph - layouted graphorientation - layout orientationpublic StateDiagramLayouter.Type getPredefinedLayouterType()
public void setPredefinedLayouterType(StateDiagramLayouter.Type type)