Use one of the two "Polyline" styles from palette section "Edge Types" and make sure there is at most one bend in your edge:
Corresponding GraphML.