Class: Relyze::Graph::DirectedGraph

Inherits:
Graph
  • Object
show all
Defined in:
C:/Program Files/Relyze/lib/relyze/core/graph.rb

Overview

A sub class representing a directed graph.

Direct Known Subclasses

TCG::TCGGraph

Instance Attribute Summary

Attributes inherited from Graph

#data_map, #display, #name, #nodes, #root

Instance Method Summary collapse

Methods inherited from Graph

#_new_edge, #_new_node, #analyze, #color2html, #complexity, #create_edge, #create_node, #dominator_tree, #find_node, #find_or_create_node, #generate_random, #initialize, #layout, #post_dominator_tree, #svg_escape, #to_dot, #to_svg, #topological_sort

Constructor Details

This class inherits a constructor from Relyze::Graph::Graph

Instance Method Details

#directed?Boolean

Returns:

  • (Boolean)


362
363
364
# File 'C:/Program Files/Relyze/lib/relyze/core/graph.rb', line 362

def directed?
    return true
end