[CORE] Add some comments and doc in flow_graph.c