Cytoscape 2.8.0 API

giny.model
Interface GraphObject

All Known Subinterfaces:
Edge, Node
All Known Implementing Classes:
CyEdge, CyNode

public interface GraphObject


Method Summary
 String getIdentifier()
           
 RootGraph getRootGraph()
           
 int getRootGraphIndex()
           
 boolean setIdentifier(String new_id)
          There is no check to make sure that this is a unique id
 

Method Detail

getIdentifier

String getIdentifier()
Returns:
The Unique Identifier of this node

setIdentifier

boolean setIdentifier(String new_id)
There is no check to make sure that this is a unique id

Parameters:
new_id - The new Identifier for this node

getRootGraphIndex

int getRootGraphIndex()
Returns:
the index in the RootGraph of this Edge

getRootGraph

RootGraph getRootGraph()
Returns:
the RootGraph that this Node is in

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.