Path Group Length#
Functionality#
This node calculates length of a paths composed from edges. Edges can be grouped.
Inputs#
Vertices
Edges
Groups - grouped name of every edge (numbers int or float or strings). If len of group if less than length of edges then group will extend to the length of edges. ex.: group: [[“K19”]], edges: [[ [0 1], [1,2], [2,3] ]] then group get: [[“K19”, “K19”, “K19”,]]
Outputs#
Segments - length of every segment
Group of Segments - rearrange groups per edges
Length - summ of Length of group of Segments
Group of Length - What group assingned to every Length
Merged Length - Merged length in all objects with equals group number/name
Grouped of Merged Length - What group associated with Merged Length
if Groups are not connected then default group is 0.
Examples#
Show length of edges with groups: