mxgraph: mxGraphExportObject = ...

The mxgraph context that allows access to the mxGraph objects.

WARNING: this is for advanced users.

Here are some examples where calling the mxGraph API directly can be useful:

// Get the mxGraph version
const mxGraphVersion = mxgraph.mxClient.VERSION;
// Call mxUtils in custom BPMN Shapes
c.setFillColor(mxgraph.mxUtils.getValue(this.style, BpmnStyleIdentifier.EDGE_START_FILL_COLOR, this.stroke));

Since

0.30.0