jamesthomson / R2D3

R package to create D3.js Visualisations
67 stars 20 forks source link

jsonNodeLinks #1

Closed jamesthomson closed 10 years ago

jamesthomson commented 10 years ago

I've added structure to add a json function that create the json format for use in force layouts. @coppeliaMLA @andrewpatt24 would one of you like to take this on and take ownership of this issue

coppeliaMLA commented 10 years ago

Hi i've got this in some existing code so will add on Monday. Using the codehub app on my phone!

coppeliaMLA commented 10 years ago

Done

jamesthomson commented 10 years ago

thanks @coppeliaMLA. I made one minor change. on the return i'm adding in a "type" so you know what type of json it is. then when you try and use it in a d3 you can check its the right type of json for that d3. its just a form of idiot proofing.