graphsvg.js

SVG-based RDF Graph viewer.

Objects

OAT.GraphSVG(div, vertices, edges, optionsObject)

Creates the Graph Viewer inside div.

vertices is an array of vertex objects:
{ name: "node_label", type: 0/1 } // type: URI/non-URI; 

edges is an array of edge objects:


{ vertex1: vertex_object, vertex2: vertex_objects, name: "edge_label" }. 

optionsObject holds available options:

CSS Classes

.rdf_sidebar

CSS class of the sidebar div containing trees with RDF resources, classes and predicates.

CategoryDocumentation CategoryOAT CategoryOpenSource