ar yesdata = { text: 'yes,\ndo it' };
        diagram.model.addNodeData(yesdata);
        var yesnode = diagram.findNodeForData(yesdata);
        yesnode.containingGroup = group;
        yesnode.location = e.documentPoint;
        diagram.model.addLinkData({ from: newnode.key, to: yesnode.key, text: 'yes' });
        diagram.model.addLinkData({ from: yesnode.key, to: endnode.key });

        var nodata = { text: "no,\ndon't" };
        diagram.model.addNodeData(nodata);
        var nonode = diagram.findNode