main framework of graph visualization