code: async function main() {
    const csv = fs.readFileSync('fsm.csv', { encoding: 'utf8' })
    const dot = graphViz(parseCSV(csv))
    fs.writeFileSync('fsm.dot', dot)
    const viz = new Viz({ Module, render })
    const svg = await viz.renderString(dot)
    fs.writeFileSync('fsm.svg', svg)
  }
docs: const dagreTransition = ({ source, destination, action }) => `${source} -> ${destination} [ label = "${action}" ];`