forked from dagrejs/dagre-d3
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit does two major things: (1) In case cluster labels are long, we first expand the margins of all enclosed nodes such that we can add our labels later with adequate space. Unfortunately this needs to be done early enough for us to position the nodes accordingly. (2) We must make enough space for the label at each level of the cluster. This requires recursively computing the necessary padding.
- Loading branch information
Andrew Or
committed
May 14, 2015
1 parent
c1ecccc
commit 6db19e9
Showing
3 changed files
with
117 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters