thanks for asking.
Our visualisation tool is vis-based.
We don’t have a modular widget yet, in future we are definitely going to make a pluggable visualiser available, but for now you would need to fork our grakn-dashboard and take out the parts you need.
Here are some pointers in case you want to dig in our code:
src/components/graphPage you will find the
graphPage.vue. In the graphPage we initialise a new Vis graph and we instantiate the CanvasHandler, which is in charge of sending queries to Grakn Engine and handling events happening on the canvas.
- The Vis network element is wrapper in our
Visualiser class, which is located in
here you can find useful methods.
- All the responses from Grakn Engine to the Dashboard are formatted in HAL format, and you can see how the
CanvasHandler parses the responses using the
HALParser (located in
src/js/HAL) module before adding new data to the
The code still needs quite some refactoring and cleaning, but it should be fairly understandable, feel free to DM me in our GRAKN community Slack channel if you need more information about this part of the project.
And the same for @dponyatov, we still don’t have anything pluggable and customisable, but our UI is in VueJS, so feel free to fork and change whatever you need, you will find CSS code in every
But please also free to DM in the Slack community channel.