Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/Benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Benchmarks
on:
pull_request_target:
branches: [main]
branches: [ main ]
workflow_dispatch:
permissions:
pull-requests: write
jobs:
bench:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
Expand All @@ -17,8 +17,6 @@ jobs:
- "1"
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: MilesCranmer/AirspeedVelocity.jl@action-v1
with:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ concurrency:
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
permissions:
# needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
Expand All @@ -29,14 +30,11 @@ jobs:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v3
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/Integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ concurrency:
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
permissions:
# needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
Expand All @@ -26,22 +27,14 @@ jobs:
- "1"
os:
- ubuntu-latest
arch:
- x64
package:
- { user: PalmStudio, repo: XPalm.jl, branch: main, default: main }
- {
user: VEZY,
repo: PlantBioPhysics.jl,
branch: master,
default: master,
}
- { user: VEZY, repo: PlantBioPhysics.jl, branch: master, default: master }
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@v1
- name: Clone Downstream
uses: actions/checkout@v6
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
docs/Manifest.toml
test/Manifest.toml
docs/build/
benchmark/Manifest.toml
benchmark/Manifest.toml
frontend/node_modules/
frontend/dist/
2 changes: 1 addition & 1 deletion docs/src/working_with_data/inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ outputs = run!(
)
```

In multiscale runs, type promotion is used by [`GraphSimulation`](@ref) during status template creation, `RefVector` creation, output preallocation, and initialization from MTG node attributes.
In multiscale runs, type promotion is used by `GraphSimulation` during status template creation, `RefVector` creation, output preallocation, and initialization from MTG node attributes.


## Special considerations for new input types
Expand Down
8 changes: 8 additions & 0 deletions frontend/.vite/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"hash": "9cb674f6",
"configHash": "2b83bb6c",
"lockfileHash": "dfbd2d0d",
"browserHash": "d060dbeb",
"optimized": {},
"chunks": {}
}
3 changes: 3 additions & 0 deletions frontend/.vite/deps/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
24 changes: 24 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# PlantSimEngine Dependency Graph Viewer

This is the React Flow frontend for the PlantSimEngine dependency graph viewer.
It consumes the JSON emitted by `PlantSimEngine.graph_view_json`.

## Development

```sh
npm install
npm run dev
```

The app falls back to a small sample graph when no embedded
`<script id="pse-graph-data" type="application/json">` payload is present.

## Build

```sh
npm run build
```

The Julia package does not require Node, npm, or Bun for the standalone HTML
export path. JavaScript tooling is only needed when developing or bundling this
frontend.
12 changes: 12 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PlantSimEngine Dependency Graph</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading
Loading