{"name":"ts-graphviz","version":"0.0.0-next-20240531092059","description":"Graphviz library for TypeScript","keywords":["graphviz","dot"],"homepage":"https://ts-graphviz.github.io/ts-graphviz/","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/ts-graphviz"},"funding":[{"type":"github","url":"https://github.com/sponsors/ts-graphviz"},{"type":"opencollective","url":"https://opencollective.com/ts-graphviz"}],"license":"MIT","author":{"name":"kamiazya","email":"yuki@kamiazya.tech"},"sideEffects":true,"type":"module","exports":{".":{"types":"./lib/ts-graphviz.d.ts","require":"./lib/ts-graphviz.cjs","default":"./lib/ts-graphviz.js"},"./ast":{"types":"./lib/ast.d.ts","require":"./lib/ast.cjs","default":"./lib/ast.js"},"./adapter":{"types":"./lib/adapter.d.ts","require":"./lib/adapter.cjs","default":"./lib/adapter.js"},"./package.json":"./package.json"},"main":"./lib/ts-graphviz.cjs","module":"./lib/ts-graphviz.js","types":"lib/ts-graphviz.d.ts","dependencies":{"@ts-graphviz/adapter":"^2.0.3","@ts-graphviz/ast":"^2.0.3","@ts-graphviz/common":"^2.1.2","@ts-graphviz/core":"^2.0.3"},"devDependencies":{"typescript":"^5.4.5","vite":"^5.2.8","vite-plugin-dts":"^3.7.3"},"engines":{"node":">=18"},"publishConfig":{"access":"public","provenance":true},"runkitExampleFilename":"example/runkit.cjs","scripts":{"build":"vite build"},"readme":"<div align=\"center\">\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n[![GitHub Action](https://github.com/ts-graphviz/ts-graphviz/workflows/CI/badge.svg)](https://github.com/ts-graphviz/ts-graphviz/actions?workflow=CI)\n[![All Contributors](https://img.shields.io/github/all-contributors/ts-graphviz/ts-graphviz?color=orange)](#contributors-)\n\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8396/badge)](https://www.bestpractices.dev/projects/8396)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/ts-graphviz/ts-graphviz/badge)](https://scorecard.dev/viewer/?uri=github.com/ts-graphviz/ts-graphviz)\n[![Tidelift](https://tidelift.com/badges/package/npm/ts-graphviz?style=flat)](https://tidelift.com/subscription/pkg/npm-ts-graphviz?utm_source=npm-ts-graphviz&utm_medium=readme)\n\n[![npm version](https://badge.fury.io/js/ts-graphviz.svg)](https://badge.fury.io/js/ts-graphviz)\n![node version](https://img.shields.io/node/v/ts-graphviz)\n[![deno version](https://img.shields.io/badge/deno-^1.28.0-black?logo=deno)](https://github.com/denoland/deno)\n![npm](https://img.shields.io/npm/dm/ts-graphviz)\n\n# ts-graphviz\n\n[Graphviz](https://graphviz.gitlab.io/) library for TypeScript.\n\n🔗\n\n[![GitHub](https://img.shields.io/badge/-GitHub-181717?logo=GitHub&style=flat)](https://github.com/ts-graphviz/ts-graphviz)\n[![npm](https://img.shields.io/badge/-npm-CB3837?logo=npm&style=flat)](https://www.npmjs.com/package/ts-graphviz)\n[![yarn](https://img.shields.io/badge/-yarn-ffffff?logo=Yarn&style=flat)](https://yarnpkg.com/package/ts-graphviz)\n[![Refarence](https://img.shields.io/badge/-Refarence-3178C6?logo=TypeScript&style=flat&logoColor=fff)](https://ts-graphviz.github.io/ts-graphviz/)\n\n[![Sponsor](https://img.shields.io/badge/-GitHub%20Sponsor-fff?logo=GitHub%20Sponsors&style=flat)](https://github.com/sponsors/ts-graphviz)\n[![OpenCollective](https://img.shields.io/badge/-OpenCollective-7FADF2?logo=opencollective&style=flat&logoColor=white)](https://opencollective.com/ts-graphviz)\n\n[![format: Biome](https://img.shields.io/badge/format%20with-Biome-F7B911?logo=biome&style=flat)](https://biomejs.dev/)\n[![test: Vitest](https://img.shields.io/badge/tested%20with-Vitest-6E9F18?logo=vitest&style=flat)](https://vitest.dev/)\n[![build: Vite](https://img.shields.io/badge/build%20with-Vite-646CFF?logo=vite&style=flat)](https://rollupjs.org/)\n\n</div>\n\n---\n\n## Key Features ✨\n\n`ts-graphviz` package provides models and ASTs for the Graphviz DOT language fully integrated with TypeScript.\n\n- **TypeScript-friendly API**\n  - It provides models in the DOT language. TypeScript type definitions are also provided for attributes and even attribute types.\n- **Freedom from programming paradigms**\n  - Designed to be object-oriented, it provides APIs that can be adapted to both imperative and declarative APIs. You can choose the paradigm that best fits your project.\n- **Suitable for any use cases**\n  - Both a high-layer API to provide models and a low-layer API to handle ASTs are provided to address any use cases.\n- **Modular and Extensible**\n  - The library is split into multiple packages, each serving a specific purpose. This modular design allows users to pick and choose the functionality they need, resulting in improved maintainability and flexibility.\n- **Cross Platform**\n  - It supports both Node.js and Deno and Browser.\n- **Customizable**\n  - It provides a way to extend the library's type system to customize graph visualization solutions to meet specific needs.\n\n## Installation 💽\n\n### Node.js\n\nThis package can then be installed using a package manager.\n\n```bash\n# npm\n$ npm install -S ts-graphviz\n# or yarn\n$ yarn add ts-graphviz\n# or pnpm\n$ pnpm add ts-graphviz\n```\n\n> **Note** Want to try before installing? Check out [Runkit](https://npm.runkit.com/ts-graphviz) to see how it works.\n\n### Deno 🦕\n\n[Deno v1.28 and above supports npm](https://deno.land/manual/node/npm_specifiers).\n\nYou can install and use the package by specifying the following:\n\n```ts\nimport { toDot } from 'npm:ts-graphviz';\n```\n\n## Usage 📑\n\nThis section provides an overview of the package.\n\nFor more detailed API specifications, please refer to the comments in the TypeScript type definitions and the [document](https://ts-graphviz.github.io/ts-graphviz/) automatically generated based on them.\n\n### `ts-graphviz` Module 🚩\n\nThis module provides **Model**, an interface for working with the DOT language in JavaScript/TypeScript.\n\n![ts-graphviz](./media/ts-graphviz.svg)\n\n#### Object-Oriented ❤️\n\n**Model** is designed to be object-oriented and provides classes `Digraph`, `Graph`, `Subgraph`, `Node`, and `Edge`.\n\nProvides a `toDot` function to convert **Model** to **DOT** (DOT language string).\n\n```typescript\nimport { attribute as _, Digraph, Subgraph, Node, Edge, toDot } from 'ts-graphviz';\n\nconst G = new Digraph();\nconst A = new Subgraph('A');\nconst node1 = new Node('node1', {\n  [_.color]: 'red'\n});\nconst node2 = new Node('node2', {\n  [_.color]: 'blue'\n});\nconst edge = new Edge([node1, node2], {\n  [_.label]: 'Edge Label',\n  [_.color]: 'pink'\n});\nG.addSubgraph(A);\nA.addNode(node1);\nA.addNode(node2);\nA.addEdge(edge);\nconst dot = toDot(G);\n// digraph {\n//   subgraph \"A\" {\n//     \"node1\" [\n//       color = \"red\",\n//     ];\n//     \"node2\" [\n//       color = \"blue\",\n//     ];\n//     \"node1\" -> \"node2\" [\n//       label = \"Edge Label\",\n//       color = \"pink\",\n//     ];\n//   }\n// }\n```\n\n<details>\n<summary>Advanced Usage</summary>\n\n##### Custom Class 🤖\n\nYou can also add your own implementation by inheriting from the class.\n\n```typescript\nimport { Digraph, Node, Edge, EdgeTargetTuple, attribute as _, toDot } from 'ts-graphviz';\n\nclass MyCustomDigraph extends Digraph {\n  constructor() {\n    super('G', {\n      [_.label]: 'This is Custom Digraph',\n    });\n  }\n}\nclass MyCustomNode extends Node {\n  constructor(id: string) {\n    super(`node_${id}`, {\n      [_.label]: `This is Custom Node ${id}`,\n    });\n  }\n}\n\nclass MyCustomEdge extends Edge {\n  constructor(targets: EdgeTargetTuple) {\n    super(targets, {\n      [_.label]: 'This is Custom Edge',\n    });\n  }\n}\n\nconst digraph = new MyCustomDigraph();\nconst node1 = new MyCustomNode('A');\nconst node2 = new MyCustomNode('B');\nconst edge = new MyCustomEdge([node1, node2]);\ndigraph.addNode(node1);\ndigraph.addNode(node2);\ndigraph.addEdge(edge);\nconst dot = toDot(digraph);\n// digraph \"G\" {\n//   label = \"This is Custom Digraph\";\n//   \"node_A\" [\n//     label = \"This is Custom Node A\";\n//   ];\n//   \"node_B\" [\n//     label = \"This is Custom Node B\";\n//   ];\n//   \"node_A\" -> \"node_B\" [\n//     label = \"This is Custom Edge\";\n//   ];\n// }\n```\n\n##### Models Context API ( `with` method) 🧅\n\nYou can also use the _Models Context API_ to create custom classes for objects generated inside of Graph.\n\n\nThe `with` methods of `Digraph`, `Graph`, and `Subgraph`, which are implementations of `GraphBaseModel`, are provided to predefine custom models.\n\n```typescript\nconst g = new Digraph();\ng.with({\n  Node: MyCustomNode,\n  Edge: MyCustomEdge,\n});\nconst a = g.createNode('A'); // MyCustomNode\nconst b = g.createNode('B'); // MyCustomNode\ng.createEdge([a, b]); // MyCustomEdge\nconst dot = toDot(g);\n// digraph {\n//   \"node_A\" [\n//     label = \"This is Custom Node A\";\n//   ];\n//   \"node_B\" [\n//     label = \"This is Custom Node B\";\n//   ];\n//   \"node_A\" -> \"node_B\" [\n//     label = \"This is Custom Edge\";\n//   ];\n// }\n```\n\n##### `fromDot` function ⏪\n\n> The status of this function is ! [beta](https://img.shields.io/badge/-beta-orange).\n\nThe main scenario for using this library is to use the `toDot` function, but it also supports conversions in the reverse direction.\n\nBy converting **DOT** to **Model**, a portion of the code can be written in the DOT language.\n\n```typescript\nconst G = fromDot(\n  `digraph {\n    node_A [\n      label = \"This is a Label of Node A\";\n    ];\n  }`,\n);\n\nG.edge(['node_A', 'node_B']);\n\nconst dot = toDot(G)\n// digraph {\n//   \"node_A\" [\n//     label = \"This is a Label of Node A\";\n//   ];\n//   \"node_A\" -> \"node_B\";\n// }\n```\n\n</details>\n\n#### Declarative API 😎\n\nWhen creating `Graph` or `Digraph`, you can use _Model Factory_ to provide a notation more similar to the **DOT** language.\n\n**Model** also has a declarative API, so you can consistently choose a declarative paradigm.\n\n\n```typescript\nimport { attribute as _, digraph, toDot } from 'ts-graphviz';\n\n const G = digraph('G', (g) => {\n  const a = g.node('aa');\n  const b = g.node('bb');\n  const c = g.node('cc');\n  g.edge([a, b, c], {\n    [_.color]: 'red'\n  });\n  g.subgraph('A', (A) => {\n    const Aa = A.node('Aaa', {\n      [_.color]: 'pink'\n    });\n\n    const Ab = A.node('Abb', {\n      [_.color]: 'violet'\n    });\n    const Ac = A.node('Acc');\n    A.edge([Aa.port('a'), Ab, Ac, 'E'], {\n      [_.color]: 'red'\n    });\n  });\n});\n\nconst dot = toDot(G);\n// digraph \"G\" {\n//   \"aa\";\n//   \"bb\";\n//   \"cc\";\n//   subgraph \"A\" {\n//     \"Aaa\" [\n//       color = \"pink\",\n//     ];\n//     \"Abb\" [\n//       color = \"violet\",\n//     ];\n//     \"Acc\";\n//     \"Aaa\":\"a\" -> \"Abb\" -> \"Acc\" -> \"E\" [\n//       color = \"red\",\n//     ];\n//   }\n//   \"aa\" -> \"bb\" -> \"cc\" [\n//     color = \"red\",\n//   ];\n// }\n```\n\n> **Note** Of course, we also provide an API for creating strict mode graphs.\n>\n> ```typescript\n> import { strict, toDot } from 'ts-graphviz';\n>\n> const G = strict.graph(...);\n> const dot = toDot(G);\n> // strict graph {\n> // }\n> ```\n\n\n<details>\n<summary>Advanced Usage</summary>\n\n##### Models Context API ( `withContext` function ) 💈\n\n\nThe `withContext` function returns a _Model Factory_ function.\n\nThis _Model Factory_ provides a means to replace `RootGraphModel` with a custom class, such as `Digraph` or `Graph`.\n\nThis API provides a way to integrate declarative APIs and custom classes.\n\n```typescript\nconst { digraph } = withContext({\n  Digraph: MyCustomDigraph,\n  Node: MyCustomNode,\n  Edge: MyCustomEdge,\n});\n\nconst G = digraph((g) => {\n  const a = g.node('A'); // MyCustomNode\n  const b = g.node('B'); // MyCustomNode\n  g.edge([a, b]); // MyCustomEdge\n});\nconst dot = toDot(g);\n// digraph \"G\" {\n//   label = \"This is Custom Digraph\";\n//   \"node_A\" [\n//     label = \"This is Custom Node A\";\n//   ];\n//   \"node_B\" [\n//     label = \"This is Custom Node B\";\n//   ];\n//   \"node_A\" -> \"node_B\" [\n//     label = \"This is Custom Edge\";\n//   ];\n// }\n```\n\n</details>\n\n### `@ts-graphviz/adapter` Module 🔌\n\n> This module status is ![beta](https://img.shields.io/badge/-beta-orange).\n\n\nProvides an interface to run Graphviz dot commands.\n\n[Graphviz](https://graphviz.gitlab.io/) must be installed so that the dot command can be executed.\n\nExecute the dot command to output a DOT language string to a stream or file.\n\n![Adapter State Machine](./media/adapter-state-machine.svg)\n\nThis module provides the following functions.\n\n- The `toStream` function converts **DOT** to **Stream**.\n    ```ts\n    import { toStream } from 'ts-graphviz/adapter';\n\n    const dot = `\n      digraph example {\n        node1 [\n          label = \"My Node\",\n        ]\n      }\n    `;\n\n    const stream = await toStream(dot, { format: 'svg' });\n    // Node.js\n    stream.pipe(process.stdout);\n    // Deno\n    await stream.pipeTo(Deno.stdout.writable);\n    ```\n- Writes **DOT** to a file at the specified path `toFile` function\n    ```ts\n    import { toFile } from 'ts-graphviz/adapter';\n\n    const dot = `\n      digraph example {\n        node1 [\n          label = \"My Node\",\n        ]\n      }\n    `;\n\n    await toFile(dot, './result.svg', { format: 'svg' });\n    ```\n\n> **Note** Designed to work with Node.js and Deno, Stream is runtime native.\n\n### `@ts-graphviz/ast` Module 🔢\n\n> This module status is ![beta](https://img.shields.io/badge/-beta-orange).\n\nAn API is provided to handle ASTs for advanced use.\n\n![State Machine](./media/state-machine.svg)\n\nThe following functions are provided as described in the state transition diagram.\n\n- The `fromModel` function converts **Model** to **AST**.\n- The `toModel` function converts **AST** to **Model**.\n- The `stringify` function converts **AST** to **DOT**.\n- The `parse` function to convert from **DOT** to **AST**.\n\n> **Note** As you can see from the above figure, the `toDot` function provided by the `ts-graphviz` package is a composite of `fromModel` and `stringify`. The `fromDot` function is a composite of `parse` and `toModel`.\n\nDetailed usage is TODO.\nPlease refer to the TypeScript type definition.\n\n\n<details>\n<summary>The parse function and AST</summary>\n\n\n```typescript\nimport { parse } from '@ts-graphviz/ast';\n\nconst ast = parse(`\n  digraph example {\n    node1 [\n      label = \"My Node\",\n    ]\n  }\n`);\n// {\n//   type: 'Dot',\n//   location: {\n//     start: { offset: 3, line: 2, column: 3 },\n//     end: { offset: 68, line: 7, column: 1 }\n//   },\n//   children: [\n//     {\n//       id: {\n//         value: 'example',\n//         quoted: false,\n//         type: 'Literal',\n//         location: {\n//           start: { offset: 11, line: 2, column: 11 },\n//           end: { offset: 18, line: 2, column: 18 }\n//         },\n//         children: []\n//       },\n//       directed: true,\n//       strict: false,\n//       type: 'Graph',\n//       location: {\n//         start: { offset: 3, line: 2, column: 3 },\n//         end: { offset: 67, line: 6, column: 4 }\n//       },\n//       children: [\n//         {\n//           id: {\n//             value: 'node1',\n//             quoted: false,\n//             type: 'Literal',\n//             location: {\n//               start: { offset: 25, line: 3, column: 5 },\n//               end: { offset: 30, line: 3, column: 10 }\n//             },\n//             children: []\n//           },\n//           type: 'Node',\n//           location: {\n//             start: { offset: 25, line: 3, column: 5 },\n//             end: { offset: 63, line: 5, column: 6 }\n//           },\n//           children: [\n//             {\n//               key: {\n//                 value: 'label',\n//                 quoted: false,\n//                 type: 'Literal',\n//                 location: {\n//                   start: { offset: 39, line: 4, column: 7 },\n//                   end: { offset: 44, line: 4, column: 12 }\n//                 },\n//                 children: []\n//               },\n//               value: {\n//                 value: 'My Node',\n//                 quoted: true,\n//                 type: 'Literal',\n//                 location: {\n//                   start: { offset: 47, line: 4, column: 15 },\n//                   end: { offset: 56, line: 4, column: 24 }\n//                 },\n//                 children: []\n//               },\n//               location: {\n//                 start: { offset: 39, line: 4, column: 7 },\n//                 end: { offset: 57, line: 4, column: 25 }\n//               },\n//               type: 'Attribute',\n//               children: []\n//             }\n//           ]\n//         }\n//       ]\n//     }\n//   ]\n// }\n```\n\n</details>\n\n### Extending the Type System 🧰\n\n> The status of this feature is ![beta](https://img.shields.io/badge/-beta-orange).\n\nWith ts-graphviz, you can extend the library's type system to customize graph visualization solutions to meet specific needs.\n\n> **Note** To allow for customization, types are named with the `$` symbol.\n>\n> If you want to extend a type definition in cases not listed below, check the source code to see if you can extend it with `$...`.\n>\n> If not, please create an issue or pull request.\n\n#### Use Case: Specifying Custom Graph Layout and Output Formats\n\n```ts\nimport { $keywords } from '@ts-graphviz/common';\nimport { toFile } from '@ts-graphviz/adapter';\n\n// 1. Declare the '@ts-graphviz/adapter' module.\ndeclare module '@ts-graphviz/adapter' {\n  export namespace Layout {\n    // 2. Define the $values interface in the Layout namespace.\n    // 3. Inherit from $keywords<'my-custom-algorithm'> and specify the name of the new layout engine in <...>.\n    export interface $values extends $keywords<'my-custom-algorithm'> {}\n  }\n\n  export namespace Format {\n    // 4. Define the $values interface in the Format namespace.\n    // 5. Inherit from $keywords<'mp4'> and specify the name of the new output format in <...>.\n    export interface $values extends $keywords<'mp4'> {}\n  }\n}\n\ntoFile('digraph { a -> b }', '/path/to/file', {\n  layout: 'my-custom-algorithm',\n  format: 'mp4',\n});\n```\n\n#### Use Case: Adding Custom Attributes\n\n```ts\nimport { $keywords } from '@ts-graphviz/common';\nimport { digraph, toDot, attribute as _ } from 'ts-graphviz';\n\n// 1. Declare the '@ts-graphviz/common' module.\ndeclare module '@ts-graphviz/common' {\n  export namespace GraphAttributeKey {\n    // 2. Define the $values interface in the GraphAttributeKey namespace.\n    // 3. Inherit from $keywords<'hoge'> and specify the name of the new attribute in <...>.\n    export interface $values extends $keywords<'hoge'> {}\n  }\n\n  export namespace Attribute {\n    // 4. Define the $keys interface in the Attribute namespace.\n    // 5. Inherit from $keywords<'hoge'> and specify the name of the new attribute in <...>.\n    export interface $keys extends $keywords<'hoge'> {}\n\n    // 6. Define the $types interface in the Attribute namespace.\n    // 7. Specify the new attribute in the key and define its corresponding value in the value.\n    export interface $types {\n      hoge: string;\n    }\n  }\n}\n\nconsole.log(\n  toDot(\n    digraph((g) => {\n      g.set(_.hoge, 'fuga');\n    }),\n  ),\n);\n```\n\n## Deep dive 🏊‍♂️\n\n### Architecture 🏛\n\nSee [ARCHITECTURE.md](https://github.com/ts-graphviz/ts-graphviz/blob/main/ARCHITECTURE.md) for more details.\n\n### Security 🛡️\n\nSee [SECURITY.md](https://github.com/ts-graphviz/ts-graphviz/blob/main/SECURITY.md) for more details.\n\n\n## Who's using `ts-graphviz` 📜\n\n- [Apollo GraphQL](https://github.com/apollographql)\n- [AWS](https://github.com/aws)\n- [IBM (StrongLoop)](https://strongloop.com)\n- [The University of Tokyo](https://github.com/csg-tokyo)\n- [Transmute](https://github.com/transmute-industries)\n\n> **Note** Let us know that you're using `ts-graphviz` on [GitHub Discussions](https://github.com/ts-graphviz/ts-graphviz/discussions/736) 🙏\n\n\n## Related Projects 💫\n\nRelated projects can be found at [**ts-graphviz** GitHub Organization](https://github.com/ts-graphviz).\n\nThe TypeScript/JavaScript ecosystem provides a variety of OSS with the goal of making Graphviz more connected and easier to use.\n\n## Contributors 👥\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://blog.kamiazya.tech/\"><img src=\"https://avatars0.githubusercontent.com/u/35218186?v=4?s=100\" width=\"100px;\" alt=\"Yuki Yamazaki\"/><br /><sub><b>Yuki Yamazaki</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=kamiazya\" title=\"Code\">💻</a> <a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=kamiazya\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=kamiazya\" title=\"Documentation\">📖</a> <a href=\"#ideas-kamiazya\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://laysent.com\"><img src=\"https://avatars2.githubusercontent.com/u/1191606?v=4?s=100\" width=\"100px;\" alt=\"LaySent\"/><br /><sub><b>LaySent</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3Alaysent\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=laysent\" title=\"Tests\">⚠️</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/elasticdotventures\"><img src=\"https://avatars0.githubusercontent.com/u/35611074?v=4?s=100\" width=\"100px;\" alt=\"elasticdotventures\"/><br /><sub><b>elasticdotventures</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=elasticdotventures\" title=\"Documentation\">📖</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/ChristianMurphy\"><img src=\"https://avatars.githubusercontent.com/u/3107513?v=4?s=100\" width=\"100px;\" alt=\"Christian Murphy\"/><br /><sub><b>Christian Murphy</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=ChristianMurphy\" title=\"Code\">💻</a> <a href=\"#ideas-ChristianMurphy\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/ts-graphviz/ts-graphviz/commits?author=ChristianMurphy\" title=\"Documentation\">📖</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/ArtemAdamenko\"><img src=\"https://avatars.githubusercontent.com/u/2178516?v=4?s=100\" width=\"100px;\" alt=\"Artem\"/><br /><sub><b>Artem</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3AArtemAdamenko\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/fredericohpandolfo\"><img src=\"https://avatars.githubusercontent.com/u/24229136?v=4?s=100\" width=\"100px;\" alt=\"fredericohpandolfo\"/><br /><sub><b>fredericohpandolfo</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3Afredericohpandolfo\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/diegoquinteiro\"><img src=\"https://avatars.githubusercontent.com/u/1878108?v=4?s=100\" width=\"100px;\" alt=\"diegoquinteiro\"/><br /><sub><b>diegoquinteiro</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3Adiegoquinteiro\" title=\"Bug reports\">🐛</a></td>\n    </tr>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/robross0606\"><img src=\"https://avatars.githubusercontent.com/u/2965467?v=4?s=100\" width=\"100px;\" alt=\"robross0606\"/><br /><sub><b>robross0606</b></sub></a><br /><a href=\"#ideas-robross0606\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://blake-regalia.net\"><img src=\"https://avatars.githubusercontent.com/u/1456400?v=4?s=100\" width=\"100px;\" alt=\"Blake Regalia\"/><br /><sub><b>Blake Regalia</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3Ablake-regalia\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/bigbug\"><img src=\"https://avatars.githubusercontent.com/u/27259?v=4?s=100\" width=\"100px;\" alt=\"bigbug\"/><br /><sub><b>bigbug</b></sub></a><br /><a href=\"#question-bigbug\" title=\"Answering Questions\">💬</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/murawakimitsuhiro\"><img src=\"https://avatars.githubusercontent.com/u/13833242?v=4?s=100\" width=\"100px;\" alt=\"mrwk\"/><br /><sub><b>mrwk</b></sub></a><br /><a href=\"#question-murawakimitsuhiro\" title=\"Answering Questions\">💬</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/svdvonde\"><img src=\"https://avatars.githubusercontent.com/u/2751783?v=4?s=100\" width=\"100px;\" alt=\"svdvonde\"/><br /><sub><b>svdvonde</b></sub></a><br /><a href=\"#question-svdvonde\" title=\"Answering Questions\">💬</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/seethroughdev\"><img src=\"https://avatars.githubusercontent.com/u/203779?v=4?s=100\" width=\"100px;\" alt=\"Adam\"/><br /><sub><b>Adam</b></sub></a><br /><a href=\"#question-seethroughdev\" title=\"Answering Questions\">💬</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/trevor-scheer\"><img src=\"https://avatars.githubusercontent.com/u/29644393?v=4?s=100\" width=\"100px;\" alt=\"Trevor Scheer\"/><br /><sub><b>Trevor Scheer</b></sub></a><br /><a href=\"#a11y-trevor-scheer\" title=\"Accessibility\">️️️️♿️</a></td>\n    </tr>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://pre.ms\"><img src=\"https://avatars.githubusercontent.com/u/238277?v=4?s=100\" width=\"100px;\" alt=\"Prem Pillai\"/><br /><sub><b>Prem Pillai</b></sub></a><br /><a href=\"https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3Acloud-on-prem\" title=\"Bug reports\">🐛</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n\n## How to Contribute 💪\n\nThe easiest way to contribute is to use the library and star [repository](https://github.com/ts-graphviz/ts-graphviz).\n\n### Questions 💭\n\nFeel free to ask questions on [GitHub Discussions](https://github.com/ts-graphviz/ts-graphviz/discussions).\n\n### Report bugs / request additional features 💡\n\nPlease register at [GitHub Issues](https://github.com/ts-graphviz/ts-graphviz/issues/new/choose).\n\n### Development / Bug Fixes 🧑‍💻\n\nSee [CONTRIBUTING.md](https://github.com/ts-graphviz/ts-graphviz/blob/main/CONTRIBUTING.md).\n\n### Financial Support 💸\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor](https://opencollective.com/ts-graphviz)\n\n![OpenCollective Sponsors](https://opencollective.com/ts-graphviz/sponsors.svg)\n\nThank you to all our backers! 🙏 [Become a backer](https://opencollective.com/ts-graphviz)\n\n![OpenCollective Backers](https://opencollective.com/ts-graphviz/backer.svg)\n\nPlease support ts-graphviz on [Open Collective](https://opencollective.com/ts-graphviz) or [GitHub Sponsors](https://github.com/sponsors/ts-graphviz).\n\n> **Note** Even just a dollar is enough motivation to develop 😊\n\n## ts-graphviz for Enterprise 🏢\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of ts-graphviz and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open-source dependencies you use to build your applications.\nSave time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use.\n\n[Learn more](https://tidelift.com/subscription/pkg/npm-ts-graphviz?utm_source=npm-ts-graphviz&utm_medium=referral&utm_campaign=enterprise&utm_term=repo).\n\n## License ⚖️\n\nThis software is released under the MIT License, see [LICENSE](https://github.com/ts-graphviz/ts-graphviz/blob/main/LICENSE).\n","readmeFilename":"README.md","_id":"ts-graphviz@0.0.0-next-20240531092059","_integrity":"sha512-RKes3F4mk7Ed7xiQ/9GpBK7mx8WmwMT8fWau9kF6E3VMWbKlP43aOjiXH66liwCQPRCazntknUI4mRAhlGjk6Q==","_resolved":"/tmp/91338de56270f92188ec464621a4e42c/ts-graphviz-0.0.0-next-20240531092059.tgz","_from":"file:ts-graphviz-0.0.0-next-20240531092059.tgz","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-RKes3F4mk7Ed7xiQ/9GpBK7mx8WmwMT8fWau9kF6E3VMWbKlP43aOjiXH66liwCQPRCazntknUI4mRAhlGjk6Q==","shasum":"8a0019046e6f6a2ad0d2fb0c30eb120fa739a86e","tarball":"http://registry-npm.ywwl.com/ts-graphviz/download/ts-graphviz-0.0.0-next-20240531092059.tgz","fileCount":23,"unpackedSize":71626,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/ts-graphviz@0.0.0-next-20240531092059","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6allHN6W9PW/wRe+T/ho9rYzuMLMFgR2fiQhCxjHsgAIhAJ0yYxhJ3Ad9AAKoy75gTXnQzLIn/3yj3bMp9V0iTrkP"}],"size":19236,"noattachment":false,"key":"/ts-graphviz/-/ts-graphviz-0.0.0-next-20240531092059.tgz"},"_npmUser":{"name":"kamiazya","email":"yuki@kamiazya.tech"},"directories":{},"maintainers":[{"name":"kamiazya","email":"yuki@kamiazya.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-graphviz_0.0.0-next-20240531092059_1717147271144_0.5555541269761071"},"_hasShrinkwrap":false,"publish_time":1717147271355,"_cnpm_publish_time":1717147271355,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.13","next":"3.0.14-next-4447d09a6198e25451e4381368cfc00f9b9c2e49"}}