Package | Description |
---|---|
com.jgraph.io.svg | |
com.jgraph.layout |
JGraphLayout's topmost package which contains the basic layout classes and interfaces.
|
com.jgraph.navigation | |
org.jgraph |
JGraph's topmost package which contains the JGraph class.
|
org.jgraph.event |
Contains event classes and listener interfaces that are used to react to events fired by JGraph.
|
org.jgraph.graph |
Graphs are made up of a number of classes and interfaces defined in their own
package - the
jgraph.graph package. |
org.jgraph.plaf.basic |
Contains the BasicGraphUI, which is GraphUI's default implementation.
|
org.jgraph.util |
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Node |
SVGGraphWriter.createNode(org.w3c.dom.Document document,
java.lang.String title,
GraphLayoutCache cache,
int inset) |
org.w3c.dom.Node |
SVGVertexWriter.createNode(SVGGraphWriter writer,
org.w3c.dom.Document document,
GraphLayoutCache cache,
CellView view,
double dx,
double dy)
Returns the SVG representation of the specified node.
|
void |
SVGGraphWriter.write(java.io.OutputStream out,
java.lang.String title,
GraphLayoutCache cache,
int inset)
Writes the SVG.
|
Modifier and Type | Field and Description |
---|---|
protected GraphLayoutCache |
JGraphFacade.graphLayoutCache
The layout cache to have the layout applied to it.
|
Constructor and Description |
---|
JGraphFacade(GraphLayoutCache cache)
Creates a JGraphFacade specifying the graph passed in as the input
graph.
|
JGraphFacade(GraphLayoutCache cache,
java.lang.Object[] roots,
boolean ignoresHiddenCells,
boolean ignoresCellsInGroups,
boolean ignoresUnconnectedCells,
boolean directed,
JGraphCostFunction distanceCostFunction,
JGraphAlgebra algebra)
Creates a JGraphFacade specifying the graph passed in as the input
graph.
|
JGraphFacade(GraphModel model,
GraphLayoutCache cache,
java.lang.Object[] roots,
boolean ignoresHiddenCells,
boolean ignoresCellsInGroups,
boolean ignoresUnconnectedCells,
boolean directed,
JGraphCostFunction distanceCostFunction,
JGraphAlgebra algebra)
Creates a JGraphGenericFacade specifying the graph passed in as the input
graph.
|
Modifier and Type | Field and Description |
---|---|
protected GraphLayoutCache |
GraphNavigator.initialLayoutCache
References the inital layout cache of the backing graph.
|
Modifier and Type | Field and Description |
---|---|
protected GraphLayoutCache |
JGraph.graphLayoutCache
The view that defines the display properties of the model.
|
Modifier and Type | Method and Description |
---|---|
GraphLayoutCache |
JGraph.getGraphLayoutCache()
Returns the
GraphLayoutCache that is providing the
view-data. |
Modifier and Type | Method and Description |
---|---|
void |
JGraph.setGraphLayoutCache(GraphLayoutCache newLayoutCache)
Sets the
GraphLayoutCache that will provide the view-data. |
Constructor and Description |
---|
JGraph(GraphLayoutCache cache)
Returns an instance of
JGraph which displays the data
model using the specified view. |
JGraph(GraphModel model,
GraphLayoutCache cache)
Returns an instance of
JGraph which displays the specified
data model using the specified view. |
JGraph(GraphModel model,
GraphLayoutCache layoutCache,
BasicMarqueeHandler mh)
Returns an instance of
JGraph which displays the specified
data model using the specified view and assigns the specified marquee
handler |
Modifier and Type | Method and Description |
---|---|
CellView[] |
GraphModelEvent.GraphModelChange.getViews(GraphLayoutCache view)
Allows a
GraphLayoutCache to retrieve an array of
CellViews that was previously stored with
putViews(GraphLayoutCache, CellView[]) . |
void |
GraphModelEvent.GraphModelChange.putViews(GraphLayoutCache view,
CellView[] cellViews)
Allows a
GraphLayoutCache to store cell views for
cells that have been removed. |
Modifier and Type | Field and Description |
---|---|
protected GraphLayoutCache |
GraphContext.graphLayoutCache
Reference to the graphs GraphLayoutCache.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
AbstractCellView.changeAttributes(GraphLayoutCache cache,
java.util.Map change)
Applies
change to the attributes of the view and calls
update. |
java.util.Map |
CellView.changeAttributes(GraphLayoutCache cache,
java.util.Map map)
Apply the specified map of attributes on the view.
|
CellView[] |
DefaultGraphModel.GraphModelEdit.getViews(GraphLayoutCache view) |
CellView[] |
DefaultGraphModel.GraphModelLayerEdit.getViews(GraphLayoutCache view)
Returns the views that have not changed explicitly, but implicitly
because one of their dependent cells has changed.
|
void |
DefaultGraphModel.GraphModelEdit.putViews(GraphLayoutCache view,
CellView[] views) |
void |
DefaultGraphModel.GraphModelLayerEdit.putViews(GraphLayoutCache view,
CellView[] cellViews)
Returns the views that have not changed explicitly, but implicitly
because one of their dependent cells has changed.
|
void |
AbstractCellView.refresh(GraphLayoutCache cache,
CellMapper mapper,
boolean createDependentViews)
Create child views and reload properties for this view.
|
void |
CellView.refresh(GraphLayoutCache cache,
CellMapper mapper,
boolean createDependentViews)
Refresh this view based on the model cell.
|
void |
EdgeView.refresh(GraphLayoutCache cache,
CellMapper mapper,
boolean createDependentViews)
Overrides the parent method to udpate the cached points, source and
target port.
|
java.util.List |
Edge.Routing.route(GraphLayoutCache cache,
EdgeView edge)
Returns the points to be used for the edge.
|
java.util.List |
DefaultEdge.LoopRouting.route(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
DefaultEdge.LoopRouting.routeEdge(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
DefaultEdge.DefaultRouting.routeEdge(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
DefaultEdge.LoopRouting.routeLoop(GraphLayoutCache cache,
EdgeView edge) |
void |
AbstractCellView.update(GraphLayoutCache cache)
Update attributes for this view and indicate to the parent this child has
been updated
|
void |
CellView.update(GraphLayoutCache cache)
Update this view's attributes.
|
void |
VertexView.update(GraphLayoutCache cache)
Overrides the parent method to udpate the cached points.
|
void |
EdgeView.update(GraphLayoutCache cache)
Update attributes and recurse children.
|
Modifier and Type | Field and Description |
---|---|
protected GraphLayoutCache |
BasicGraphUI.graphLayoutCache
Reference to the graph's view (geometric pattern).
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicGraphUI.setGraphLayoutCache(GraphLayoutCache cache)
Sets the GraphLayoutCache (geometric pattern).
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] |
ParallelEdgeRouter.getParallelEdges(GraphLayoutCache cache,
EdgeView edge,
CellView cellView1,
CellView cellView2)
Getter to obtain the list of parallel edges
|
java.util.List |
ParallelEdgeRouter.routeEdge(GraphLayoutCache cache,
EdgeView edge)
Calc of intermediates points
|
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.