Generated: Monday, November 14, 2011, 09:23:10 | Copyright © 2011, Kurt Nørmark |
The examples below are used as examples of the paper A Graph Library Extension of SVG by Kurt Nørmark.
The graph extension library documentation may also be of interest.
Example | Figure in paper | Scheme Expression | SVG |
Simple geometric forms without abstractions | Figure 1 | ex-1.laml | ex-1.svg |
Simple geometric forms with abstractions | Figure 1 | ex-2.laml | ex-2.svg |
An elementary graph | Figure 2 | graph-0.laml | graph-0.svg |
A slightly more elaborate graph | Figure 3 | graph-1.laml | graph-1.svg |
A cons-cell graph | Figure 4 | cons-cells.laml | cons-cells.svg |
A graph with a composite node | Figure 5 | graph-composite.laml | graph-composite.svg |
A real life graph with composite nodes (animated with step-buttons-walk-through-edge-motion) | Figure 6 | test-by-contract.laml | test-by-contract.svg |
Animation of type step-buttons-reval | Animated version of Figure 2 | graph-0-anim-1.laml | graph-0-anim-1.svg |
A sample animation of Figure 3 (animated with step-buttons-reveal) | - | graph-1-anim-2.laml | graph-1-anim-2.svg |
To see svg files in your browser, I recommend that you should install the Adobe SVG plugin. If you use Firefox be sure to install version 6.0 of the Adobe plugin - please consult this page. If you use a version of Firefox with native SVG support, you will have to switch if off. See here for advice on this detail.
If your browser will not present files with 'laml' or 'scm' extensions you should disable any special handling of these extensions on your system. In that way they are treated as pure text files.