Implemented node colors and sizes.