org.graphstream.graph
Class GraphFactory
java.lang.Object
org.graphstream.graph.GraphFactory
public class GraphFactory
- extends Object
An interface aimed at dynamically creating graph objects based on a class
name.
- Since:
- september 2007
Constructor Summary |
GraphFactory()
Create a new instance of graph. |
GraphFactory
public GraphFactory()
- Create a new instance of graph.
newInstance
public Graph newInstance(String id,
String graphClass)
- Instantiate a new graph from the given class name.
- Returns:
- A graph instance or null if the graph class was not found.
Copyright © 2011. All Rights Reserved.