@tokens-studio/graph-engine-migration
v0.14.0
Published
A package to upgrade old graph engine files to the new format
Downloads
72
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 { SerializedGraph } from '@tokens-studio/graph-engine';
import { updateGraph } from '@tokens-studio/graph-engine-migration';
const myGraph: SerializedGraph = {
/**... */
};
const updatedGraph = await updateGraph(myGraph);