"use client";

import dynamic from "next/dynamic";

const TopologyFlow = dynamic(() => import("./topology-flow"), {
  ssr: false,
  loading: () => (
    <div className="flex flex-1 items-center justify-center text-muted text-sm">加载拓扑图…</div>
  ),
});

export default function TopologyClient() {
  return (
    <div style={{ width: "100%", height: "100%" }}>
      <TopologyFlow />
    </div>
  );
}
