Skip to content
Merged
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
56 changes: 39 additions & 17 deletions example_graphs/baby.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"version": {
"pathsim_version": "0.8.2",
"pathview_version": "0.1.dev470+g017515800.d20250812"
},
"nodes": [
{
"data": {
"gain": "-1",
"label": "x (-1)"
"label": "x (-1)",
"nodeColor": "#DDE6ED"
},
"dragging": false,
"id": "4",
Expand All @@ -23,7 +28,8 @@
"label": "Neutron rate",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"dragging": false,
"id": "6",
Expand All @@ -41,7 +47,8 @@
{
"data": {
"gain": "3e-3",
"label": "TBR"
"label": "TBR",
"nodeColor": "#DDE6ED"
},
"dragging": false,
"id": "7",
Expand All @@ -61,7 +68,8 @@
"initial_value": "",
"label": "BABY",
"residence_time": "(k_IV + k_OV)/baby_vol",
"source_term": ""
"source_term": "",
"nodeColor": "#DDE6ED"
},
"dragging": false,
"id": "8",
Expand All @@ -81,7 +89,8 @@
"label": "IV vial activity",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"dragging": false,
"id": "21",
Expand All @@ -100,7 +109,8 @@
"data": {
"f1": "0.01",
"f2": "0.99",
"label": "soluble vs insoluble"
"label": "soluble vs insoluble",
"nodeColor": "#DDE6ED"
},
"dragging": false,
"id": "1",
Expand All @@ -126,7 +136,8 @@
"label": "IV bubbler",
"conversion_efficiency": "0.95",
"vial_efficiency": "0.9",
"replacement_times": "np.arange(5, 50, step=3)"
"replacement_times": "np.arange(5, 50, step=3)",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 230,
Expand All @@ -145,7 +156,8 @@
"data": {
"label": "IV vs OV",
"f1": "k_IV/(k_IV + k_OV)",
"f2": "k_OV/(k_IV + k_OV)"
"f2": "k_OV/(k_IV + k_OV)",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -164,7 +176,8 @@
"data": {
"label": "soluble vs insoluble",
"f1": "0.01",
"f2": "0.99"
"f2": "0.99",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -184,7 +197,8 @@
"label": "OV bubbler",
"conversion_efficiency": "0.95",
"vial_efficiency": "0.9",
"replacement_times": "np.arange(5, 50, step=5)"
"replacement_times": "np.arange(5, 50, step=5)",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 230,
Expand All @@ -203,7 +217,8 @@
"data": {
"label": "environment",
"initial_value": "",
"reset_times": ""
"reset_times": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 200,
Expand All @@ -223,7 +238,8 @@
"label": "OV vial activity",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -243,7 +259,8 @@
"label": "BABY inventory",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -262,7 +279,8 @@
"data": {
"label": "Stepsource",
"amplitude": "1",
"tau": "4"
"tau": "4",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -281,7 +299,8 @@
"data": {
"label": "Stepsource",
"amplitude": "1",
"tau": "2"
"tau": "2",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -301,7 +320,8 @@
"label": "Neutron source",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand Down Expand Up @@ -800,5 +820,7 @@
"value": "1",
"nameError": false
}
]
],
"events": [],
"pythonCode": "# Define your Python variables and functions here\n# Example:\n# my_variable = 42\n# def my_function(x):\n# return x * 2\n"
}
20 changes: 14 additions & 6 deletions example_graphs/events.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"version": {
"pathsim_version": "0.8.2",
"pathview_version": "0.1.dev470+g017515800.d20250812"
},
"nodes": [
{
"id": "0",
Expand All @@ -9,11 +13,12 @@
},
"data": {
"label": "source",
"value": ""
"value": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 205,
"height": 53
"width": 206,
"height": 54
},
"selected": true
},
Expand All @@ -27,7 +32,8 @@
"data": {
"label": "integrator",
"initial_value": "",
"reset_times": ""
"reset_times": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 200,
Expand All @@ -47,7 +53,8 @@
"label": "scope 2",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand Down Expand Up @@ -136,5 +143,6 @@
"tolerance": "1e-8",
"id": 1754342253698
}
]
],
"pythonCode": "# Define your Python variables and functions here\n# Example:\n# my_variable = 42\n# def my_function(x):\n# return x * 2\n"
}
32 changes: 22 additions & 10 deletions example_graphs/events_advanced.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"version": {
"pathsim_version": "0.8.2",
"pathview_version": "0.1.dev470+g017515800.d20250812"
},
"nodes": [
{
"id": "2",
Expand All @@ -11,7 +15,8 @@
"label": "process 2",
"initial_value": "",
"residence_time": "30",
"source_term": ""
"source_term": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 200,
Expand All @@ -29,7 +34,8 @@
},
"data": {
"label": "amplifier 5",
"gain": "-1"
"gain": "-1",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 90,
Expand All @@ -49,7 +55,8 @@
"label": "scope 6",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -69,7 +76,8 @@
"label": "scope 7",
"labels": "",
"sampling_rate": "",
"t_wait": ""
"t_wait": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 120,
Expand All @@ -87,7 +95,8 @@
},
"data": {
"label": "adder 8",
"operations": ""
"operations": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 64,
Expand All @@ -106,7 +115,8 @@
"data": {
"label": "storage",
"initial_value": "startup_inv",
"reset_times": ""
"reset_times": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 200,
Expand All @@ -129,11 +139,12 @@
"duty": "",
"t_fall": "",
"t_rise": "",
"tau": ""
"tau": "",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 205,
"height": 53
"width": 206,
"height": 54
},
"selected": true,
"dragging": false
Expand All @@ -147,7 +158,8 @@
},
"data": {
"label": "amplifier 12",
"gain": "1.1"
"gain": "1.1",
"nodeColor": "#DDE6ED"
},
"measured": {
"width": 90,
Expand Down
Loading
Loading