linkView.getConnectionLength()

Return a cached total length of the connection in pixels.