Cytoscape 2.8.0 API

giny.model
Interface Node

All Superinterfaces:
GraphObject
All Known Implementing Classes:
CyNode

public interface Node
extends GraphObject


Method Summary
 GraphPerspective getGraphPerspective()
          Deprecated. Don't use this method because the behavior of the returned GraphPerspective with respect to changing meta-children of this Node is ill-defined; use RootGraph.getNodeMetaChildIndicesArray(int) and RootGraph.getEdgeMetaChildIndicesArray(int) instead.
 GraphPerspective getNestedNetwork()
          Return the currently set graph perspective (may be null) associated with this node.
 boolean setGraphPerspective(GraphPerspective gp)
          Deprecated. Don't use this method because the behavior of the input GraphPerspective with respect to changing meta-children of this Node is ill-defined; use RootGraph.addNodeMetaChild(int, int) and RootGraph.addEdgeMetaChild(int, int) instead.
 void setNestedNetwork(GraphPerspective graphPerspective)
          Assign a graph perspective reference to this node.
 
Methods inherited from interface giny.model.GraphObject
getIdentifier, getRootGraph, getRootGraphIndex, setIdentifier
 

Method Detail

getGraphPerspective

GraphPerspective getGraphPerspective()
Deprecated. Don't use this method because the behavior of the returned GraphPerspective with respect to changing meta-children of this Node is ill-defined; use RootGraph.getNodeMetaChildIndicesArray(int) and RootGraph.getEdgeMetaChildIndicesArray(int) instead.

If a Node is a meta-parent of any other nodes and edges, then it contains those nodes and edges in a GraphPerspective. This method returns such a GraphPerspective.

See Also:
RootGraph.getNodeMetaChildIndicesArray(int), RootGraph.getEdgeMetaChildIndicesArray(int)

setGraphPerspective

boolean setGraphPerspective(GraphPerspective gp)
Deprecated. Don't use this method because the behavior of the input GraphPerspective with respect to changing meta-children of this Node is ill-defined; use RootGraph.addNodeMetaChild(int, int) and RootGraph.addEdgeMetaChild(int, int) instead.

This method adds all Nodes and Edges contained in the specified GraphPerspective as children of this Node. The return value of this method is undefined and should not be used.

See Also:
RootGraph.addNodeMetaChild(int, int), RootGraph.addEdgeMetaChild(int, int)

setNestedNetwork

void setNestedNetwork(GraphPerspective graphPerspective)
Assign a graph perspective reference to this node.


getNestedNetwork

GraphPerspective getNestedNetwork()
Return the currently set graph perspective (may be null) associated with this node.

Returns:
a network reference or null.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.