Fixed transform issue and added reset

This commit is contained in:
2026-02-22 19:06:40 +01:00
parent 3715954222
commit b5abb59332
3 changed files with 98 additions and 49 deletions

View File

@@ -675,7 +675,7 @@ function initHierarchicalCanvasGraph(containerId, options = {}) {
function saveViewState() {
postEvent('_internal_update_state', {
transform: transform,
transform: JSON.stringify(transform), // Serialize to JSON string for server
layout_mode: layoutMode
});
}