⚡ ☁ 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
I'm guessing its because there are some resource in your resource group that does not have an icon associated with it. You can check all the icons here and the mapping in code here.
I'm getting the following while diagramming one of my resource groups.
The resource group contained only one virtual network and one network security group
Command line:
Export-AzViz -ResourceGroup services-Dev-Migrated -LabelVerbosity 2 -CategoryDepth 3 -Theme light -Show -OutputFormat png -OutputFilePath "Diagrams/Sub - ICM-Dev - RG - services-Dev-Migrated.png"
Output: