Class: Edge

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
ActsAsGraphDiagram::Node
Includes:
ActsAsGraphDiagram::EdgeScopes
Defined in:
lib/generators/templates/model.rb

Overview

Schema Information

Table name: edges

id               :integer          not null, primary key
comment          :string           default("")
figure           :integer          default(0)
lower_figure     :integer          default(0)
higher_figure    :integer          default(0)
directed         :boolean          default(TRUE)
destination_type :string
destination_id   :integer
departure_type   :string
departure_id     :integer
created_at       :datetime
updated_at       :datetime

Method Summary

Methods included from ActsAsGraphDiagram::Node

included