|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Implementations of this interface provide a factory for graphs and elements within that graph. The created graph and graph elements must be compatible.
| Method Summary | |
Edge |
createEdge(Graph graph,
Node source,
Node target,
Object hint)
Returns a newly created edge object for the given graph. |
Graph |
createGraph(Object hint)
Returns a newly created graph object. |
Node |
createNode(Graph graph,
Object hint)
Returns a newly created node object for the given graph. |
| Method Detail |
public Graph createGraph(Object hint)
hint - context specific hint information.
public Node createNode(Graph graph,
Object hint)
graph - the graph containing the newly created edge.hint - context specific hint information.
public Edge createEdge(Graph graph,
Node source,
Node target,
Object hint)
graph - the graph containing the newly created edge.source - the source node of the newly created edge.target - the target node of the newly created edge.hint - context specific hint information.
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||