Class: Tangle::Directed::Graph

Inherits:
Graph
  • Object
show all
Defined in:
lib/tangle/directed/graph.rb

Overview

A directed graph

Constant Summary collapse

Edge =
Tangle::Directed::Edge
DEFAULT_MIXINS =
[Tangle::Mixin::Ancestry].freeze

Instance Attribute Summary

Attributes inherited from Graph

#mixins

Instance Method Summary collapse

Methods inherited from Graph

#add_edge, #add_vertex, #edges, #get_vertex, #subgraph, #vertices

Constructor Details

#initialize(mixins: DEFAULT_MIXINS, **kvargs) ⇒ Graph

Returns a new instance of Graph.



12
13
14
# File 'lib/tangle/directed/graph.rb', line 12

def initialize(mixins: DEFAULT_MIXINS, **kvargs)
  super
end