Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding library #56

Closed
aw3s0me opened this issue Jun 8, 2016 · 1 comment
Closed

Embedding library #56

aw3s0me opened this issue Jun 8, 2016 · 1 comment

Comments

@aw3s0me
Copy link

aw3s0me commented Jun 8, 2016

Hi, guys. Is it possible to embed this library to some div and render by demand, prohibit user upload ontology and visualize ontology programatically by demand and remove all nodes from screen? Is there any api for this library, documentation?
Thanks!

@linkvt
Copy link
Member

linkvt commented Jun 9, 2016

Hi,

we separated the webvowl-visualization from the webvowl-app, since the visualization itself should be reusable.
You can find this separation in the src directory, look especially at the app.js since it uses almost all available options, modules and other features the visualization provides.

You might try to build your own webvowl-app with the features and layout you need, but it's maybe easier if you take the current one and remove everything you won't need.
The visualized nodes and properties depend on the data you set on the options-object. If you don't set anything there, there won't be any nodes.

There is no API documentation and I can't provide you one now, because this was an educational project which is currently not under active development 😬, but IMO the existing app should be enough to guide you in the right direction.

If you have further questions or find bugs etc., I will try to find some free time, but I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants