Hi,
I want to modify something for a specific node after the paste is completed.
I'm currently using Vue 2 and
initializeDiagram() {
Diagram.Inject(
ConnectorEditing,
Snapping,
SymmetricLayout,
BpmnDiagrams,
);
this.diagramInstance = new Diagram({
width: this.diagramwidth,
height: this.diagramheight,
nodes: this.nodes,
connectors: this.connectors,
snapSettings: this.snapSettings,
rulerSettings: this.rulerSettings,
getNodeDefaults: this.getNodeDefaults,
getConnectorDefaults: this.getConnectorDefaults,
dragEnter: this.dragEnter,
drop: this.drop,
click: this.click,
doubleClick: this.doubleClick,
collectionChange: this.collectionChange,
connectionChange: this.connectionChange,
scrollSettings: {
scrollLimit: "Infinity",
verticalOffset: 0,
},
});
using it like this.
It's currently working with ctrl+c and ctrl+v without any separate keyup/keydown settings, but I want to add logic after ctrl+v triggers the paste operation.
Thank you.