Interface SimpleGraph<N>

    • Method Detail

      • getNodes

        Collection<N> getNodes()
        Retrieves an (unmodifiable) collection of the nodes in this graph.
        Returns:
        the nodes in this graph
      • nodeIDs

        default NodeIDs<N> nodeIDs()
      • getVisualizationHelper

        default VisualizationHelper<N,​?> getVisualizationHelper()
        Returns the VisualizationHelper that contains information for displaying this graph.
        Returns:
        the visualization helper
      • size

        default int size()
        Retrieves the size (number of nodes) of this graph.
        Specified by:
        size in interface FiniteRepresentation
        Returns:
        the number of nodes of this graph