You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could figure out which part of the code to modify to make it work, however, I cannot modify it neatly, since some processing is required for force layouts, and seems some refactoring is needed. So maybe someone pls have a look.
Before supplying this.options to this line, innerLayout need to go through the same process to build an object.
Describe the bug
When defining the innerLayout config of ComboCombined layout in graphin way, e.g.
It will result in a
TypeError innerGraphLayout.layout is not a function
.Changing it to using G6 way of defining layout solve the issue:
Your Example Website or App
https://codesandbox.io/s/hardcore-bell-fbebob?file=/App.tsx:1993-2084
Steps to Reproduce the Bug or Issue
layout={layoutWrong}
tolayout={layoutCorrect}
, you will see it worksExpected behavior
I would expect the innerLayout also can be defined in the Graphin way.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: