Interface IvmlGraphMapper.IvmlGraphNode

All Superinterfaces:
IvmlGraphMapper.IvmlGraphElement
All Known Implementing Classes:
DefaultNode, ServiceMeshNode
Enclosing interface:
IvmlGraphMapper

public static interface IvmlGraphMapper.IvmlGraphNode extends IvmlGraphMapper.IvmlGraphElement
Represents a graph node.
Author:
Holger Eichelberger, SSE
  • Method Details

    • getXPos

      int getXPos()
      Returns the left position of the node. May be ignored by the graph reader/writer.
      Returns:
      the left position, invalid if negative
    • getYPos

      int getYPos()
      Returns the top position of the node. May be ignored by the graph reader/writer.
      Returns:
      the top position, invalid if negative
    • getWidth

      int getWidth()
      Returns the width of the node. May be ignored by the graph reader/writer.
      Returns:
      the width, invalid if negative
    • getHeight

      int getHeight()
      Returns the height of the node. May be ignored by the graph reader/writer.
      Returns:
      the height, invalid if negative
    • getImpl

      String getImpl()
      Returns the configured name the implementing service. Fallback if not given is IvmlGraphMapper.IvmlGraphElement.getName().
      Returns:
      the variable name
    • setXPos

      void setXPos(int xPos)
      Changes the left position of the node. May be ignored by the graph reader/writer.
      Parameters:
      xPos - the left position, invalid if negative
    • setYPos

      void setYPos(int yPos)
      Changes the top position of the node. May be ignored by the graph reader/writer.
      Parameters:
      yPos - the left position, invalid if negative
    • setWidth

      void setWidth(int width)
      Changes the width of the node. May be ignored by the graph reader/writer.
      Parameters:
      width - the width of the node, invalid if negative
    • setHeight

      void setHeight(int height)
      Changes the height of the node. May be ignored by the graph reader/writer.
      Parameters:
      height - the height of the node, invalid if negative
    • addEdge

      void addEdge(IvmlGraphMapper.IvmlGraphEdge edge)
      Adds an incoming/outgoing edge to this node.
      Parameters:
      edge - the edge
    • setImpl

      void setImpl(String impl)
      Changes the IVML variable name of the implementing service.
      Parameters:
      impl - changes the variable name
    • inEdges

      Returns the edges ending at this node.
      Returns:
      the edges
    • getInEdgesCount

      int getInEdgesCount()
      Returns the number of edges ending at this node.
      Returns:
      the number of in-edges
    • outEdges

      Returns the edges starting at this node.
      Returns:
      the edges
    • getOutEdgesCount

      int getOutEdgesCount()
      Returns the number of edges starting at this node.
      Returns:
      the number of out-edges