Skip to content

Instantly share code, notes, and snippets.

{
"info": {
"_postman_id": "a733743c-64aa-4ace-bcb8-fa7e042d8382",
"name": "CLIENT WEBSITE (DEMO)",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Users",
"description": null,
{
"info": {
"_postman_id": "f60edaee-ae2b-4972-8180-f8307017fc2c",
"name": "CG API",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Subjects",
"description": null,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
var node = graph.createNodeWithCenterAndStyle(new yfiles.geometry.Point(0, 0), new demo.bpmn.ActivityNodeStyle());
var label = graph.addLabelWithParameter(node, yfiles.drawing.InteriorStretchLabelModel.CENTER, data.name);
'createGraph': function() {
var /**yfiles.graph.IGraph*/graph = this.graphControl.graph;
var /**yfiles.graph.IGroupedGraph*/ groupedGraph = graph.getGroupedGraph();
// Create the pool node
var /**demo.bpmn.PoolNodeStyle*/ poolNodeStyle = new demo.bpmn.PoolNodeStyle();
var /**yfiles.graph.INode*/ poolNode = groupedGraph.createGroupNode();
graph.setNodeStyle(poolNode,poolNodeStyle);
var /**yfiles.graph.ITable*/ poolTable = getTable(poolNodeStyle, poolNode);
var nodes = {
EVENT: {
eventType: {
PLAIN: 0,
MESSAGE: 1,
TIMER: 2,
ESCALATION: 3,
CONDITIONAL: 4,
LINK: 5,
ERROR: 6,
onRender: function() {
var graphControl = this.graphControl = new yfiles.canvas.GraphControl.ForId('graph-canvas'),
graph = this.graph = graphControl.graph;
var startEvent = this.createEventNode();
var endEvent = this.createEventNode();
endEvent.style.characteristic = demo.bpmn.EventCharacteristic.END;
var gatewayNode = this.createGatewayNode();
onLayout: function() {
// The BpmnLayoutConfigurator provides information about the BPMN node and edge types to the layouter.
var /**demo.bpmn.BpmnLayoutConfigurator*/ bpmnLayoutConfigurator = new demo.bpmn.BpmnLayoutConfigurator();
bpmnLayoutConfigurator.prepareAll(this.graphControl.graph);
// Create a new BpmnLayouter using a Left-To-Right layout orientation
var /**demo.bpmn.BpmnLayouter*/ bpmnLayouter = new demo.bpmn.BpmnLayouter();
bpmnLayouter.layoutOrientation = demo.bpmn.LayoutOrientation.LEFT_TO_RIGHT;
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions id="073954FF-7279-4EF4-A4FC-BC18988FDBF1" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:ns2="http://www.omg.org/spec/DD/20100524/DI" xmlns:ns4="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:ns3="http://www.omg.org/spec/DD/20100524/DC">
<process name="Sub Process 2.2" id="073954FF-7279-4EF4-A4FC-BC18988FDBF1">
<startEvent id="4AF25AC1-E53F-4F6D-B3F7-B8D9D8AEEFB1"/>
<exclusiveGateway id="B5691A45-AAC6-4473-8FEE-4D4E478A23C6"/>
<intermediateCatchEvent id="98A31B7D-D027-4C4D-A358-67C4C3A63C61"/>
<task name="Task 2.2-2" id="2B62B0ED-5AC9-48B4-A6AE-6239C5A41C85"/>
<task name="Task 2.2-3" id="920D8644-7CF5-4AA5-B0C5-C563BA90A7BA"/>
<task name="Task 2.2-1" id="C4A66E85-E89C-4487-B012-D92DF9D2FE63"/>
<endEvent id="C612EBF9-BB22-4F12-BA7E-465F0DED7E5E"/>
<?php
// grab recaptcha library
require_once "recaptchalib.php";
// your secret key
$secret = "6LcePAATAAAAABjXaTsy7gwcbnbaF5XgJKwjSNwT";
// empty response
$response = null;