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

Methods

[]   []=   new   set  

Included Modules

Constants

External Aliases

<< -> >
<< -> -
<< -> >>

Public Class methods

Create a new edge

In:

  • vNodeOne : First node
  • vNodeTwo : Second node
  • oGParrent : Graph

Public Instance methods

Set values for edge attributs or get the value of the given edge 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]