Add interactive graph editor connections: port-based edges, drag-connect, and detach
- Add visible typed ports on graph nodes (colored dots for each edge type) - Route edges to specific port positions instead of node center - Drag from output port to compatible input port to create/change connections - Right-click edge context menu with Disconnect option - Delete key detaches selected edge - Mark nested edges (composite layers, zones) as non-editable with dotted style - Add resolve_ref helper for empty-string sentinel to clear reference fields - Apply resolve_ref across all storage stores for consistent detach support - Add connection mapping module (graph-connections.js) with API field resolution - Add i18n keys for connection operations (en/ru/zh) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1397,5 +1397,10 @@
|
||||
"graph.minimap": "Minimap",
|
||||
"graph.relayout": "Re-layout",
|
||||
"graph.empty": "No entities yet",
|
||||
"graph.empty.hint": "Create devices, sources, and targets to see them here."
|
||||
"graph.empty.hint": "Create devices, sources, and targets to see them here.",
|
||||
"graph.disconnect": "Disconnect",
|
||||
"graph.connection_updated": "Connection updated",
|
||||
"graph.connection_failed": "Failed to update connection",
|
||||
"graph.connection_removed": "Connection removed",
|
||||
"graph.disconnect_failed": "Failed to disconnect"
|
||||
}
|
||||
|
||||
@@ -1397,5 +1397,10 @@
|
||||
"graph.minimap": "Миникарта",
|
||||
"graph.relayout": "Перестроить",
|
||||
"graph.empty": "Ещё нет сущностей",
|
||||
"graph.empty.hint": "Создайте устройства, источники и цели, чтобы увидеть их здесь."
|
||||
"graph.empty.hint": "Создайте устройства, источники и цели, чтобы увидеть их здесь.",
|
||||
"graph.disconnect": "Отключить",
|
||||
"graph.connection_updated": "Соединение обновлено",
|
||||
"graph.connection_failed": "Не удалось обновить соединение",
|
||||
"graph.connection_removed": "Соединение удалено",
|
||||
"graph.disconnect_failed": "Не удалось отключить"
|
||||
}
|
||||
|
||||
@@ -1397,5 +1397,10 @@
|
||||
"graph.minimap": "小地图",
|
||||
"graph.relayout": "重新布局",
|
||||
"graph.empty": "暂无实体",
|
||||
"graph.empty.hint": "创建设备、源和目标后即可在此查看。"
|
||||
"graph.empty.hint": "创建设备、源和目标后即可在此查看。",
|
||||
"graph.disconnect": "断开连接",
|
||||
"graph.connection_updated": "连接已更新",
|
||||
"graph.connection_failed": "更新连接失败",
|
||||
"graph.connection_removed": "连接已移除",
|
||||
"graph.disconnect_failed": "断开连接失败"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user