WIP graphview code