nit: edge direction at connection points