Class: Graphviz::Diagram::ClassDiagram::Aggragation

Inherits:
Link
  • Object
show all
Defined in:
lib/graphviz/diagram/class_diagram.rb

Overview

:from belongs to :to

Instance Attribute Summary

Attributes inherited from Link

#attributes, #from, #to

Instance Method Summary collapse

Methods inherited from Link

#initialize

Constructor Details

This class inherits a constructor from Graphviz::Diagram::ClassDiagram::Link

Instance Method Details

#default_attrsObject



137
138
139
# File 'lib/graphviz/diagram/class_diagram.rb', line 137

def default_attrs
  { arrowhead: 'diamond', headlabel: '1', taillabel: '0..*' }
end