Class BaseGraph

java.lang.Object
y.base.Graph
y.layout.LayoutGraph
y.layout.DefaultLayoutGraph
com.nomagic.magicdraw.uml.symbols.layout.BaseGraph
All Implemented Interfaces:
y.base.GraphInterface, y.layout.GraphLayout
Direct Known Subclasses:
UMLGraph

@OpenApi @Deprecated(since="2024x Refresh3") public class BaseGraph extends y.layout.DefaultLayoutGraph
Deprecated.
UML graph data.
  • Field Details

    • LAYOUTABLE_NODE_FEATURE_ID

      public static final String LAYOUTABLE_NODE_FEATURE_ID
      Deprecated.
      See Also:
    • SHRINKABLE_SHAPE_INSET_DP

      public static final String SHRINKABLE_SHAPE_INSET_DP
      Deprecated.
      See Also:
    • EDGE_LABEL_NONE

      public static final int EDGE_LABEL_NONE
      Deprecated.
      See Also:
    • EDGE_LABEL_AT_ENDS

      public static final int EDGE_LABEL_AT_ENDS
      Deprecated.
      See Also:
    • EDGE_LABEL_NON_ENDS

      public static final int EDGE_LABEL_NON_ENDS
      Deprecated.
      See Also:
    • EDGE_LABEL_ALL

      public static final int EDGE_LABEL_ALL
      Deprecated.
      See Also:
    • mFakeElementsMap

      protected final Map<PresentationElement,y.base.Edge> mFakeElementsMap
      Deprecated.
    • doNotRepaint

      protected final Set<PathElement> doNotRepaint
      Deprecated.
    • mNotSupported

      protected final Set<PresentationElement> mNotSupported
      Deprecated.
    • mDataMap

      protected Map<PresentationElement,Object> mDataMap
      Deprecated.
      PresentationElement (path or shape) bind to yFiles edge or node.
    • mNodeMap

      protected y.base.NodeMap mNodeMap
      Deprecated.
    • mEdgeMap

      protected y.base.EdgeMap mEdgeMap
      Deprecated.
    • mNodeId

      protected y.base.NodeMap mNodeId
      Deprecated.
    • mGroupKey

      protected y.base.NodeMap mGroupKey
      Deprecated.
    • mPaths

      protected Set<PresentationElement> mPaths
      Deprecated.
    • mDiagramView

      protected AbstractDiagramPresentationElement mDiagramView
      Deprecated.
    • mSelected

      protected Set<PresentationElement> mSelected
      Deprecated.
    • edgeLabelDataMap

      protected final Map<y.base.Edge,List<y.layout.EdgeLabelLayout>> edgeLabelDataMap
      Deprecated.
    • partitionInfo

      protected Object partitionInfo
      Deprecated.
    • nodeToTableShapeViewPlacement

      protected final Map<y.base.Node,com.dassault_systemes.modeler.magic.diagram.ylayout.partition.TableShapeAndCellStructure> nodeToTableShapeViewPlacement
      Deprecated.
    • tableShapeViews

      protected Set<com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView> tableShapeViews
      Deprecated.
      The table shape views that were visited and should be considered one way or another.
    • currentTableShapeView

      @CheckForNull protected Object currentTableShapeView
      Deprecated.
    • currentTableCellView

      @CheckForNull protected Object currentTableCellView
      Deprecated.
    • grid

      protected y.layout.grid.PartitionGrid grid
      Deprecated.
    • edgeLabelFactory

      @CheckForNull protected com.dassault_systemes.modeler.magic.diagram.ylayout.labels.EdgeLabelFactory edgeLabelFactory
      Deprecated.
    • nodeLabelFactory

      @CheckForNull protected com.dassault_systemes.modeler.magic.diagram.ylayout.labels.NodeLabelFactory nodeLabelFactory
      Deprecated.
  • Constructor Details

  • Method Details

    • initializeData

      @OpenApi @Deprecated(since="2024x Refresh3") public void initializeData()
      Deprecated.
      Collects all data provided by diagram to nodes and edges.
    • getInsets

      protected y.geom.YInsets getInsets(ShapeElement shape)
      Deprecated.
    • getInsets

      protected y.geom.YInsets getInsets(ShapeElement shape, Insets addAdditional)
      Deprecated.
    • createNode

      protected y.base.Node createNode(ShapeElement shape)
      Deprecated.
    • setNodeSizeEnsureNotZero

      protected void setNodeSizeEnsureNotZero(Rectangle bounds, y.base.Node node)
      Deprecated.
      Sets graph node size, ensures the node height or width is not 0
      Parameters:
      bounds - the bounds to set
      node - the node that should have the minimal size
    • createAllNodeLabels

      protected void createAllNodeLabels(ShapeElement shape, y.base.Node node)
      Deprecated.
    • getBoundingBox

      public Rectangle getBoundingBox()
      Deprecated.
      Specified by:
      getBoundingBox in interface y.layout.GraphLayout
      Overrides:
      getBoundingBox in class y.layout.LayoutGraph
    • createNode

      public y.base.Node createNode(Object id)
      Deprecated.
      Create new Node and set the given id to it.
      Parameters:
      id - The given id.
      Returns:
      Create node.
    • getID

      public Object getID(y.base.Node node)
      Deprecated.
      Get The given node ID.
      Parameters:
      node - The given node.
      Returns:
      Object.
    • createEdge

      public void createEdge(PathElement path)
      Deprecated.
      Creates an edge in a graph by provided path element.
      Parameters:
      path - the path that will correspond an edge
    • createAllPathLabels

      protected void createAllPathLabels(com.dassault_systemes.modeler.magic.diagram.ylayout.labels.EdgeLabelFactory factory, y.base.Edge edge, PathElement pathElement)
      Deprecated.
    • getPathElement

      public PathElement getPathElement(y.base.Edge edge)
      Deprecated.
      Get Path Element of the given edge.
      Parameters:
      edge - The given edge.
      Returns:
      PathElement.
    • getShapeElement

      public ShapeElement getShapeElement(y.base.Node node)
      Deprecated.
      Get The given node 's Shape Element.
      Parameters:
      node - The given node.
      Returns:
      ShapeElement.
    • setParent

      public void setParent(y.base.Node node, Object parentId)
      Deprecated.
      Set node 's parent.
      Parameters:
      node - The given node.
      parentId - The parent 's id.
    • getParentId

      public Object getParentId(y.base.Node node)
      Deprecated.
      Get Node 's parent id.
      Parameters:
      node - The given node.
      Returns:
      Object
    • getDiagram

      Deprecated.
      Get Presentation Diagram.
      Returns:
      Presentation Diagram.
    • needToCreate

      protected boolean needToCreate(PresentationElement pe)
      Deprecated.
    • createNodesData

      protected void createNodesData(@CheckForNull Object parentId, Collection<PresentationElement> presentationElements)
      Deprecated.
    • isLayoutAnchoredShapeOwnerAsLabel

      public boolean isLayoutAnchoredShapeOwnerAsLabel(com.nomagic.magicdraw.uml.symbols.paths.AnchoredShapeOwner view)
      Deprecated.
    • createNodeData

      protected void createNodeData(@CheckForNull Object parentId, PresentationElement view)
      Deprecated.
    • createEdgesToNotLayoutableOnEdge

      protected void createEdgesToNotLayoutableOnEdge(y.base.Node node, Collection<PresentationElement> manipulatedElements)
      Deprecated.
    • getSpecialInnerManipulatedPresentationElements

      protected Collection<PresentationElement> getSpecialInnerManipulatedPresentationElements(PresentationElement view)
      Deprecated.
    • isCreatableNode

      protected boolean isCreatableNode(PresentationElement view)
      Deprecated.
    • adjustFakeAtEndShapeLabelOrientation

      protected void adjustFakeAtEndShapeLabelOrientation(PresentationElement symbol)
      Deprecated.
    • addToPathList

      protected void addToPathList(PathElement path)
      Deprecated.
    • addToPathList

      protected void addToPathList(Iterable<PathElement> paths)
      Deprecated.
    • doesNotHaveConnectedLayoutableEdges

      protected boolean doesNotHaveConnectedLayoutableEdges(ShapeElement e)
      Deprecated.
    • areParentToChildConnected

      public boolean areParentToChildConnected(Iterable<PathElement> connectedPathElements)
      Deprecated.
    • collectPathsRecursively

      protected void collectPathsRecursively(ShapeElement element, y.base.Node node)
      Deprecated.
    • addPaths

      protected void addPaths(PresentationElement pe)
      Deprecated.
    • getNode

      @CheckForNull public y.base.Node getNode(PresentationElement se)
      Deprecated.
      Get Node from the Presentation element recursively.
      Parameters:
      se - PresentationElement.
      Returns:
      a node for presentation element, or null if not found
    • getNodeDirectly

      @CheckForNull public y.base.Node getNodeDirectly(@CheckForNull PresentationElement se)
      Deprecated.
    • getEdge

      public y.base.Edge getEdge(PathElement path)
      Deprecated.
      Get Edge of given path element.
      Parameters:
      path - The given path element.
      Returns:
      Edge.
    • isNotLayoutedChild

      protected boolean isNotLayoutedChild(PresentationElement view)
      Deprecated.
    • isLayoutableByProviders

      public static boolean isLayoutableByProviders(PresentationElement el)
      Deprecated.
      Checks if symbol is layoutable by providers.
      Parameters:
      el - checked element
      Returns:
      true if all providers say that the symbol is layoutable, false if at least one says it is not layoutable
    • createCommands

      public void createCommands(@CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc)
      Deprecated.
      Create command with given parameter.
      Parameters:
      mc - MacroCommand.
    • getEnclosingShapeHalo

      @CheckForNull public y.layout.NodeHalo getEnclosingShapeHalo(@CheckForNull y.base.Node forNode)
      Deprecated.
    • ignoreCenterlines

      protected void ignoreCenterlines(PresentationElement shape)
      Deprecated.
      Ignores centerlines on shape bound changes for centerlineable shape.
      Parameters:
      shape - the shape to ignore centerlines on shape bound changes
    • placePaths

      protected void placePaths(@CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc, boolean bpaths, com.dassault_systemes.modeler.magic.diagram.command.MoveManager moveManager)
      Deprecated.
    • placePath

      protected void placePath(@CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc, PathElement path, y.base.Edge edge)
      Deprecated.
    • resetUnhandledPath

      protected void resetUnhandledPath(com.dassault_systemes.modeler.magic.diagram.command.MoveManager moveManager, PresentationElement prEl)
      Deprecated.
    • getPointsFromEdge

      public ArrayList<Point> getPointsFromEdge(y.base.Edge edge)
      Deprecated.
      Returns the points from an edge
      Parameters:
      edge - edge's point to return
      Returns:
      edge points excluding source and target
    • setPathBreakPoints

      protected void setPathBreakPoints(PathElement path, List<Point> points, Point client, Point supplier, @CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc)
      Deprecated.
      Set Path break point.
      Parameters:
      path - Path Element.
      points - List of break point.
      client - Client point.
      supplier - Supplier point.
      mc - Macro command.
    • placeLayoutedPathLabel

      protected void placeLayoutedPathLabel(PresentationElement pe, y.base.Edge edge, @CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc)
      Deprecated.
    • getLabelDescriptorsNotAtEnd

      public Map<y.base.Edge,List<com.dassault_systemes.modeler.magic.diagram.ylayout.labels.AbstractCompositeEdgeLabelDescriptor>> getLabelDescriptorsNotAtEnd()
      Deprecated.
    • getLabelByCondition

      protected Map<y.base.Edge,List<com.dassault_systemes.modeler.magic.diagram.ylayout.labels.AbstractCompositeEdgeLabelDescriptor>> getLabelByCondition(Predicate<y.layout.EdgeLabelLayout> condition)
      Deprecated.
    • resetLabel

      public void resetLabel(PresentationElement pe)
      Deprecated.
      Resets label to their default position. This is done when collecting labels while creating graph.
      Parameters:
      pe - the element that labels will be reset
    • shouldResetLabelsAtInit

      public boolean shouldResetLabelsAtInit()
      Deprecated.
      Returns:
      if label positions should be reset before creating the graph
    • setResetLabelsAtInit

      public final void setResetLabelsAtInit(boolean resetLabelsAtInit)
      Deprecated.
      Parameters:
      resetLabelsAtInit - true for label reset when creating the graph, false otherwise. Use true for layouting, false when graph is used as a reference for routing.
    • getEdgeLabelBoundingBox

      public Rectangle getEdgeLabelBoundingBox(y.base.Edge e, y.layout.EdgeLabelLayout ell)
      Deprecated.
      Get bounding box of the given edge label.
      Parameters:
      e - Edge
      ell - Edge Label Layout.
      Returns:
      the bounding box rectangle
    • dispose

      public void dispose()
      Deprecated.
      Dispose the graph and graph related data.
    • setMinimalGroupNodeSize

      public void setMinimalGroupNodeSize(y.base.Node node, y.geom.YDimension dim)
      Deprecated.
      Sets the minimal group node size that is obeyed by layouter.
      Parameters:
      node - the node that should have the minimal size
      dim - the size of node
    • isGroupNode

      public boolean isGroupNode(y.base.Node node)
      Deprecated.
      Checks if a given node is a group node or not.
      Parameters:
      node - the node to check
      Returns:
      true if node is a group node, false otherwise.
    • setGroupNode

      public void setGroupNode(y.base.Node node, boolean isGroup)
      Deprecated.
    • getStyle

      public String getStyle()
      Deprecated.
      Get String representation of Style.
      Returns:
      String.
    • setPathStyle

      public void setPathStyle(String style)
      Deprecated.
      Set path style
      Parameters:
      style - path style to set
    • makeSubTrees

      public void makeSubTrees(com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc)
      Deprecated.
      Make sub trees with the given Macrocommand.
      Parameters:
      mc - macro
    • makeSubTree

      public void makeSubTree(y.base.Node node, Class<?> classType, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc)
      Deprecated.
      Make subtree.
      Parameters:
      node - The given node.
      classType - The given class type.
      mc - Macro Command.
    • isTreeOverlapping

      public static boolean isTreeOverlapping(com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape tree, int y, Iterable<com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape> trees)
      Deprecated.
      Check Is tree overlapping.
      Parameters:
      tree - The given tree view.
      y - y coordinate of the horizontal bar of the tree view.
      trees - Collection of trees.
      Returns:
      boolean.
    • removeSubTrees

      public static void removeSubTrees(@CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc, AbstractDiagramPresentationElement dpe, Set<PresentationElement> selection)
      Deprecated.
      Remove Sub Trees from the given presentation element.
      Parameters:
      mc - MacroCommand
      dpe - DiagramPresentation.
      selection - if not null or empty removes only trees that groups all selected paths or all path connectors.
    • belongsToHierarchy

      public boolean belongsToHierarchy(y.base.Node node)
      Deprecated.
      Checks the given node belongs to Hierarchy.
      Parameters:
      node - The given node.
      Returns:
      true, if the node belongs to some hierarchy
    • belongsToHierarchy

      public boolean belongsToHierarchy(y.base.Edge edge)
      Deprecated.
      Check The given Edge belongs to hierarchy.
      Parameters:
      edge - The given edge.
      Returns:
      boolean
    • containsHierarchy

      public boolean containsHierarchy()
      Deprecated.
      Check If contains hierarchy.
      Returns:
      boolean
    • createHierarchicInfo

      public void createHierarchicInfo(@CheckForNull Collection<Class<?>> classTypes)
      Deprecated.
      Create Hierarchy Information of path element.
      Parameters:
      classTypes - List of class type.
    • drawResults

      public void drawResults()
      Deprecated.
      Draw a result. You need to comment the graph.dispose() call in AbstractDiagramLayouter in order to see the results.
    • getSelected

      public Set<PresentationElement> getSelected()
      Deprecated.
      Get Set of the selected PresentationElement.
      Returns:
      Set of selected presentation elements
    • addEdgeSelectionProvider

      public y.base.EdgeMap addEdgeSelectionProvider(Object provider, Collection<y.base.Edge> c)
      Deprecated.
      Add Edge Selection Provider.
      Parameters:
      provider - The given provider.
      c - Collection of Edge.
      Returns:
      EdgeMap.
    • addEdgeSelectionProvider

      public y.base.EdgeMap addEdgeSelectionProvider(Object provider, y.base.Edge edge)
      Deprecated.
      Add Edge Selection Provider.
      Parameters:
      provider - The given provider.
      edge - single edge
      Returns:
      EdgeMap.
    • addGroupNodeInsetsProvider

      public void addGroupNodeInsetsProvider()
      Deprecated.
      Add Group node inset provider.
    • removeGroupNodeInsetsProvider

      public void removeGroupNodeInsetsProvider()
      Deprecated.
      Remove The group node in sets of provider.
    • createGroupBoundsCalculator

      public y.layout.grouping.GroupBoundsCalculator createGroupBoundsCalculator()
      Deprecated.
      Creates bounds calculator for group nodes
      Returns:
      calculator
    • getNodeMap

      public y.base.NodeMap getNodeMap()
      Deprecated.
      Returns:
      a node map associated with a data provider
    • getEdgeMap

      public y.base.EdgeMap getEdgeMap()
      Deprecated.
      Returns:
      an edge map associated with a data provider
    • getDataMap

      public Map<PresentationElement,Object> getDataMap()
      Deprecated.
      Returns:
      an edge map associated with a data provider
    • reverseAndAddToNoReverseList

      public void reverseAndAddToNoReverseList(y.base.Edge edg)
      Deprecated.
      Reverses an edge in graph, does not reverse if path is already reversed. This method handles label sides also, but only if they are described by PreferredPlacementDescriptor. PreferredPlacementDescriptor.PLACE_AT_TARGET is changed to PreferredPlacementDescriptor.PLACE_AT_SOURCE
      Parameters:
      edg - the edge to reverse
    • reverseEdgeAndLabels

      public void reverseEdgeAndLabels(y.base.Edge edg)
      Deprecated.
      Reverses the edge along with labels, but does not add them to no reverse list.
      Parameters:
      edg - edge to reverse
    • reverseEdge

      public void reverseEdge(y.base.Edge edge)
      Deprecated.
      Reverses an edge. Note: does not reverse the labels if they are placed on edge ends. Check the reverseAndAddToNoReverseList method.
      Overrides:
      reverseEdge in class y.base.Graph
      Parameters:
      edge - edge to reverse
    • addToReversedList

      public void addToReversedList(y.base.Edge edge)
      Deprecated.
      Parameters:
      edge - edge to add
    • getReversedList

      public Set<y.base.Edge> getReversedList()
      Deprecated.
      Returns:
      a set of reversed edges
    • setPlaceEdgeLabelsTo

      @OpenApi @Deprecated(since="2024x Refresh3") public void setPlaceEdgeLabelsTo(int placeEdgeLabelsTo)
      Deprecated.
      Sets the calculated label placement for labels. Labels can be created for consideration only, but not placed at the calculated location. One of EDGE_LABEL_NONE, EDGE_LABEL_AT_ENDS, EDGE_LABEL_NON_ENDS , EDGE_LABEL_ALL. EDGE_LABEL_ALL by default.
      Parameters:
      placeEdgeLabelsTo - the edge placement mode
    • getPlaceEdgeLabelsPositions

      @OpenApi @Deprecated(since="2024x Refresh3") public int getPlaceEdgeLabelsPositions()
      Deprecated.
      Returns:
      the edge placement mode
    • setCreateEdgeLabels

      @OpenApi @Deprecated(since="2024x Refresh3") public void setCreateEdgeLabels(int createEdgeLabels)
      Deprecated.
      Sets the label creation mode. One of EDGE_LABEL_NONE, EDGE_LABEL_AT_ENDS, EDGE_LABEL_NON_ENDS , EDGE_LABEL_ALL. EDGE_LABEL_ALL by default.
      Parameters:
      createEdgeLabels - edge placement mode
    • getCreateEdgeLabels

      @OpenApi @Deprecated(since="2024x Refresh3") public int getCreateEdgeLabels()
      Deprecated.
      Returns:
      the edge creation mode
    • setPlaceNodeLabels

      @OpenApi @Deprecated(since="2024x Refresh3") public void setPlaceNodeLabels(boolean shouldPlaceNodeLabelsToCalculatedPositions)
      Deprecated.
      Parameters:
      shouldPlaceNodeLabelsToCalculatedPositions - determines if node labels should be placed at the calculated graph position
    • shouldPlaceNodeLabels

      @OpenApi @Deprecated(since="2024x Refresh3") public boolean shouldPlaceNodeLabels()
      Deprecated.
      Returns:
      true if node labels should be set at the calculated position, false for the default position
    • setCreateNodeLabels

      @OpenApi @Deprecated(since="2024x Refresh3") public void setCreateNodeLabels(boolean shouldCreateNodeLabels)
      Deprecated.
      Parameters:
      shouldCreateNodeLabels - determines if node labels should be created and considered by the graph
    • shouldCreateNodeLabels

      @OpenApi @Deprecated(since="2024x Refresh3") public boolean shouldCreateNodeLabels()
      Deprecated.
      Returns:
      the node label creation mode
    • getPartitionGrid

      public y.layout.grid.PartitionGrid getPartitionGrid()
      Deprecated.
      Returns:
      instance of partition grid
    • setPartitionGrid

      public void setPartitionGrid(y.layout.grid.PartitionGrid partitionGrid)
      Deprecated.
      Parameters:
      partitionGrid - sets to use this partition grid as grid
    • getNodeToTableShapeAndCellStructure

      public Map<y.base.Node,com.dassault_systemes.modeler.magic.diagram.ylayout.partition.TableShapeAndCellStructure> getNodeToTableShapeAndCellStructure()
      Deprecated.
      Returns:
      the node belonging to a tableShape structure
    • getPartitionInfo

      public Object getPartitionInfo()
      Deprecated.
      Returns:
      the constructed partition info.
    • setPartitionInfo

      public void setPartitionInfo(Object info)
      Deprecated.
      Parameters:
      info - the information of partitions
    • setSphereRadius

      public void setSphereRadius(int radius)
      Deprecated.
      Sets the sphere from the defined point. All element within this sphere will be collected and initiated. Shapes outside the sphere will be ignored.
      Parameters:
      radius - the radius that shapes are collected
    • getSphereRadius

      public int getSphereRadius()
      Deprecated.
      Returns:
      the sphere size for data initialization
    • setSphereCenterPoint

      public void setSphereCenterPoint(@CheckForNull Point point)
      Deprecated.
      Sets the center of the sphere that is used for node creation
      Parameters:
      point - new point of center, default is 0,0
    • getSphereCenterPoint

      @CheckForNull public Point getSphereCenterPoint()
      Deprecated.
      Returns:
      the center of the sphere for node creation
    • isInSphereRadius

      protected boolean isInSphereRadius(ShapeElement element)
      Deprecated.
      Returns:
      true, if shape is in sphere radius, or sphere radius is the default, false otherwise.
    • getNodeHaloAdjustedSourcePointAbs

      public y.geom.YPoint getNodeHaloAdjustedSourcePointAbs(y.base.Edge edge)
      Deprecated.
      Get absolute location of edge source point on halo, not on the source node itself. As symbols themselves are adjusted by the halos, this is necessary for on edge shape placement to calculate a correct position. Currently only UMLGraphKeys.ENCLOSING_SHAPE_HALO_DP_KEY is considered.
      Parameters:
      edge - edge
      Returns:
      the source point on halo, rather than node
    • getNodeHaloAdjustedTargetPointAbs

      public y.geom.YPoint getNodeHaloAdjustedTargetPointAbs(y.base.Edge edge)
      Deprecated.
      Get absolute location of edge target point on halo, not on the target node itself. As symbols themselves are adjusted by the halos, this is necessary for on edge shape placement to calculate a correct position. Currently only UMLGraphKeys.ENCLOSING_SHAPE_HALO_DP_KEY is considered.
      Parameters:
      edge - edge
      Returns:
      the target point on halo, rather than node
    • setEdgeLabelFactory

      public void setEdgeLabelFactory(@CheckForNull com.dassault_systemes.modeler.magic.diagram.ylayout.labels.EdgeLabelFactory edgeLabelFactory)
      Deprecated.
    • getNonSupportedSymbols

      public Set<PresentationElement> getNonSupportedSymbols()
      Deprecated.
      Returns:
      set of symbols(shapes or paths) that are not supported by the graph and will not be included into layout and/or will be treated not as a part of the graph
    • getDoNotRepaintPaths

      public Set<PathElement> getDoNotRepaintPaths()
      Deprecated.
      Returns:
      set of collected paths that are included in the layout, but not repainted according to the graph result
    • getFakeElementsMap

      public Map<PresentationElement,y.base.Edge> getFakeElementsMap()
      Deprecated.
    • getInsetMap

      public y.base.NodeMap getInsetMap()
      Deprecated.
    • getEdgeLabelDataMap

      public Map<y.base.Edge,List<y.layout.EdgeLabelLayout>> getEdgeLabelDataMap()
      Deprecated.
    • getNodeLabelDataMap

      public Map<y.base.Node,List<y.layout.NodeLabelLayout>> getNodeLabelDataMap()
      Deprecated.
    • getAnchoredShape

      @CheckForNull public PresentationElement getAnchoredShape()
      Deprecated.
    • setAnchoredShape

      public void setAnchoredShape(@CheckForNull PresentationElement anchoredShape)
      Deprecated.
    • getLayouterParameters

      public Map<String,Object> getLayouterParameters()
      Deprecated.
    • setLayouterParameters

      public void setLayouterParameters(Map<String,Object> layouterParameters)
      Deprecated.
    • isConsideredAsOuterBoundary

      public boolean isConsideredAsOuterBoundary(PresentationElement presentationElement)
      Deprecated.
    • getOuterBoundaryShape

      @CheckForNull public PresentationElement getOuterBoundaryShape()
      Deprecated.
    • setOuterBoundaryShape

      public void setOuterBoundaryShape(@CheckForNull PresentationElement outerBoundaryShape)
      Deprecated.
    • getTableShapeViews

      public Set<com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView> getTableShapeViews()
      Deprecated.
      The tableShapeViews that are considered in this graph.