Added rendering for state graphs
Added documentation