Lecture overview -- Keyboard shortcut: 'u'  Previous page: The Graph Abstractions [Section] -- Keyboard shortcut: 'p'  Next page: A simple Graph Example - version 1 -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Page 11 : 24
A Graph Library Extension of SVG
The Fundamental Graph Abstractions

The fundamental SVG graph abstractions closely match the natural concepts from elementary graph theory

  • The overall graph construction function

    • (svg-graph list-of-nodes list-of-edges)

  • The graph node construction function

    • (svg-node shape x y label attributes)

  • The graph edge construction function

    • (svg-edge from-node from-loc to-node to-loc label attributes)

The graph abstractions accept both positional and "XML parameters"