refactor: Simplify GraphView component by removing state management and implementing grid-based node positioning for improved layout
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 6m18s

This commit is contained in:
2025-07-15 22:01:09 +07:00
parent a104cc7a3f
commit bbf143dee7
2 changed files with 31 additions and 60 deletions
+3 -4
View File
@@ -17,7 +17,7 @@ import {
IconChevronDown,
IconLink
} from '@tabler/icons-react';
// import GraphView from './GraphView';
import GraphView from './GraphView';
const API_URL = '/api';
@@ -668,15 +668,14 @@ function ServerManager() {
error={error}
/>
{/* Временно отключаем граф для отладки */}
{/* <div className="card w-100 mb-4">
<div className="card w-100 mb-4">
<div className="card-header">
<h3 className="card-title mb-0">Граф связей между серверами</h3>
</div>
<div className="card-body">
<GraphView servers={servers} connections={connections} />
</div>
</div> */}
</div>
<div className="card w-100 mb-4">
<div className="card-header">
<h3 className="card-title mb-0">Добавить связь между серверами</h3>