Gephi Toolkit Javadoc

org.gephi.graph.api
Interface Node

All Superinterfaces:
Attributable

public interface Node
extends Attributable

A graph node.

Author:
Mathieu Bastian

Method Summary
 int getId()
          Returns the unique identifier.
 NodeData getNodeData()
          Returns the extended data that belongs to this node.
 
Methods inherited from interface org.gephi.graph.api.Attributable
getAttributes
 

Method Detail

getId

int getId()
Returns the unique identifier. This id is created by the system, use NodeData.getId() to get the string id from import.

Returns:
the node id, created by the system

getNodeData

NodeData getNodeData()
Returns the extended data that belongs to this node.

Returns:
the node data instance

Gephi Toolkit Javadoc