ts-graphviz

Simple Graphviz library for TypeScript.

MIT License

Downloads
4.2M
Stars
116
Committers
11

Bot releases are visible (Hide)

ts-graphviz - v1.7.0 🌈

Published by github-actions[bot] over 1 year ago

Changes

🚀 Features

  • feat: Support exclude types @kamiazya (#853)
ts-graphviz - v1.6.1 🌈

Published by github-actions[bot] over 1 year ago

Changes

  • chaos: improve crealeElement function @kamiazya (#850)
  • fix: Add jest setting for resolve test failed after e2e test @kamiazya (#849)
ts-graphviz - v1.6.0 🌈

Published by github-actions[bot] over 1 year ago

🚀 Features

  • Extend type system to customize graph visualization solutions @kamiazya (#847)

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.5...v1.6.0

ts-graphviz - v1.5.5 🌈

Published by github-actions[bot] over 1 year ago

Changes

  • chaos: remove code doc from JS code, not from d.ts @kamiazya (#839)
  • chaos: add docs, refactor code and add tests @kamiazya (#838)

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.4...v1.5.5

ts-graphviz - v1.5.4 🌈

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • add Blank type for reset attribute @kamiazya (#824)

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.3...v1.5.4

ts-graphviz - v1.5.3 🌈

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • Resume pauded stream @kamiazya (#810)
  • fix: rename SyntaxError to let not override native SyntaxError @kamiazya (#794)

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.2...v1.5.3

ts-graphviz - v1.5.2 🌈

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • fix: add missing class attribute @kamiazya (#790)

Changes

  • chaos: upgrade dev dependencies versions @kamiazya (#792)

Special Thanks for @blake-regalia ✨

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.1...v1.5.2

ts-graphviz - v1.5.1 🌈

Published by github-actions[bot] over 1 year ago

Changes

  • Add Runkit example @kamiazya (#787)

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.0...v1.5.1

ts-graphviz - v1.5.0 🌈

Published by github-actions[bot] almost 2 years ago

🚀 Features

  • Add error handling for adapter module @kamiazya (#778)
  • Add more options for adapter module @kamiazya (#773)

🐛 Bug Fixes

  • fix to escape option values on adapter module @kamiazya (#783)

Changes

  • doc: fix toStream type for deno @kamiazya (#772)

Special thanks for @robross0606 !

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.4.0...v1.5.0

ts-graphviz - v1.4.0 🌈

Published by github-actions[bot] almost 2 years ago

Changes

🚀 Features

  • Support webpack build @kamiazya (#755)

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.4...v1.4.0

ts-graphviz - v1.3.4 🌈

Published by github-actions[bot] almost 2 years ago

What's Changed

Special tahnks for @diegoquinteiro !

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.3...v1.3.4

ts-graphviz - v1.3.3 🌈

Published by github-actions[bot] almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.2...v1.3.3

ts-graphviz - v1.3.1-1.3.2 🌈

Published by github-actions[bot] almost 2 years ago

Changes

  • No changes
    • Just failed to publish package on CI. Source code has no changes.

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.1...v1.3.2

ts-graphviz - v1.3.0 🌈 Support Deno and adapter module

Published by github-actions[bot] almost 2 years ago

Support Deno 🦕

Deno v1.28 and above supports npm.

You can install and use the package by specifying the following:

import { toDot } from 'npm:ts-graphviz';

What's Changed

🚀 Features

This module provides the following functions.

  • The toStream function converts DOT to Stream.
    import { toStream } from 'ts-graphviz/adapter';
    
    const dot = `
      digraph example {
        node1 [
          label = "My Node",
        ]
      }
    `;
    
    const stream = await toStream(dot, { format: 'svg' });
    // Node.js
    stream.pipe(process.stdout);
    // Deno
    await stream.pipeTo(Deno.stdout.writable);
    
  • Writes DOT to a file at the specified path toFile function
    import { toFile } from 'ts-graphviz/adapter';
    
    const dot = `
      digraph example {
        node1 [
          label = "My Node",
        ]
      }
    `;
    
    await toFile(dot, './result.svg', { format: 'svg' });
    

Note Designed to work with Node.js and Deno, Stream is runtime native.

Changes

Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.2.3...v1.3.0

ts-graphviz - v1.2.3 🌈

Published by github-actions[bot] about 2 years ago

Changes

🐛 Bug Fixes

  • Resupport broken CommonJS module @kamiazya (#687)
  • fix: fix EdgePlugin for NodeRefGroup to AST conversion @kamiazya (#686)
ts-graphviz - v1.2.2 🌈

Published by github-actions[bot] about 2 years ago

Changes

🐛 Bug Fixes

  • fix: broken build @kamiazya (#684)
ts-graphviz - v1.2.1 🌈

Published by github-actions[bot] about 2 years ago

Changes

🐛 Bug Fixes

  • fix: fix broken build @kamiazya (#677)
ts-graphviz - v1.2.0 🌈

Published by github-actions[bot] about 2 years ago

🚀 Features

  • feat: Add AST to Model API @kamiazya (#674)

Changes

  • doc: Add a Codacy badge to README.md @codacy-badger (#675)
ts-graphviz - v1.1.0 🌈

Published by github-actions[bot] about 2 years ago

Changes

🚀 Features

  • feat: Models Context API @kamiazya (#672)
ts-graphviz - v1.0.1 🌈

Published by github-actions[bot] about 2 years ago

Changes

  • Update code doc and Upgrade typedoc version @kamiazya (#669)
Package Rankings
Top 2.37% on Npmjs.org
Badges
Extracted from project README
License: MIT PRs Welcome CI All Contributors OpenSSF Best Practices OpenSSF Scorecard Tidelift npm version deno version GitHub npm yarn Refarence Sponsor OpenCollective format: Biome test: Vitest build: Vite