1 Reply Latest reply on May 4, 2008 7:53 PM by DrClap

    Searching for easiest way to generate tree without duplicate nodes


      I want to generate a tree from a list, where all paths are included:

      Land, Town, Street
      England, London, StreetTwo
      England, Dover, StreetOne
      Germany, Berlin, Hauptstrasse1
      France, Paris, Rue One
      France, Lyon, Rue Two

      Is there a smart way to prevent duplicate tree nodes upon creation (example: only one node "England" with two subnodes...)? I am going to scan the whole tree again and again before inserting new nodes....

      Best regards