feat: Enhance GraphView with localStorage integration for node position persistence and improve edge text styling for better visualization in the topology graph.
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m40s

This commit is contained in:
2025-12-01 16:56:27 +07:00
parent 007c7514e1
commit edbf2f4299
2 changed files with 70 additions and 2 deletions
+20
View File
@@ -541,6 +541,26 @@ button:focus-visible,
stroke-opacity: 0.9;
}
/* Подписи к рёбрам: не обрезаем, делаем «таблетку» поверх линий */
.react-flow__edge-textwrapper {
overflow: visible;
}
.react-flow__edge-textbg {
fill: #ffffff;
stroke: #e5e7eb;
stroke-width: 1;
rx: 999px;
ry: 999px;
}
.react-flow__edge-text {
font-size: 11px;
font-weight: 500;
fill: #0f172a;
white-space: nowrap;
}
/* Небольшие отличия по типу туннеля (на будущее, сейчас основное зашито в JS) */
.react-flow__edge.edge-tunnel-gre .react-flow__edge-path {
/* GRE — базовый синий, уже задан в JS, здесь только подчёркиваем плавность */