Moin,
having written a <graph>-plugin for Mediawiki, I would like to announce it
here.
It takes textual graph descriptions between <graph></graph> like this:
For instance this input:
<graph>
[ Bonn ] -> [ Berlin ]
[ Berlin -> [ Frankfurt ] { border: 1px dotted black; }
[ Frankfurt ] -> [ Dresden ]
[ Berlin ] -> [ Potsdam ]
[ Potsdam ] => [ Cottbus ]
</graph>
Would be rendered in ASCII as (use monospaced font for viewing :o)
+------+ +--------+ ............. +---------+
| Bonn | --> | Berlin | --> : Frankfurt : --> | Dresden |
+------+ +--------+ ............. +---------+
|
|
v
+---------+ +---------+
| Potsdam | ==> | Cottbus |
+---------+ +---------+
HTML looks similiar, but more pretty (well, maybe :)
All the gory details, the patch, software, testcases, screenshots etc can
be found at:
http://bloodgate.com/perl/graph/
This is a proof-of-concept - e.g. it is likely not to work #:o)=
It is also still very early pre-alpha. Especially the Graph.php is very
rough - I never did read nor write PHP code before - but it looks
suspiciously like Perl and seems to work, so I am not complaining :)
However, before I wander off over the proverbial big cliff, I'd rather get
some corrections. Read: please tell me what you think about it, whether
this is going to be usefull/work/bring world-peace etc.
There are quite a few thing that are simple not implemented yet - I do
have plans to implement them in the near future, though :) However, most
of the work remains in the external parser/renderer.
My main interest in this area lies in _easily_ documentating network
plans, flow charts, schematics and other things in that area. IMHO having
such a feature in a wiki would be very usefull.
Best wishes,
Tels
PS: Special thanx go to Omega for beta testing!
--
Signed on Wed Jan 12 16:43:06 2005 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
Marketing lesson #1: The synergy of the result driven leverage can
*never* incentivize a paradigm shift. -- Walterk (124748) on 2004-01-16
at /.