  We present an algorithm to express Wilson lines that are defined on piecewise
linear paths in function of their individual segments, reducing the number of
diagrams needed to be calculated. The important step lies in the observation
that different linear path topologies can be related to each other using their
color structure. This framework allows one to easily switch results between
different Wilson line topologies, which is helpful when testing different
structures against each other.
