Data structure and graph flow

Completed