class Graphviz::Diagram::ClassDiagram::Link

Relationship between entities

Attributes

attributes[RW]

From and to are entities links each other

from[RW]

From and to are entities links each other

to[RW]

From and to are entities links each other

Public Class Methods

new(from, to, attributes = {}) click to toggle source
# File lib/graphviz/diagram/class_diagram.rb, line 125
def initialize(from, to, attributes = {})
  attrs = default_attrs.merge(attributes)
  @from, @to, @attributes = from, to, attrs
end

Public Instance Methods

default_attrs() click to toggle source
# File lib/graphviz/diagram/class_diagram.rb, line 130
def default_attrs
  {}
end