Changed label font size calculation to be proportional to number of nodes
Added layout algorithm option