Output Node is added.

And InnerDAG is modified.