Class: Relyze::TCG::TCGGraph
- Inherits:
-
Graph::DirectedGraph
- Object
- Graph::Graph
- Graph::DirectedGraph
- Relyze::TCG::TCGGraph
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/tcg.rb
Instance Attribute Summary
Attributes inherited from Graph::Graph
#data_map, #display, #name, #nodes, #root
Instance Method Summary collapse
- #_new_edge(lhs, rhs, data) ⇒ Object protected
- #_new_node(id, data) ⇒ Object protected
-
#initialize(name = '', display = {}) ⇒ TCGGraph
constructor
A new instance of TCGGraph.
Methods inherited from Graph::DirectedGraph
Methods inherited from Graph::Graph
#analyze, #color2html, #complexity, #create_edge, #create_node, #directed?, #dominator_tree, #find_node, #find_or_create_node, #generate_random, #layout, #post_dominator_tree, #svg_escape, #to_dot, #to_svg, #topological_sort
Constructor Details
#initialize(name = '', display = {}) ⇒ TCGGraph
Returns a new instance of TCGGraph
77 78 79 |
# File 'C:/Program Files/Relyze/lib/relyze/core/tcg.rb', line 77 def initialize( name='', display={} ) super end |
Instance Method Details
#_new_edge(lhs, rhs, data) ⇒ Object (protected)
[View source]
87 88 89 |
# File 'C:/Program Files/Relyze/lib/relyze/core/tcg.rb', line 87 def _new_edge( lhs, rhs, data ) return TCGEdge.new( self, lhs, rhs, data ) end |
#_new_node(id, data) ⇒ Object (protected)
[View source]
83 84 85 |
# File 'C:/Program Files/Relyze/lib/relyze/core/tcg.rb', line 83 def _new_node( id, data ) return TCGNode.new( self, id, data ) end |