Interface GraphGenerator

    • Method Detail

      • add

        Graphable add​(Object obj)
        Adds an object to the graph.
        Parameters:
        obj - The object to be modelled in the graph.
        Returns:
        The graph component used to model the object.
      • get

        Graphable get​(Object obj)
        Retrieves a component of the graph.
        Parameters:
        obj - The object modelled by the component.
        Returns:
        The graph component used to model the object.
      • remove

        Graphable remove​(Object obj)
        Removes an object from the graph.
        Parameters:
        obj - The object modelled by the component.
        Returns:
        The graph component used to model the object.
      • setGraphBuilder

        void setGraphBuilder​(GraphBuilder builder)
        Sets the underlying builder used to physically construct the graph.
        Parameters:
        builder - The new underlying GraphBuilder.
      • getGraphBuilder

        GraphBuilder getGraphBuilder()
        Returns the underlying builder.
        Returns:
        The underyling builder.
      • getGraph

        Graph getGraph()
        Returns the graph being generated.
        Returns:
        The generated graph.