plugin/vizPlanimationPlugin.js
// Single click on node: update the info shown for a node
Single click on node: update the info shown for a node
Single click on node : update the info shown for a node
function click(d) {
  nodeSelected(d);
  var plan = getNodeActions(d);
  var nodeName = d.data.name;
  if (typeof planimation !== 'undefined') {
    planimation.updateWithPlan(plan, nodeName == "root");
  }
}
function click ( d ) { nodeSelected ( d ) ; var plan = getNodeActions ( d ) ; var nodeName = d . data . name ; if ( typeof planimation !== 'undefined' ) { planimation . updateWithPlan ( plan , nodeName == "root" ) ; } }
Single click on node: update the info shown for a node
Single click on node : update the info shown for a node
// plan is list of actions // used to seperate root node and other node