christophergandrud / networkD3

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

Fix bug to pass linkColour to dendroNetwork #256

Closed teshomem closed 5 years ago

teshomem commented 5 years ago

Fix to pass linkColour for dendroNetwork https://github.com/christophergandrud/networkD3/issues/255

cjyetman commented 5 years ago

Have you tested this?

teshomem commented 5 years ago

Yes, i tested it. detach("package:networkD3") remove.packages("networkD3") library(devtools) install_github("teshomem/networkD3") library(networkD3) hc <- hclust(dist(USArrests), "ave") dendroNetwork(hc, height = 600, linkType = 'elbow', linkColour = 'red') dendroNetwork

cjyetman commented 5 years ago

Excellent, thank you!