jackietieu

Results comments of jackietieu

If your custom node model didn't extend DefaultNodeModel, then you'd need to add that in yourself. I'd imagine it's easier to just extend it though. Here's what the DefaultNodeModel.ts file...

I just started using this package, but I think calling this is worth a try: ```javascript engine.repaintCanvas(); ```

@JokerNN Nodes have a data property which is an object. You can store your data in there by modifying node.data directly in your widget. It breaks the one way data...

Don't know if there's one function to clear the entire canvas, maybe someone can chime in. For now, check out the source code for DiagramModel.ts. You can find all of...

1. You can get all selected items by calling 'getSelectedItems' on the model. 2. You can remove the key binding that deletes items by setting the deleteKeys prop to an...

Thanks @Ayc0 , I had the same issue and fixed it thanks to your comments. All of the packages were at 3.1.3, but @apollo/react-testing had a peer dependency of @apollo/react-common....