ok I have adopted our little code to networkx. The frame is interactive!