Class: Relyze::TCG::TCGGraph

Inherits:
Graph::DirectedGraph show all
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

Methods inherited from Graph::DirectedGraph

#directed?

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)



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)



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