Hello Vikas,
You can call ???DiagramEditor.getGraphicalViewer().getRootEditPart()
----------------- Alex Shatalin