* [IOTW,SC] Simplified and improved pait_to_dom/2 (aloso removing the graph argument). Much better now!