Implements the computation of link shapes from placed nodes.