This fork was made to support a new feature in dagre
- variable padding for clusters.
This enables us to have a better looking layout when calculating layout with dagre
.
This fork is made on the 0.8.6
version because the new maintainers of dagre
have started to
use private class members in graphlib
(dependency of dagre
) which is not supported by
the Google Closure Compiler. When these changes were applied to the newer (1.0.5-pre
) version, cluster children
ranksep
(the vertical distance between nodes) looked very different compared to 0.8.6
- Make changes
- Update version in
package.json
- Run
make dist
- Commit changes
- Tag commit with new version
- Push commit and tag
- Create a new release on GitHub (This will trigger gha that will publish to github packages).
Dagre is a JavaScript library that makes it easy to lay out directed graphs on the client-side.
For more details, including examples and configuration options, please see our wiki.
dagre is licensed under the terms of the MIT License. See the LICENSE file for details.