'How to get the number of radial connections in networkx plot also to which node it connected?

I trying to find the number of radial connection from each node point in networkx plot. But I couldn't find any way to achieve this



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source