Deconstructing the principles of ductal network formation in the pancreas