Gephi Toolkit Javadoc

org.gephi.io.importer.api
Interface ContainerLoader.DraftFactory

All Known Implementing Classes:
ImportContainerImpl.FactoryImpl
Enclosing interface:
ContainerLoader

public static interface ContainerLoader.DraftFactory

Node and edge draft factory. Creates node and edge to push in the container.


Method Summary
 EdgeDraft newEdgeDraft()
          Returns an empty edge draft instance.
 NodeDraft newNodeDraft()
          Returns an empy node draft instance.
 

Method Detail

newNodeDraft

NodeDraft newNodeDraft()
Returns an empy node draft instance.

Returns:
an instance of NodeDraft

newEdgeDraft

EdgeDraft newEdgeDraft()
Returns an empty edge draft instance. Note that source and target have to be set.

Returns:
an instance of EdgeDraft

Gephi Toolkit Javadoc