draw a pretty timeline graphic w/ text?

CLIFFORD ILKAY clifford_ilkay-biY6FKoJMRdBDgjK7y7TUQ at public.gmane.org
Thu Nov 4 16:56:42 UTC 2010


On 11/04/2010 06:55 AM, Matt Price wrote:
> Hi eveyone,
>
> I'm trying to do something that seems really simple to me but i still
> don't know how to do.  I want to draw a timeline that represents the
> stages of a research project (inception, research, presentation,
> writing, submission, publication...)  and I would like it to look
> something like this:

Hi Matt,

I recently learned how to use Graphviz so that I could have fancy 
diagrams in the Trac wiki. I've also used Kivio and Dia, which both work 
quite well, though I prefer the interface of Kivio.

The Graphviz plug-in for Trac enabled me to create diagrams that could 
be viewed right in the wiki without having to download an attachment. I 
could have done that by exporting a Kivio diagram to PNG too, but the 
advantage of the Graphviz plug-in is that I can have hyperlinks in the 
various symbols to other diagrams, Trac tickets, Trac wiki pages, 
changesets, any web site, in short, anything that has a URL. You express 
the elements and relationships between those elements textually and 
Graphviz lays out the graphs using dot. I was fine with the layout it 
generated so I didn't have to tweak it at all but I did have the option 
of changing the layout if I wanted to.

Here is a very simple graph that has four boxes with arrows joining them 
laid out vertically.

{{{
#!graphviz
digraph C {

   node [shape=box, fontsize=12, height=1, width=1.5]; {
     node [label="Start Process"] start_process;
     node [label="Create Listing", 
URL="classifieds-system/create-listing", style="filled", 
fillcolor="pink", color="black"] create_listing;
     node [label="Login and Pay", 
URL="classifieds-system/login-and-pay", style="filled", 
fillcolor="pink", color="black"] login_and_pay;
     node [label="End Process", URL="", fillcolor="white", 
color="black"] end_process;
     }

   start_process->create_listing;
   create_listing->login_and_pay;
   login_and_pay->end_process;
}
}}}

The triple braces trigger the Trac Graphiz plug-in macro processor.
-- 
Regards,

Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada  M4N 3P6

<http://dinamis.com>
+1 416-410-3326
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list