VisualDataWeb / WebVOWL

Visualizing ontologies on the Web
http://vowl.visualdataweb.org/webvowl.html
MIT License
695 stars 203 forks source link

Embedding Library 2 #169

Open smarie opened 4 years ago

smarie commented 4 years ago

Hi there, thanks for this cool application !

For an internal ontology documentation, I have recently used pylode to generate a static documentation web page, looking like this. The lib still has some minor python packaging issues but it seems promising and the resulting page looks quite good.

Now in the generated html, the overview figure at the top is missing. I would love to propose a mechanism in pyLODE to integrate some basic interactive graph, potentially able to open in a full screen in a separate tab when clicking on it. Or I would include a static graph in the page and the interactive one only on click.

I am unfortunately not an expert at all in html/js so I am looking for a reproducible example to start from, to include in the generated html in place of the current div below

<div style="width:500px; height:50px; background-color: lightgrey; border:solid 2px grey; padding:10px;margin-bottom:5px; text-align:center;">Pictures say 1,000 words</div>

Is there such an example somewhere already ? Thanks in advance !

See also #56