add prelearned graph