fix transformations (undirected graph case)
add printout() of inner structure of graph