add prelearned graphs