Keeping it together: A phase-field version of path-connectedness and its implementation. (October 2021)