I might be misunderstanding the problem, but if you’re trying to compute node valences for a network of connecting lines, you can get their end-points and count their occurrence. Like so:
I might be misunderstanding the problem, but if you’re trying to compute node valences for a network of connecting lines, you can get their end-points and count their occurrence. Like so: