User preferences are stored in the file structure101.java.ini, located in the (platform-specific) "user" directory. On Windows, this is usually C:\Documents and Settings\<username>\Structure101\java.
To use a different directory, provide a file "paths.ini" in the installation directory with an entry in the following form:
options-dir=<path>
(Note: paths.ini is included automatically for Mac OSX distributions and points to Library/Structure101 Studio for Java)
Most preferences (e.g. window and splitter locations, recent files and repositories, option settings, etc.) are inferred directly from the UI.
A very small number of settings can only be changed by directly editing the preferences file. One such example is the thresholds for displaying graphs (if the value for a particular graph is bigger than the relevant threshold, you will see a "This graph is too big to display" message). To change the defaults, look for the following section in the preferences file and edit as appropriate.
[graph-thresholds]
max-diagram-edges-partitioned=500
max-diagram-edges-unpartitioned=300
max-model-nodes=2400 use-custom-graph-sizing=true
To ensure custom settings are used, the use-custom-graph-sizing must be true. If not, then settings determined by the application will be used.
To reset all preferences to defaults, just delete the preferences file.
Note:
- If editing or resetting preferences, make sure that Structure101 Studio is not running - otherwise it will overwrite any changes on exit!