Interface Node

  • All Known Implementing Classes:
    Node.Simple

    public interface Node
    Graph node description. It should at least provide its name and its neighbors.
    Since:
    0.30.9
    • Method Detail

      • name

        String name()
        Node name.
        Returns:
        A identifier for the node
      • connections

        Set<Node> connections()
        Calculates ingoing and outgoing connected nodes.
        Returns:
        List of nodes connected to this node.