ts-graphviz 2.1.4-next-03bafa0e10b43807b5568df4ffba720752a0ac02 → 2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af
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/CHANGELOG.md +8 -4
- package/lib/attribute.d.ts +1 -1
- package/lib/from-dot.d.ts +2 -2
- package/lib/model-factory-builder.d.ts +2 -2
- package/lib/model-factory.d.ts +4 -4
- package/lib/to-dot.d.ts +2 -2
- package/lib/types.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
# ts-graphviz
|
|
2
2
|
|
|
3
|
-
## 2.1.4-next-
|
|
3
|
+
## 2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- [#1205](https://github.com/ts-graphviz/ts-graphviz/pull/1205) [`9608151`](https://github.com/ts-graphviz/ts-graphviz/commit/9608151b1325484dbd01d5c902e91555219cc3cb) Thanks [@kamiazya](https://github.com/kamiazya)! - Update CI Badge URL
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- [#1179](https://github.com/ts-graphviz/ts-graphviz/pull/1179) [`f48ae4a`](https://github.com/ts-graphviz/ts-graphviz/commit/f48ae4a36fde430cf4a4769189243acd76560946) Thanks [@kamiazya](https://github.com/kamiazya)! - build(deps-dev): bump vite-plugin-dts from 3.9.1 to 4.2.1
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`03bafa0`](https://github.com/ts-graphviz/ts-graphviz/commit/03bafa0e10b43807b5568df4ffba720752a0ac02), [`6bb5ab1`](https://github.com/ts-graphviz/ts-graphviz/commit/6bb5ab18682daa1410de4a35edc22316487989af), [`f48ae4a`](https://github.com/ts-graphviz/ts-graphviz/commit/f48ae4a36fde430cf4a4769189243acd76560946)]:
|
|
12
|
+
- @ts-graphviz/ast@2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af
|
|
13
|
+
- @ts-graphviz/adapter@2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af
|
|
14
|
+
- @ts-graphviz/common@2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af
|
|
15
|
+
- @ts-graphviz/core@2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af
|
|
12
16
|
|
|
13
17
|
## 2.1.3
|
|
14
18
|
|
package/lib/attribute.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Attribute } from '@ts-graphviz/common';
|
|
2
2
|
export declare const attribute: Attribute.keys;
|
package/lib/from-dot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ConvertToModelOptions, ParseOptions } from '@ts-graphviz/ast';
|
|
2
|
+
import { EdgeModel, NodeModel, RootGraphModel, SubgraphModel } from '@ts-graphviz/common';
|
|
3
3
|
export interface FromDotOptions<T extends 'Dot' | 'Graph' | 'Node' | 'Edge' | 'Subgraph'> {
|
|
4
4
|
parse?: ParseOptions<T>;
|
|
5
5
|
convert?: ConvertToModelOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ModelsContext } from '@ts-graphviz/common';
|
|
2
|
+
import { ModelFactory } from './types.js';
|
|
3
3
|
export declare function ModelFactoryBuilder(this: ModelsContext, directed: boolean, strictMode: boolean): ModelFactory;
|
|
4
4
|
export declare function createModelFactories(strict: boolean, context?: ModelsContext): Readonly<{
|
|
5
5
|
digraph: ModelFactory;
|
package/lib/model-factory.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
export declare const digraph: import(
|
|
4
|
-
export declare const graph: import(
|
|
1
|
+
import { ModelsContext } from '@ts-graphviz/common';
|
|
2
|
+
import { ModelFactories, ModelFactoriesWithStrict } from './types.js';
|
|
3
|
+
export declare const digraph: import('./types.js').ModelFactory;
|
|
4
|
+
export declare const graph: import('./types.js').ModelFactory;
|
|
5
5
|
export declare const strict: ModelFactories;
|
|
6
6
|
export declare function withContext(models: Partial<ModelsContext>): ModelFactoriesWithStrict;
|
package/lib/to-dot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ConvertFromModelOptions, PrintOptions } from '@ts-graphviz/ast';
|
|
2
|
+
import { DotObjectModel } from '@ts-graphviz/common';
|
|
3
3
|
export interface ToDotOptions {
|
|
4
4
|
convert?: ConvertFromModelOptions;
|
|
5
5
|
print?: PrintOptions;
|
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { GraphAttributesObject, RootGraphModel } from '@ts-graphviz/common';
|
|
2
2
|
export interface ModelFactory {
|
|
3
3
|
(id?: string, attributes?: GraphAttributesObject, callback?: (g: RootGraphModel) => void): RootGraphModel;
|
|
4
4
|
(attributes?: GraphAttributesObject, callback?: (g: RootGraphModel) => void): RootGraphModel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-graphviz",
|
|
3
|
-
"version": "2.1.4-next-
|
|
3
|
+
"version": "2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af",
|
|
4
4
|
"description": "Graphviz library for TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphviz",
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
"module": "./lib/ts-graphviz.js",
|
|
52
52
|
"types": "lib/ts-graphviz.d.ts",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@ts-graphviz/adapter": "^2.0.
|
|
55
|
-
"@ts-graphviz/ast": "^2.0.5-next-
|
|
56
|
-
"@ts-graphviz/common": "^2.1.
|
|
57
|
-
"@ts-graphviz/core": "^2.0.5-next-
|
|
54
|
+
"@ts-graphviz/adapter": "^2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af",
|
|
55
|
+
"@ts-graphviz/ast": "^2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af",
|
|
56
|
+
"@ts-graphviz/common": "^2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af",
|
|
57
|
+
"@ts-graphviz/core": "^2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"typescript": "^5.4.5",
|
|
61
61
|
"vite": "^5.2.8",
|
|
62
|
-
"vite-plugin-dts": "^
|
|
62
|
+
"vite-plugin-dts": "^4.2.1"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=18"
|