Ontodia is a JavaScript library that allows to visualize, navigate and explore the data in the form of an interactive graph based on underlying data sources. The library is a major front-end component in ontodia.org web application that provides semantic data visualization services.
Ontodia is a JavaScript library that allows you to create and persist diagrams made from data - relational, object, semantic.
It was designed to visualize RDF data sets in particular, but could be tailored to almost any data sourece by implementing data provider interface.
You can get Ontodia by using either npm or yarn:
$ npm install --save ontodia
or
$ yarn add ontodia
To quickly get Ontodia up and running run:
$ npm install && npm run demo
This will compile everything and you can start trying it.
- http://localhost:10444/ will display Ontodia with static build-in data.
- http://localhost:10444/sparql.html will display Ontodia with SPARQL endpoint set in
SPARQL_ENDPOINT
environment variable.
Ontodia library heavily uses TypeScript language. All type definitions are exported along with a library. It's not required to use TypeScript to use this library, but even for JS developers it's worth through TypeScript sources or ontodia.d.ts build output file to know API.
Ontodia interface is React-based application and you should initialize React component to work with. You can see example of initializing library in src/examples/template.ejs
and src/examples/demo.ts
.
Ontodia library is distributed under LGPL-2.1
react
- rendering UI viewsintro.js
- displaying overlay helpjointjs
- base diagramming librarylodash
- general purpose utility libraryn3
- parsing SPARQL endpoint responseswebcola
- performing graph layout
- Please describe your changes when creating pull requests.
- Please follow our styleguide.
Feel free to write to ontodia-people@vismart.biz.
In order to simplify for you the access to our development team and to our growing community, we'd like to invite you to join our Slack channel. Here's the form to fill out, so we can add you to the list of members. On our slack channel you can get answers to your questions regarding the library and ontodia.org service directly from developers and other users.