mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
The previous logic only restored on iframe ready, but chartXML might be set AFTER the iframe is ready (session loaded after iframe). Now we track the last restored XML and load whenever chartXML changes to a new real diagram while iframe is ready.