export_graph
Export a graph to JSON, GraphML, DOT, or Cytoscape formats. Optionally filter nodes and edges with a DSL, then receive the created file's path.
Instructions
그래프를 데이터 포맷 파일로 내보낸다 ([5-E]).
파일은 서버 데이터 디렉토리 안에 생성되고(호출자 경로 지정 불가 — path traversal 차단 [11]) 그 경로를 반환한다. JSON 은 import 로 라운드트립된다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | [6] DSL — 매치 노드 + 그 사이 엣지 + 앵커된 finding 만 부분 export. | |
| format | No | 'json'(네이티브, import 로 라운드트립), 'graphml'(XML), 'dot'(Graphviz), 'cytoscape'(cytoscape.js JSON) 중 하나. 그 외 값은 에러. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||