Updating a diagram based on the Network Dataset builder

Schematic diagrams based on the Network Dataset builder contain schematic features that are queried from the schematic dataset tables in which they were stored when the diagram was generated. When Network Dataset builder diagrams open, their schematic features are queried directly from these schematic database tables. This means that if changes are made in the network dataset (for example, feature state changes or feature removals) or the network analysis doesn't return the exact same result, these changes are not reflected in the schematic diagrams when they open.

Updating a Network Dataset builder schematic diagram consists of synchronizing the schematic database content with the result of the new network analysis that has been performed. If the diagram content has been laid out before the update operation is executed, this layout is kept after the update.

Schematic diagram updating is usually done in ArcMap. The following section details the steps to update a schematic diagram based on the Network Dataset builder.

NoteNote:

The ArcGIS Schematics geoprocessing tools Update Diagram and Update Diagrams can also be used to update diagrams based on the Network Dataset builder.

CautionCaution:

Updating diagrams cannot correctly be performed during an edit session when the related Schematics tables and edited geographic feature classes are in the same physical workspace (database) except when you are working on a versioned ArcSDE or file geodatabase. When working on a personal or a nonversioned geodatabase, you must stop the edit session on your geographic data before updating any diagram.

Learn more about updating diagrams during an edit session

Steps:
  1. Start ArcMap and load the .mxd file that contains the network analysis layer from which you want to operate.
  2. Click Solve Solve button on the Network Analyst toolbar to perform the network analysis.
  3. Click Open Schematic Diagrams Open Schematic Diagrams icon on the Schematic toolbar and browse to and choose the schematic diagram you want to update.
  4. Click the Schematic arrow on the Schematic toolbar and click Update Diagram Update Diagram icon, or right-click the schematic layer in the ArcMap table of contents and click Update Diagram Update Diagram icon.

    The Update Diagram dialog box opens:

    Update Diagram dialog box

  5. From the Update Diagram From list, choose the solved network analysis layer from which you want the active diagram to be updated.

    Only the solved network analysis layers are available in this drop-down list.

  6. Make a choice for the Persist manually removed, reduced or reconnected features check box:
    • Uncheck this option so the removed/reduced schematic features are restored after updating and the schematic feature links whose connections have been modified are reconnected so they are in exact coherence with the specified solved network analysis layer after update.
    • Keep this option checked (default state) so the schematic features that have been removed/reduced from the diagram do not reappear and the edited connections are kept in the updated diagram.

    This check box is enabled only if schematic features have been manually removed/reduced from the active schematic diagram using the Remove Schematic Features Remove Schematic Features icon or Reduce Nodes Reduce Nodes icon command. It is also available if connections for some schematic links have been modified using the Reconnect Schematic Links tool Reconnect Schematic Link icon since the first time this diagram was generated.

  7. Click OK.

The update process is performed as follows:

  1. The schematic features contained in the diagram that don't come from custom queries are loaded in memory.
  2. The in-memory features that compose the specified network analysis layer are analyzed, and the builder operates as follows:
    • The schematic features that are still associated with in-memory features in the network analysis layer are updated; their attributes and initial geometry are refreshed, and their current geometry is reinitialized if the diagram was not saved.
    • New schematic features associated with new in-memory features are created in memory. Their attributes are evaluated, and their topology and geometry are initialized.
    • The schematic features initially contained in the diagram that are no longer associated with in-memory features in the network analysis layer are removed from the memory.
  3. Then, if schematic rules are specified for the related diagram template, they are executed on all the in-memory schematic features.
  4. If the Persist manually removed, reduced or reconnected features check box is checked, the removal, reduction, and reconnecting operations are reexecuted.
  5. If there is a default schematic layout algorithm configured for the diagram template and the diagram has no saved layout, the algorithm is reexecuted, and the geometry for all the in-memory schematic features is updated accordingly.
  6. All the schematic features in memory are saved in the schematic feature classes in the schematic dataset..
  7. The active schematic diagram is then refreshed with the new schematic dataset content.
NoteNote:

If the diagram template is configured to mix the schematic features associated with the network features with schematic features coming from custom queries, there are additional steps during the update process:

  • Schematic feature classes with custom queries configured to be launched during the diagram building—that is, queries with the Query on Generate/Update evaluation mode—are processed just before executing the rules.
  • Schematic feature classes with custom queries configured to be launched at the diagram loading—that is, queries with the Query on Start Editing evaluation mode—are processed just after executing the rules.
In both cases, the update process is performed as follows:
  • All the schematic features stored in the schematic feature classes with custom queries are loaded in memory.
  • The custom query specified on each schematic feature class is executed, and the in-memory schematic features are updated as follows:
    1. The in-memory schematic features that are still associated with queried records are updated; their attributes and initial geometry are updated, and their current geometry is reinitialized if the diagram was not saved.
    2. New schematic features associated with new queried records are created in memory. Their attributes are evaluated, and their topology and geometry are initialized.
    3. The schematic features in memory that are no longer associated with queried records are removed from the memory.

NoteNote:

If a particular layout was saved for the active diagram before its update, schematic features that are already contained in the diagram before update keep their last saved position, while new schematic features introduced in the schematic diagram during the update are positioned this way:

  • At their geographic coordinates if they come from in-memory features in the network analysis layer used for the update
  • At their initial coordinates if they were built by custom queries and such initial coordinates are configured
  • At the (0,0) location if they were built by custom queries and no initial coordinates are specified

Related Topics


1/10/2012