Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uses current lua script file path to determine a project directory, allowing FilePath Parameters to load files relative to that directory. The project directory is injected into file parameters of newly created graph modules.
TODO
param->ValueString()
)What happens when stacking project files?FilePathParams remember their respective project fileOptional Lua Callback Arguments (optional project name argument)Do we really want to clear() the graph?Only FilePathParam knows about project, re-routing all file loading through project dir too intrusivevislib::sys::File
andvislib::sys::File::Exists()
must dieScreenshots and other outputs go to project dir automatically?User configures screenshot outputTest Instructions
The implementation works for all code paths going though the Project Loader Service, e.g. Drag & Drop of files into the window and "Load Project" in the GUI.
For example, modify the
infovis.lua
example to access the example data set relative to the examples directory.