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
UML graph data.
-
Field Summary
Fields inherited from class y.layout.DefaultLayoutGraph
edgeLabelFeatureMap, edgeLabelMap, nodeLabelFeatureMap, nodeLabelMap
Fields inherited from class y.layout.LayoutGraph
z
Fields inherited from class y.base.Graph
AFTER, BEFORE
-
Constructor Summary
ConstructorDescriptionUMLGraph
(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, Set<PresentationElement> selected) Deprecated.supportsSubgraph has no effectUMLGraph
(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, Set<PresentationElement> selected, boolean resetLabelPositions) Deprecated.supportsSubgraph has no effectUMLGraph
(AbstractDiagramPresentationElement diagramView, Set<PresentationElement> selected) Construct UML Graph.UMLGraph
(AbstractDiagramPresentationElement diagramView, 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 Details
-
UMLGraph
@OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, 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, Set<PresentationElement> selected) Deprecated.supportsSubgraph has no effect -
UMLGraph
@OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, Set<PresentationElement> selected, boolean resetLabelPositions) -
UMLGraph
@Deprecated @OpenApi public UMLGraph(AbstractDiagramPresentationElement diagramView, boolean supportsSubgraph, Set<PresentationElement> selected, boolean resetLabelPositions) Deprecated.supportsSubgraph has no effect
-