{"name":"@ts-graphviz/core","version":"0.0.0-next-20240301115034","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-20240301115034","@ts-graphviz/common":"^0.0.0-next-20240301115034"},"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-next-20240301115034","_integrity":"sha512-Tb/6bhH2uaxRQVjqeBjeJoN6S0FwEkAf6byiwdHACDiTY/7Ew+k4xaD3aEkel6cm+nBImilx+oy3vdo3ET1e4Q==","_resolved":"/tmp/dde4cd392cec6b6e1c155e7ab8f4b6db/ts-graphviz-core-0.0.0-next-20240301115034.tgz","_from":"file:ts-graphviz-core-0.0.0-next-20240301115034.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Tb/6bhH2uaxRQVjqeBjeJoN6S0FwEkAf6byiwdHACDiTY/7Ew+k4xaD3aEkel6cm+nBImilx+oy3vdo3ET1e4Q==","shasum":"a069f9225edfdaf69df8fc0c1431467cba5c9f72","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/core/download/@ts-graphviz/core-0.0.0-next-20240301115034.tgz","fileCount":43,"unpackedSize":96456,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcore@0.0.0-next-20240301115034","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgGSpWSCdRM+pexL6gl9pnRyD/fXW2cDJH1uceWeoNPAiBKt280AfZ4y+F1jcl96bTgmT6hw/bFVgmrIHpwKPgGnQ=="}],"size":13092,"noattachment":false,"key":"/@ts-graphviz/core/-/@ts-graphviz/core-0.0.0-next-20240301115034.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-20240301115034_1709293845684_0.48813528142502083"},"_hasShrinkwrap":false,"publish_time":1709293845851,"_cnpm_publish_time":1709293845851,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.12","next":"3.0.12-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}