Fixed autoRescale polymorphism

It was done wrong for edges and nodes size.
updated .gitignore