Changes

Jump to navigation Jump to search
Mkii --> Mark II
ConTeXt project structure as a flow chart
Code for Here is the flow chart: (setup see complete code. Note that this is [[ConTeXt info styleMark II]])code, and so must be compiled with {{code|texexec}}. If somebody more experienced with the chart module can give separate colors to the project, product, component, and environment boxes, that would be excellent.
<pretexcode>\usemodule [chart]\setupcolors [state=start, system=rgb] \definecolor [green] [r=.720, g=1, b=.72] % pale green\definecolor [pink] [g=.720, r=1, b=.72] % pale red\definecolor [blue] [g=.720, b=1, g=.72] % pale blue \setupFLOWcharts [height=4\bodyfontsize, maxwidth=\textwidth, offset=none] \setupFLOWlines [corner=rectangular, color=black] \setupFLOWshapes [framecolor=black, background=color, backgroundcolor=green] \startTEXpage
\startFLOWchart[projekte]
\startFLOWcell \name {project} \location {3,3} \connection[ntbrl] {product1environment1} \connection[ptb] text {\ssb Project} \stopFLOWcell \startFLOWcell \name {product2environment2} \location {5,2} \text {Project\ssb Product-specific \\ environment} \stopFLOWcell \startFLOWcell \name {environmentenvironment1} \location {5,3} \connection[lr] text {project} \text {Environmentssb Project-wide \\ environment} \stopFLOWcell
\startFLOWcell \name {product1} \location {1,1} %\connection[tb] {comp11} %\connection[ptb] {comp12} \location {2,2} \connection[ntb] {comp11} \connection[tb] {comp12} \connection[btn] {project} \text {\ssb Product 1} \stopFLOWcell \startFLOWcell \name {product2} \location {4,2} \connection[ntb] {comp21} \connection[tb] {comp22} \connection[ptb] {comp23} \connection[btp] {project} \connection[rl] {environment2} \text {\ssb Product 2} \stopFLOWcell
\startFLOWcell \name {comp11} \location {1,1} \text {\ssb Component A} \stopFLOWcell \startFLOWcell \name {comp12} \location {2,1} \text {\ssb Component B} \stopFLOWcell \startFLOWcell \name {comp21} \location {3,1} \text {\ssb Component X} \stopFLOWcell \startFLOWcell \name {comp22} \location {4,1} \text {\ssb Component Y} \stopFLOWcell \startFLOWcell \name {comp23} \location {5,1} \text {\ssb Component Z} \stopFLOWcell
\stopFLOWchart
\FLOWchart[projekte]
 \stopTEXpage</pretexcode>

Navigation menu