cytoscape安装java,在Java中使用Cytoscape工具来构建图形

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

Bill gates founded Microsoft.

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.

Enter node1: Bill Gates

Enter node2: Microsoft

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.

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, cited here, is a meta-library for creating custom graph editors.

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

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

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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值