antvis / G6VP

G6VP is an online visual analysis tool for graphs and a low-code platform for building graph applications.
https://insight.antv.antgroup.com
Apache License 2.0
797 stars 109 forks source link

Multi Canvas Tab Bug #550

Closed RackweLLizm closed 9 months ago

RackweLLizm commented 10 months ago

When I Add a New Tab in Canvas, I Change the Layout in the Toolbar in the Newly Added Tab. Then I return to Default Canvas and when I come to the tab I just created again, the Layout I changed before does not work. It always sets the Default Layout in the config. The Layout Layout that the user has made in the new tab is lost.

RackweLLizm commented 10 months ago

@pomelo-nwu Can you help me with this

RackweLLizm commented 10 months ago

The problem is that every time useContext is called it takes the context of defaultSheet. I have the ContextID.

Is there a list with all G6VP Contexts?

If there is, I think I can solve this problem