[graph] fixes to the transformGraph logic
We need to recompute transformGraph, I try to do this intelligently depending on params change only. Also, I added preservation of louvain colouring.
We need to recompute transformGraph, I try to do this intelligently depending on params change only. Also, I added preservation of louvain colouring.