ywx-sss commented on issue #21887: URL: https://github.com/apache/echarts/issues/21887#issuecomment-7333118326
Thanks @schizophrenicmaniac — I confirmed your analysis on ECharts 6.1.0. The stack is `Graph.update` -> `createGraphFromNodeEdge`; `Graph.addNode()` returns early when the key already exists, so `nodes[data.getRawIndex(i)]` is undefined in `Graph.update`. I added the root cause and this stack to the issue description. If you want to open the PR, checking in `createGraphFromNodeEdge` and throwing a clear error plus a unit test sounds right; I can re-run the SSR repro against your branch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
