Class: Graphviz::Diagram::ClassDiagram::Composition

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

Overview

:from embeds in :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



144
145
146
# File 'lib/graphviz/diagram/class_diagram.rb', line 144

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