support direct styling of nodes

Change-Id: Ia404e137040f43263779984374bd5d6ec319c24f