delete sub graph