Class Edge<V extends Vertex>

    • Constructor Detail

      • Edge

        public Edge​(String id,
                    V src,
                    V dst)
        Constructor for Edge.
        Parameters:
        id - ID of the edge.
        src - source vertex.
        dst - destination vertex.
    • Method Detail

      • getId

        public final String getId()
        Returns:
        the ID of the edge.
      • getNumericId

        public final Integer getNumericId()
        Returns:
        the numeric ID of the edge. (for edge id "edge-2", this method returns 2)
      • getSrc

        public final V getSrc()
        Returns:
        source vertex.
      • getDst

        public final V getDst()
        Returns:
        destination vertex.
      • getPropertiesAsJsonNode

        public com.fasterxml.jackson.databind.JsonNode getPropertiesAsJsonNode()
        Returns:
        JSON representation of additional properties