File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ import { BpmnModelRegistry } from './registry/bpmn-model-registry';
38
38
*/
39
39
export class BpmnVisualization {
40
40
/**
41
- * Direct access to the `mxGraph ` instance that powers `bpmn-visualization`.
42
- * It is for **advanced users**, so please use the lib API first and access to the `mxGraph ` instance only when there is no alternative.
41
+ * Direct access to the `Graph ` instance that powers `bpmn-visualization`.
42
+ * It is for **advanced users**, so please use the lib API first and access to the `Graph ` instance only when there is no alternative.
43
43
*
44
44
* **WARN**: subject to change, could be removed or made available in another way.
45
45
*
@@ -74,7 +74,7 @@ export class BpmnVisualization {
74
74
75
75
constructor ( options : GlobalOptions ) {
76
76
this . rendererOptions = options ?. renderer ;
77
- // mxgraph configuration
77
+ // graph configuration
78
78
const configurator = new GraphConfigurator ( htmlElement ( options ?. container ) ) ;
79
79
this . graph = configurator . configure ( ) ;
80
80
// other configurations
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class IconPainter {
97
97
/**
98
98
* Utility paint icon methods to easily instantiate a {@link BpmnCanvas} from a {@link PaintParameter}.
99
99
*
100
- * @param canvas mxgraph `mxAbstractCanvas2D` in charge of performing the paint operations.
100
+ * @param canvas `mxAbstractCanvas2D` in charge of performing the paint operations.
101
101
* @param ratioFromParent the actual size of the icon will be computed from the shape dimensions using this ratio.
102
102
* @param setIconOriginFunct called function to set the origin of the icon. Generally, it calls a method of {@link BpmnCanvas}.
103
103
* @param shapeConfig dimension and style of the shape where the icon is painted.
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export class NavigationImpl implements Navigation {
72
72
73
73
panningHandler . usePopupTrigger = false ; // only use the left button to trigger panning
74
74
// Reimplement the function as we also want to trigger 'panning on cells' (ignoreCell to true) and only on left-click
75
- // The mxGraph standard implementation doesn't ignore right click in this case, so do it by ourselves
75
+ // The regular implementation doesn't ignore right click in this case, so do it by ourselves
76
76
panningHandler . isForcePanningEvent = ( me : mxMouseEvent ) : boolean => mxEvent . isLeftMouseButton ( me . getEvent ( ) ) || mxEvent . isMultiTouchEvent ( me . getEvent ( ) ) ;
77
77
this . graph . setPanning ( true ) ;
78
78
You can’t perform that action at this time.
0 commit comments