Wgraph:Example 3

From Dpldemo
Jump to: navigation, search

Example 3

This demo graph is automatically derived from the articles and their relations within this wiki. The graph reflects articles (about painters) and their interrelationships. If you click the thumb image you will get the SVG file in which nodes contain clickable links to wiki articles.

A more generic approach for drawing wikigraphs can be found in Template:Catgraph.
Our Genealogy Sample consists of eight lessons on drawing wikigraphs.

    (made with Wgraph)

      1: graph "Example_3" . {
      2:   display_edge_labels = yes
      3:   splines=yes
      4:   
      5: 
      6: node "Cezanne" { label="Cezanne" url="Cezanne" type="Painter" /* */} 
      7: node "Manet" { label="Manet" url="Manet" type="Painter" scaling:1.3 color:magenta layer:"2b"} 
      8: node "Renoir" { label="Renoir" url="Renoir" type="Impressionism, Painter" shape:hexagon layer:"1a"} 
      9: node "Signac" { label="Signac" url="Signac" type="Impressionism, Painter" /* */} 
     10: node "Van Gogh" { label="Van Gogh" url="Van Gogh" type="Expressionism, Painter" shape:ellipse} 
     11:   
     12: edge {from "Manet" to "Renoir" label="this way" type="Is friend of"}
     13: edge {from "Manet" to "Van Gogh" label="that way" type="Is friend of"} 
     14: edge {from "Renoir" to "Van Gogh" label="somehow" type="Is friend of"}
     15: edge {from "Renoir" to "Cezanne" label="somehow" type="Is friend of"} 
     16: 
     17:   // no nodetypes
     18:   
     19: 
     20: edgetype "Is friend of" {weight:90 arrowsize:12 backarrowsize:23 color:red thickness:5 arrowstyle:solid}
     21: }

    continue with Wgraph:Example 4
    back to Wgraph:Example 2
    
    Personal tools
    Ploticus
    Call