Original Post
I'm looking for a data structure that is akin to a bidirectional hash table. I've got an SVG DOM structure on one side and my internal rendering structures on the other and I"d like to map between them. I'd like to be able to say given a DOM node, find my internal rendering struct. or given an internal rendering struct get me the corresponding DOM node. If I only wanted to go one way I'd use a hash table, but I need to be able to look up from either direction. Any one have any experince with such a structure?? Cheers Chris