@OpenApiAll public class OrganicLinkDiagramLayouter extends AbstractLinkDiagramLayouter
Constructor and Description |
---|
OrganicLinkDiagramLayouter()
Construct OrganicLinkDiagramLayouter
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
static void |
removeBends(UMLGraph graph,
int max)
Remove bends from graph.
|
clearOldRectangles, containsSelectedFromTheSameParent, createGraph, getConnectedPaths, getSelected, postprocessing, resizeFrameIfNecessary
isSubgraphLayout, isTypeSupported, setSubgraphLayout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLayout, drawLayoutResults, getOptionsID
public OrganicLinkDiagramLayouter()
protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouter
layout
in class AbstractDiagramLayouter
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagrampublic static void removeBends(UMLGraph graph, int max)
graph
- The given graph.max
- int.