Diagram Information object (Network Diagrams)

Overview

This topic discusses the JSON Diagram Information object as returned by the REST API.

A Diagram Information object provides the following parameters:

NoteNote:

The consistencyState parameter is only returned by the findDiagramInfos operation.

LegacyLegacy:

The canStore and canExtend parameters are not supported on network diagrams prior to ArcGIS 10.6.1.

JSON syntax

"diagramInfo": {
 "tag": "<diagUserTag>",
 "isStored": < true | false>,
 "canStore" : <true | false>,
 "canExtend" : <true | false>,
 "isSystem": < true | false>,
 "creator": "<diagCreator>",
 "creationDate": <diagCreationDate>,
 "lastUpdateBy": "<diagLastUpdater>",
 "lastUpdateDate": <lastUpdateDate>,
 "containerMargin": <diagContainerMargin>,
 "junctionCount": <nbDiagJct>,
 "edgeCount": <nbDiagEdge>,
 "containerCount": <nbDiagCont>,
 "aggregationCount": <nbDiagAgg>,
 "isHistorical": <true | false>,
 "access": <"esriDiagramPublicAccess" | "esriDiagramProtectedAccess" | "esriDiagramPrivateAccess">,
 "diagramExtent": <envelope>,
 "networkExtent": <envelope>
 "name": "<diagName>",
 "id": "<diagGUID>",
 "template": "<templateName>",
 "consistencyState": <"esriDiagramIsConsistent" | "esriDiagramNotConsistentWithTopology" | "esriDiagramHasDirtyFeatures">
}

JSON example

"diagramInfo":{
  "tag": "",
  "isStored": true,
  "canStore" : true,
  "canExtend" : false,
  "isSystem": false,
  "creator": "acb7352",
  "creationDate": 1505219137000,
  "lastUpdateBy": "acb7352",
  "lastUpdateDate": 1505219137000,
  "containerMargin": 0.5,
  "junctionCount": 11,
  "edgeCount": 10,
  "containerCount": 1,
  "aggregationCount": 0,
  "isHistorical": false,
  "access": "esriDiagramPublicAccess",
  "diagramExtent": {
   "xmin": 6807591.7656002343,
   "ymin": 1847967.7367558032,
   "xmax": 6808661.8976463079,
   "ymax": 1848650.1848659664,
   "spatialReference": {
    "wkid": 3498,
    "latestWkid": 3498
   }
  },
  "networkExtent": {
   "xmin": 6807591.7656002343,
   "ymin": 1847967.7367558032,
   "xmax": 6808661.8976463079,
   "ymax": 1848650.1848659664,
   "spatialReference": {
    "wkid": 3498,
    "latestWkid": 3498
   }
  },
  "name": "DiagramTest1",
  "id": "{033B675B-0DFF-4E82-85BC-85DD1235D42C}",
  "template": "Basic",
  "consistencyState": "esriDiagramHasDirtyFeatures"
}