lib/data/d3.js
function d3_layout_hierarchyRebind(object, hierarchy) {
  d3.rebind(object, hierarchy, "sort", "children", "value");

  // Add an alias for links, for convenience.
  object.links = d3_layout_hierarchyLinks;

  // If the new API is used, enabling inlining.
  object.nodes = function(d) {
    d3_layout_hierarchyInline = true;
    return (object.nodes = object)(d);
  };

  return object;
}
function d3_layout_hierarchyRebind(object, hierarchy) {
  d3.rebind(object, hierarchy, "sort", "children", "value");

  // Add an alias for links, for convenience.
  object.links = d3_layout_hierarchyLinks;

  // If the new API is used, enabling inlining.
  object.nodes = function(d) {
    d3_layout_hierarchyInline = true;
    return (object.nodes = object)(d);
  };

  return object;
}
function d3_layout_hierarchyRebind ( object , hierarchy ) { d3 . rebind ( object , hierarchy , "sort" , "children" , "value" ) ; // Add an alias for links, for convenience. object . links = d3_layout_hierarchyLinks ; // If the new API is used, enabling inlining. object . nodes = function ( d ) { d3_layout_hierarchyInline = true ; return ( object . nodes = object ) ( d ) ; } ; return object ; }
A method assignment helper for hierarchy subclasses.
A method assignment helper for hierarchy subclasses .