Transform Complex Data into Interactive Graphs Effortlessly model, query, and visualize data relationships. Use graph.do to turn lists and tables into powerful, actionable network graphs with a simple API.
Join waitlist
import { graph } from '@do/sdk';
// Agentically create and visualize a graph
const myGraph = await graph.create({
name: 'Social Network',
nodes: [
{ id: 'alice', label: 'Alice', properties: { profession: 'Engineer' } },
{ id: 'bob', label: 'Bob', properties: { profession: 'Designer' } },
],
edges: [
{ from: 'alice', to: 'bob', label: 'colleagues' },
],
});
console.log(myGraph.url); // Returns a URL to the interactive graph visualization