ts-graphviz 1.0.0-2 → 1.0.0-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ja.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  TypeScriptの ための [Graphviz](https://graphviz.gitlab.io/) ライブラリ
15
15
 
16
+ > [GitHub](https://github.com/ts-graphviz/ts-graphviz) | [npm](https://www.npmjs.com/package/ts-graphviz)([yarn](https://github.com/ts-graphviz/ts-graphviz)) | [document](https://ts-graphviz.github.io/ts-graphviz/)
17
+
16
18
  ## 主な機能 ✨
17
19
 
18
20
  TypeScript に完全に統合された Graphviz DOT言語のモデルとASTを提供します。
@@ -26,17 +28,23 @@ TypeScript に完全に統合された Graphviz DOT言語のモデルとASTを
26
28
 
27
29
  ## インストール方法 💽
28
30
 
29
- [npm](https://www.npmjs.com/) からインストールできます。
31
+ このパッケージは、パッケージマネージャを使用してインストールすることができます。
30
32
 
31
33
  ```bash
32
- # yarn
33
- $ yarn add ts-graphviz
34
- # or npm
34
+ # npm
35
35
  $ npm install -S ts-graphviz
36
+ # or yarn
37
+ $ yarn add ts-graphviz
38
+ # or pnpm
39
+ $ pnpm add ts-graphviz
36
40
  ```
37
41
 
38
42
  ## 使い方 📑
39
43
 
44
+ この項では、パッケージの概要について説明します。
45
+
46
+ より詳細なAPIの仕様は、 TypeScript の型定義のコメントやそれを元に自動生成された [ドキュメント](https://ts-graphviz.github.io/ts-graphviz/) を参照してください。
47
+
40
48
  ### `ts-graphviz` モジュール 🚩
41
49
 
42
50
  DOT 言語をJavaScript/TypeScriptで扱うためのインターフェースである Model を提供します。
package/README.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  [Graphviz](https://graphviz.gitlab.io/) library for TypeScript.
15
15
 
16
+ > [GitHub](https://github.com/ts-graphviz/ts-graphviz) | [npm](https://www.npmjs.com/package/ts-graphviz)([yarn](https://github.com/ts-graphviz/ts-graphviz)) | [document](https://ts-graphviz.github.io/ts-graphviz/)
17
+
16
18
  ## Key Features ✨
17
19
 
18
20
  `ts-graphviz` package provides models and ASTs for the Graphviz DOT language fully integrated with TypeScript.
@@ -26,17 +28,23 @@
26
28
 
27
29
  ## Installation 💽
28
30
 
29
- This package can then be installed using [npm](https://www.npmjs.com/):
31
+ This package can then be installed using a package manager.
30
32
 
31
33
  ```bash
32
- # yarn
33
- $ yarn add ts-graphviz
34
- # or npm
34
+ # npm
35
35
  $ npm install -S ts-graphviz
36
+ # or yarn
37
+ $ yarn add ts-graphviz
38
+ # or pnpm
39
+ $ pnpm add ts-graphviz
36
40
  ```
37
41
 
38
42
  ## Usage 📑
39
43
 
44
+ This section provides an overview of the package.
45
+
46
+ For 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.
47
+
40
48
  ### `ts-graphviz` Module 🚩
41
49
 
42
50
  This module provides **Model**, an interface for working with the DOT language in JavaScript/TypeScript.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-graphviz",
3
- "version": "1.0.0-2",
3
+ "version": "1.0.0-3",
4
4
  "author": "kamiazya <yuki@kamiazya.tech>",
5
5
  "description": "Graphviz library for TypeScript.",
6
6
  "homepage": "https://ts-graphviz.github.io/ts-graphviz/",
@@ -1,10 +0,0 @@
1
- digraph state_machine {
2
- node [ shape = circle ]
3
-
4
- { rank = same; Model; AST; DOT; }
5
-
6
- Model -> DOT [ label = "toDot" ]
7
- AST -> DOT [ label = "stringify" ]
8
- DOT -> AST [ label = "parse" ]
9
- Model -> AST [ label = "fromModel" ]
10
- }
@@ -1,20 +0,0 @@
1
- digraph state_machine {
2
- rankdir = LR;
3
- node [ shape = circle ]
4
-
5
- // { rank = same; builder_fn; Model; DOT; }
6
-
7
- builder_fn [
8
- shape = record,
9
- label = "{{Builder Functions | strict.digraph(...)\lstrict.graph(...)\ldigraph(...)\lgraph(...)\l}}"
10
- ]
11
-
12
- oop [
13
- shape = record,
14
- label = "{{Object Oriented Programing | new Digraph(...)\lnew Graph(...)\l...\l}}"
15
- ]
16
-
17
- {builder_fn, oop} -> Model;
18
-
19
- Model -> DOT [ label = "toDot" ]
20
- }