@tokens-studio/graph-engine-migration
v0.12.0
Published
A package to upgrade old graph engine files to the new format
Downloads
2
Readme
Graph Engine migration
This project exposes controls for updating old graphs to the latest version that the graph-engine supports.
Use as follows
import type { FlowGraph } from "@tokens-studio/graph-engine";
import { updateGraph } from "@tokens-studio/graph-engine-migration";
const myGraph: FlowGraph = {
/**... */
};
const updatedGraph = await updateGraph(myGraph);