使用 GEF 与 ZEST 绘制图表?

发布于 2024-09-16 05:23:32 字数 82 浏览 3 评论 0原文

ZEST 已包含在 GEF 库中。我对何时使用 GEF、何时使用 ZEST 有点困惑。我想知道什么时候使用 GEF 比使用 ZEST 更好,反之亦然?

ZEST was included in the GEF library. I am a bit confused about when to use GEF and when to use ZEST. I would like to know when using GEF is better than using ZEST, and the other way around?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

久夏青 2024-09-23 05:23:32

简而言之,GEF 更适合图形编辑器。例如,如果需要让用户绘制流程图。而 Zest 更适合图形输出。 Zest 仍然支持与图形组件交互(例如选择和移动)。

如果您需要绘制图形(节点和弧),Zest 是更好的选择,因为它是专门为此任务而设计的。它恰好包含您需要的组件,包括图形布局算法。根据我的经验,它非常容易使用(它曾在 nWire 中使用)。

Simply put, GEF is better suited for Graphical Editors. For example, if you need to let the user draw a flow chart. While Zest is better for graph output. Zest still enables interaction with graph components (like selection and movement).

If you need to draw a graph (nodes and arcs), Zest is a better choice because it was specifically designed to this task. It contains exactly the components you need, including graph layout algorithms. From my experience, it is very easy to use (it was used in nWire).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文