Class: SagaForge::Dashboard::Edge

Inherits:
Struct
  • Object
show all
Defined in:
lib/saga_forge/dashboard/graph.rb

Overview

kind: :chain (complete) | :jump (best-effort)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



16
17
18
# File 'lib/saga_forge/dashboard/graph.rb', line 16

def from
  @from
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



16
17
18
# File 'lib/saga_forge/dashboard/graph.rb', line 16

def kind
  @kind
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



16
17
18
# File 'lib/saga_forge/dashboard/graph.rb', line 16

def label
  @label
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



16
17
18
# File 'lib/saga_forge/dashboard/graph.rb', line 16

def to
  @to
end

Instance Method Details

#to_hObject



17
# File 'lib/saga_forge/dashboard/graph.rb', line 17

def to_h = {from: from, to: to, kind: kind, label: label}