diff options
author | Damien <damien.obrist@gmail.com> | 2012-06-13 21:41:06 +0200 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2012-07-02 13:34:15 +0200 |
commit | c85b4a495619ca69a5d0c0b69fc30233fbea3dff (patch) | |
tree | f6d1f8dfc124bc0cebbe8997905bdfef09bd2808 /test | |
parent | fba65513d1195b162f958a5c25124958d6e7ea52 (diff) | |
download | scala-c85b4a495619ca69a5d0c0b69fc30233fbea3dff.tar.gz scala-c85b4a495619ca69a5d0c0b69fc30233fbea3dff.tar.bz2 scala-c85b4a495619ca69a5d0c0b69fc30233fbea3dff.zip |
Scaladoc class diagrams part 2
This commit contains the svg diagram generation using the graphviz
package, the template changes, the css styling and javascript code
that enables displaying and interacting with the diagrams.
The full history is located at:
https://github.com/damienobrist/scala/tree/feature/diagrams-dev
The diagrams are included as svg markup inside the html code. This
enables interacting with the image beyond what would be possible
with a static image (highlighting, scaling, tooltips, links to
nodes, etc).
The svg generation has four main phases: model => dot,
dot => svg (using the graphviz package), svg postprocessing,
inclusion in the html page.
This commit also fixes SI-5212 - links to individual pages
automatically load the left navigation panel of the website.
Commit summary:
- diagram generation
- model => dot (DotDiagramGenerator.scala, DiagramGenerator.scala)
- dot => svg (DotRunner.scala)
- svg post-processing (DotDiagramGenerator.scala)
- svg inclusion in the html (Template.scala)
- diagram interaction
- css, js and image files
Review by @heathermiller, @kzys.
Also fixed the memory leak that was causing the testsuite to timeout.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions