Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How you supposed to import the lib? #35

Open
matsad3547 opened this issue Apr 20, 2022 · 0 comments
Open

How you supposed to import the lib? #35

matsad3547 opened this issue Apr 20, 2022 · 0 comments

Comments

@matsad3547
Copy link

Thanks for taking up this project! I'm having issues switching from the normal dagre lib when importing. I had been just using import dagre from 'dagre' then following the wiki directions directly. With the dagre-layout import, however, I'm getting TypeError: Cannot read properties of undefined (reading 'Graph'). I tried several options, but the usage isn't clear. Are you no longer bundling graphlib? If so, the dagre wiki is no longer a good guide on how to set up the lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant