NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.8k stars 2.86k forks source link

A bug in 2.2.12, when calling Diagram.makeSvg, link.geometry.figures might be null. #184

Closed chelseachel closed 2 years ago

chelseachel commented 2 years ago

It's a bug in GoJS 2.2.12. When there is an orthogonal link in diagram, and the link have only two points, link.geometry.figures would be null. And this causes an error in Diagram.makeSVG because link.geometry.figures is not iterable.

WalterNorthwoods commented 2 years ago

Thanks for reporting this bug. It will be fixed in the 2.2.15 release, which should be coming out next week sometime.