import { Parent } from "unist" ; import dot from "graphlib-dot" ; import { toGraphlib } from "./to-graphlib" ; param root returns export function toDot ( root ) { return dot . write ( toGraphlib ( root ) ) ; }