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 aGraph
Edge
.Graph AGraph
consists 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 classAbstractNode
common functionality forNode
implementations.AdjListEdge Implementation of theEdge
interface for aGraph
with 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 TheGraphElementNotFoundException
will be thrown if a method tries to deal with aGraphElement
which cannot be found in theGraph
.