Adapted the .dot exporter plugin so that it can handle objects in multiple nodes