Compact-Port Routing Models and Applications to Distance-Hereditary Graphs