The Process for Generating the Ontology Graph

The ontology graph can be created as an SVG using the following process.

python [path to library]/ontology_viz.py -o graph.dot cwva.ttl
dot -Tsvg -o graph.svg graph.dot

The resulting SVG is added to the HTML page for the graph.

The ontology_viz.py code is available from https://github.com/usc-isi-i2/ontology-visualization/blob/master/ontology_viz.py.

The dot tools are available from https://www.graphviz.org.

The SVG pan and zoom library is from https://github.com/ariutta/svg-pan-zoom.

Note: This site uses a customized jena-based groovy dot encoder rather than ontology_viz.py.




Copyright © 2021 visualartsdna.org. All Rights Reserved.