Class DOT::DOTEdge
In: lib/rgl/rdot.rb
Parent: DOTElement

This is an undirected edge representation.

Methods

new   to_s  

Attributes

from  [RW]  A node or subgraph reference or instance to be used as the starting point for an edge.
to  [RW]  A node or subgraph reference or instance to be used as the ending point for an edge.

Public Class methods

Creates a new DOTEdge with the params Hash providing settings for all edge options. The option_list parameter restricts those options to the list of valid names it contains.

Public Instance methods

Returns a string representation of this edge which is consumable by the graphviz tools dot and neato. The leader parameter is used to indent every line of the returned string, and the indent parameter is used to additionally indent nested items.

[Validate]