update data-node stroke-width in css