Chapter 5
Diagrams and Charts Commands

From the project data you can produce several kinds of charts and diagrams:

Each of these diagrams and charts is created by a single primitive in the \Draw...\EndDraw environment of (Al)DraTex. You get the default style (layout and output). The style can be changed by using the style commands or by using DraTex commands.

5.1 Tree Diagrams

\treediagram(tag,depth)

\treestyle(m_command, p_command, t_command, e_command, width)

Default: \treestyle(\VRectNode, \RectNode, \SRectNode,\TreeEdge, 70)

\treenodestyle{style}

Default: \treenodestyle{\name{#1}}

5.2 Pert Diagrams

\pertdiagram(tag)

\pertstyle(option,h_space,v_space,m_command,p_command,t_command,width)

Default: \pertstyle(,30,20,\RectNode,\VRectNode,\SRectNode,70)

\pertlimits(rows, columns, boundary-mark, code)

Default: \pertlimits(,,\ExtNode,\par)

\adjustpert(tag_1,distance_1 & ... & tag_n,distance_n )

\pertnodestyle(style)

Default: \pertnodestyle{\name{#1}}.

5.3 Effort Charts

\effortchart(tag, start date, end date, excluded items, depth)

Cutoff parameters:

\effortstyle(options, from, to, color, width)

Default: \effortstyle(A,2.5,7.5,1,70)

\effortlimits(limit,code)

Default: \effortlimits(,\par)

5.4 Schedule Charts

\schedulechart(tag, start date, end date, excluded items, depth)

Cutoff parameters:

\schedulestyle(options, from, to, p_color, t_color, symbol, width)

Default: \schedulestyle(A,2.5,7.5,3,0,$\otimes$,70)

\schedulelimits(limit, code)

Default: \schedulelimits(,\par)

5.5 User-Defined Axes

Variants of the \Axis command of AlDraTeX which get their labels from \schedulechart and \effortchart

5.6 (Al)DraTeX Commands of Immediate Interest