is it possible export a network diagram "offline"? For example, in a file geodatabase?
The network diagram is temporary by default, so first you will need to store it. To do this, use the Store Diagram tool from the Network Diagram toolset. This stores it in your database, so you should be able to export it.
thanks for answering.
Yes, i speak about export AFTER the store. Is there any tool for this? I haven't found yet.
Here is a link to the page documenting the use of the Export Diagram Content tool. Also, there is an Export Diagram Content command at the bottom of the Find Diagrams pane. Hope this helps.
Export Diagram Content (Network Diagram)—ArcGIS Pro | Documentation
this solution export a JSON that describe the diagram and I can imagine that it permit the import in another arcgis pro.
I need to export the diagram for offline work: this json is utilizable (for example) by a mobile client? Alternatively, is possible to export a diagram in a file geodatabase (as a set of feature class)?
I found this for creating a layer from the diagram.
Make Diagram Layer (Network Diagram)—ArcGIS Pro | Documentation
Again, I hope this helps.
Hi @FabianoFerrazza1 @FabianoFerrazza3
Indeed, Export Diagram Content exports a JSON that describes the diagram; then, this file can be used for data control, network calculation or analysis, or to feed external systems. You have no other way to export diagram content at the moment. Do you expect a tool to export diagram content into feature classes/shape files in a file geodatabase? Note that even if such a tool doesn't exist as a core tool with ArcGIS Pro, you can develop an ArcGIS Pro custom add-in command to do that using ArcGIS Pro .NET SDK API (see https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic17701.html for the Network Diagram API).
Please let me know if you need some guidance to code such a command.
This being said, could you please tell us more about what motivate such an export command? Once your diagram exported to a file geodatabse, what do you expect to do with it exactly?
Hello @FabianoFerrazza1 @FabianoFerrazza3
We've just released an add-in sample command to export any network diagram content into a set of feature classes in a feature dataset in a local geodatabase (File or Mobile)
arcgis-pro-sdk-community-samples/NetworkDiagram at master · Esri/arcgis-pro-sdk-community-samples · ...
Hopping this sample add-in fits your expectations and will help you going on step further with network diagrams