diff --git a/web/src/components/tabs/netflow-topology/2d/topology-content.tsx b/web/src/components/tabs/netflow-topology/2d/topology-content.tsx index 1e5b89cec..130b53f44 100644 --- a/web/src/components/tabs/netflow-topology/2d/topology-content.tsx +++ b/web/src/components/tabs/netflow-topology/2d/topology-content.tsx @@ -471,7 +471,7 @@ export const TopologyContent: React.FC = ({ useEventListener(graphLayoutEndEvent, onLayoutEnd); useEventListener(graphPositionChangeEvent, onLayoutPositionChange); - if (_.isEmpty(metrics) && _.isEmpty(droppedMetrics)) { + if (_.isEmpty(metrics) && _.isEmpty(droppedMetrics) && _.isEmpty(expectedNodes)) { return ( diff --git a/web/src/model/topology.ts b/web/src/model/topology.ts index 6936a6004..75036b6b8 100644 --- a/web/src/model/topology.ts +++ b/web/src/model/topology.ts @@ -71,7 +71,7 @@ export const DefaultOptions: TopologyOptions = { medScale: 0.5, metricFunction: defaultMetricFunction, metricType: defaultMetricType, - showEmpty: true + showEmpty: false }; export type GraphElementPeer = GraphElement;