@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,
DiagramPresentationElement dpe,
UMLGraph graph,
com.nomagic.magicdraw.commands.MacroCommand mc) |
boolean |
canLayoutAsHierarchic(UMLGraph graph,
AbstractDiagramLayouterOptionsGroup options) |
StateDiagramLayouter.Type |
getPredefinedLayouterType() |
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
protected void |
preProcessing(AbstractDiagramLayouterOptionsGroup options,
DiagramPresentationElement dpe,
com.nomagic.magicdraw.commands.MacroCommand mc) |
void |
setPredefinedLayouterType(StateDiagramLayouter.Type type) |
createComponentLayouter, fixOnFrameElements, getPathRerouteCollectors, initDefaultHierarchicSettings, registerPathRerouteCollector, resizeOnEdgeElements, routeNonRoutedPaths, runIHLLayoutSeries, wrapToAccordingGroupLayouter
createGraph, createGraph, getSelected, isSubgraphLayout, isTypeSupported, setSubgraphLayout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLayout, drawLayoutResults, getOptionsID
protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouter
layout
in class HierarchicDiagramLayouter
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagrampublic boolean canLayoutAsHierarchic(UMLGraph graph, AbstractDiagramLayouterOptionsGroup options)
protected void preProcessing(AbstractDiagramLayouterOptionsGroup options, DiagramPresentationElement dpe, com.nomagic.magicdraw.commands.MacroCommand mc)
preProcessing
in class HierarchicDiagramLayouter
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, DiagramPresentationElement dpe, UMLGraph graph, com.nomagic.magicdraw.commands.MacroCommand mc)
afterLayout
in class HierarchicDiagramLayouter
public StateDiagramLayouter.Type getPredefinedLayouterType()
public void setPredefinedLayouterType(StateDiagramLayouter.Type type)