Class HierarchicDiagramLayouter
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
-
- All Implemented Interfaces:
DiagramLayouter
,java.lang.Cloneable
- Direct Known Subclasses:
ActivityDiagramLayouter
,CompositeStructureDiagramLayouter
,GridDiagramLayouter
,StateDiagramLayouter
@OpenApi public class HierarchicDiagramLayouter extends AbstractDiagramLayouter
Hierarchic layouter.
-
-
Constructor Summary
Constructors Constructor Description HierarchicDiagramLayouter()
Construct HierarchicDiagramLayouterHierarchicDiagramLayouter(java.lang.String optionId)
Construct HierarchicDiagramLayouter
-
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.AbstractDiagramLayouter
createGraph, createGraph, getSelected, isTypeSupported
-
-
-
-
Constructor Detail
-
HierarchicDiagramLayouter
@OpenApi public HierarchicDiagramLayouter()
Construct HierarchicDiagramLayouter
-
HierarchicDiagramLayouter
@OpenApi public HierarchicDiagramLayouter(java.lang.String optionId)
Construct HierarchicDiagramLayouter- Parameters:
optionId
- hierarchic diagram layouter options id
-
-
Method Detail
-
layout
@OpenApi protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
Description copied from class:AbstractDiagramLayouter
Layouts a diagram- Specified by:
layout
in classAbstractDiagramLayouter
- Parameters:
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
-