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
 T newInstance(String id, Graph graph)
          Create a new instance of node.
 

Method Detail

newInstance

T newInstance(String id,
              Graph graph)
Create a new instance of node.

Returns:
The newly created edge.


Copyright © 2011. All Rights Reserved.