Package org.graffiti.graph
Contains graph interfaces and classes.
The interfaces for graph, node and edge must be supported by every implementation. Graphs, nodes and edges must be observable. The ListenerManager handles the communication between the graph, its components and the observers as there can be e.g. different views.
-
Interface Summary Interface Description Edge Provides an interfaces for aGraphEdge.Graph AGraphconsists of a set of nodes and a set of edges.GraphElement Interfaces a graph element.Node Provides an interfaces for a graph node.NodeHierarchy -
Class Summary Class Description AbstractEdge Provides default implementations of methods on edges.AbstractGraph Provides further functionality for graphs.AbstractGraphElement GraphElements are Attributables which know the graph they belong to.AbstractNode Abstract classAbstractNodecommon functionality forNodeimplementations.AdjListEdge Implementation of theEdgeinterface for aGraphwith adjacency list representation.AdjListGraph Implements theGraph-interface using an adjacency list representation of the graph.AdjListNode Implements a graph node with adjacency list representation.OptAdjListGraph Implements theGraph-interface using an adjacency list representation of the graph. -
Exception Summary Exception Description GraphElementNotFoundException TheGraphElementNotFoundExceptionwill be thrown if a method tries to deal with aGraphElementwhich cannot be found in theGraph.