Add disconnected graph to script