Sha256: 18524ec85373a01af9d6de3be5bcff0199b172845b315e6d9d7748705a6f9d45

Contents?: true

Size: 795 Bytes

Versions: 4

Compression:

Stored size: 795 Bytes

Contents

# frozen_string_literal: true

require 'tangle/version'
require 'tangle/errors'
require 'tangle/undirected/graph'
require 'tangle/undirected/simple/graph'
require 'tangle/directed/graph'
require 'tangle/directed/acyclic/graph'

# Tangle manages various types of graphs
#
# Tangle::MultiGraph.new
# => Undirected graph without edge constraints
#
# Tangle::SimpleGraph.new
# => Undirected graph with single edges between vertices, and no loops
#
# Tangle::DiGraph.new
# => Directed graph without edge constraints
#
# Tangle::DAG.new
# => Directed graph with no edge cycles
#
module Tangle
  Graph = Tangle::Undirected::Graph
  MultiGraph = Tangle::Undirected::Graph
  SimpleGraph = Tangle::Undirected::Simple::Graph
  DiGraph = Tangle::Directed::Graph
  DAG = Tangle::Directed::Acyclic::Graph
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tangle-0.11.0 lib/tangle.rb
tangle-0.10.2 lib/tangle.rb
tangle-0.10.1 lib/tangle.rb
tangle-0.10.0 lib/tangle.rb