Transitive closure of event data hoping there are no cycles (considering
the special case of SVG use)