antvis / layout

Layout algorithms for graphs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

peerDependency warning from dagre-compound / dagre

mihkeleidast opened this issue · comments

Hey all,

we are getting a peer dependency warning when installing this package which we'd like to get resolved:

warning "@antv/layout > dagre-compound@0.0.11" has unmet peer dependency "dagre@^0.8.5".

I guess there are three options:

  1. dagre is not actually a necessary peerDep on dagre-compound. I could not find the source/repo for that package, however, so not sure how to solve this.
  2. dagre is a necessary peerDep. Since dagre-compound is installed by you, you should maybe also install dagre then?
  3. You want to forward the dagre peerDep to consumers. Then it should perhaps be marked in this package's peerDependencies?