Content added Content deleted
imported>mutante mNo edit summary |
imported>mutante mNo edit summary |
||
Line 3: | Line 3: | ||
You can create graphs like this: |
You can create graphs like this: |
||
source |
=== source examples === |
||
<pre> |
<pre> |
||
<graph> |
<graph> |
||
Line 13: | Line 13: | ||
=== result examples === |
|||
check source to see how they workd |
|||
⚫ | |||
⚫ | |||
<graph> |
<graph> |
||
[ S23 ] -> [ Neighbor1 ] |
[ S23 ] -> [ Neighbor1 ] |
||
Line 21: | Line 24: | ||
</graph> |
</graph> |
||
==== 4 nodes ==== |
|||
<graph> |
<graph> |
||
[ S23 ] -> [ Neighbor1 ] |
[ S23 ] -> [ Neighbor1 ] |
||
Line 30: | Line 33: | ||
==== 5 nodes ==== |
|||
<graph> |
<graph> |
||
[ S23 ] -> [ Neighbor1 ] |
[ S23 ] -> [ Neighbor1 ] |
||
Line 38: | Line 41: | ||
[ S23 ] -> [ Neighbor5 ] |
[ S23 ] -> [ Neighbor5 ] |
||
</graph> |
</graph> |
||
==== Nodes with links ==== |
|||
Graph:Easy |
|||
<graph> |
|||
node { linkbase: http://www.bloodgate.com/perl/; } |
|||
[ Graph ] { link: graph/; } --> [ Manual ] { link: graph/manual/; } |
|||
</graph> |
|||
S23: |
|||
<graph> |
|||
node { linkbase: http://s23.org/wiki/; } |
|||
[ WikiNode ] { link: WikiNode; } --> [ Sandbox ] { link: Sandbox; } |
|||
</graph> |
|||
=== Links === |
|||
* http://meta.wikimedia.org/wiki/Graph_extension |
* http://meta.wikimedia.org/wiki/Graph_extension |
||
Line 44: | Line 64: | ||
* [http://bloodgate.com/perl/graph/manual/index.html Manual to Graph:Easy] |
* [http://bloodgate.com/perl/graph/manual/index.html Manual to Graph:Easy] |
||
* [http://bloodgate.com/perl/graph/manual/attributes.html#links Links in graphs] |
|||
[[Category:Mediawiki Extensions]] |
[[Category:Mediawiki Extensions]] |
Revision as of 17:18, 27 November 2005
We got this new mediawiki extension installed now. It needed a few perl modules to be installed via cpan, esp. it uses Graph:Easy. Even though a few errors occured (that i reported to the author) it seems to work now.
You can create graphs like this:
source examples
<graph> [ S23 ] -> [ Neighbor1 ] [ S23 ] -> [ Neighbor2 ] [ S23 ] -> [ Neighbor3 ] </graph>
result examples
check source to see how they workd
3 nodes
<graph>
[ S23 ] -> [ Neighbor1 ] [ S23 ] -> [ Neighbor2 ] [ S23 ] -> [ Neighbor3 ]
</graph>
4 nodes
<graph>
[ S23 ] -> [ Neighbor1 ] [ S23 ] -> [ Neighbor2 ] [ S23 ] -> [ Neighbor3 ] [ S23 ] -> [ Neighbor4 ]
</graph>
5 nodes
<graph>
[ S23 ] -> [ Neighbor1 ] [ S23 ] -> [ Neighbor2 ] [ S23 ] -> [ Neighbor3 ] [ S23 ] -> [ Neighbor4 ] [ S23 ] -> [ Neighbor5 ]
</graph>
Nodes with links
Graph:Easy
<graph> node { linkbase: http://www.bloodgate.com/perl/; } [ Graph ] { link: graph/; } --> [ Manual ] { link: graph/manual/; } </graph>
S23: <graph> node { linkbase: http://s23.org/wiki/; } [ WikiNode ] { link: WikiNode; } --> [ Sandbox ] { link: Sandbox; } </graph>