update: add remove function for graph.

Signed-off-by: Godai Azuma <godai0519@gmail.com>