Class OrderedHierarchicDiagramLayouter
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.composite.CompositeStructureDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.ClassDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.orderedhier.OrderedHierarchicDiagramLayouter
-
- All Implemented Interfaces:
DiagramLayouter
,java.lang.Cloneable
@OpenApi public class OrderedHierarchicDiagramLayouter extends ClassDiagramLayouter
A layouter with a default sequencing. It also automatically detects the orientation and changes alignment for shapes. Best fit for requirement diagrams.
-
-
Constructor Summary
Constructors Constructor Description OrderedHierarchicDiagramLayouter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
Layouts a diagram-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.composite.CompositeStructureDiagramLayouter
createGraph
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
createGraph, getSelected, isTypeSupported
-
-
-
-
Method Detail
-
layout
@OpenApi protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
Description copied from class:AbstractDiagramLayouter
Layouts a diagram- Overrides:
layout
in classClassDiagramLayouter
- Parameters:
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
-