@ts-graphviz/core 0.0.0-pr956-20240225073457 → 0.0.0-pr956-20240225160253
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 +292 -4
- package/lib/AttributeList.cjs +14 -0
- package/lib/AttributeList.d.ts +43 -0
- package/lib/AttributeList.js +14 -0
- package/lib/AttributesBase.cjs +40 -0
- package/lib/AttributesBase.d.ts +30 -0
- package/lib/AttributesBase.js +40 -0
- package/lib/AttributesGroup.cjs +7 -0
- package/lib/AttributesGroup.d.ts +39 -0
- package/lib/AttributesGroup.js +7 -0
- package/lib/Digraph.cjs +9 -0
- package/lib/Digraph.d.ts +107 -0
- package/lib/Digraph.js +9 -0
- package/lib/DotObject.cjs +5 -0
- package/lib/DotObject.d.ts +8 -0
- package/lib/DotObject.js +5 -0
- package/lib/Edge.cjs +23 -0
- package/lib/Edge.d.ts +26 -0
- package/lib/Edge.js +23 -0
- package/lib/Graph.cjs +9 -0
- package/lib/Graph.d.ts +107 -0
- package/lib/Graph.js +9 -0
- package/lib/GraphBase.cjs +152 -0
- package/lib/GraphBase.d.ts +81 -0
- package/lib/GraphBase.js +152 -0
- package/lib/Node.cjs +23 -0
- package/lib/Node.d.ts +64 -0
- package/lib/Node.js +23 -0
- package/lib/RootGraph.cjs +22 -0
- package/lib/RootGraph.d.ts +99 -0
- package/lib/RootGraph.js +22 -0
- package/lib/Subgraph.cjs +26 -0
- package/lib/Subgraph.d.ts +95 -0
- package/lib/Subgraph.js +26 -0
- package/lib/core.cjs +22 -395
- package/lib/core.d.ts +442 -177
- package/lib/core.js +12 -385
- package/lib/register-default.cjs +14 -0
- package/lib/register-default.d.ts +1 -0
- package/lib/register-default.js +13 -0
- package/package.json +59 -17
- package/src/attribute.ts +0 -18
- package/src/core.ts +0 -5
- package/src/from-dot.ts +0 -73
- package/src/model-factory/index.ts +0 -2
- package/src/model-factory/model-factory-builder.test.ts +0 -79
- package/src/model-factory/model-factory-builder.ts +0 -55
- package/src/model-factory/model-factory.test.ts +0 -61
- package/src/model-factory/model-factory.ts +0 -40
- package/src/model-factory/types.ts +0 -46
- package/src/models/AttributeList.spec.ts +0 -58
- package/src/models/AttributeList.ts +0 -32
- package/src/models/AttributesBase.spec.ts +0 -79
- package/src/models/AttributesBase.ts +0 -62
- package/src/models/AttributesGroup.spec.ts +0 -18
- package/src/models/AttributesGroup.ts +0 -13
- package/src/models/Digraph.spec.ts +0 -17
- package/src/models/Digraph.ts +0 -11
- package/src/models/DotObject.ts +0 -5
- package/src/models/Edge.spec.ts +0 -48
- package/src/models/Edge.ts +0 -40
- package/src/models/Graph.spec.ts +0 -18
- package/src/models/Graph.ts +0 -11
- package/src/models/GraphBase.spec.ts +0 -364
- package/src/models/GraphBase.ts +0 -263
- package/src/models/Node.spec.ts +0 -25
- package/src/models/Node.ts +0 -37
- package/src/models/RootGraph.spec.ts +0 -69
- package/src/models/RootGraph.ts +0 -48
- package/src/models/Subgraph.spec.ts +0 -196
- package/src/models/Subgraph.ts +0 -44
- package/src/models/index.ts +0 -15
- package/src/models/registerModelContext.ts +0 -14
- package/src/to-dot.ts +0 -36
- package/tsconfig.json +0 -8
- package/typedoc.json +0 -4
- package/vite.config.ts +0 -22
package/lib/core.cjs
CHANGED
|
@@ -1,397 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
var __accessCheck = (obj, member, msg) => {
|
|
9
|
-
if (!member.has(obj))
|
|
10
|
-
throw TypeError("Cannot " + msg);
|
|
11
|
-
};
|
|
12
|
-
var __privateGet = (obj, member, getter) => {
|
|
13
|
-
__accessCheck(obj, member, "read from private field");
|
|
14
|
-
return getter ? getter.call(obj) : member.get(obj);
|
|
15
|
-
};
|
|
16
|
-
var __privateAdd = (obj, member, value) => {
|
|
17
|
-
if (member.has(obj))
|
|
18
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
19
|
-
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
20
|
-
};
|
|
21
|
-
var __privateSet = (obj, member, value, setter) => {
|
|
22
|
-
__accessCheck(obj, member, "write to private field");
|
|
23
|
-
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
24
|
-
return value;
|
|
25
|
-
};
|
|
26
|
-
var _attrs, _models, _objects;
|
|
27
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
get size() {
|
|
51
|
-
return __privateGet(this, _attrs).size;
|
|
52
|
-
}
|
|
53
|
-
get(key) {
|
|
54
|
-
return __privateGet(this, _attrs).get(key);
|
|
55
|
-
}
|
|
56
|
-
set(key, value) {
|
|
57
|
-
if (value !== null && value !== void 0) {
|
|
58
|
-
__privateGet(this, _attrs).set(key, value);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
delete(key) {
|
|
62
|
-
__privateGet(this, _attrs).delete(key);
|
|
63
|
-
}
|
|
64
|
-
apply(attributes) {
|
|
65
|
-
const entries = Array.isArray(attributes) ? attributes : Object.entries(attributes);
|
|
66
|
-
for (const [key, value] of entries) {
|
|
67
|
-
this.set(key, value);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
clear() {
|
|
71
|
-
__privateGet(this, _attrs).clear();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
_attrs = new WeakMap();
|
|
75
|
-
class AttributeList extends AttributesBase {
|
|
76
|
-
constructor($$kind, attributes) {
|
|
77
|
-
super(attributes);
|
|
78
|
-
__publicField(this, "comment");
|
|
79
|
-
this.$$kind = $$kind;
|
|
80
|
-
}
|
|
81
|
-
get $$type() {
|
|
82
|
-
return "AttributeList";
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
class GraphBase extends AttributesBase {
|
|
86
|
-
constructor() {
|
|
87
|
-
super(...arguments);
|
|
88
|
-
/** @hidden */
|
|
89
|
-
__privateAdd(this, _models, common.RootModelsContext);
|
|
90
|
-
__publicField(this, "id");
|
|
91
|
-
__publicField(this, "comment");
|
|
92
|
-
__publicField(this, "attributes", Object.freeze({
|
|
93
|
-
graph: new AttributeList("Graph"),
|
|
94
|
-
edge: new AttributeList("Edge"),
|
|
95
|
-
node: new AttributeList("Node")
|
|
96
|
-
}));
|
|
97
|
-
/** @hidden */
|
|
98
|
-
__privateAdd(this, _objects, {
|
|
99
|
-
nodes: /* @__PURE__ */ new Map(),
|
|
100
|
-
edges: /* @__PURE__ */ new Set(),
|
|
101
|
-
subgraphs: /* @__PURE__ */ new Set()
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
get nodes() {
|
|
105
|
-
return Array.from(__privateGet(this, _objects).nodes.values());
|
|
106
|
-
}
|
|
107
|
-
get edges() {
|
|
108
|
-
return Array.from(__privateGet(this, _objects).edges.values());
|
|
109
|
-
}
|
|
110
|
-
get subgraphs() {
|
|
111
|
-
return Array.from(__privateGet(this, _objects).subgraphs.values());
|
|
112
|
-
}
|
|
113
|
-
with(models) {
|
|
114
|
-
__privateSet(this, _models, common.createModelsContext(models));
|
|
115
|
-
}
|
|
116
|
-
addNode(node) {
|
|
117
|
-
__privateGet(this, _objects).nodes.set(node.id, node);
|
|
118
|
-
}
|
|
119
|
-
addEdge(edge) {
|
|
120
|
-
__privateGet(this, _objects).edges.add(edge);
|
|
121
|
-
}
|
|
122
|
-
addSubgraph(subgraph) {
|
|
123
|
-
__privateGet(this, _objects).subgraphs.add(subgraph);
|
|
124
|
-
}
|
|
125
|
-
existNode(nodeId) {
|
|
126
|
-
return __privateGet(this, _objects).nodes.has(nodeId);
|
|
127
|
-
}
|
|
128
|
-
existEdge(edge) {
|
|
129
|
-
return __privateGet(this, _objects).edges.has(edge);
|
|
130
|
-
}
|
|
131
|
-
existSubgraph(subgraph) {
|
|
132
|
-
return __privateGet(this, _objects).subgraphs.has(subgraph);
|
|
133
|
-
}
|
|
134
|
-
createSubgraph(...args) {
|
|
135
|
-
const subgraph = new (__privateGet(this, _models)).Subgraph(...args);
|
|
136
|
-
subgraph.with(__privateGet(this, _models));
|
|
137
|
-
this.addSubgraph(subgraph);
|
|
138
|
-
return subgraph;
|
|
139
|
-
}
|
|
140
|
-
removeNode(node) {
|
|
141
|
-
__privateGet(this, _objects).nodes.delete(typeof node === "string" ? node : node.id);
|
|
142
|
-
}
|
|
143
|
-
removeEdge(edge) {
|
|
144
|
-
__privateGet(this, _objects).edges.delete(edge);
|
|
145
|
-
}
|
|
146
|
-
removeSubgraph(subgraph) {
|
|
147
|
-
__privateGet(this, _objects).subgraphs.delete(subgraph);
|
|
148
|
-
}
|
|
149
|
-
createNode(id, attributes) {
|
|
150
|
-
const node = new (__privateGet(this, _models)).Node(id, attributes);
|
|
151
|
-
this.addNode(node);
|
|
152
|
-
return node;
|
|
153
|
-
}
|
|
154
|
-
getSubgraph(id) {
|
|
155
|
-
return Array.from(__privateGet(this, _objects).subgraphs.values()).find(
|
|
156
|
-
(subgraph) => subgraph.id === id
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
getNode(id) {
|
|
160
|
-
return __privateGet(this, _objects).nodes.get(id);
|
|
161
|
-
}
|
|
162
|
-
createEdge(targets, attributes) {
|
|
163
|
-
const ts = targets.map(
|
|
164
|
-
(t) => common.isNodeRefGroupLike(t) ? common.toNodeRefGroup(t) : common.toNodeRef(t)
|
|
165
|
-
);
|
|
166
|
-
const edge = new (__privateGet(this, _models)).Edge(ts, attributes);
|
|
167
|
-
this.addEdge(edge);
|
|
168
|
-
return edge;
|
|
169
|
-
}
|
|
170
|
-
subgraph(...args) {
|
|
171
|
-
const id = args.find(
|
|
172
|
-
(arg) => typeof arg === "string"
|
|
173
|
-
);
|
|
174
|
-
const attributes = args.find(
|
|
175
|
-
(arg) => typeof arg === "object" && arg !== null
|
|
176
|
-
);
|
|
177
|
-
const callback = args.find(
|
|
178
|
-
(arg) => typeof arg === "function"
|
|
179
|
-
);
|
|
180
|
-
const subgraph = id ? this.getSubgraph(id) ?? this.createSubgraph(id) : this.createSubgraph();
|
|
181
|
-
if (attributes !== void 0) {
|
|
182
|
-
subgraph.apply(attributes);
|
|
183
|
-
}
|
|
184
|
-
if (callback !== void 0) {
|
|
185
|
-
callback(subgraph);
|
|
186
|
-
}
|
|
187
|
-
return subgraph;
|
|
188
|
-
}
|
|
189
|
-
node(firstArg, ...args) {
|
|
190
|
-
if (typeof firstArg === "string") {
|
|
191
|
-
const id = firstArg;
|
|
192
|
-
const attributes = args.find(
|
|
193
|
-
(arg) => typeof arg === "object" && arg !== null
|
|
194
|
-
);
|
|
195
|
-
const callback = args.find(
|
|
196
|
-
(arg) => typeof arg === "function"
|
|
197
|
-
);
|
|
198
|
-
const node = this.getNode(id) ?? this.createNode(id);
|
|
199
|
-
if (attributes !== void 0) {
|
|
200
|
-
node.attributes.apply(attributes);
|
|
201
|
-
}
|
|
202
|
-
if (callback !== void 0) {
|
|
203
|
-
callback(node);
|
|
204
|
-
}
|
|
205
|
-
return node;
|
|
206
|
-
}
|
|
207
|
-
if (typeof firstArg === "object" && firstArg !== null) {
|
|
208
|
-
this.attributes.node.apply(firstArg);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
edge(firstArg, ...args) {
|
|
212
|
-
if (Array.isArray(firstArg)) {
|
|
213
|
-
const targets = firstArg;
|
|
214
|
-
const attributes = args.find(
|
|
215
|
-
(arg) => typeof arg === "object"
|
|
216
|
-
);
|
|
217
|
-
const callback = args.find(
|
|
218
|
-
(arg) => typeof arg === "function"
|
|
219
|
-
);
|
|
220
|
-
const edge = this.createEdge(targets, attributes);
|
|
221
|
-
if (callback !== void 0) {
|
|
222
|
-
callback(edge);
|
|
223
|
-
}
|
|
224
|
-
return edge;
|
|
225
|
-
}
|
|
226
|
-
if (typeof firstArg === "object" && firstArg !== null) {
|
|
227
|
-
this.attributes.edge.apply(firstArg);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
graph(attributes) {
|
|
231
|
-
this.attributes.graph.apply(attributes);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
_models = new WeakMap();
|
|
235
|
-
_objects = new WeakMap();
|
|
236
|
-
class RootGraph extends GraphBase {
|
|
237
|
-
constructor(...args) {
|
|
238
|
-
super();
|
|
239
|
-
__publicField(this, "id");
|
|
240
|
-
__publicField(this, "strict");
|
|
241
|
-
this.id = args.find((arg) => typeof arg === "string");
|
|
242
|
-
this.strict = args.find((arg) => typeof arg === "boolean") ?? false;
|
|
243
|
-
const attributes = args.find(
|
|
244
|
-
(arg) => typeof arg === "object" && arg !== null
|
|
245
|
-
);
|
|
246
|
-
if (attributes !== void 0) {
|
|
247
|
-
this.apply(attributes);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
get $$type() {
|
|
251
|
-
return "Graph";
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
class Digraph extends RootGraph {
|
|
255
|
-
get directed() {
|
|
256
|
-
return true;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
class AttributesGroup extends AttributesBase {
|
|
260
|
-
constructor() {
|
|
261
|
-
super(...arguments);
|
|
262
|
-
__publicField(this, "comment");
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
class Edge extends DotObject {
|
|
266
|
-
constructor(targets, attributes) {
|
|
267
|
-
super();
|
|
268
|
-
__publicField(this, "comment");
|
|
269
|
-
__publicField(this, "attributes");
|
|
270
|
-
this.targets = targets;
|
|
271
|
-
if (targets.length < 2 && (common.isNodeRefLike(targets[0]) && common.isNodeRefLike(targets[1])) === false) {
|
|
272
|
-
throw Error(
|
|
273
|
-
"The element of Edge target is missing or not satisfied as Edge target."
|
|
274
|
-
);
|
|
275
|
-
}
|
|
276
|
-
this.attributes = new AttributesGroup(attributes);
|
|
277
|
-
}
|
|
278
|
-
get $$type() {
|
|
279
|
-
return "Edge";
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
class Graph extends RootGraph {
|
|
283
|
-
get directed() {
|
|
284
|
-
return false;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
class Node extends DotObject {
|
|
288
|
-
constructor(id, attributes) {
|
|
289
|
-
super();
|
|
290
|
-
__publicField(this, "comment");
|
|
291
|
-
__publicField(this, "attributes");
|
|
292
|
-
this.id = id;
|
|
293
|
-
this.attributes = new AttributesGroup(attributes);
|
|
294
|
-
}
|
|
295
|
-
get $$type() {
|
|
296
|
-
return "Node";
|
|
297
|
-
}
|
|
298
|
-
port(port) {
|
|
299
|
-
if (typeof port === "string") {
|
|
300
|
-
return { id: this.id, port };
|
|
301
|
-
}
|
|
302
|
-
return { id: this.id, ...port };
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
class Subgraph extends GraphBase {
|
|
306
|
-
constructor(...args) {
|
|
307
|
-
super();
|
|
308
|
-
__publicField(this, "id");
|
|
309
|
-
this.id = args.find((arg) => typeof arg === "string");
|
|
310
|
-
const attributes = args.find(
|
|
311
|
-
(arg) => typeof arg === "object" && arg !== null
|
|
312
|
-
);
|
|
313
|
-
if (attributes !== void 0) {
|
|
314
|
-
this.apply(attributes);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
get $$type() {
|
|
318
|
-
return "Subgraph";
|
|
319
|
-
}
|
|
320
|
-
isSubgraphCluster() {
|
|
321
|
-
if (typeof this.id === "string") {
|
|
322
|
-
return this.id.startsWith("cluster");
|
|
323
|
-
}
|
|
324
|
-
return false;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
Object.assign(common.RootModelsContext, {
|
|
328
|
-
Graph,
|
|
329
|
-
Digraph,
|
|
330
|
-
Subgraph,
|
|
331
|
-
Node,
|
|
332
|
-
Edge
|
|
333
|
-
});
|
|
334
|
-
function ModelFactoryBuilder(directed, strictMode) {
|
|
335
|
-
return (...args) => {
|
|
336
|
-
const G = directed ? this.Digraph : this.Graph;
|
|
337
|
-
const id = args.find((arg) => typeof arg === "string");
|
|
338
|
-
const attributes = args.find(
|
|
339
|
-
(arg) => typeof arg === "object"
|
|
340
|
-
);
|
|
341
|
-
const callback = args.find(
|
|
342
|
-
(arg) => typeof arg === "function"
|
|
343
|
-
);
|
|
344
|
-
const g = new G(id, strictMode, attributes);
|
|
345
|
-
g.with(this);
|
|
346
|
-
if (typeof callback === "function") {
|
|
347
|
-
callback(g);
|
|
348
|
-
}
|
|
349
|
-
return g;
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
function createModelFactories(strict2, context = common.RootModelsContext) {
|
|
353
|
-
return Object.freeze({
|
|
354
|
-
digraph: ModelFactoryBuilder.call(context, true, strict2),
|
|
355
|
-
graph: ModelFactoryBuilder.call(context, false, strict2)
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
const noStrict = createModelFactories(false);
|
|
359
|
-
const digraph = noStrict.digraph;
|
|
360
|
-
const graph = noStrict.graph;
|
|
361
|
-
const strict = createModelFactories(true);
|
|
362
|
-
function withContext(models) {
|
|
363
|
-
const context = common.createModelsContext(models);
|
|
364
|
-
return Object.freeze({
|
|
365
|
-
...createModelFactories(false, context),
|
|
366
|
-
strict: createModelFactories(true, context)
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
function toDot(model, options) {
|
|
370
|
-
const ast$1 = ast.fromModel(model, options == null ? void 0 : options.convert);
|
|
371
|
-
return ast.stringify(ast$1, options == null ? void 0 : options.print);
|
|
372
|
-
}
|
|
373
|
-
function fromDot(dot, options) {
|
|
374
|
-
const ast$1 = ast.parse(dot, options == null ? void 0 : options.parse);
|
|
375
|
-
if (Array.isArray(ast$1) || ast$1.type === "Attribute" || ast$1.type === "AttributeList" || ast$1.type === "Comment" || ast$1.type === "NodeRef" || ast$1.type === "NodeRefGroup" || ast$1.type === "Literal") {
|
|
376
|
-
throw new Error();
|
|
377
|
-
}
|
|
378
|
-
return ast.toModel(ast$1, options == null ? void 0 : options.convert);
|
|
379
|
-
}
|
|
380
|
-
exports.AttributeList = AttributeList;
|
|
381
|
-
exports.AttributesBase = AttributesBase;
|
|
382
|
-
exports.AttributesGroup = AttributesGroup;
|
|
383
|
-
exports.Digraph = Digraph;
|
|
384
|
-
exports.DotObject = DotObject;
|
|
385
|
-
exports.Edge = Edge;
|
|
386
|
-
exports.Graph = Graph;
|
|
387
|
-
exports.GraphBase = GraphBase;
|
|
388
|
-
exports.Node = Node;
|
|
389
|
-
exports.RootGraph = RootGraph;
|
|
390
|
-
exports.Subgraph = Subgraph;
|
|
391
|
-
exports.attribute = attribute;
|
|
392
|
-
exports.digraph = digraph;
|
|
393
|
-
exports.fromDot = fromDot;
|
|
394
|
-
exports.graph = graph;
|
|
395
|
-
exports.strict = strict;
|
|
396
|
-
exports.toDot = toDot;
|
|
397
|
-
exports.withContext = withContext;
|
|
3
|
+
const AttributeList = require("./AttributeList.cjs");
|
|
4
|
+
const AttributesBase = require("./AttributesBase.cjs");
|
|
5
|
+
const AttributesGroup = require("./AttributesGroup.cjs");
|
|
6
|
+
const Digraph = require("./Digraph.cjs");
|
|
7
|
+
const DotObject = require("./DotObject.cjs");
|
|
8
|
+
const Edge = require("./Edge.cjs");
|
|
9
|
+
const Graph = require("./Graph.cjs");
|
|
10
|
+
const GraphBase = require("./GraphBase.cjs");
|
|
11
|
+
const Node = require("./Node.cjs");
|
|
12
|
+
const RootGraph = require("./RootGraph.cjs");
|
|
13
|
+
const Subgraph = require("./Subgraph.cjs");
|
|
14
|
+
exports.AttributeList = AttributeList.AttributeList;
|
|
15
|
+
exports.AttributesBase = AttributesBase.AttributesBase;
|
|
16
|
+
exports.AttributesGroup = AttributesGroup.AttributesGroup;
|
|
17
|
+
exports.Digraph = Digraph.Digraph;
|
|
18
|
+
exports.DotObject = DotObject.DotObject;
|
|
19
|
+
exports.Edge = Edge.Edge;
|
|
20
|
+
exports.Graph = Graph.Graph;
|
|
21
|
+
exports.GraphBase = GraphBase.GraphBase;
|
|
22
|
+
exports.Node = Node.Node;
|
|
23
|
+
exports.RootGraph = RootGraph.RootGraph;
|
|
24
|
+
exports.Subgraph = Subgraph.Subgraph;
|