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 a GraphEdge.
    Graph
    A Graph 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 class AbstractNode common functionality for Node implementations.
    AdjListEdge
    Implementation of the Edge interface for a Graph with adjacency list representation.
    AdjListGraph
    Implements the Graph -interface using an adjacency list representation of the graph.
    AdjListNode
    Implements a graph node with adjacency list representation.
    OptAdjListGraph
    Implements the Graph-interface using an adjacency list representation of the graph.
  • Exception Summary
    Exception Description
    GraphElementNotFoundException
    The GraphElementNotFoundException will be thrown if a method tries to deal with a GraphElement which cannot be found in the Graph.