メインコンテンツまでスキップ
ts-graphviz
ガイド
プレイグラウンド
API リファレンス
ブログ
日本語
English
日本語
中文(中国)
GitHub
検索
実行
Ctrl
/
⌘
+
Enter
import { digraph, attribute as _ } from 'ts-graphviz'; digraph('state_machine', { [_.newrank]: true }, (g) => { g.node({ shape: 'circle' }); g.edge(['Model', 'DOT'], { [_.label]: 'toDot', [_.constraint]: false }); g.edge(['AST', 'DOT'], { [_.label]: 'stringify' }); g.edge(['DOT', 'AST'], { [_.label]: 'parse' }); g.edge(['Model', 'AST'], { [_.label]: 'fromModel' }); g.edge(['AST', 'Model'], { [_.label]: 'toModel' }); g.edge(['DOT', 'Model'], { [_.label]: 'fromDot', [_.constraint]: false }); });
実行中…