Class StateDiagramLayouter
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.AbstractHierarchicDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter
-
- All Implemented Interfaces:
DiagramLayouter
,java.lang.Cloneable
@OpenApi public class StateDiagramLayouter extends HierarchicDiagramLayouter
A specialized layouter for state and protocol state diagrams. It is also used as a default layouter for diagrams that are based on them.
-
-
Constructor Summary
Constructors Constructor Description StateDiagramLayouter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
layout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph)
Layouts a diagram-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
createGraph, getSelected
-
-
-
-
Method Detail
-
layout
@OpenApi protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph)
Description copied from class:AbstractDiagramLayouter
Layouts a diagram- Overrides:
layout
in classAbstractHierarchicDiagramLayouter
- Parameters:
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
-