Extension:Graph/Legacy

[[Category:link title

Headline text
[[Media:Example.mp3]]$$Insert formula here$$--217.236.14.249 21:01, 21 Mar 2005 (UTC)--217.236.14.249 21:01, 21 Mar 2005 (UTC)

Mediawiki Extensions]]

Overview
The graph-extension takes a textual graph description between tags, and turns it into a pretty graph.

It works much like the GraphViz extension, except that it outputs ASCII or HTML. The advantage of HTML output over an image is that it makes it possible to include mouse-over titles and links in the graph. In addtion, copy & paste is possible, and search engines will index the text in the graph like the node names and edge labels.

== Examples ==

Input:


 * 1) star - 4 nodes around a center

[ Berlin ] -> [ Rostock ] [ Berlin ] -> [ Dresden ] [ Berlin ] -> [ Magdeburg ] [ Berlin ] -> [ Frankfurt (Oder) ]

Output as ASCII:

 +---+               | Magdeburg | +---+link title ^                 |                  | +-+     ++               +-+ +-+     ++               +-+                  |                  |                  v                +--+ | Frankfurt (Oder) | +--+
 * Rostock | <-- | Berlin |          --> | Dresden |

Output as HTML:

(The borders etc are missing, since this wiki does not allow the inclusion of )



Much more details, documentation, the actual code, examples and testcases can be found at my site.

Feedback
This is work in progress - but feedback is very much welcome.