Extend (Network Diagrams)

URL:
https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/extend
Methods:
POST
Version Introduced:
10.6

Description

The extend operation extends the diagram content one connectivity level, optionally regarding to the traversability over the network. It is performed on a Diagram resource. The result of this operation is a Diagram JSON Information object, and the moment the edit operation happens for a stored diagram.

Request Parameters

ParameterDetails

gdbVersion

The name of the geodatabase version.

Syntax: gdbVersion=<version>

Example: gdbVersion=ABV1

sessionId

The token (guid) used to lock the version.

Syntax: sessionId=<guid>

Example: sessionId=44G259DE-87B0-407D-8F2E-DCB7665DD0F0

ignoreTraversability

A boolean statement that determines whether to extend the diagram content with or without taking the the traversability of the network into account.

  • true—Extend the diagram content without taking the traversability of the network into account (default); that is, extend the diagram one connectivity level regarding to the simple network topology.
  • false—Extend the diagram content while taking the traversability of the network into account; that is, extent the diagram one connectivity level regarding to resources that could limit the flow to traverse; for example, closed valves or disconnected zones.

Syntax: ignoreTraversability= <true | false>

Example: ignoreTraversability= false

extendType

The type of extend you want to process.

Syntax: extendType=<esriDiagramExtendByAttachment | esriDiagramExtendByConnectivity | esriDiagramExtendByTraversability | esriDiagramExtendByContainment>

Example: extentType = esriDiagramExtendByConnectivity

fromFeatures

An array of diagram feature Global IDs, those diagram features being those from which the extend process will run.

Syntax: fromFeatures=["<globalID1>", ...,"<globalIDN>]

Example: fromFeatures=["{22E157ED-68A0-407D-9F06-A030C5A1995F}"]

f

The response format. The default response format is html.

Values: <html | json>

Example Usage

Extending one connectivity level the newly created temporary diagram which Name is 7C458C4491F94B5591635AFA029816FF:

  • URL: https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/7C458C4491F94B5591635AFA029816FF/extend

  • Parameters:

    1
    2
    3
    4
    gdbVersion=ABV1
    sessionId=
    ignoreTraversability=true
    f=pjson
  • Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/7C458C4491F94B5591635AFA029816FF/extend?gdbVersion=ABV1&sessionId=&ignoreTraversability=true&f=pjson

Extending the diagram called DiagramTest1 one connectivity level regarding to the traversability over the network; that is:

  • URL: https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/DiagramTest2/extend

  • Parameters:

    1
    2
    3
    4
    gdbVersion=
    sessionId=
    ignoreTraversability=false
    f=pjson
  • Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/DiagramTest2/extend?gdbVersion=&sessionId=&ignoreTraversability=false&f=pjson

JSON Response Syntax

A JSON object composed of a Diagram JSON Information object and a moment: {"diagramInfo": , "moment": <moment>}

JSON Response Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
 "diagramInfo": {
  "tag": "",
  "isStored": true,
  "canStore": true,
  "canExtend": true,
  "isSystem": false,
  "creator": "acb7352",
  "creationDate": 1503065870000,
  "lastUpdateBy": "acb7352",
  "lastUpdateDate": 1503066275000,
  "containerMargin": 0.5,
  "junctionCount": 38,
  "edgeCount": 37,
  "containerCount": 5,
  "aggregationCount": 0,
  "isHistorical": false,
  "access": "esriDiagramPublicAccess",
  "diagramExtent": {
   "xmin": 1033445.9759065136,
   "ymin": 1871200.7451592833,
   "xmax": 1034656.045008678,
   "ymax": 1871864.0919296965,
   "spatialReference": {
    "wkid": 102671,
    "latestWkid": 3435
   }
  },
  "networkExtent": {
   "xmin": 1033446.4759055115,
   "ymin": 1871201.2451582849,
   "xmax": 1034656.045008678,
   "ymax": 1871863.5919306949,
   "spatialReference": {
    "wkid": 102671,
    "latestWkid": 3435
   }
  },
  "name": "7C458C4491F94B5591635AFA029816FF",
  "id": "{22C1EEB8-1152-440F-B2FF-6B7C6A43076E}",
  "template": "Basic"
 }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close