OcpnArcRef
An arc of an object-centric Petri net drawing.
Used as Input
0
functions accept this type
Used as Output
0
functions return this type(+1 nested)
Type Definition
15 nested items
struct— An arc of an object-centric Petri net drawing.
source*:OcpnNodeRef— A place or transition of an object-centric Petri net drawing, by its index in the flat JSON's
variant 1:struct— A place, by its index in
places.variant 2:struct— A transition, by its index in
transitions.target*:OcpnNodeRef— A place or transition of an object-centric Petri net drawing, by its index in the flat JSON's
variant 1:struct— A place, by its index in
places.variant 2:struct— A transition, by its index in
transitions.Example JSON Value
json
{
"arc": 1,
"source": {
"index": 1,
"kind": "place"
},
"target": {
"index": 1,
"kind": "place"
}
}