Refactored Graphiti EditPart Implementation