How to implement parent child nodes in RappidJS so that child nodes remains in proximity with parent node and can we add condition on edge dynamically?