Open dominictarr opened 11 years ago
It sounds like you were using dagre-d3 as a node library vs. as a browser script. Is that right? If so, I agree that this path is not well covered in the docs. I'll try to take a stab at it in the next couple of days.
For the browserified scripts, I don't want to include d3 - it's possible that the user is already including it. However, on the node side it does make sense to include d3 as a dependency.
Please let me know if I've missed any details.
Thanks for the heads up on the holes!
We need a really simple runnable example, the documentation that is there is longish, and needs to be debugged...
I've got it working, but it would really help if there was a simple example that just worked.
The documentation mentioned nothing about pulling in style, for example. also, I had to add d3 as a global dep, although
require('dagre-d3')
worked.