graph-view: added basic functionality