Correcting the edge visual style dependency to source node