Skip to content

Commit 8f8e869

Browse files
author
Brad Carman
committed
update to MTK v9
1 parent 4af3102 commit 8f8e869

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ModelingToolkitDesigner"
22
uuid = "23d639d0-9462-4d1e-84fe-d700424865b8"
33
authors = ["Brad Carman <[email protected]>"]
4-
version = "1.2.0"
4+
version = "1.3.0"
55

66
[deps]
77
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
@@ -14,12 +14,12 @@ TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
1414

1515
[compat]
1616
CairoMakie = "0.11"
17-
FileIO = "1.16"
17+
FileIO = "1"
1818
FilterHelpers = "0.2"
1919
GLMakie = "0.9"
20-
ModelingToolkit = "8"
20+
ModelingToolkit = "9"
2121
ModelingToolkitStandardLibrary = "2"
22-
TOML = "1.0"
22+
TOML = "1"
2323
julia = "1.6"
2424

2525
[extras]

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
The ModelingToolkitDesigner.jl package is a helper tool for visualizing and editing ModelingToolkit.jl system connections.
44

55
# Updates
6+
## v1.3
7+
- updating to ModelingToolkit v9
8+
69
## v1.1.0
710
- easier component selection (one only needs to click inside the boarder box)
811

src/ModelingToolkitDesigner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ end
942942
get_style(design::ODESystemDesign) = get_style(design.system)
943943
function get_style(system::ODESystem)
944944

945-
sts = ModelingToolkit.get_states(system)
945+
sts = ModelingToolkit.get_unknowns(system)
946946
if length(sts) == 1
947947
s = first(sts)
948948
vtype = ModelingToolkit.get_connection_type(s)

0 commit comments

Comments
 (0)