Added color transition.

Cancel node/edge selection temporarily during epidemics.
Fixed a bug regarding node id.