can take floats as weights (round it down)
changed color of lines and node (better readable weights)