The paper presents a method to generate all possible spanning trees of a connected linear graph. By tearing a big connected linear graph into two pieces and then adding border lines one by one we can generate all possible spanning trees. This method be suitable for to computer parallel computation and com...