Calling Gephi from Ruby on Rails -


i'm interested in building data visualisation component , can see how done prefer not reinvent exists. if 'first' i'm prepared put initial code on github others share [and improve !!]

essentially i'd able following:

1) access table or tables within database , create nodes based on entries within them. add nodes on create, remove them on delete.

2) use foreign keys and/or join tables [for many-many links] create edges. add edge(s) when node created, remove edges when node deleted, check , add/remove edges when node updated.

3) pass nodes , edges gephi display

i can see how steps 1 , 2 , -- haven't been able find (after searching) how step 3.

has had success in doing this? -- example code they're willing share ?

thanks

we tried similar once, may not much. wrote rake task got data out our db, fed gephi manually. wasn't satisfactory , in end went rake task -> csv -> r script visualization (basically connections of users on world map). if not dead set on using gephi show of r code :-)


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -