Class Node

java.lang.Object
cz.metacentrum.perun.utils.graphs.Node

public class Node extends Object
Class representing node in Graph.
Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>
  • Constructor Details

    • Node

      public Node()
  • Method Details

    • getId

      public long getId()
    • getLabel

      public String getLabel()
    • getFillColor

      public String getFillColor()
    • getStyle

      public String getStyle()
    • setId

      public void setId(long id)
    • setLabel

      public void setLabel(String label)
    • setFillColor

      public void setFillColor(String fillColor)
    • setStyle

      public void setStyle(String style)
    • addOutComingEdge

      public void addOutComingEdge(GraphEdge edge)
    • removeOutComingEdge

      public void removeOutComingEdge(GraphEdge edge)
    • getOutComingEdges

      public Set<GraphEdge> getOutComingEdges()
    • addInComingEdge

      public void addInComingEdge(GraphEdge edge)
    • removeInComingEdge

      public void removeInComingEdge(GraphEdge edge)
    • getInComingEdges

      public Set<GraphEdge> getInComingEdges()
    • getAllEdges

      public Set<GraphEdge> getAllEdges()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object