{"id":42017100,"url":"https://github.com/ackkerman/next-cytoscape-demo","last_synced_at":"2026-01-26T03:16:31.513Z","repository":{"id":293122180,"uuid":"983017992","full_name":"ackkerman/next-cytoscape-demo","owner":"ackkerman","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-13T18:55:41.000Z","size":935,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T19:53:33.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ackkerman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-13T18:46:50.000Z","updated_at":"2025-05-13T18:55:44.000Z","dependencies_parsed_at":"2025-05-13T19:53:42.459Z","dependency_job_id":"2681418d-ce32-46c6-b424-447c36a5cc7e","html_url":"https://github.com/ackkerman/next-cytoscape-demo","commit_stats":null,"previous_names":["ackkerman/next-cytoscape-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ackkerman/next-cytoscape-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fnext-cytoscape-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fnext-cytoscape-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fnext-cytoscape-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fnext-cytoscape-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ackkerman","download_url":"https://codeload.github.com/ackkerman/next-cytoscape-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fnext-cytoscape-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28765577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T02:25:41.078Z","status":"ssl_error","status_checked_at":"2026-01-26T02:24:28.809Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-26T03:16:31.016Z","updated_at":"2026-01-26T03:16:31.508Z","avatar_url":"https://github.com/ackkerman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-cytoscape-demo\n\n\u003e **Cytoscape.js × Next.js** で “構造化ドキュメント → ネットワーク図” を即可視化できる  \n\u003e **Node-link形式のJSON** を貼り付けるだけのシンプルなデモアプリです。\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"screenshot\" src=\"./assets/image.png\" width=\"800\"\u003e\n\u003c/div\u003e\n\n## 🚀 クイックスタート\n\n```bash\npnpm install\npnpm build\npnpm start\n````\n\n**必要環境**： Node.js 18+ / pnpm 8+（or npm, yarn）\n\n---\n\n## 📦 JSON フォーマット\n\n1. **node リスト**と **links リスト** で構成\n2. ノードは `id` 必須。オプションで `label` / `primary` / `content`\n3. リンクは `source` / `target` の 2 key\n\n\n```jsonc\n{\n  \"nodes\": [\n    { \"id\": \"A\", \"label\": \"Root\", \"primary\": true, \"content\": [] },\n    { \"id\": \"B\", \"label\": \"Child\" }\n  ],\n  \"links\": [\n    { \"source\": \"A\", \"target\": \"B\" }\n  ]\n}\n```\n\nnode-link形式はD3.jsやNetworkxで用いられる一般的なグラフ構造を保存するためのデータ形式です: [参考](https://gist.github.com/mbostock/4062045)。さらに詳しい仕様・サンプルは **[`./assets/format_instruction.txt`](./assets/format_instruction.txt)** を参照してください。\n\n\n## 🖼️ サンプル\n\n* `Sample`（デフォルトロード）\n* `Sample2` → `./assets/sample2.json`\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"screenshot2\" src=\"./assets/image2.png\" width=\"800\"\u003e\n\u003c/div\u003e\n\n\n## 🛠️ 採用スタック\n\n* **Next.js 13** (App Router) + **React 18**\n* **TypeScript**\n* **Cytoscape.js** + **react-cytoscapejs**\n  * Layout Ext: cose-bilkent / cola / dagre / elk / klay\n* **react-simple-code-editor** + **Prism.js**\n\n## 🤝 ライセンス\n\nMIT License\n© 2025 Ackkerman\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackkerman%2Fnext-cytoscape-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fackkerman%2Fnext-cytoscape-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackkerman%2Fnext-cytoscape-demo/lists"}