add edge/node view for d3js integration