Class: UML::Graphviz::Dependency

Inherits:
Edge
  • Object
show all
Defined in:
lib/uml/class_diagram_helper.rb

Overview

aka directed association

Instance Attribute Summary

Attributes inherited from Edge

#attributes

Instance Method Summary collapse

Methods inherited from Edge

#to_dot

Constructor Details

#initialize(tail, head) ⇒ Dependency

Returns a new instance of Dependency.



47
48
49
50
# File 'lib/uml/class_diagram_helper.rb', line 47

def initialize(tail, head)
  super
  @attributes[:arrowhead] = 'vee'
end