gaphor / gaphor-utterances

Comments on https://docs.gaphor.org
0 stars 0 forks source link

en/latest/index #1

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Gaphor documentation

https://gaphor.readthedocs.io/en/latest/index.html

groovyman commented 1 month ago

Dear sirs, this is a quite nice application. I was using MagicDraw before, and i am now looking for some alternatives. What are the benefits for me (a Java developper) when i switch to Gaphor. Can i import/export models from/to Java ?

amolenaar commented 1 month ago

Hi @groovyman, welcome.

What are the benefits ...

Gaphor is not as extensive as MagicDraw, but is a lot more open. You can use Gaphor as a (python) library to generate, and validate models. Gaphor features a modern event-driven system, based on services.

Gaphor is multi-platform, so your colleagues running Windows/macOS/Linux can all use it.

I suppose the benefits depend on what you want to achieve with it. For me, I use it to make (logical) models, so I have a conceptual idea of the problem domain. For the physical code, I use TDD (test driven development), not code generation/import.

If you want to create models from code, you can have a look at the Jupyter notebook example, that generates a dependency diagram from the services that make Gaphor.

Can i import/export models from/to Java ?

There's no such feature in Gaphor. For any language. You should be able to create one pretty easily, if you're able to parse a Java file. We do have a gaphor.coder package which contains a specific code generator for Gaphor models, but this is for the models that Gaphor uses itself.