Skip to content

Commit

Permalink
refactor(render/dot): internally renames the new dot renderer from nd…
Browse files Browse the repository at this point in the history
…ot to dot
  • Loading branch information
sverweij committed Dec 22, 2024
1 parent 392a170 commit 2b074a1
Show file tree
Hide file tree
Showing 21 changed files with 16 additions and 16 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion dist/render/index-node.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/render/index.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/render/vector/vector-native-dot-with-fallback.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/render/vector/vector-with-wasm.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/smcat-online-interpreter.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/state-machine-cat-inpage.min.js.map

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/render/index-node.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
StringRenderFunctionType,
} from "types/state-machine-cat.mjs";
import smcatRendererAsImported from "./smcat.mjs";
import renderDot from "./ndot/index.mjs";
import renderDot from "./dot/index.mjs";
import vector from "./vector/vector-native-dot-with-fallback.mjs";
import oldVector from "./vector/vector-with-wasm.mjs";
import scjson from "./scjson/index.mjs";
Expand Down
2 changes: 1 addition & 1 deletion src/render/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
StringRenderFunctionType,
} from "types/state-machine-cat.mjs";
import smcatRendererAsImported from "./smcat.mjs";
import renderDot from "./ndot/index.mjs";
import renderDot from "./dot/index.mjs";
import svg from "./vector/vector-with-wasm.mjs";
import scjson from "./scjson/index.mjs";
import scxml from "./scxml/index.mjs";
Expand Down
2 changes: 1 addition & 1 deletion src/render/vector/vector-native-dot-with-fallback.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {
StringRenderFunctionType,
} from "types/state-machine-cat.mjs";
import options from "../../options.mjs";
import ast2dot from "../ndot/index.mjs";
import ast2dot from "../dot/index.mjs";
import dotToVectorNative, {
DotToVectorNativeOptionsType,
} from "./dot-to-vector-native.mjs";
Expand Down
2 changes: 1 addition & 1 deletion src/render/vector/vector-with-wasm.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
} from "types/state-machine-cat.mjs";
import { type Engine, type Format, Graphviz } from "@hpcc-js/wasm-graphviz";
import options from "../../options.mjs";
import ast2dot from "../ndot/index.mjs";
import ast2dot from "../dot/index.mjs";

const OUTPUT_TYPE2FORMAT: { [name: string]: string } = {
oldsvg: "svg",
Expand Down
2 changes: 1 addition & 1 deletion test/render/dot.spec.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";
import { deepEqual } from "node:assert/strict";
import render from "#render/ndot/index.mjs";
import render from "#render/dot/index.mjs";

const FIXTURE_DIR = fileURLToPath(new URL("fixtures", import.meta.url));
const FIXTURE_INPUTS = fs
Expand Down
2 changes: 1 addition & 1 deletion test/render/dot/attributebuilder.spec.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { equal } from "node:assert/strict";
import attributebuilder from "#render/ndot/attributebuilder.mjs";
import attributebuilder from "#render/dot/attributebuilder.mjs";

describe("attributebuilder ", () => {
describe("buildGraphAttributes", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/render/dot/index.spec.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fileURLToPath } from "node:url";
import { equal } from "node:assert/strict";
import { createRequireJSON } from "../../utl.mjs";
import type { IRenderOptions } from "../../../types/state-machine-cat.mjs";
import convert from "#render/ndot/index.mjs";
import convert from "#render/dot/index.mjs";

const requireJSON = createRequireJSON(import.meta.url);

Expand Down
2 changes: 1 addition & 1 deletion test/render/dot/utl.spec.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { equal } from "node:assert/strict";
import * as utl from "#render/ndot/utl.mjs";
import * as utl from "#render/dot/utl.mjs";
import StateMachineModel from "#state-machine-model.mjs";

const AST = {
Expand Down

0 comments on commit 2b074a1

Please sign in to comment.