reverted graph drawing changes