UNPKG

resolved-graph

Version:

Generates and updates a graph of nodes and links with resolved relationships for ease of traversal and extraction

7 lines (6 loc) 190 B
import { Node } from './Node'; import { Link } from './Link'; export interface Graph<NodeData = any, LinkData = NodeData> { nodes: Node<NodeData>[]; links: Link<LinkData>[]; }