a basic graph of an document is made