Start trying to visualise router state machine with d3