use newest d3, dagre, and dagre-d3 libraries.  Comment out function for collapsing for now.