org.ceryle.wiki.visualizer.core.graph
Class WikiGraph
java.lang.Object
de.fzi.wim.guibase.graphview.graph.AbstractGraph
de.fzi.wim.guibase.graphview.graph.DefaultGraph
org.ceryle.wiki.visualizer.core.graph.WikiGraph
- All Implemented Interfaces:
- de.fzi.wim.guibase.graphview.graph.Graph
public class WikiGraph
- extends de.fzi.wim.guibase.graphview.graph.DefaultGraph
A WikiGraph modifies and extends the behaviour of DefaultGraph in the following ways: It captures
totally isolated "island" WikiPages and attaches them to a special "Unreferenced" DefaultNode.
WikiGraph serves as isolation layer from KAON's graphview code...
| Fields inherited from class de.fzi.wim.guibase.graphview.graph.DefaultGraph |
m_edges, m_nodes |
| Fields inherited from class de.fzi.wim.guibase.graphview.graph.AbstractGraph |
m_listeners |
| Methods inherited from class de.fzi.wim.guibase.graphview.graph.DefaultGraph |
addElements, clear, deleteElements, getEdges, getNodes |
| Methods inherited from class de.fzi.wim.guibase.graphview.graph.AbstractGraph |
addGraphListener, fireElementsAdded, fireElementsRemoved, fireGraphContentsChanged, notifyLayoutUpdated, notifyUpdated, removeGraphListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiGraph
public WikiGraph(WikiModel model,
WikiVisualizerParameters params)
update
public void update(WikiPage page)
- Update the graph for the given page.
- Parameters:
page -
updateEdges
public void updateEdges()
- Update the edges of the graph, mostly this will eliminate edges that are no longer part of
the model.
getWikiModel
public WikiModel getWikiModel()
- Returns:
- the WikiModel
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.