Depending on their age, they might not even understand what is a divorce or what just happened. But by being positive, informing them the situation in a calm manner and not be a cry baby in front of the kids, i think they will be less affected by it.
The biggest factor that will tramautise the children are the adults, not the incident.