create basic graph structure