translated

This commit is contained in:
geekpi 2021-12-10 08:56:49 +08:00
parent 997de37f0d
commit aedeb8124b
2 changed files with 99 additions and 99 deletions

View File

@ -1,99 +0,0 @@
[#]: subject: "Gaphor: Open Source Graphical Modeling Tool"
[#]: via: "https://itsfoss.com/gaphor-modeling-tool/"
[#]: author: "Abhishek Prakash https://itsfoss.com/author/abhishek/"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Gaphor: Open Source Graphical Modeling Tool
======
Gaphor is a free and open source modeling application with support for various modeling languages such as UML, [SysML][1], RAAML and C4.
Not aware of the term “modeling language”? Basically, its a set of instructions that can be used to create the design and constructions of structures. It could be textual and graphical, both.
The graphical one is easier to look at and figure out how various components of the project are related to each other.
Have you seen a flowchart or sequence diagrams? Those are also a type of graphical modeling in the simplest form.
![Sequence diagram example][2]
There are various modeling languages and they are used for software development, system engineering, physics, project management and more.
### Gaphor for UML, SysML and more
[Gaphor][3] works with the UML, SysML, and RAAML OMG standards. It also includes support for the C4 model for visualizing software architectures.
Its not just a [drawing tool][4]. It implements a fully-compliant UML 2 data model. You can create highly complex models with Gaphor.
![][5]
Written in Python, Gaphor is completely open source under Apache 2 license. You can find all its source code on [its GitHub repository][6]. It is a cross-platform tool and available to install on Linux, Windows and macOS.
You can export your diagrams in PDF, PNG, SVG and XML formats. You can also plug-in a code generator.
Gaphor website mentions that it has dark mode but I didnt see any options to enable it in the AppImage version I downloaded.
### Installing Gaphor on Linux
![Gaphor user interface][7]
Arch users can find Gaphor in the AUR. For other distributions, you have the choice of choosing between [AppImage][8] and Flatpak.
You can download the AppImage from its download page.
[Download Gaphor][9]
If you want to use the Flatpak version, add the Flathub repository first:
```
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
```
And then install it:
```
flatpak install --user flathub org.gaphor.Gaphor
```
Since Gaphor is essentially a Python application, you can install it [using Pip][10] as well.
```
pip install gaphor
```
I used UML and sequence diagrams when I worked as a software engineer. I havent used it in the last few years. Looking at Gaphor, I think its a pretty cool app to have if you have to create UML and other diagrams for your projects.
Feel free to give it a try and share your experience in the comments.
--------------------------------------------------------------------------------
via: https://itsfoss.com/gaphor-modeling-tool/
作者:[Abhishek Prakash][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/abhishek/
[b]: https://github.com/lujun9972
[1]: https://sysml.org/
[2]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/12/sequence-diagram-example-800x364.png?resize=800%2C364&ssl=1
[3]: https://gaphor.org/
[4]: https://itsfoss.com/open-source-paint-apps/
[5]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2021/12/gaphor-uml-screenshot.jpg?resize=800%2C570&ssl=1
[6]: https://github.com/gaphor
[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2021/12/gaphor-example-800x445.png?resize=800%2C445&ssl=1
[8]: https://itsfoss.com/use-appimage-linux/
[9]: https://gaphor.org/download.html#linux
[10]: https://itsfoss.com/install-pip-ubuntu/

View File

@ -0,0 +1,99 @@
[#]: subject: "Gaphor: Open Source Graphical Modeling Tool"
[#]: via: "https://itsfoss.com/gaphor-modeling-tool/"
[#]: author: "Abhishek Prakash https://itsfoss.com/author/abhishek/"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Gaphor开源的图形化建模工具
======
Gaphor 是一个免费和开源的建模应用,支持各种建模语言,如 UML、[SysML][1]、RAAML 和 C4。
不知道“建模语言”这个词?基本上,它是一组可以用来创建设计和构造结构的指令。它可以是文字的,也可以是图形的。
图形化的更容易看,也更容易弄清楚项目的各个组成部分是如何相互关联的。
你见过流程图或顺序图吗?那些也是一种最简单形式的图形建模。
![Sequence diagram example][2]
有各种建模语言,它们被用于软件开发、系统工程、物理学、项目管理等方面。
### 用于 UML、SysML 等的 Gaphor
[Gaphor][3] 使用 UML、SysML 和 RAAML OMG 标准。它还包括对 C4 模型的支持,用于软件架构的可视化。
它不仅仅是一个[绘图工具][4]。它实现了一个完全兼容的 UML 2 数据模型。你可以用 Gaphor 创建高度复杂的模型。
![][5]
用 Python 编写的 Gaphor 在 Apache 2 许可下是完全开源的。你可以在[其 GitHub 仓库][6]找到它的所有源代码。它是一个跨平台的工具,可以安装在 Linux、Windows 和 macOS 上。
你可以以 PDF、PNG、SVG 和 XML 格式导出你的图表。你还可以插入一个代码生成器。
Gaphor 网站提到它有深色模式,但我在下载的 AppImage 版本中没有看到任何选项可以启用它。
### 在 Linux 上安装 Gaphor
![Gaphor user interface][7]
Arch 用户可以在 AUR 中找到 Gaphor。对于其他发行版你可以选择 [AppImage][8] 和 Flatpak。
你可以从其下载页面下载 AppImage。
[下载 Gaphor][9]
如果你想使用 Flatpak 版本,请先添加 Flathub 仓库:
```
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
```
然后再安装它:
```
flatpak install --user flathub org.gaphor.Gaphor
```
由于 Gaphor 本质上是一个 Python 应用,你也可以[使用 Pip][10] 安装它。
```
pip install gaphor
```
当我是一名软件工程师工作时,我使用 UML 和序列图。在过去的几年里,我没有使用它。看看 Gaphor我认为如果你必须为你的项目创建 UML 和其他图表,它是一个相当不错的应用。
欢迎试一试,并在评论中分享你的经验。
--------------------------------------------------------------------------------
via: https://itsfoss.com/gaphor-modeling-tool/
作者:[Abhishek Prakash][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/abhishek/
[b]: https://github.com/lujun9972
[1]: https://sysml.org/
[2]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/12/sequence-diagram-example-800x364.png?resize=800%2C364&ssl=1
[3]: https://gaphor.org/
[4]: https://itsfoss.com/open-source-paint-apps/
[5]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2021/12/gaphor-uml-screenshot.jpg?resize=800%2C570&ssl=1
[6]: https://github.com/gaphor
[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2021/12/gaphor-example-800x445.png?resize=800%2C445&ssl=1
[8]: https://itsfoss.com/use-appimage-linux/
[9]: https://gaphor.org/download.html#linux
[10]: https://itsfoss.com/install-pip-ubuntu/