Lecture overview -- Keyboard shortcut: 'u'  Previous page: Authoring Approaches -- Keyboard shortcut: 'p'  Next page: The Graph Abstractions [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Page 9 : 24
A Graph Library Extension of SVG
SVG, Scheme, and LAML

  • Mirror functions of SVG elements

    • One-to-one correspondence between SVG elements and mirror functions in Scheme

    • Generated automatically from the SVG DTD by use of LAML tools

    • Contain detailed knowledge of the element contents and the attributes

    • Validates the SVG document when a Scheme expression is evaluated

  • Main advantage

    • It is possible to program abstractions on top of the native SVG elements

      • Custom tags

    • It is possible to embed arbitrary computations in an SVG document

      • Evaluated at SVG generation time

The road is clear for extensions of SVG in a variety of directions

One such direction is graph drawing