Transit-free networks