Add reset main graph option

Signed-off-by: Ramnique Singh <mail@ramniquesingh.name>