christophergandrud / networkD3

D3 JavaScript Network Graphs from R
http://christophergandrud.github.io/networkD3
652 stars 268 forks source link

adjust node label offsets based on direction #201

Open cjyetman opened 7 years ago

cjyetman commented 7 years ago

The node labels need to be offset from the nodes in the output from treeNetwork, and they need to adapt to the direction of the tree.