text→NER→resolve aliases→co-occurrence rule→network

Text, extracted names, and alias resolution

resolved before the network is built
Tony Stark→Iron Man
Natasha Romanoff→Black Widow
Bruce Banner→Hulk
Logan→Wolverine

Network created by your rule