• Publicity: Public Only All

graph-procs.tcl

Procedures in the workflow::graph namespace.

Location:
packages/workflow/tcl/graph-procs.tcl
Created:
5 April 2005
Author:
jmhek@cs.ucla.edu
CVS Identification:
$Id: graph-procs.tcl,v 1.5 2018/04/08 05:36:15 gustafn Exp $

Procedures in this file

Detailed information

workflow::graph::draw (public)

 workflow::graph::draw -workflow_id workflow_id [ -filename filename ] \
    [ -highlight highlight ] \
    [ -options_array_name options_array_name ]

This procedure is used to generate .dot file of graphviz

Switches:
-workflow_id
(required)
-filename
(optional)
-highlight
(optional)
A list of states to highlight, the first element in the list is the current state, all other elements are previous states.
-options_array_name
(optional)
the string name of the hash of additional options. Keys are: include_subject_count: If this option has a value of 1, then include the subject count by state. subject_term_pl : the plural pretty name of the subject type (rats, tissues, subjects, etc) subject_term : singular pretty name of the subject type (rat, tissue, subject, etc)
Returns:
0 if success, o.w. 1

Partial Call Graph (max 5 caller/called nodes):
%3 packages/workflow/www/admin/workflow-graph.tcl packages/workflow/ www/admin/workflow-graph.tcl workflow::graph::draw workflow::graph::draw packages/workflow/www/admin/workflow-graph.tcl->workflow::graph::draw acs_package_root_dir acs_package_root_dir (public) workflow::graph::draw->acs_package_root_dir template::util::write_file template::util::write_file (public) workflow::graph::draw->template::util::write_file workflow::action::fsm::get_ids workflow::action::fsm::get_ids (public) workflow::graph::draw->workflow::action::fsm::get_ids workflow::action::get workflow::action::get (public) workflow::graph::draw->workflow::action::get workflow::fsm::get_states workflow::fsm::get_states (public) workflow::graph::draw->workflow::fsm::get_states

Testcases:
No testcase defined.
[ show source ]