Closed aspirio187 closed 4 months ago
Thanks for reporting this. What version of GoJS are you using?
We've been able to reproduce this. A fix will be out with the next version, released probably some time in the coming week.
Collaborator
I am using the following npm packages:
"gojs": "^3.0.1",
"gojs-react": "^1.1.2",
This has been fixed in 3.0.2, which we just released. Thank you for reporting it.
Hi,
After using
e.diagram.commandHandler.selectAll()
, which will select links and nodes, if you try to use the functione.diagram.commandHandler.copySelection()
. The app will crash and display this error:I tried to only select nodes and copy, it does work. It is however, possible to select all and remove.
I am using GoJS with ReactJs.
The parameters
allowCopy
,allowDelete
andallowLink
are all set totrue
during diagram initialization.