support for different node shapes based on the node type in data