Refactor LayoutEngine for further work (#3227)
Refactor LayoutEngine for further work (#3227)

* Added commenting for better understanding

* Refactored specific heirarchy fields to HierarchyStatus; more commenting.

* Small edits to LayoutEngine

yotamberk/vis,yotamberk/vis