feat(web): 添加拓扑图页面和相关组件

feat(csms): 添加获取当前连接状态的API
feat(csms): 添加获取当前活动OCPP WebSocket连接的接口
deps(web): 添加@xyflow/react依赖
This commit is contained in:
2026-03-16 12:59:05 +08:00
parent 6888454727
commit 0118dd2e15
7 changed files with 473 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
import TopologyClient from "./topology-client";
export default function TopologyPage() {
return (
// Break out of the dashboard's max-w-7xl / px padding by using
// a fixed overlay that covers exactly the main content area.
// left-0/lg:left-60 accounts for the sidebar width (w-60).
<div className="fixed inset-0 left-0 top-14 lg:left-60 lg:top-0">
<TopologyClient />
</div>
);
}