Create Flattened Graph

Create Flattened Graph