Skip to content

An Ontodia adapter to cognitive-information space

License

Notifications You must be signed in to change notification settings

tuyenhuynh/ontodia

 
 

Repository files navigation

Ontodia npm Travis CI

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.

What is Ontodia for?

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.

How do I get set up?

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.

Usage of TypeScript

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.

Usage of library in you own code

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.

Licence

Ontodia library is distributed under LGPL-2.1

Dependencies

  • react - rendering UI views
  • intro.js - displaying overlay help
  • jointjs - base diagramming library
  • lodash - general purpose utility library
  • n3 - parsing SPARQL endpoint responses
  • webcola - performing graph layout

Contribution guidelines

  • Please describe your changes when creating pull requests.
  • Please follow our styleguide.

Who do I talk to?

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.

Packages

No packages published

Languages

  • TypeScript 89.1%
  • CSS 9.5%
  • JavaScript 1.1%
  • HTML 0.3%