Skip to main content
Rust4PM

Annotations_for_OcdfgNodeRef

The JSON form of Annotations.
Used as Input

0

functions accept this type(+5 nested)

Used as Output

0

functions return this type

Type Definition

38 nested items
struct— The JSON form of Annotations.
edges*:Vec<((String, DfgNodeRef, DfgNodeRef), EdgeAnnotation)>— By edge.
nodes*:Vec<(OcdfgNodeRef, NodeAnnotation)>— By node, as one more line in the node.

Example JSON Value

json
{
  "edges": [
    [
      [
        "example",
        {
          "kind": "start"
        },
        {
          "kind": "start"
        }
      ],
      {}
    ]
  ],
  "nodes": [
    [
      {
        "kind": "start",
        "name": "example"
      },
      {}
    ]
  ]
}