Class UMLGraph
- java.lang.Object
-
- y.base.Graph
-
- y.layout.LayoutGraph
-
- y.layout.DefaultLayoutGraph
-
- com.nomagic.magicdraw.uml.symbols.layout.BaseGraph
-
- com.nomagic.magicdraw.uml.symbols.layout.UMLGraph
-
- All Implemented Interfaces:
y.base.GraphInterface
,y.layout.GraphLayout
@OpenApi public class UMLGraph extends BaseGraph
UML graph data.
-
-
Constructor Summary
Constructors Constructor Description UMLGraph(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, java.util.Set<PresentationElement> selected)
Deprecated.supportsSubgraph has no effectUMLGraph(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, java.util.Set<PresentationElement> selected, boolean resetLabelPositions)
Deprecated.supportsSubgraph has no effectUMLGraph(AbstractDiagramPresentationElement diagramView, java.util.Set<PresentationElement> selected)
Construct UML Graph.UMLGraph(AbstractDiagramPresentationElement diagramView, java.util.Set<PresentationElement> selected, boolean resetLabelPositions)
-
Method Summary
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.BaseGraph
getCreateEdgeLabels, getPlaceEdgeLabelsPositions, initializeData, setCreateEdgeLabels, setCreateNodeLabels, setPlaceEdgeLabelsTo, setPlaceNodeLabels, shouldCreateNodeLabels, shouldPlaceNodeLabels
-
Methods inherited from class y.layout.DefaultLayoutGraph
createEdgeLayout, createGraphCopyFactory, createLabelFactory, createNodeLayout, getFeature, getFeature, getLabelLayout, getLabelLayout, getLayout, getLayout, setLabelLayout, setLabelLayout, setLabelLayout, setLayout, setLayout
-
Methods inherited from class y.layout.LayoutGraph
getCenter, getCenterX, getCenterY, getEdgeLabelLayout, getEdgeLayout, getEdgeList, getHeight, getLocation, getNodeLabelLayout, getNodeLayout, getPath, getPathList, getPointList, getPoints, getRectangle, getSize, getSourcePointAbs, getSourcePointRel, getTargetPointAbs, getTargetPointRel, getWidth, getX, getY, moveBy, setCenter, setCenter, setEndPointsAbs, setLocation, setLocation, setPath, setPath, setPoints, setPoints, setSize, setSize, setSourcePointAbs, setSourcePointRel, setTargetPointAbs, setTargetPointRel
-
Methods inherited from class y.base.Graph
addDataProvider, addGraphListener, changeEdge, changeEdge, changeEdge, clear, contains, contains, containsEdge, createCopy, createEdge, createEdge, createEdgeMap, createGraph, createNode, createNodeMap, disposeEdgeMap, disposeNodeMap, E, edgeCount, edgeObjects, edges, fireGraphEvent, firePostEvent, firePostEvent, firePreEvent, firePreEvent, firstEdge, firstNode, firstOutEdge, getDataProvider, getDataProviderKeys, getEdgeArray, getGraphCopyFactory, getGraphListeners, getNodeArray, getRegisteredEdgeMaps, getRegisteredNodeMaps, getSource, getTarget, hasListeners, hide, hide, isEmpty, lastEdge, lastNode, moveSubGraph, moveToFirst, moveToFirst, moveToLast, moveToLast, N, nodeCount, nodeObjects, nodes, printNodeSlotSize, reInsertEdge, reInsertNode, removeDataProvider, removeEdge, removeGraphListener, removeNode, setGraphCopyFactory, sortEdges, sortEdges, sortNodes, toString, unhide, unhide
-
-
-
-
Constructor Detail
-
UMLGraph
@OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, java.util.Set<PresentationElement> selected)
Construct UML Graph. with given parameter- Parameters:
diagramView
- diagram for which to construct graph.selected
- selected elements
-
UMLGraph
@Deprecated @OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, java.util.Set<PresentationElement> selected)
Deprecated.supportsSubgraph has no effect
-
UMLGraph
@OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, java.util.Set<PresentationElement> selected, boolean resetLabelPositions)
-
UMLGraph
@Deprecated @OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, java.util.Set<PresentationElement> selected, boolean resetLabelPositions)
Deprecated.supportsSubgraph has no effect
-
-