Class GraphViz::Edge
In: lib/graphviz/edge.rb
Parent: Object

Methods

[]   []=   new   set  

Included Modules

Constants

Public Class methods

Create a new edge

In:

  vNodeOne : First node
  vNodeTwo : Second node
  oGParrent : Graph

Public Instance methods

Get the value of the node attribut xAttrName

Set value xAttrValue to the edge attribut xAttrName

Set edge attributs

Example :

  e = graph.add_edge( ... )
  ...
  e.set { |_e|
    _e.color = "blue"
    _e.fontcolor = "red"
  }

[Validate]