奥托格拉夫
将带有@relation 提示的 JSON-LD 输入转换为节点/边 json 输出。
什么?
JSON-LD 中的@relation提示,用于指定链接数据文档中的节点和边。
用编写的转换脚本,将这种格式转换为典型的节点/边缘 JSON 格式(例如可以在 d3.js 或 kumu 中使用)
usage:
ottograf [format] [options] input.jsonld [output.json] [flags]
format:
d3 : template for d3.js using
-r @relation -n nodes -e links -s source -t target
-p '{directed:"true",graph:[]}' -x @id id
ku
评论0
最新资源