potential fix for #24
Merge pull request #25 from tiefpunkt/issue24

draw dotted line when changing graph layout, closes #24