Could you please tell me how to create a cluster for the network nodes based on subnets in Python. Currently, I\'m using the package networkx for plotting the graph and it is no