Fix layout of visualisation for single node diagrams
use btn-primary class for save buttons across all edit pages for consistency
use fluid rows
display agent roles on network visualisation
fix problem with visualisation when there are missing records
refactor code