{"name":"@ts-graphviz/core","version":"0.0.0-next-20240316082326","description":"Graphviz Models for Object-Oriented Programming","keywords":["graphviz","dot"],"homepage":"https://github.com/ts-graphviz/ts-graphviz#readme","bugs":{"url":"https://github.com/ts-graphviz/ts-graphviz/issues"},"repository":{"type":"git","url":"git+https://github.com/ts-graphviz/ts-graphviz.git","directory":"packages/core"},"funding":[{"type":"github","url":"https://github.com/sponsors/ts-graphviz"},{"type":"opencollective","url":"https://opencollective.com/ts-graphviz"}],"license":"MIT","author":{"name":"Yuki Yamazaki","email":"yuki@kamiazya.tech"},"type":"module","exports":{".":{"require":{"types":"./lib/core.d.ts","default":"./lib/core.cjs"},"import":{"types":"./lib/core.d.ts","default":"./lib/core.js"}},"./register-default":{"require":"./lib/register-default.cjs","default":"./lib/register-default.js"},"./package.json":"./package.json"},"main":"lib/core.cjs","module":"lib/core.js","types":"lib/core.d.ts","dependencies":{"@ts-graphviz/ast":"^0.0.0-next-20240316082326","@ts-graphviz/common":"^0.0.0-next-20240316082326"},"devDependencies":{"typescript":"^5.3.3","vite":"^5.1.3","vite-plugin-dts":"^3.7.3"},"engines":{"node":">=18"},"publishConfig":{"access":"public","provenance":true},"scripts":{"build":"vite build"},"readme":"# @ts-graphviz/core\n\nThis package contains the core implementation of models and functions provided to users for the ts-graphviz library.\n\nIt is part of the ts-graphviz library, which is split into modular packages to improve maintainability, flexibility, and ease of use.\n\n## Features\n\n- Graph, Node, and Edge model implementations\n- High-level APIs for creating and manipulating DOT language elements\n- Extensible design for custom implementations\n\n## Usage\n\nImport the necessary classes and functions from the @ts-graphviz/core package:\n\n```ts\nimport { Graph, Node, Edge } from '@ts-graphviz/core';\n```\n\nUse the imported items in your project to create and manipulate DOT language elements:\n\n```ts\nconst graph = new Graph('G');\nconst nodeA = new Node('A', { label: 'Node A' });\nconst nodeB = new Node('B', { label: 'Node B' });\nconst edge = new Edge([nodeA, nodeB], { label: 'A -> B' });\n\ngraph.addNode(nodeA);\ngraph.addNode(nodeB);\ngraph.addEdge(edge);\n\nconsole.log(graph.toDot());\n```\n\nFor more examples and usage details, please refer to the ts-graphviz documentation.\n\n\n## Contributing\n\nContributions to the ts-graphviz project are welcome.\n\nPlease refer to the main ts-graphviz repository for guidelines on how to contribute.\n\n## License\n\nThis package is released under the MIT License.\n","readmeFilename":"README.md","_id":"@ts-graphviz/core@0.0.0-next-20240316082326","_integrity":"sha512-YnAl9fAW+A8L8xBoejN+EIOMvZipz5cHAm36eA57B6Y2+ZJWmGdPPhxdVxOc2cGoByHIpWakIIm74E5nLZiK6w==","_resolved":"/tmp/027f9c5c4f9227aa0e05cb7f8e976bdc/ts-graphviz-core-0.0.0-next-20240316082326.tgz","_from":"file:ts-graphviz-core-0.0.0-next-20240316082326.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-YnAl9fAW+A8L8xBoejN+EIOMvZipz5cHAm36eA57B6Y2+ZJWmGdPPhxdVxOc2cGoByHIpWakIIm74E5nLZiK6w==","shasum":"5856ab20cca2609ff2958c947a46aeb3997f2b36","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/core/download/@ts-graphviz/core-0.0.0-next-20240316082326.tgz","fileCount":43,"unpackedSize":100098,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcore@0.0.0-next-20240316082326","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+UMcy51JKkASOsfIGmkeracdTbNUb2xBV16eN9JVr1AiEAmna3tZ3hA3oGBBHBpei+DSoNqbOst5JZkQC/yKNq19M="}],"size":13818,"noattachment":false,"key":"/@ts-graphviz/core/-/@ts-graphviz/core-0.0.0-next-20240316082326.tgz"},"_npmUser":{"name":"kamiazya","email":"yuki@kamiazya.tech"},"directories":{},"maintainers":[{"name":"kamiazya","email":"yuki@kamiazya.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.0.0-next-20240316082326_1710577417868_0.016468262823074564"},"_hasShrinkwrap":false,"publish_time":1710577418023,"_cnpm_publish_time":1710577418023,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.12","next":"3.0.12-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}