Closed ghost closed 7 years ago
Also @Raddus we want to port this graph over into the /profiles/organisation/*
routes. The API endpoint that serves the data to D3 can stay in OrganisationsController
, we just need the javascript to run in rendered views at the new URLs.
I'm gonna leave this unmerged until I get around to porting it over as you described.
If that should be a separate PR, merge this for me and let me know.
@Raddus happy to merge and port later
I changed the json endpoint to format data for the new force graph. Note: currently all nodes are the same size, color and shape. I changed example.json to use rmit-programming-club data. The force graph is currently using the static data in example.json.
If someone can figure out how to use the database instead, that would be great. This is more of a quick fix.