Open codeStryke opened 3 years ago
I've been able to build an esm/es6 version of dagre here. I'm happy to contribute that back in a PR if it is of interest. I haven't published any packages to npm since it would be better if that logic lived in this repo.
dagre
There's also a dagre-d3 ESM fork at https://github.com/tbo47/dagre-es.
dagre-d3
It has it's own version of dagre under import {xxx} from "dagre-d3-es/src/dagre/index.js"; that you can use too.
import {xxx} from "dagre-d3-es/src/dagre/index.js";
I've been able to build an esm/es6 version of
dagre
here. I'm happy to contribute that back in a PR if it is of interest. I haven't published any packages to npm since it would be better if that logic lived in this repo.