Implemented the basis for creating SVG diagrams from views.