Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] GUI #95

Open
tshort opened this issue Feb 28, 2019 · 7 comments
Open

[Feature request] GUI #95

tshort opened this issue Feb 28, 2019 · 7 comments

Comments

@tshort
Copy link
Contributor

tshort commented Feb 28, 2019

A GUI to edit components might make a good Google Summer of Code project.

One approach to implementing a GUI might be the CImGui package (discourse announcement). In the ImGui ecosystem, there is interesting work around different node editors. See this issue. Try the "ImGui Node Graph Editor" widget here, an online demo of one implementation.

@HildingElmqvist
Copy link
Contributor

I have started working on a Modia connection editor. I am using the Genie.jl framework. The plan is to get a summer intern to accelerate the development. I agree that defining a Google Summer of Code project might be an option.

CImGui seem to be overkill for this. I would prefer to keep it simple and Julia/Javascript/HTML5-based.

@nxtruong
Copy link

nxtruong commented Jun 5, 2019

I'm really interested in a GUI for Modia. Why don't you utilize OpenModelica's OMEdit GUI? Although OMEdit doesn't run in Julia, you can use it as an external program and interface it with Modia as an engine. Also, I think it'd be great to have interoperability between Modelica and Modia, specifically a way to automatically translate from Modelica to Modia, or to load Modelica models/libraries into Modia/Julia. That way Modia users have immediate access to many Modelica libraries out there (for example https://simulationresearch.lbl.gov/modelica/ is in my interest).

@Judochopalots
Copy link

Or the javascript library Draw2D http://www.draw2d.org/draw2d/ which looks quite nice.

An example of what could be done is shown in the Brainbox app, which uses Draw2D.
https://freegroup.github.io/brainbox/

That said, I'm not sure how well it scales. Whatever is used should be tested for large models.

@HildingElmqvist
Copy link
Contributor

We are working on a connection editor for Modia and also a 3D composition editor for Modia3D. It is based on three.js.

I have tried out draw2d and although it has some nice features, I don't consider it sufficient due to lack of support for 3D.

@BYuXi
Copy link

BYuXi commented May 17, 2020

We are working on a connection editor for Modia and also a 3D composition editor for Modia3D. It is based on three.js.

I have tried out draw2d and although it has some nice features, I don't consider it sufficient due to lack of support for 3D.

I have seen the information of modator on modia3D, but I don't know what its content is? Including the range it supports, the architecture, and its release time.
In addition, if I understand correctly, are you saying that draw2D can support component connections, but does not support the functions under the 3D modelling, right?

@JosePereiraUA
Copy link

Hi, any updates on a Julia-based node graph editor / connection editor? I'm actively looking for something like this for ages, and there's not an easy and simple solution. Any help would be much appreciated!

@ufechner7
Copy link

Have a look at https://github.com/robertobucher/pysimCoder for some ideas how to write such a GUI...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants