PrateekKumarSingh / AzViz

⚡ ☁ Azure Visualizer aka 'AzViz' : A #powershell module to automatically generate Azure resource topology diagrams by just typing a PowerShell cmdlet and passing the name of one or more Azure Resource groups
MIT License
603 stars 151 forks source link

Remove legends if there are no edges in the graph #38

Closed PrateekKumarSingh closed 3 years ago

PrateekKumarSingh commented 3 years ago

Legends for now only represent the edges in the graph and if there are no edges there is no point showing legends in the graph

PrateekKumarSingh commented 3 years ago

Visualize legends in graph only if there are any edges:

https://github.com/PrateekKumarSingh/AzViz/blob/master/AzViz/src/private/ConvertTo-DOTLangauge.ps1#L303-L307