Grafana's Flowcharting plugin when nothing to show


I have been using Grafana with FlowCharting plugin It works fine when I query data from SQL Server, but how should it work when there’s no data found with SQL Query? I would like if it would collapse or show nothing etc.

Another way would be to collapse panel e.g. based on variable value. I guess this is not possible? :frowning: