Cytoscape 类似 Java 中的工具来构建图形 [英] Cytoscape like tools in java to build a graph

查看:28
本文介绍了Cytoscape 类似 Java 中的工具来构建图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要构建图表作为项目要求的一部分.假设,我以如下格式指定了我的输入.

I need to build graphs as part of a project requirement. Suppose, I have my inputs specified in the format as below.

比尔盖茨创立了微软.

我需要将上述内容以图形方式表示为节点表示(节点 1 可以是比尔盖茨,节点 2 可以是微软).我遇到了 cytoscape,这是一种用于有效表示分子相互作用的工具.它允许用户创建新插件并简单地将它们添加到应用程序中.但是,我的要求更像是从用户那里获取输入并在此基础上构建图表.例如,我的输入如下.

I need to represent the above as node representations pictorially(node1 can be Bill gates and node2 can be Microsoft). I came across cytoscape, a tool used for representing molecular interactions effectively. It allows the user to create new plugins and simply add them in the application. However, my requirement is more like getting the input from user and building the graph based on that. For example, my inputs will be as below.

进入node1:比尔盖茨进入node2:微软

Enter node1: Bill Gates Enter node2: Microsoft

我需要将上述内容显示为图形表示.请让我知道如何去做.我将代表一个巨大的图表.(即)我的输入可能包含大约 50k 个节点和边.所以我更喜欢一些图形构建工具,它具有一些用于接受输入的预定义格式.

I need to show the above as a graph representation. Kindly let me know on how to go about it. I will be representing a huge graph. (i.e.) My input may contain around 50k nodes and edges. So I prefer some graph building tool which has some predefined format for accepting the input.

所以,基本上我将接受用户的输入并将它们转换为图形构建工具正在使用的格式,并在 java 控制台或用户界面中显示来自该工具的图形.

So, basically I will be accepting the input from users and convert them to the format that the graph building tool is using and display the graph from the tool in the java console or user interface.

如果您需要更多详细信息,请告诉我.

Let me know if you need more details.

推荐答案

很大程度上取决于您计划解决此问题的级别.更大的库更强大,但它们通常具有更陡峭的学习曲线.以下是一些需要考虑的方法:

A lot depends on the level at which you plan to address this problem. Larger libraries are more powerful, but they typically have a steeper learning curve. Here are some approaches to consider:

  • JHotDraw,引用此处,是一个用于创建自定义的元库图形编辑器.

  • JHotDraw, cited here, is a meta-library for creating custom graph editors.

Prefuse,演示了 此处,支持图形建模、可视化和交互.

Prefuse, demonstrated here, supports graph modeling, visualization, and interaction.

GraphViz,检查了 这里,是由 AT&T 开发的图形可视化库.

GraphViz, examined here, is a graph visualization library developed by AT&T.

JGraph,链接此处,是一个流行的图形可视化库.

JGraph, linked here, is a popular graph visualization library.

GraphPanel,图解此处,显示了一个非常基本的图形编辑面板.

GraphPanel, illustrated here, shows a very basic graph editing panel.

这篇关于Cytoscape 类似 Java 中的工具来构建图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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