Re: [graphviz-interest] flowchart with swimlanes

Ryan Schmidt <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On May 2, 2013, at 21:42, "NORTH, STEPHEN C (STEPHEN C)" <[email protected]> wrote:

> I think there are other tools (not graphviz) that are better for drawing swimlane
> diagrams, though we would definitely accept contributions to the source code for that.

Yes, I'm having trouble making Graphviz do that. But here is my valiant attempt.

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
graph.pdf (application/pdf, 14.2 KB) - not displayed
graph.gv (text/vnd.graphviz, 1.6 KB)
digraph G {
  graph [style=dashed];
  node [shape=box];

  subgraph cluster0 {
    label="Applicant";
    compose [label="compose application"];
    resubmit [label="resubmit with more information"];

    edge [style=invis];
    compose->resubmit [minlen=6];
  }

  subgraph cluster1 {
    label="Head Office";
    scan [label="upload application to sharepoint"];
    certify [label="make certificate"];

    node [style=invis];
    edge [style=invis];
    spacer10->scan;
    scan->certify [minlen=4];
    certify->spacer11;
  }

  subgraph cluster2 {
    label="Chair";
    delegate [label="alert panel, email receipt to applicant"];
    decide [shape=diamond, label="collate results"];
    request [label="compose letter requesting additional information"];

    node [style=invis];
    edge [style=invis];
    spacer20->delegate->decide [minlen=2];
    request->spacer21
  }

  subgraph cluster3 {
    label="Panel";
    assess [label="perform assessment, upload result to sharepoint"];

    node [style=invis];
    edge [style=invis];
    spacer30->assess->spacer31 [minlen=3];
  }

  subgraph cluster4 {
    label="Region";
    ceremony [label="present certificate"];

    node [style=invis];
    edge [style=invis];
    spacer40->ceremony [minlen=6];
  }

  compose -> scan [label="post application"];
  scan -> delegate [label="email chair"];
  delegate -> assess [label="alert panel"];
  assess -> decide;
  decide -> certify [label="pass"];
  certify -> ceremony [label="email region"];
  decide -> request [label="fail"];
  request -> resubmit;
  resubmit -> scan [label="resubmit"];
  delegate -> compose [lhead=culster0];
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.