import jetbrains.mps.nodeEditor.cells.jetpad.ConnectorViewCell;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations;
import jetbrains.jetpad.projectional.diagram.view.PolylineConnection;
import jetbrains.jetpad.projectional.view.LineView;
public class DiagramEditor extends DefaultNodeEditor {
<BUG>private DiagramView myView = new DiagramView();
private Map<SNode, View> nodeToViewMap = MapSequence.fromMap(new HashMap<SNode, View>());</BUG>
@Override
public EditorCell createEditorCell(EditorContext editorContext, SNode diagramNode) {
GenericViewCell diagramCell = GenericViewCell.createViewCell(editorContext, diagramNode, myView);

import jetbrains.mps.nodeEditor.cells.jetpad.ConnectorViewCell;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations;
import jetbrains.jetpad.projectional.diagram.view.PolylineConnection;
import jetbrains.jetpad.projectional.view.LineView;
public class DiagramEditor extends DefaultNodeEditor {
private DiagramView myView = new ConnectionRoutingView(new OrthogonalRouter());
private Map<SNode, View> nodeToViewMap = MapSequence.fromMap(new HashMap<SNode, View>());
@Override
public EditorCell createEditorCell(EditorContext editorContext, SNode diagramNode) {
GenericViewCell diagramCell = GenericViewCell.createViewCell(editorContext, diagramNode, myView);
