ensembl-hive  2.6
Bio::EnsEMBL::Hive::Utils::Graph Class Reference
+ Inheritance diagram for Bio::EnsEMBL::Hive::Utils::Graph:

Public Member Functions

public Graph new ()
 
public GraphViz graph ()
 
public HivePipeline pipeline ()
 
protected _grouped_dataflow_rules ()
 
protected _analysis_node_name ()
 
protected _table_node_name ()
 
protected _accu_sink_node_name ()
 
protected _cluster_name ()
 
protected _midpoint_name ()
 
public The build ()
 
protected _propagate_allocation ()
 
protected _add_analysis_node ()
 
protected _add_accu_sink_node ()
 
protected _add_control_rules ()
 
protected _last_part_arrow ()
 
protected _twopart_arrow ()
 
protected _add_dataflow_rules ()
 
protected _add_table_node ()
 
- Public Member Functions inherited from Bio::EnsEMBL::Hive::Configurable
public config ()
 
public context ()
 
public config_get ()
 
public config_set ()
 

Detailed Description

Synopsis

my $g = Bio::EnsEMBL::Hive::Utils::Graph->new( $hive_pipeline );
my $graphviz = $g->build();
$graphviz->as_png('location.png');

Description

    This is a module for converting a hive database's flow of analyses, control 
    rules and dataflows into the GraphViz model language. This information can
    then be converted to an image or to the dot language for further manipulation
    in GraphViz.

Definition at line 26 of file Graph.pm.

Member Function Documentation

◆ _accu_sink_node_name()

protected Bio::EnsEMBL::Hive::Utils::Graph::_accu_sink_node_name ( )

Undocumented method

Code:
click to view

◆ _add_accu_sink_node()

protected Bio::EnsEMBL::Hive::Utils::Graph::_add_accu_sink_node ( )

Undocumented method

Code:
click to view

◆ _add_analysis_node()

protected Bio::EnsEMBL::Hive::Utils::Graph::_add_analysis_node ( )

Undocumented method

Code:
click to view

◆ _add_control_rules()

protected Bio::EnsEMBL::Hive::Utils::Graph::_add_control_rules ( )

Undocumented method

Code:
click to view

◆ _add_dataflow_rules()

protected Bio::EnsEMBL::Hive::Utils::Graph::_add_dataflow_rules ( )

Undocumented method

Code:
click to view

◆ _add_table_node()

protected Bio::EnsEMBL::Hive::Utils::Graph::_add_table_node ( )

Undocumented method

Code:
click to view

◆ _analysis_node_name()

protected Bio::EnsEMBL::Hive::Utils::Graph::_analysis_node_name ( )

Undocumented method

Code:
click to view

◆ _cluster_name()

protected Bio::EnsEMBL::Hive::Utils::Graph::_cluster_name ( )

Undocumented method

Code:
click to view

◆ _grouped_dataflow_rules()

protected Bio::EnsEMBL::Hive::Utils::Graph::_grouped_dataflow_rules ( )

Undocumented method

Code:
click to view

◆ _last_part_arrow()

protected Bio::EnsEMBL::Hive::Utils::Graph::_last_part_arrow ( )

Undocumented method

Code:
click to view

◆ _midpoint_name()

protected Bio::EnsEMBL::Hive::Utils::Graph::_midpoint_name ( )

Undocumented method

Code:
click to view

◆ _propagate_allocation()

protected Bio::EnsEMBL::Hive::Utils::Graph::_propagate_allocation ( )

Undocumented method

Code:
click to view

◆ _table_node_name()

protected Bio::EnsEMBL::Hive::Utils::Graph::_table_node_name ( )

Undocumented method

Code:
click to view

◆ _twopart_arrow()

protected Bio::EnsEMBL::Hive::Utils::Graph::_twopart_arrow ( )

Undocumented method

Code:
click to view

◆ build()

public The Bio::EnsEMBL::Hive::Utils::Graph::build ( )
  Returntype : The GraphViz object built & populated
  Exceptions : Raised if there are issues with accessing the database
  Description : Builds the graph object and returns it.
  Status     : Beta
 
Code:
click to view

◆ graph()

public GraphViz Bio::EnsEMBL::Hive::Utils::Graph::graph ( )
  Arg [1] : The GraphViz instance created by this module
  Returntype : GraphViz
  Exceptions : None
  Status     : Beta
 
Code:
click to view

◆ new()

public Graph Bio::EnsEMBL::Hive::Utils::Graph::new ( )
  Arg [1] : Bio::EnsEMBL::Hive::HivePipeline $pipeline;
              The adaptor to get information from
  Arg [2] : (optional) string $config_file_name;
                  A JSON file name to initialize the Config object with.
                  If one is not given then we don't pass anything into Config's constructor,
                  which results in loading configuration from Config's standard locations.
  Returntype : Graph object
  Exceptions : If the parameters are not as required
  Status     : Beta
 
Code:
click to view

◆ pipeline()

public HivePipeline Bio::EnsEMBL::Hive::Utils::Graph::pipeline ( )
  Arg [1] : The HivePipeline instance
  Returntype : HivePipeline
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::Hive::Utils::Graph::graph
public GraphViz graph()
Bio::EnsEMBL::Hive::Utils::Graph::_add_control_rules
protected _add_control_rules()
Bio::EnsEMBL::Hive::Utils::Graph::_add_analysis_node
protected _add_analysis_node()
Bio::EnsEMBL::Hive::NakedTable
Definition: NakedTable.pm:10
map
public map()
Bio::EnsEMBL::Hive::Utils::Graph::_propagate_allocation
protected _propagate_allocation()
Bio::EnsEMBL::Hive::Utils::Graph::_grouped_dataflow_rules
protected _grouped_dataflow_rules()
Bio::EnsEMBL::Hive::Utils::Graph::_add_accu_sink_node
protected _add_accu_sink_node()
Bio::EnsEMBL::Hive::Utils::Graph::_add_table_node
protected _add_table_node()
Bio::EnsEMBL::Hive::Utils::Config::new
public new()
Bio::EnsEMBL::Hive::Utils::Graph::_twopart_arrow
protected _twopart_arrow()
Bio::EnsEMBL::Hive::Utils::GraphViz::new
public new()
Bio::EnsEMBL::Hive::Utils::Config
Definition: Config.pm:12
Bio::EnsEMBL::Hive::Utils::Graph::new
public Graph new()
Bio::EnsEMBL::Hive::Utils::Graph
Definition: Graph.pm:26
Bio::EnsEMBL::Hive::Utils::Graph::_cluster_name
protected _cluster_name()
Bio::EnsEMBL::Hive::Utils::Graph::_table_node_name
protected _table_node_name()
Bio::EnsEMBL::Hive::Utils::Graph::_midpoint_name
protected _midpoint_name()
Bio::EnsEMBL::Hive::Utils::GraphViz
Definition: GraphViz.pm:16
Bio::EnsEMBL::Hive::Utils::Graph::_last_part_arrow
protected _last_part_arrow()
Bio::EnsEMBL::Hive::Utils::Graph::_analysis_node_name
protected _analysis_node_name()
Bio::EnsEMBL::Hive::Accumulator
Definition: Accumulator.pm:11
Bio::EnsEMBL::Hive::Utils::Graph::_accu_sink_node_name
protected _accu_sink_node_name()
Bio::EnsEMBL::Hive::Utils::Graph::pipeline
public HivePipeline pipeline()
Bio::EnsEMBL::Hive::Utils::Graph::_add_dataflow_rules
protected _add_dataflow_rules()
Bio::EnsEMBL::Hive::Utils::Graph::build
public The build()