Assign different positioning styles to different node types