{"name":"@ts-graphviz/core","version":"0.0.0-pr956-20240225160253","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"},"sideEffects":["./lib/register-default.*"],"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-pr956-20240225160253","@ts-graphviz/common":"^0.0.0-pr956-20240225160253"},"devDependencies":{"typescript":"^5.3.3","vite":"^5.1.3","vite-plugin-dts":"^3.7.2"},"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-pr956-20240225160253","_integrity":"sha512-4uu+byi2jdnGS3YD/fCZPEmDRgkh3x/BIhu4hzknfwmlhNB1XE8C/otrD6LfuXudN5hecn+8nDs5A8FHI+/ogw==","_resolved":"/tmp/c624b4f7f6ed9782bdcdf8c143eb772d/ts-graphviz-core-0.0.0-pr956-20240225160253.tgz","_from":"file:ts-graphviz-core-0.0.0-pr956-20240225160253.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-4uu+byi2jdnGS3YD/fCZPEmDRgkh3x/BIhu4hzknfwmlhNB1XE8C/otrD6LfuXudN5hecn+8nDs5A8FHI+/ogw==","shasum":"178f8ce08a9a07f3297cc7707ab38f83605a22c6","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/core/download/@ts-graphviz/core-0.0.0-pr956-20240225160253.tgz","fileCount":43,"unpackedSize":95923,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcore@0.0.0-pr956-20240225160253","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGimyGgVj9EQdtZHcUE+vZoajAVtaS0jbjqCS7SyQp1BAiAPCgXmYmFCGhJ3wJ+lzV+WArF12ies0EG1nSlv3aekzw=="}],"size":13007,"noattachment":false,"key":"/@ts-graphviz/core/-/@ts-graphviz/core-0.0.0-pr956-20240225160253.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-pr956-20240225160253_1708876982960_0.3530089840299411"},"_hasShrinkwrap":false,"publish_time":1708876983142,"_cnpm_publish_time":1708876983142,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.12","next":"3.0.12-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}