Fixed rendering logic for nodes and abstracted positioning to small functions that perform specific tasks