christophergandrud / d3Network

Tools for creating D3 JavaScript network graphs from R.
http://christophergandrud.github.io/d3Network/
171 stars 56 forks source link

parentElement in d3Sankey template #27

Open bowerth opened 9 years ago

bowerth commented 9 years ago

Hi - thanks for this package, tried with shiny and works well!

the parentElement parameter currently doesn't work with d3Sankey() because of following references to "chart" in templates.R: #chart { height: 500px; } /*<p id=\"chart\"></p>*/

christophergandrud commented 9 years ago

Thanks for identifying this!

I think I've fixed it. You can download the dev build from GitHub (devtools::install_github("christophergandrud/d3Network")) and test it out.

Also, active development has moved to networkD3. This has a cleaner interface with Shiny.