Addressing #2, I changed the proposed maxsize to nodesize argument with both a min and max that will scale the node circle size using d3.scale.linear. You're welcome to change the defaults, but c(5,20) seemed to provide a sane starting point. If there is not a size in each node provided, then all nodes will be the max provided in nodesize, so in the default situation 20.
Addressing #2, I changed the proposed
maxsize
tonodesize
argument with both amin
andmax
that will scale the node circle size usingd3.scale.linear
. You're welcome to change the defaults, butc(5,20)
seemed to provide a sane starting point. If there is not asize
in each node provided, then all nodes will be themax
provided innodesize
, so in the default situation20
.