Fixed code styles.

* Fixed code styles.
* Numerous visual design improvements.
* Added "assigned arc" metadata to be more obvious about the actual assignment.
* Added our assigned arc as the root node.