开源库设计有向图 [英] Open source libraries to design directed graphs

查看:113
本文介绍了开源库设计有向图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将需要编写一个程序,其中列出了一些人员,并以有针对性的方式将它们连接在一起。整个项目的GUI方面非常重要。该图必须允许很多互动。例如选择几个人并隐藏其他人,移动他们。

I'm going to need to write a program that takes a list of persons and connects them together in a directed-graph-like manner. The GUI aspect of the whole project is very important. The graph must allow a lot of interaction. Such as selecting several people and hiding the others, moving them around.

此外,该软件将需要能够提供其他类型的GUI功能,如几个选项卡,文本框等。

Additionally, the software will need to be able to provide other kind of GUI-features such as several tabs, text boxes etc.

应用程序必须非常有效。因此,我想知道哪些开放源码库(在这一点上他们的编程语言是这样的),因此,它必须能够处理数百个甚至数千个小部件。

The application must be quite efficient. As in, it must be able to handle hundreds if not thousands of widgets.

被写在无关紧要 - 我只是想要一个很好的概述在那里)将允许我开发这样的软件?你会推荐什么?

Hence, I would like to know which open source libraries (at this point the programming language they are written in does not matter - I just want an overview of everything good that is out there) would allow me to develop such piece of software? What would you recommend?

编辑:您还可以链接到教程,说明如何编程可以与生成的图形交互的GUI?例如鼠标事件。

Could you please also link to tutorials explaining how I could program a GUI that can interact with the generated graph? For example mouse events.

推荐答案

JGraphT JGraph 结合使用。

在这里查看基本互动的简单演示

Check here for a simple demo with basic interaction

这篇关于开源库设计有向图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆