bcds.phison.io
Interface GraphIONode

All Known Implementing Classes:
Node

public interface GraphIONode

Nodes that are read with GraphReader, or written through GraphWriter need to implement this interface.

Author:
Juan Segovia S.

Method Summary
 Environ dumpToEnviron()
          Dump the vertex attributes into an Environ object.
 void setExtraArgs(Environ env)
          After a new node is created in the reader, the only attribute set is the id.
 

Method Detail

setExtraArgs

void setExtraArgs(Environ env)
After a new node is created in the reader, the only attribute set is the id. The reader call setExtraArgs() to give the opportunity to complete the initialization with any value found in the topology file (for example, coordinates or label).


dumpToEnviron

Environ dumpToEnviron()
Dump the vertex attributes into an Environ object.