我将 node.csv 和 edge.csv 成功加载到 AWS Neptune。
我正在尝试根据相应的标签将顶点显示为图像。
例如,198.51.100.0 和 adesai 之间有一条边,并且 198.51.100.0 也连接到 gramirez。
所以,我想为 IPAddress 显示一个 address.png,为 adesai & gramirez 显示一个 person.png。
我正在使用 Gremlin 语言,我在下面尝试过,但它不起作用。
%%graph_notebook_vis_options<br>
{<br>
"nodes":{ "id":"0", "label": "User", "shape": "circularImage", "image": "person.png"},<br>
"nodes":{ "id":"1", "label": "User","shape": "circularImage", "image": "person.png"},<br>
"nodes":{ "id":"2", "label": "Restaurant","shape": "circularImage", "image": "restaurant.png"},<br>
"nodes":{ "id":"3", "label": "Restaurant","shape": "circularImage", "image": "restaurant.png"},<br>
"nodes":{ "id":"4", "label": "IPAddress","shape": "circularImage", "image": "address.png"}<br>
}
节点只是显示相同的图像。任何人都可以建议吗?谢谢你