* Inserts the desired node inside a network creating a default state, symbol and description.
* @param x The x position.
* @param y The y position.
*/
public Node insertDecisionNode(double x, double y) {
DecisionNode node = new DecisionNode();
node.setPosition(x, y);
node.appendState(resource.getString("firstStateDecisionName"));
node.setName(resource.getString("decisionNodeName")
+ singleEntityNetwork.getNodeCount());
node.setDescription(node.getName());
singleEntityNetwork.addNode(node);
return node;
}