added edgelength option for vis