b-log – betriebsraum weblog

Software Development, Human-Computer Interaction, Projects…

Plumber: Objective-C library for Curved Connection Lines

February 5, 2014

Plumber

Plumber on Github

Plumber is a tiny Objective-C library for creating curved connection lines between nodes (for flowcharts, for example). The constructed path connects the bounding boxes such that the distance between two sides is minimized. I’ve created it since a quick Google search did not reveal anything simple for iOS. The curve calculation algorithm is a direct port of the function used in the Graffle Example of the vector drawing library RaphaĆ«l.

Filed under: iOS / Objective-C / Swift

Add a comment

Follow comments to this post by subscribing to the comment feed.