Graph

This document describes the properties of the JSON API object. You also can access the document in JSON Schema format: graph.schema.json

A graph

additional-metadata: object [object Object]

Dict of additional metadata

nodes: object [object Object]

The nodes. Keys are the UUIDs.

edges: object[]

The edges. IDs in the edge definition must be consistent to the UUIDs in the 'nodes' entry

Example

{
  "nodes" : {
    "default-preprocessing-filter-files" : {
      "jipipe:slot-configuration" : {
        "Files" : {
          "slot-data-type" : "file",
          "slot-type" : "Input",
          "inherited-slot" : null,
          "name" : "Files",
          "custom-name" : null,
          "inheritance-conversions" : { }
        },
        "Filtered files" : {
          "slot-data-type" : "file",
          "slot-type" : "Output",
          "inherited-slot" : null,
          "name" : "Filtered files",
          "custom-name" : null,
          "inheritance-conversions" : { }
        }
      },
      "jipipe:algorithm-ui-location" : {
        "{Vertical}" : {
          "x" : 25,
          "y" : 250
        }
      },
      "jipipe:algorithm-type" : "file-filter",
      "jipipe:algorithm-compartment" : "DEFAULT",
      "name" : "Filter *.tif",
      "description" : null,
      "filters" : [ {
        "mode" : "Glob",
        "filterString" : "*.tif"
      } ],
      "jipipe:trait-generation" : {
        "modification" : {
          "per-slot" : { },
          "global" : { }
        },
        "transfer" : {
          "transfers" : [ ],
          "transfer-all-to-all" : true
        }
      },
      "jipipe:dynamic-parameters" : { }
    },
    "default-preprocessing-list-files" : {
      "jipipe:slot-configuration" : {
        "Folders" : {
          "slot-data-type" : "folder",
          "slot-type" : "Input",
          "inherited-slot" : null,
          "name" : "Folders",
          "custom-name" : null,
          "inheritance-conversions" : { }
        },
        "Files" : {
          "slot-data-type" : "file",
          "slot-type" : "Output",
          "inherited-slot" : null,
          "name" : "Files",
          "custom-name" : null,
          "inheritance-conversions" : { }
        }
      },
      "jipipe:algorithm-ui-location" : {
        "{Vertical}" : {
          "x" : 25,
          "y" : 50
        }
      },
      "jipipe:algorithm-type" : "folder-list-files",
      "jipipe:algorithm-compartment" : "DEFAULT",
      "name" : "List files",
      "description" : null,
      "jipipe:trait-generation" : {
        "modification" : {
          "per-slot" : { },
          "global" : { }
        },
        "transfer" : {
          "transfers" : [ ],
          "transfer-all-to-all" : true
        }
      },
      "jipipe:dynamic-parameters" : { }
    }
  },
  "edges" : [ {
    "source-algorithm" : "default-preprocessing-list-files",
    "target-algorithm" : "default-preprocessing-filter-files",
    "source-slot" : "Files",
    "target-slot" : "Files"
  } ]
}