This extension provides a way to visualize RDF data in Visual Studio Code.
This extension is based on our Zazuko Sketch web app. Code is available here.
Features
Visualize RDF data in a separate Visual Studio Code tab
Auto-layout & zoom
Search for nodes
Move nodes around
Navigate to the source node by clicking on the edge
Navigate to the destination node by clicking Object in the triple
Installation
You can install it directly from the Visual Studio Code Extension tab. It is available on the Marketplace
Usage
Open an RDF file in Visual Studio Code
Then click the preview icon on the top right corner of the editor
A new tab will open with the visualization
Demo
The preview is updated on typing.
You can click on objects of a triple to navigate to the corresponding node. And you can click on edges to move to the source node.
You can search by Subject, Predicate, or Object and click to move to the Node. In order to find nodes.
Supported RDF formats
Turtle
NTriples
NQuads
JSONLD
Trig
Limitations
While you can move around boxes, the layout will not persist. Every time something in the data changes, it will auto-layout again and discard what you did before.
YMMV regarding how much data and what kind of graph you can visualize in a useful way.