Hi everyone,
We know that point symbols can be rotated in our maps, so that a symbol for a circuit breaker, for example, shows the correct 'open' or 'closed' status. See Example symbol rotation in map. But our team is wondering if similar automatic rotation of point symbols can be done in diagrams, and if it's aligned with the horizontal and vertical lines in the diagram, or if it will keep the rotation that is used in the map. We would like to use this for our single line diagrams.
If you have experience with this, we'd love to hear it! 🙂
Solved! Go to Solution.
Hi @LydiaStekkinger,
Yes such a symbol rotation can be set up on your diagram junctions like in the diagrams below:
Moreover, there is an easy way to get symbol settings present in your map on your diagrams. Indeed, to import any layer settings set up in your network map to your diagrams, you can run the Create Diagram Layer Definition tool on your diagram template (see https://pro.arcgis.com/en/pro-app/latest/help/data/network-diagrams/initialize-a-custom-diagram-laye... for more details about the workflow steps).
Note: Please watch the Defining Nice Layer for Better Network Diagrams video for more details about network diagram layer management and configuration.
About the next point, will it "align with the horizontal and vertical lines in the diagram, or will it keep the rotation that is used in the map" => it will keep the rotation that is used in the map by default...
However, we provide a Pro add-in sample code with custom commands that you can use to easily rotate diagram junction symbols like you expect! This add-in command edits the Element Rotation field of the diagram junction, then the newly edited Element Rotation value can reflect on the diagram junction symbol like in the graphic below 🙂
NOTE: if you store your diagram, these Element Rotation field value will be kept with your diagram. Each time you open your diagram, it opens with the custom symbol rotation you edited
You can download this Pro add-in code sample here
Hi @LydiaStekkinger,
Yes such a symbol rotation can be set up on your diagram junctions like in the diagrams below:
Moreover, there is an easy way to get symbol settings present in your map on your diagrams. Indeed, to import any layer settings set up in your network map to your diagrams, you can run the Create Diagram Layer Definition tool on your diagram template (see https://pro.arcgis.com/en/pro-app/latest/help/data/network-diagrams/initialize-a-custom-diagram-laye... for more details about the workflow steps).
Note: Please watch the Defining Nice Layer for Better Network Diagrams video for more details about network diagram layer management and configuration.
About the next point, will it "align with the horizontal and vertical lines in the diagram, or will it keep the rotation that is used in the map" => it will keep the rotation that is used in the map by default...
However, we provide a Pro add-in sample code with custom commands that you can use to easily rotate diagram junction symbols like you expect! This add-in command edits the Element Rotation field of the diagram junction, then the newly edited Element Rotation value can reflect on the diagram junction symbol like in the graphic below 🙂
NOTE: if you store your diagram, these Element Rotation field value will be kept with your diagram. Each time you open your diagram, it opens with the custom symbol rotation you edited
You can download this Pro add-in code sample here
Hello,
very interesting tool.
The correct, public URL is : https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/NetworkDiagram
Thanks @PierreloupDucroix !
Hi @AnneYvonneBlin, thank you for the explanation and code, that sounds great! I will take it back to our team.