new file:   AffinityNetworkGenerate.py