Refactored DiagramEditorOptions to Context