Added interaction rank weighted graph generator
Fixes to get proper edge type