×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Graph Extension: Difference between revisions

    Content added Content deleted
    imported>mutante
    mNo edit summary
    imported>mutante
    Line 44: Line 44:


    ==== Nodes with links ====
    ==== Nodes with links ====
    Graph:Easy
    Graph:Easy:


    <graph>
    <graph>
    Line 55: Line 55:
    node { linkbase: http://s23.org/wiki/; }
    node { linkbase: http://s23.org/wiki/; }
    [ WikiNode ] { link: WikiNode; } --> [ Sandbox ] { link: Sandbox; }
    [ WikiNode ] { link: WikiNode; } --> [ Sandbox ] { link: Sandbox; }
    [ WikiNode ] { link: WikiNode; } --> [ RecentChanges ] { link: RecentChanges; }
    [ WikiNode ] { link: WikiNode; } --> [ Fnord ] { link: Fnord; }
    </graph>
    </graph>



    Revision as of 17:19, 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; } [ WikiNode ] { link: WikiNode; } --> [ RecentChanges ] { link: RecentChanges; } [ WikiNode ] { link: WikiNode; } --> [ Fnord ] { link: Fnord; } </graph>

    Links

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.