-3

我必须将输入可视化为图形。我的输入将采用以下任何一种格式。(RDF、邻接表、邻接矩阵)。我现在不关心输入的结构。我必须以图形的形式直观地表示输入。例如,如果我的 RDF 查询如下。

<sachin Tendulkar, plays, cricket>

我必须以图形格式表示上述内容。我的输入不会是恒定的,它会不时变化。所以,我不想使用一些图形生成工具。我必须从用户那里获取输入,并根据他的输入生成图表。

4

2 回答 2

2

You say you don't want to use "some graph generation tool", but it seems to me that the simplest approach would be to get a good tool, or graph library, and then normalise your input to whatever format the tool/library expects.

于 2013-02-22T02:36:12.333 回答
0

If you try to Plot[sachin Tendulkar, plays, cricket] in a program like Mathematica the output is:

enter image description here

You will need some numeric data to generate Graphs.

于 2013-02-22T02:36:13.697 回答