fixed code samples in The Graph section