still working on some graph visualizing issues i stumbled over a problem (something i considered to be really easy solveable - and now i already spent two days on it… - what a shame…)
given is a graph connection file as csv which basically looks like this:
A - B
A - C
A - D
E - B
E - D
… and so on
of course its not chars but ints and the linecount is over 44000
the graph already works fine. now i want to find all elements connected to one chosen element (iE B).
what i did is separating the list in two spreads (1st and 2nd column). than i did “a sift” for B and “select” the corresponding values from the other column. - this procedure needs to be iterated until all connected elements are found…
how do i do such an interation in vvvv? in pd i was used to write so called “expressions” for stuff like that but i am shure there is a smarter way in vvvv.
any help appreciated :)