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

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

问题描述

我将需要编写一个程序,该程序获取人员列表并以类似有向图的方式将他们连接在一起.整个项目的 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 结合 JGraphT 怎么样?a href="http://www.jgraph.com/jgraph.html" rel="noreferrer">JGraph.

How about JGraphT in combination with JGraph.

在此处查看带有基本交互的简单演示

Check here for a simple demo with basic interaction

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

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