Added basic graph visualisation and editing.