Package org.graphstream.graph
Interface NodeFactory<T extends Node>
public interface NodeFactory<T extends Node>
An interface aimed at dynamically creating node objects.
- Since:
- September 2007
-
Method Summary
Modifier and Type Method Description TnewInstance(String id, Graph graph)Create a new instance of node.
-
Method Details
-
newInstance
Create a new instance of node.- Returns:
- The newly created edge.
-