Web App • Features • What is Graphol? • Documentation • Quick Start • Credits
npm install grapholscape
Grapholscape provides advanced and interactive tools to visually inspect all components of the ontology: you can search for predicates, filter elements on the diagram and get information about each element on the screen.
new Path rendering mode: explore your custom path in the ontology graph, start from a single class and explore incrementally step by step.GRAPHOL is a visual language for developing ontologies and offers a completely graphical representation of ontologies to users, in order to be easy understood by people who are not skilled in logic. Read more
For building ontologies in Graphol please check our visual editor: Eddy.
You can try it here or build it locally, then select an example or drop your custom .graphol file in the box on the right side.
For a more detailed explanation please check the documentation and the getting started guide.
npm install grapholscape
import { fullGrapholscape } from 'grapholscape'
const grapholscape = await Grapholscape.fullGrapholscape(file, container)
grapholscape.showDiagram(0)
Note :
filecan be an object of the Web API interface File or aStringrepresenting the.grapholfile to be displayed.
Once the initialization phase is done, the promise will return a Grapholscape object that can be used to perform actions on the tool.
In the example we saw the method showDiagram(0). For the complete api please check Grapholscape Class API.
Information about entities, namesapaces and diagrams are stored in Grapholscape.ontology. Read More in Ontology.
It is possible to pass also a config object to define custom default settings. Read more: configuration.
Install Node and npm.
Clone the repository with
git clone https://github.com/obdasystems/grapholscape.git
Install dependencies:
npm run install
Build in dev/debug mode:
npm run start
Install npm and Node.js and run npm install before using npm run.
Run npm run <target> in the console. The main targets are:
start : builds for development (no transpiled), watch for changes and serve demo on http://localhost:8000build : builds for production (minified and transpiled with babel)doc: generate documentation at docs/generated and copy static demo inside itdeploy : publish whole generated documentation in docs/generated folder to gh-pages branch from which the github page of the project is servedtest: run all test suitesclean: clean dist and temp foldernpm version [ver]
Please review built files and try out demogit push && git push --tagsnpm publishPUBLISH_DOC github action to deploy the updated documentationnpm run snapshotnpm publish --tag snapshotTo install latest snapshot version use
npm i grapholscape@snapshot
Based on cytoscape.js.