|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GraphFactory
Implementations of this interface provide a factory for graphs and elements within that graph. The created graph and its elements must be compatible.

| Method Summary | |
|---|---|
Edge |
createEdge(Graph graph,
Node source,
Node target,
java.lang.Object hint)
Returns a newly created Edge object for the given graph. |
Graph |
createGraph(java.lang.Object hint)
Returns a newly created Graph object. |
Node |
createNode(Graph graph,
java.lang.Object hint)
Returns a newly created Node object for the given graph. |
| Method Detail |
|---|
Graph createGraph(java.lang.Object hint)
hint - Context-specific hint information.
Node createNode(Graph graph,
java.lang.Object hint)
graph - The graph that should contain the newly created node.hint - Context-specific hint information.
Edge createEdge(Graph graph,
Node source,
Node target,
java.lang.Object hint)
graph - The graph that should contain 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-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||