图路径在AGE Viewer中不可见。

huangapple go评论58阅读模式
英文:

Graph path not visible in AGE Viewer

问题

我正在尝试使用AGE Viewer可视化在AGE中创建的图的查询,但我看不到我创建的图。这是问题的截图:图路径在AGE Viewer中不可见。

我按照以下步骤精确操作以可视化图形:

npm run setup

接着执行:

npm run start

我该如何解决这个问题,以便能够轻松可视化查询路径?

英文:

I am trying to visualize the queries of a graph created in AGE using AGE Viewer but I can't see the graph I created. This is the issue 图路径在AGE Viewer中不可见。

I followed the exact steps to visualizing a graph using
npm run setup
followed by
npm run start.
How can I solve this and make graph path display so I can easily visualize queries?

答案1

得分: 1

在页面顶部的提示中输入您的查询,然后执行,之后图形将会出现。
一个查询示例:

SELECT * FROM cypher('graph_name',
$$
MATCH (V1)-[R]-(V2)
RETURN V1, R, V2
$$) AS (V1 agtype, R agtype, V2 agtype);
英文:

In the prompt at the top of the page type your query and execute after that, the graph will appear.
A query example:

SELECT * from cypher('graph_name',
$$
MATCH (V1)-[R]-(V2)
RETURN V1,R,V2
$$) as (V1 agtype, R agtype, V2 agtype);

答案2

得分: 0

这似乎是成功将数据库连接到 AGE Viewer 时的标准屏幕。要可视化边缘,您需要转到屏幕顶部,那里会有一个查询栏和其他选择项。在那里,您可以选择您正在使用的“当前图”,然后在查询栏中输入您的查询。

英文:

It looks like this is the standard screen for when you successfully connect your database to AGE Viewer. To visualize the edges, you need to go to the top of the screen where it will be a query bar and other options to select. There, you can select the Current Graph that you are working on and then type your queries in the query bar.

图路径在AGE Viewer中不可见。

答案3

得分: 0

尝试用节点和边填充图形,确保它不是空的。

如果这不能解决问题,请确保您在当前用于可视化图形的数据库目录中克隆了 AGE 查看器。

此外,我不确定您的系统,但通常当我们启动 AGE 查看器时,会弹出一个屏幕,提示我们输入关于数据库类型、名称 | 连接 URL、路径 | 用户名、密码和其他一些信息。确保正确填写它们以访问正确的图形。

英文:

Try populating the graph with nodes and edges and make sure it's not empty.

If this doesn't solve the problem, make sure that you cloned AGE viewer in the directory of the database you are currently using to visualize the graphs.

Also, I am not sure but your system but usually when we start AGE viewer, we get a screen that prompts us to enter information about database type, name | connection URL, path | username, password and some others. Make sure to fill them correctly to access the right graph.

huangapple
  • 本文由 发表于 2023年4月19日 22:50:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76055917.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定