redoing graph edge directionality bugfix.