[Emulink] patch for diagram editor -- now zoom and translate behave correctly (the root cause of the problem is the broken API of d3 for zoom and translate)