Switch to using the nearest-connector method from the center point
Add line type and use that when applicable.
Merge pull request #7 from makyo/relation-endpoints

Switch to using the nearest-connector method for drawing relations.