hello everyone,
I am trying to generate a standard “Splice Diagram” on Naperville data and I am encountering issues that I do not understand.
This is the workflow: I select a Splice Enclosure that contains 2 Connector Groups and a Chassis Splice (see image) and on this selection I generate the new diagram by choosing the “Splice” template.
This is what I get
If I change the Layout to Mainline Tree - Left To Right I get this, which also begins to be interesting, but about which I have doubts..
These are the questions:
Thank you in advance for the valuable answers.
Damiano
Solved! Go to Solution.
Hi @DamianoMontrasio
Here under are my comments/answers
-- Custom layouts --
Based on the communications Naperville dataset you are working with, we developed a custom layout that we provide as a public add-in sample (see Create Diagram With A Custom Layout). I'm pretty sure that this layout fits your expectations.
On the graphic below at the left, the Splice diagram that you get by default. At the right, the one after applying the custom layout
You can notice that the sequence of fibers started with the Globalid 3E99 at the bottom at the left was properly ordered in the generated diagram. But this was not the case for the sequence of fibers ended with GlobalID 4FEB that you expect to be reversed.
In the diagram at the right (where I applied this add-in custom layout), each sequence of fibers is properly ordered from the left to the right so all fibers inside a same connector group are regrouped at a same side.
-- Splice Diagram settings --
Your sample dataset for ArcGIS Pro SDK Community samples are downloadable: https://github.com/Esri/arcgis-pro-sdk-community-samples/releases/download/3.3.0.52636/CommunitySamp...
Once this file unzipped, have a look to the materials under Data\CreateDiagramWithACustomLayout. You will get an ArcGIS Pro project referencing a version of the Communication dataset that should be close to the one you are working with. This project also references a toolbox called Communications_CustomTemplates. Please have a look to the Splice Diagram geoprocessing model under the Enclosure & Splice toolset to know more about the Splice Diagram template settings:
To know more about diagram building process and diagram template settings, please have a look to the following resources:
Anne-Yvonne
Hi @DamianoMontrasio
Here under are my comments/answers
-- Custom layouts --
Based on the communications Naperville dataset you are working with, we developed a custom layout that we provide as a public add-in sample (see Create Diagram With A Custom Layout). I'm pretty sure that this layout fits your expectations.
On the graphic below at the left, the Splice diagram that you get by default. At the right, the one after applying the custom layout
You can notice that the sequence of fibers started with the Globalid 3E99 at the bottom at the left was properly ordered in the generated diagram. But this was not the case for the sequence of fibers ended with GlobalID 4FEB that you expect to be reversed.
In the diagram at the right (where I applied this add-in custom layout), each sequence of fibers is properly ordered from the left to the right so all fibers inside a same connector group are regrouped at a same side.
-- Splice Diagram settings --
Your sample dataset for ArcGIS Pro SDK Community samples are downloadable: https://github.com/Esri/arcgis-pro-sdk-community-samples/releases/download/3.3.0.52636/CommunitySamp...
Once this file unzipped, have a look to the materials under Data\CreateDiagramWithACustomLayout. You will get an ArcGIS Pro project referencing a version of the Communication dataset that should be close to the one you are working with. This project also references a toolbox called Communications_CustomTemplates. Please have a look to the Splice Diagram geoprocessing model under the Enclosure & Splice toolset to know more about the Splice Diagram template settings:
To know more about diagram building process and diagram template settings, please have a look to the following resources:
Anne-Yvonne
Thank you so much for all the time you spent on my question, I really appreciated the content and I think I'm on the right direction.
Tell me if I proceeded well.
But this is what I obtain:
It's a correct workflow?
I'm using ArcGIS Pro 3.3.2
@DamianoMontrasio
Doing that, you updated the Splice Diagram template settings but this doesn't help to make your diagram being laid out like you expect. To apply the custom layout I told you about above to your diagram, you must install the add-in custom code. Please read the instructions here Create Diagram With A Custom Layout
I am looking for a tool that is not limited to use in ArcGIS Pro, but can also be used via a REST service.
The add-in seems designed to generate the diagrams only in ArcGIS Pro. I am wondering if this is indeed the case and if the solution to share them via the web is Store Diagrams.
Thanks for the support.
@DamianoMontrasio
Indeed, whether it can apply to a diagram created in a single database user or through a Utility Network service like shown below, this add-in command is to use in ArcGIS Pro.
However, since the main methods used in this sample custom code correspond to Network Diagrams public REST operations, nothing prevents you to apply such a custom layout through a specific command you will develop in your own custom web app.