You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In schema-viz as working directory, preview with python3 -m http.server2.
🤔 Future enhancement: write a script that consolidates these steps to make the viz data files, rename them, move them to the correct location, and clean up all the byproduct intermediates *schema.json files. (e.g. called update_viz_data.py or update_viz_data.sh)
🤖 @anngvu set up GitHub pages publishing to publish from schema-viz subdir, see docs.
🤔 Future enhancement: update CI workflow to automate viz data updates using update_viz_data.py3.
The interactive figure can be included very easily in any static HTML site as seen with example. If using Confluence app for docs, use an iframe. However, using D3.js in React-based sites needs extra work (see this article).
Alternatively, somewhat better for development is using nodejs http-server and specify no caching: http-server -c-1.
Per Mialy, making sure that visualization doesn't break with model updates is a nice informal enforcement to ensure directed acyclic graph (DAG) -- which is not something formally checked via schematic yet.
The text was updated successfully, but these errors were encountered:
This issue tracks the schema viz adoption. We give a FAIR tryout of the updated tangled tree (D3.js-based) viz1, with HTAN example here.
schema-viz
subdir in repo and adapt/debug/test as needed.schematic viz -c config.yml tangled_tree_layers -ft component
to get a JSON file. Rename this to justnf-research-tools.json
.schematic viz -c config.yml attributes
to get a csv file. Rename this to justnf-research-tools-attributes.csv
.schema-viz/data
directory, so we have something that looks like this:schema-viz
as working directory, preview withpython3 -m http.server
2.*schema.json files
. (e.g. calledupdate_viz_data.py
orupdate_viz_data.sh
)schema-viz
subdir, see docs.update_viz_data.py
3.Extra Notes
http-server -c-1
.The text was updated successfully, but these errors were encountered: