minor changes to d3graph