set Possible Sub Types
Set the node's possible subtypes. Listener circle detection works the same way as with setType
Parameters
possible Sub Types
the set of possible sub types
root
A list of already seen nodes which is used for detecting loops.