Simple Graphviz library for TypeScript.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.5...v1.6.0
Published by github-actions[bot] over 1 year ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.4...v1.5.5
Published by github-actions[bot] over 1 year ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.3...v1.5.4
Published by github-actions[bot] over 1 year ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.2...v1.5.3
Published by github-actions[bot] over 1 year ago
Special Thanks for @blake-regalia ✨
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.1...v1.5.2
Published by github-actions[bot] over 1 year ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.5.0...v1.5.1
Published by github-actions[bot] almost 2 years ago
Special thanks for @robross0606 !
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.4.0...v1.5.0
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.4...v1.4.0
Published by github-actions[bot] almost 2 years ago
Special tahnks for @diegoquinteiro !
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.3...v1.3.4
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.2...v1.3.3
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.3.1...v1.3.2
Published by github-actions[bot] almost 2 years ago
Deno v1.28 and above supports npm.
You can install and use the package by specifying the following:
import { toDot } from 'npm:ts-graphviz';
This module provides the following functions.
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);
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.
Full Changelog: https://github.com/ts-graphviz/ts-graphviz/compare/v1.2.3...v1.3.0
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago