This tool provides three ways to visualize SDE database version states and their relationships in ArcGIS desktop.
As needed:
- Install R 3.3.2 or later.
- Install The R-ArcGIS bridge.
- The bridge is easy to install with ArcGIS Pro via geoprocessing settings
(Stepwise directions, be patient at step 3 be patient as it takes a moment for the home directories list to be populated. Also, ArcGIS Pro will need to be restarted after insalling the R-ArcGIS bridge.)
- Or, follow the instructions for installing offline or with ArcMap (note: the bridge only needs to be installed once via any of the methods).
- Download and unzip a copy of this repository in a convenient location (top right green button).
- In ArcGIS Pro or ArcMap, browse to the repository folder and open the Create_State_Diagram toolbox in the catalog window and open the Create state tree diagram model.
- Browse to the desired database connection file - note: the connection must use geodatabase administrator credentials.
- Select one or more of the desired output formats.
- Click Run or OK. (The first time the model runs it will install the required external packages).
- Diagram features are added to the current map without a spatial reference and centered near 0, 0. This seems to work fine with an empty map document in ArcMap or a map with default Web Mercator projection in ArcGIS Pro. In some cases, it may be necessary to zoom to the features to view the diagram and experiences with other spatial references and projections may vary.
- The default symbology and labels of the features in ArcMap or ArcGIS Pro can be changed in ArcMap by symbolizing a diagram as desired and saving layer files over the default files stored in the StateTreeFiles folder.
- Tested against Microsoft SQL Server, PostgreSQL, and Oracle databases. The tool may work with other databases but has not been tested.
- If the Y dimension of the diagram is very large, ArcMap or ArcGIS Pro may crash.
- If the diagram is lacking some of the possible vertex categories, the symbology may be shifted in ArcGIS Pro.
- Oracle user schema databases not supported.
- Please report any issues!