VisualDataWeb / WebVOWL

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

Configuring webvowl #175

Open Petrovich-s opened 3 years ago

Petrovich-s commented 3 years ago

Hi, Is it possible to configure WebWOWL so that there is only a visualization window without menus, panels, editing mode, as in the example http://vowl.visualdataweb.org/v2/#example ?

vitalis-wiens commented 3 years ago

Sure, just add the class "hidden" to the elements you want to hide and adjust the canvas width and height

You will also need to recompute the height of the div id="graph" and the svg container height and width. If you want to the browser to automatically resize svg are have a look at the function adjustSize() in app.js

Petrovich-s commented 3 years ago

Thank you very match!   I thought about this way, but I also thought about the possibility of disabling unnecessary modules. Thanks for the tip on controlling the size of the svg, maybe you can tell me how to track node selection events from outside WebWOVL?   With best regards, Sergey Ponomarev  

Понедельник, 12 апреля 2021, 18:14 +03:00 от Vitalis Wiens @.***>:     Sure, just add the class "hidden" to the elements you want to hide and adjust the canvas width and height You will also need to recompute the height of the div id="graph" and the svg container height and width. If you want to the browser to automatically resize svg are have a look at the function adjustSize() in app.js — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe .    

Сергей Пономарев