dagrejs / dagre-d3

A D3-based renderer for Dagre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publishing new version to NPM?

zacharybussey opened this issue · comments

Hello,

We are currently using this library in our application, and have ran into some issues with the reference that this library has on D3 version 4. We've worked around the issue for now by forcing it to use v5, but we are wondering if there are any reasons why the current master has not been published as a release to NPM yet? It seems there were no major changes needed to support D3 version 5, but we would like ensure we don't run into any unforeseen issues.

Hi, how did you forced the v5? I'm about to start working with this library and I have the feeling that I'll run into the same issue.

In the webpack configuration, I added an alias to resolve the version that the rest of the app uses.

{
	resolve: {
		alias: { d3: path.resolve('./node_modules/d3/index.js') }
	}
}
commented

just FYI I ported the project with ES modules
https://github.com/tbo47/dagre-es

Cool.

We ended up making a local fork, for this and other reasons.