apply_node_styles function

Apply node styles (color, shape, highlighting)