automatically create new flow if canvas is empty