Hi I have problem with onPositionChange method when parameter position have value undefined. I dont know from where could be this undefined value, because all my edges and nodes have property position (some of them with empty array).
I use same cytoscape instance for more "graphs" and this issue appears when I change graph (nodes, edges and config).
Hi I have problem with
onPositionChange
method when parameterposition
have valueundefined
. I dont know from where could be this undefined value, because all my edges and nodes have propertyposition
(some of them with empty array). I use same cytoscape instance for more "graphs" and this issue appears when I change graph (nodes, edges and config).It is possible to add default value
null
for parameterposition
?null
is friendly withJSON.parse
😊 https://github.com/rcarcasses/vue-cytoscape/blob/master/src/components/CyElement.ts#L96