linkView.getConnectionLength()

Return a total length of a link in pixels.