{"name":"@ts-graphviz/core","version":"0.0.0-next-20240312122538","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-20240312122538","@ts-graphviz/common":"^0.0.0-next-20240312122538"},"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-20240312122538","_integrity":"sha512-tK0V1Ir2HdJxYDO+AdTCRpznrNl4HuOMxvR/vCElsoD0zunG442WeY1fhUDAMMC2q+yYIw/FG6uxM4fDRuvVaA==","_resolved":"/tmp/6fb624dc9dc1266f703af2cd341423e3/ts-graphviz-core-0.0.0-next-20240312122538.tgz","_from":"file:ts-graphviz-core-0.0.0-next-20240312122538.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-tK0V1Ir2HdJxYDO+AdTCRpznrNl4HuOMxvR/vCElsoD0zunG442WeY1fhUDAMMC2q+yYIw/FG6uxM4fDRuvVaA==","shasum":"617b5843636261ccf1f99c9048e858515ec37387","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/core/download/@ts-graphviz/core-0.0.0-next-20240312122538.tgz","fileCount":43,"unpackedSize":99714,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcore@0.0.0-next-20240312122538","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYHa3sbsTWo48YOjTruJkIFV9vp2W/h7uudx0bIP0mRQIgXa5UagyknizbQ6lBM+1BmdjfdMk74TMeOLXXcSlqYwY="}],"size":13750,"noattachment":false,"key":"/@ts-graphviz/core/-/@ts-graphviz/core-0.0.0-next-20240312122538.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-20240312122538_1710246351045_0.5626038535165545"},"_hasShrinkwrap":false,"publish_time":1710246351220,"_cnpm_publish_time":1710246351220,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.12","next":"3.0.12-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}