diff --git a/src/component/BpmnVisualization.ts b/src/component/BpmnVisualization.ts index 729cfc5759..a7d1a116fb 100644 --- a/src/component/BpmnVisualization.ts +++ b/src/component/BpmnVisualization.ts @@ -38,8 +38,8 @@ import { BpmnModelRegistry } from './registry/bpmn-model-registry'; */ export class BpmnVisualization { /** - * Direct access to the `mxGraph` instance that powers `bpmn-visualization`. - * It is for **advanced users**, so please use the lib API first and access to the `mxGraph` instance only when there is no alternative. + * Direct access to the `Graph` instance that powers `bpmn-visualization`. + * It is for **advanced users**, so please use the lib API first and access to the `Graph` instance only when there is no alternative. * * **WARN**: subject to change, could be removed or made available in another way. * @@ -74,7 +74,7 @@ export class BpmnVisualization { constructor(options: GlobalOptions) { this.rendererOptions = options?.renderer; - // mxgraph configuration + // graph configuration const configurator = new GraphConfigurator(htmlElement(options?.container)); this.graph = configurator.configure(); // other configurations diff --git a/src/component/mxgraph/shape/render/icon-painter.ts b/src/component/mxgraph/shape/render/icon-painter.ts index b2fd03026f..3790bbb6cc 100644 --- a/src/component/mxgraph/shape/render/icon-painter.ts +++ b/src/component/mxgraph/shape/render/icon-painter.ts @@ -97,7 +97,7 @@ export class IconPainter { /** * Utility paint icon methods to easily instantiate a {@link BpmnCanvas} from a {@link PaintParameter}. * - * @param canvas mxgraph `mxAbstractCanvas2D` in charge of performing the paint operations. + * @param canvas `mxAbstractCanvas2D` in charge of performing the paint operations. * @param ratioFromParent the actual size of the icon will be computed from the shape dimensions using this ratio. * @param setIconOriginFunct called function to set the origin of the icon. Generally, it calls a method of {@link BpmnCanvas}. * @param shapeConfig dimension and style of the shape where the icon is painted. diff --git a/src/component/navigation.ts b/src/component/navigation.ts index a46a129469..fbe002f2ec 100644 --- a/src/component/navigation.ts +++ b/src/component/navigation.ts @@ -72,7 +72,7 @@ export class NavigationImpl implements Navigation { panningHandler.usePopupTrigger = false; // only use the left button to trigger panning // Reimplement the function as we also want to trigger 'panning on cells' (ignoreCell to true) and only on left-click - // The mxGraph standard implementation doesn't ignore right click in this case, so do it by ourselves + // The regular implementation doesn't ignore right click in this case, so do it by ourselves panningHandler.isForcePanningEvent = (me: mxMouseEvent): boolean => mxEvent.isLeftMouseButton(me.getEvent()) || mxEvent.isMultiTouchEvent(me.getEvent()); this.graph.setPanning(true);