import org.simantics.district.network.visualisations.model.SizeBarOptions;
import org.simantics.g2d.canvas.ICanvasContext;
import org.simantics.g2d.canvas.impl.CanvasContext;
+import org.simantics.g2d.diagram.DiagramHints;
import org.simantics.g2d.diagram.handler.PickRequest.PickFilter;
import org.simantics.g2d.diagram.participant.DelayedBatchElementPainter;
import org.simantics.g2d.diagram.participant.ElementPainter;
h.setHint(PanZoomRotateHandler.KEY_ZOOM_IN_LIMIT, 10000.0);
h.setHint(PanZoomRotateHandler.KEY_ZOOM_OUT_LIMIT, 0.01);
h.setHint(DiagramModelHints.KEY_DIAGRAM_RESOURCE, diagramResource);
+ h.removeHint(DiagramHints.SNAP_ADVISOR);
}
@Override