Class AttributedEdge


  • public class AttributedEdge
    extends Attributed
    Generic directed graph edge implementation
    • Field Detail

Constructor Detail

  • Method Detail

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getId

      public java.lang.String getId()
      Returns the id for this edge
      Returns:
      the id for this edge
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • getEdgeType NEW

      public java.lang.String getEdgeType()
      Returns the edge type for this edge
      Returns:
      the edge type for this edge
    • setEdgeType NEW

      public void setEdgeType​(java.lang.String edgeType)
      Sets the edge type for this edge. Should be a value defined by the GraphType for this graph, but there is no enforcement for this. If the value is not defined in GraphType, it will be rendered using the default edge color for GraphType
      Parameters:
      edgeType - the edge type for this edge