// TODO: transition condition, events and exception handlers
JpdlConnection connection = new JpdlConnection(from, transitionName, to, Node.CONNECTION_DEFAULT_TYPE);
Map<String, Event> events = transition.getEvents();
if (events != null) {
for (Event event : events.values()) {
connection.addEvent(event);
}
}
List<ExceptionHandler> exceptionHandlers = transition.getExceptionHandlers();
if (exceptionHandlers != null) {
for (ExceptionHandler exceptionHandler : exceptionHandlers) {