Base for the graph view