nodeSize.setResize(resizeEnabled);
nodeStroke.activate(strokeHighlight);
// set color mode color
try {
NodeColors color = NodeColors.valueOf(node.get(
NodePreferencesIds.NODE_COLOR,
NodeColors.getDefault().toString()));
nodeColor.setColorMode(color);
} catch (IllegalArgumentException ex) {
// bad node rendering option. ignore.