Fix block_graph.

Signed-off-by: TheCjw <thecjw@qq.com>