{"id":18725204,"url":"https://github.com/vesoft-inc/nebulagraph-veditor","last_synced_at":"2025-04-12T15:51:12.058Z","repository":{"id":55143163,"uuid":"465581005","full_name":"vesoft-inc/nebulagraph-veditor","owner":"vesoft-inc","description":"A Highly customizable JavaScript Diagramming Lib with SVG, HTML, Canvas support.","archived":false,"fork":false,"pushed_at":"2024-04-29T07:23:22.000Z","size":10749,"stargazers_count":86,"open_issues_count":5,"forks_count":3,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-26T10:21:15.181Z","etag":null,"topics":["canvas","dag","diagram","erd","erdiagram","flowchart","graph","javascript","nebulagraph","svg"],"latest_commit_sha":null,"homepage":"https://vesoft-inc.github.io/nebulagraph-veditor","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vesoft-inc.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}},"created_at":"2022-03-03T05:29:24.000Z","updated_at":"2025-03-03T12:38:27.000Z","dependencies_parsed_at":"2024-01-12T11:57:04.250Z","dependency_job_id":null,"html_url":"https://github.com/vesoft-inc/nebulagraph-veditor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vesoft-inc%2Fnebulagraph-veditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vesoft-inc%2Fnebulagraph-veditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vesoft-inc%2Fnebulagraph-veditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vesoft-inc%2Fnebulagraph-veditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vesoft-inc","download_url":"https://codeload.github.com/vesoft-inc/nebulagraph-veditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248591933,"owners_count":21130150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["canvas","dag","diagram","erd","erdiagram","flowchart","graph","javascript","nebulagraph","svg"],"created_at":"2024-11-07T14:09:29.055Z","updated_at":"2025-04-12T15:51:12.036Z","avatar_url":"https://github.com/vesoft-inc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [NebulaGraph veditor](https://vesoft-inc.github.io/nebulagraph-veditor/)\n\nNebulaGraph VEditor is a highly customizable flow chart library, with which you create flow charts, sequence diagrams, workflow, and more.\n\n![demo](https://user-images.githubusercontent.com/7129229/184819808-13aec715-3056-4e87-a5ee-944a3b4e1703.png)\n![flowchart](https://user-images.githubusercontent.com/7129229/184819760-615b53b7-d0c3-4e87-8ad3-d76b69db7821.png)\n![react demo](https://user-images.githubusercontent.com/7129229/184819660-0f6da546-4d80-4c97-9fa0-2389d4122d0f.png)\n![force-directed graph](https://user-images.githubusercontent.com/7129229/197440901-5336f368-156e-4eef-bb06-7742159970fc.png)\n\n# Features\n- Typescript: Natively TS support\n- Customizable: Support SVG, HTML, CSS, Canvas, React/Vue and more to custome node/line shapes\n- Minimap: Birdview of given viewport in the diagram\n- Shortcuts Keys: undo, redo, copy, paste, select, zoom, pan and more\n- Performant: Async/Await pattern enabled high performance of graph loading\n \n# Installation\n```bash\nnpm install @vesoft-inc/veditor\n```\n\n# demo\n```bash\nnpm run start\n```\n+ [Basic Demo](https://vesoft-inc.github.io/nebulagraph-veditor/public/basic.html)\n+ [FlowChart Demo](https://vesoft-inc.github.io/nebulagraph-veditor/public/flowChart.html)\n+ [React Demo](https://vesoft-inc.github.io/nebulagraph-veditor/public/demo.html)\n+ [Force-directed Graph](https://vesoft-inc.github.io/nebulagraph-veditor/public/graph.html)\n\n# Build\n```bash\nnpm run build\n# make declaration\nnpm run makeDts\n```\n\n## Quick Start\n```typescript\nimport VEditor from \"@vesoft-inc/veditor\";\n\nlet index = 0;\nconst editor =  new VEditor({ \n  dom: document.getElementById(\"root\")\n});\n// add node\nfunction add(){\n  editor.graph.node.addNode({\n    uuid:index,\n    type:\"default\",// node shape type\n    name:\"test\"+index++,\n    x:window.innerWidth*Math.random(),\n    y:300*Math.random()\n  })\n}\nfor(let x = 0;x\u003c50;x++){\n  add();\n}\n// add line\nfor(let x = 0;x\u003c10;x++){\n  editor.graph.line.addLine({\n    from:Math.floor(50*Math.random()),\n    to:Math.floor(50*Math.random()),\n    fromPoint:1,\n    toPoint:0\n  })\n}\n// result\nconsole.log(editor.schema.getData())\n```\n\n# Documents\n- [Get Started](https://vesoft-inc.github.io/nebulagraph-veditor/start)\n- [Custom Shape](https://vesoft-inc.github.io/nebulagraph-veditor/custom)\n- [Event](https://vesoft-inc.github.io/nebulagraph-veditor/event)\n- [API](https://vesoft-inc.github.io/nebulagraph-veditor/docs)\n\n# License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvesoft-inc%2Fnebulagraph-veditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvesoft-inc%2Fnebulagraph-veditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvesoft-inc%2Fnebulagraph-veditor/lists"}