Discovery of VM to Switch/Storage topology

Can anybody please guide me how to discover topology for VMs with Switch and Storage.

I have discovered successfully the same topology for physical servers. but got stuck with VMs.

 

I have discovered servers with UD agent and SNMP, ESX, and Switch and Storage but the topology is not forming for the VMs.