Added nodessize method

to set the width and height of the nodes