使用RadialLayout示例时gojs会报错
cindydove opened this issue · 1 comments
cindydove commented
RadialLayout.js:136 Uncaught Error: RadialLayout.root must be a Node in the LayoutNetwork that the RadialLayout is operating on
at RadialLayout.doLayout (RadialLayout.js:136:32)
at jj (go.js:719:379)
at rf (go.js:636:493)
at t.jd (go.js:634:453)
at go.js:634:385
https://gojs.net/latest/extensions/RadialLayout.js是这个文件在报错
WalterNorthwoods commented
You have to set the "root" node for the RadialLayout. https://gojs.net/latest/api/symbols/RadialLayout.html#root
Examples are at: https://gojs.net/latest/samples/radial.html and https://gojs.net/latest/samples/radialPartition.html