restructure db for node.svg