fixed up final graph layout