Activates the specified nodes in this Graph object.
Returns true if and only if the graph is non-cyclic.
Nodes not activated are deactivated.