Fix graph in embedded