如何可视化网络 [英] How to visualize network
问题描述
嗨。
我有几个节点(只是ids,没有任何坐标)和
链接它们之间(加权)。
有没有现成的解决方案可以在php中显示这个网络?
谢谢
itschy
Hi.
I have a couple of nodes (just ids, no coordinates whatsoever) and
links betweens them (weighted).
Is there any existing solution to visualize this network in php?
Thanks
itschy
推荐答案
itschy写道:
itschy wrote:
我有几个节点(只是ids,没有任何坐标)和
链接它们(加权)。
是否有任何现有的解决方案可以在php中显示这个网络?
I have a couple of nodes (just ids, no coordinates whatsoever) and
links betweens them (weighted).
Is there any existing solution to visualize this network in php?
你必须问自己以下问题:
是否有任何现有的解决方案可以用HTML可视化这个网络? br />
干杯,
-
----------------------- -----------
$ b $bIvánSánchezOrtega-ivansanchez-algarroba-escomposlinux-punto-org-
El tiempo libreesmás volátilqueeléter...
You have to ask yourself the following question:
Is there any existing solution to visualize this network in HTML?
Cheers,
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
El tiempo libre es más volátil que el éter...
你好,
itschy写道:
Hello,
itschy wrote:
嗨。
我有几个节点(只是ids,没有任何坐标)和
之间的链接(加权)。
有没有现成的解决方案可以在php中显示这个网络?
谢谢
itschy
Hi.
I have a couple of nodes (just ids, no coordinates whatsoever) and
links betweens them (weighted).
Is there any existing solution to visualize this network in php?
Thanks
itschy
PHP支持创建图像,所以我的猜测是 - 如果我正确理解了
问题 - 你只需要找到一种方法来绘制点和
线,使它们更厚关于它们的重量。
我确定存在一些例子,但我不能说实话。
- Jensen
PHP has support to create images, so my guess is - if I understand the
problem correctly - you''ll just need to find a way to draw dots and
lines, making them thicker depending on the weight they have.
I''m sure some examples exist, but I can''t really name one to be honest.
- Jensen
1月18日23:31,Jensen Somers< jensen.som ... @ gmail.comwrote:
On 18 Jan., 23:31, Jensen Somers <jensen.som...@gmail.comwrote:
PHP支持创建图像,所以我的猜测是 - 如果我正确理解了
问题 - 你只需要找到一种方法来绘制点和
线条,根据它们的重量使它们更厚。
PHP has support to create images, so my guess is - if I understand the
problem correctly - you''ll just need to find a way to draw dots and
lines, making them thicker depending on the weight they have.
不完全。
你错过了那个部分,我提到我没有任何
坐标的节点。因此,我只是画它们,因为我不知道b $ b知道在哪里。 :)
我寻求的是一些解决方案,根据我对边缘的信息(即连接或不连接,
)找到一个表示。
以及是否,他们有多少重量/行长度。
例如:
我有三个节点A,B,C和3连接a(A,B,3),b(B,C,4),c(A,C,
5)(每个都有关于from_node,to_node和weight / length的信息。 />
在这个szenario中,只有两种方法可以正确地绘制
网络:
A-- --- CB
3 \ / 4 3 / \4
B A ----- C
5 >
和他们的轮换。
我试图找到一些能够做到这一点的工具/算法(并在php中绘制
) 。
运气好我猜... :(
itschy
Not quite.
You missed the part, where I mentiond that I do not have any
coordinates of the nodes. Thus I''cant just draw them, cause I don''t
know where. :)
What I seek is some solution, which finds a representation according
to the information I have about the edges (that is, connected or not,
and if, what weight/line length do they have).
E.g.:
I have three nodes A,B,C and 3 connections a(A,B,3), b(B,C,4), c(A,C,
5) (each with infos about from_node, to_node and weight/length.
In this szenario, there are only two possible ways to draw that
network correctly:
5
A-----C B
3\ /4 3/ \4
B A-----C
5
And their rotations.
I try to find some tool/algorithm which is able to do this (and draw
it) in php.
Tough luck I guess... :(
itschy
这篇关于如何可视化网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!