Add graphs and init goal