svelvet

v10.0.2

TypeScript

Usage

Svelvet is written in TypeScript, and provides types for the nodes and edges for you to use. Below is an example of a simple flow diagram utilizing our types.

Set the script tag to lang="ts". Import UserNodeType and UserEdgeType to use them as types.