Please check the following PPI graph.
How would it be possible to replace the orange nodes (which are intermediate between blue nodes) by only one edge between the corresponding blue nodes, and just above the edge, in the middle for instance, indicate the number of orange nodes which have been replaced ?
for instance, replace :
DGKD - GNAQ - IQSEC1
DGKD - 1- IQSEC1