Class GraphViz::Node
In: lib/graphviz/node.rb
Parent: Object

Methods

<<   []   []=   name   new   set  

Included Modules

Constants

Public Class methods

Create a new node

In:

  xNodeName : Name of the node
  oGParrent : Graph

Public Instance methods

Create an edge between the current node and the node oNode

Get the value of the node attribut xAttrName

Set value xAttrValue to the node attribut xAttrName

Get the node name

Set node attributs

Example :

  n = graph.add_node( ... )
  ...
  n.set { |_n|
    _n.color = "blue"
    _n.fontcolor = "red"
  }

[Validate]