通用格式
- 在
nodeConfig
、edgeConfig
下配置 schema:
nodeConfig:
# 配置一个点schema
# Schema 名
- schema:
# (选填)列举要导出的自定义属性
properties:
# 一个自定义属性名
- name:
# 更多自定义属性名
- name:
# 配置更多点schema
- schema:
...
edgeConfig:
# 配置一个边schema
- schema:
...
# 配置更多边schema
- schema:
...
示例
...
nodeConfig:
- schema: student
# 不声明 properties 时将导出该 schema 的所有属性
- schema: course
properties:
- name: title
- name: credit
# 系统属性会默认导出,无需声明
edgeConfig:
# 星号 * 表示导出所有 schema 的所有属性
- schema: "*"
...