generated pre, in, and post order graphs