RFR: JDK-8324950: IGV: save the state to a file [v10]
Tobias Holenstein
tholenstein at openjdk.org
Mon Apr 8 11:03:33 UTC 2024
> The current workflow in IGV is the following:
> 1) import an XML file with graphs or send via network
> 2) open or more graphs in a tab
> 3) extract a set of nodes to be displayed in the tab
> 4) close IGV and start from 1) again
>
> The idea of this RFE is to save the important **states** of IGV to a workspace directory:
> - imported graphs (_graphs.xml_)
> - opened graph tabs + extracted nodes (_state.igv_)
>
>
> ### Saving the state of IGV
> - For IGV to save the state it needs a workspace, which can be passed in 3 different ways:
> 1) Using a global variable : `IGV_WORKSPACE=path/to/igv_workspace ./igv.sh`
> 2) Passed as an argument : `./igv.sh path/to/igv_workspace `
> 3) With default location `IdealGraphVisualizer/workspace` : `./igv.sh`
>
> Open IGV with the following example workspace (unzipped) [igv_workspace.zip](https://github.com/openjdk/jdk/files/14311092/igv_workspace.zip) should look something like this:
> 
>
>
> ### Workspace
> A workspace is a directory where IGV saves imported graphs as _graphs.xml_ and opened graph tabs to _state.igv_. A workspace is loaded when IGV is opened. The current workspace is saved when IGV is closed or when the workspace is changed to a different directory. When changing a directory the state of the new workspace is loaded.
> - Click here to select a different workspace directory
> 
>
> - Imports an XML file (group and graphs) into the current workspace
> 
>
> - saves the state of the current workspace
> 
> - imported graphs (_graphs.xml_)
> - opened graph tabs + extracted nodes (_state.igv_)
>
>
> - Export the selected groups to a separate XML file
> 
>
> - Delete the selected groups and graphs
> 
>
> - Clear the workspace and delete all groups and graphs
> 
>
>
>
> ---------
> ### Progress
> - [ ] Change must be properly reviewed (1 review required, with at least 1 [Reviewer](https://openjd...
Tobias Holenstein has updated the pull request incrementally with one additional commit since the last revision:
copyright year
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17630/files
- new: https://git.openjdk.org/jdk/pull/17630/files/1c880edf..17cd1c5e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17630&range=09
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17630&range=08-09
Stats: 981 lines in 28 files changed: 447 ins; 448 del; 86 mod
Patch: https://git.openjdk.org/jdk/pull/17630.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17630/head:pull/17630
PR: https://git.openjdk.org/jdk/pull/17630
More information about the hotspot-compiler-dev
mailing list