crowbar/barclamp-crowbar — pull request #684 by cloudedge (2013-09-09 04:45:13+00:00)
Title: Graph NodeRole relationships (initial views) [1/2]

Using the InfoVis Toolkit (http://philogb.github.io/jit/static/v20/Jit/Examples/ForceDirected/example1.html),
I was able to create a graphical visualization for the NodeRole graph.

This is linked from the snapshot view (URI /snapshots/[ID]/graph).

The data is correctly rendered but some UI tweaking is needed to show the shapes and colors correctly.

This is a very handy way to help show to relationships between NodeRoles quickly.

Visual enhancements should include showing the state, cohort and being able to drill-down from a vertex into the
node role data page.

Pull also include minor fixes to tests.

BDD/features/snapshot.feature | 2 +-
BDD/node_role.erl | 4 +-
.../app/assets/javascripts/infovis/jit-yc.js | 23 +
.../app/assets/javascripts/infovis/jit.js |17163 ++++++++++++++++++++
.../app/controllers/snapshots_controller.rb | 18 +
.../app/views/snapshots/graph.html.haml | 155 +
.../app/views/snapshots/show.html.haml | 1 +
crowbar_framework/config/locales/crowbar/en.yml | 3 +
crowbar_framework/config/routes.rb | 2 +
doc/licenses/crowbar/licenses.md | 30 +-
10 files changed, 17395 insertions(+), 6 deletions(-)

Crowbar-Pull-ID: ec50262ec7fe8599260a9739fd3a8a7ac571c838

Crowbar-Release: development