NodeContainers.SubGraph Class Reference


Detailed Description

SubGraph represents a node subgraph.

The root is accessible through the 'root' property. All nodes in the subgraph will be a descendant of the root. The currently selected items, represented by a NodeIdList are accessible through the 'selected' property. The currently hidden items, also represented by a NodeIdList are accessible through the 'hidden' property. These properties are read-only, you cannot assign a new root, or a new NodeIdList as the hidden and selected items containers.

The [] operator will return the NodeRef to the node with the given id.

#include <class_node_containers_1_1_sub_graph.h>

List of all members.

Public Member Functions

  __init__ ()
  __del__ ()
  __getitem__ ()
  Returns the node corresponding to the given id.
  __contains__ ()
  Returns True if the given node is part of this subgraph; False otherwise.
  root ()
  selected ()
  selectedLocators ()
  hidden ()
  hiddenLocators ()

Member Function Documentation

NodeContainers.SubGraph.__init__ ( )
NodeContainers.SubGraph.__del__ ( )
NodeContainers.SubGraph.__getitem__ ( )

Returns the node corresponding to the given id.

NodeContainers.SubGraph.__contains__ ( )

Returns True if the given node is part of this subgraph; False otherwise.

NodeContainers.SubGraph.root ( )
NodeContainers.SubGraph.selected ( )
NodeContainers.SubGraph.selectedLocators ( )
NodeContainers.SubGraph.hidden ( )
NodeContainers.SubGraph.hiddenLocators ( )

NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph
NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph NodeContainers.SubGraph