*
* @return The new node
*/
public DecisionNodeImpl createStandardDecisionNode()
{
DecisionNodeImpl node = new DecisionNodeImpl();
createStandardName(node);
NodeSocket inSocket = createEntrySocket(CoreConstants.DEFAULT_INITIAL_NODE_NAME, true);
NodeSocket yesSocket = createExitSocket(CoreConstants.SOCKET_YES, true);
NodeSocket noSocket = createExitSocket(CoreConstants.SOCKET_NO, false);
inSocket.setGeometry(ProcessUtil.createSocketGeometry("n"));
yesSocket.setGeometry(ProcessUtil.createSocketGeometry("s"));
noSocket.setGeometry(ProcessUtil.createSocketGeometry("e"));
node.addSocket(inSocket);
node.addSocket(yesSocket);
node.addSocket(noSocket);
return node;
}