diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 3883537f4..0f9f15eb3 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -16,7 +16,7 @@ jobs: with: go-version-file: ./go.mod cache: true - - run: COLOR=1 CI_FORCE=1 ./make.sh all race + - run: DAILY=1 COLOR=1 CI_FORCE=1 ./make.sh all race env: GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }} DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index 69969d43e..f3c0d2a77 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -1,21 +1,5 @@ #### Features 🚀 -- Configure timeout value with D2_TIMEOUT env var [#1392](https://github.com/terrastruct/d2/pull/1392) -- Scale renders and disable fit to screen with `--scale` flag [#1413](https://github.com/terrastruct/d2/pull/1413) -- `null` keyword can be used to un-declare. See [docs](https://d2lang.com/tour/TODO) [#1446](https://github.com/terrastruct/d2/pull/1446) - #### Improvements 🧹 -- Display version on CLI help invocation [#1400](https://github.com/terrastruct/d2/pull/1400) -- Improved readability of connection labels when they overlap another connection [#447](https://github.com/terrastruct/d2/pull/447) -- Error message when `shape` is given a composite [#1415](https://github.com/terrastruct/d2/pull/1415) -- Improved rendering and text measurement for code shapes [#1425](https://github.com/terrastruct/d2/pull/1425) -- The autoformatter moves board declarations to the bottom of its scope [#1424](https://github.com/terrastruct/d2/pull/1424) -- All font styles in sketch mode use a consistent font-family [#1463](https://github.com/terrastruct/d2/pull/1463) -- Tooltip and link icons are now positioned on shape border [#1466](https://github.com/terrastruct/d2/pull/1466) -- Tooltip and link icons are always rendered over shapes [#1467](https://github.com/terrastruct/d2/pull/1467) - #### Bugfixes ⛑️ - -- Fixes edge case in compiler using dots in quotes [#1401](https://github.com/terrastruct/d2/pull/1401) -- Fixes grid label font size for TALA [#1412](https://github.com/terrastruct/d2/pull/1412) diff --git a/ci/release/changelogs/v0.6.0.md b/ci/release/changelogs/v0.6.0.md new file mode 100644 index 000000000..16c5d4747 --- /dev/null +++ b/ci/release/changelogs/v0.6.0.md @@ -0,0 +1,54 @@ +D2 v0.6 introduces variable substitutions and globs. These two were the last of the features planned in the initial designs for D2, and v1 is now very close! + +The power of variables and globs in a programming language need no introduction, so here's two minimal examples to get started: + +**Variables**: +```d2 +vars: { + color: aquamarine +} + +x.style.fill: ${color} +``` + +**Globs**: +```d2 +x +y +z + +*.style.fill: aquamarine +``` + +Both are live on [D2 Playground](https://play.d2lang.com) so give it a try! Looking forward to your issues and iterating + +Layout capability also takes a subtle but important step forward: you can now customize the position of labels and icons. + +#### Features 🚀 + +- Variables and substitutions are implemented. See [docs](https://d2lang.com/tour/vars). [#1473](https://github.com/terrastruct/d2/pull/1473) +- Configure timeout value with D2_TIMEOUT env var [#1392](https://github.com/terrastruct/d2/pull/1392) +- Scale renders and disable fit to screen with `--scale` flag [#1413](https://github.com/terrastruct/d2/pull/1413) +- `null` keyword can be used to un-declare. See [docs](https://d2lang.com/tour/overrides#null) [#1446](https://github.com/terrastruct/d2/pull/1446) +- Develop multi-board diagrams in watch mode (links to layers/scenarios/steps work in `--watch`) [#1503](https://github.com/terrastruct/d2/pull/1503) +- Glob patterns have been implemented. See [docs](https://d2lang.com/tour/globs). [#1479](https://github.com/terrastruct/d2/pull/1479) +- Ampersand filters have been implemented. See [docs](https://d2lang.com/tour/filters). [#1509](https://github.com/terrastruct/d2/pull/1509) + +#### Improvements 🧹 + +- Display version on CLI help invocation [#1400](https://github.com/terrastruct/d2/pull/1400) +- Improved readability of connection labels when they overlap another connection [#447](https://github.com/terrastruct/d2/pull/447) +- Error message when `shape` is given a composite [#1415](https://github.com/terrastruct/d2/pull/1415) +- Improved rendering and text measurement for code shapes [#1425](https://github.com/terrastruct/d2/pull/1425) +- The autoformatter moves board declarations to the bottom of its scope [#1424](https://github.com/terrastruct/d2/pull/1424) +- All font styles in sketch mode use a consistent font-family [#1463](https://github.com/terrastruct/d2/pull/1463) +- Tooltip and link icons are positioned on shape border [#1466](https://github.com/terrastruct/d2/pull/1466) +- Tooltip and link icons are always rendered over shapes [#1467](https://github.com/terrastruct/d2/pull/1467) +- Boards with no objects are considered folders [#1504](https://github.com/terrastruct/d2/pull/1504) +- `DEBUG` environment variable ignored if set incorrectly [#1505](https://github.com/terrastruct/d2/pull/1505) + +#### Bugfixes ⛑️ + +- Fixes edge case in compiler using dots in quotes [#1401](https://github.com/terrastruct/d2/pull/1401) +- Fixes grid label font size for TALA [#1412](https://github.com/terrastruct/d2/pull/1412) +- Fixes person shape label positioning with `multiple` or `3d` [#1478](https://github.com/terrastruct/d2/pull/1478) diff --git a/ci/release/docker/Dockerfile b/ci/release/docker/Dockerfile index 0d7789a26..b534b02ff 100644 --- a/ci/release/docker/Dockerfile +++ b/ci/release/docker/Dockerfile @@ -1,5 +1,5 @@ # https://hub.docker.com/repository/docker/terrastruct/d2 -FROM debian:latest +FROM ubuntu:latest ARG TARGETARCH diff --git a/d2ast/d2ast.go b/d2ast/d2ast.go index a5be3fa98..fdbe9c9c3 100644 --- a/d2ast/d2ast.go +++ b/d2ast/d2ast.go @@ -500,6 +500,19 @@ type Number struct { type UnquotedString struct { Range Range `json:"range"` Value []InterpolationBox `json:"value"` + // Pattern holds the parsed glob pattern if in a key and the unquoted string represents a valid pattern. + Pattern []string `json:"pattern,omitempty"` +} + +func (s *UnquotedString) Coalesce() { + var b strings.Builder + for _, box := range s.Value { + if box.String == nil { + break + } + b.WriteString(*box.String) + } + s.SetString(b.String()) } func FlatUnquotedString(s string) *UnquotedString { @@ -513,6 +526,17 @@ type DoubleQuotedString struct { Value []InterpolationBox `json:"value"` } +func (s *DoubleQuotedString) Coalesce() { + var b strings.Builder + for _, box := range s.Value { + if box.String == nil { + break + } + b.WriteString(*box.String) + } + s.SetString(b.String()) +} + func FlatDoubleQuotedString(s string) *DoubleQuotedString { return &DoubleQuotedString{ Value: []InterpolationBox{{String: &s}}, @@ -586,7 +610,7 @@ func (m *Map) IsFileMap() bool { type Key struct { Range Range `json:"range"` - // Indicates this MapKey is an override selector. + // Indicates this MapKey is a filter selector. Ampersand bool `json:"ampersand,omitempty"` // At least one of Key and Edges will be set but all four can also be set. @@ -696,6 +720,19 @@ func (mk *Key) SetScalar(scalar ScalarBox) { } } +func (mk *Key) HasQueryGlob() bool { + if mk.Key.HasGlob() && len(mk.Edges) == 0 { + return true + } + if mk.EdgeIndex != nil && mk.EdgeIndex.Glob && mk.EdgeKey == nil { + return true + } + if mk.EdgeKey.HasGlob() { + return true + } + return false +} + type KeyPath struct { Range Range `json:"range"` Path []*StringBox `json:"path"` @@ -716,6 +753,37 @@ func (kp *KeyPath) IDA() (ida []string) { return ida } +func (kp *KeyPath) Copy() *KeyPath { + kp2 := *kp + kp2.Path = nil + kp2.Path = append(kp2.Path, kp.Path...) + return &kp2 +} + +func (kp *KeyPath) HasDoubleGlob() bool { + if kp == nil { + return false + } + for _, el := range kp.Path { + if el.UnquotedString != nil && el.ScalarString() == "**" { + return true + } + } + return false +} + +func (kp *KeyPath) HasGlob() bool { + if kp == nil { + return false + } + for _, el := range kp.Path { + if el.UnquotedString != nil && len(el.UnquotedString.Pattern) > 0 { + return true + } + } + return false +} + type Edge struct { Range Range `json:"range"` @@ -1034,6 +1102,10 @@ func (sb *StringBox) Unbox() String { } } +func (sb *StringBox) ScalarString() string { + return sb.Unbox().ScalarString() +} + // InterpolationBox is used to select between strings and substitutions in unquoted and // double quoted strings. There is no corresponding interface to avoid unnecessary // abstraction. @@ -1046,12 +1118,11 @@ type InterpolationBox struct { // & is only special if it begins a key. // - is only special if followed by another - in a key. // ' " and | are only special if they begin an unquoted key or value. -var UnquotedKeySpecials = string([]rune{'#', ';', '\n', '\\', '{', '}', '[', ']', '\'', '"', '|', ':', '.', '-', '<', '>', '*', '&', '(', ')', '@'}) +var UnquotedKeySpecials = string([]rune{'#', ';', '\n', '\\', '{', '}', '[', ']', '\'', '"', '|', ':', '.', '-', '<', '>', '*', '&', '(', ')', '@', '&'}) var UnquotedValueSpecials = string([]rune{'#', ';', '\n', '\\', '{', '}', '[', ']', '\'', '"', '|', '$', '@'}) // RawString returns s in a AST String node that can format s in the most aesthetically // pleasing way. -// TODO: Return StringBox func RawString(s string, inKey bool) String { if s == "" { return FlatDoubleQuotedString(s) @@ -1064,10 +1135,6 @@ func RawString(s string, inKey bool) String { if i+1 < len(s) && s[i+1] != '-' { continue } - case '&': - if i > 0 { - continue - } } if strings.ContainsRune(UnquotedKeySpecials, r) { if !strings.ContainsRune(s, '"') { diff --git a/d2chaos/d2chaos_test.go b/d2chaos/d2chaos_test.go index 0033cec90..e101d434d 100644 --- a/d2chaos/d2chaos_test.go +++ b/d2chaos/d2chaos_test.go @@ -102,7 +102,7 @@ func test(t *testing.T, textPath, text string) { t.Fatal(err) } - g, err := d2compiler.Compile("", strings.NewReader(text), nil) + g, _, err := d2compiler.Compile("", strings.NewReader(text), nil) if err != nil { t.Fatal(err) } diff --git a/d2cli/main.go b/d2cli/main.go index 3d4fa6054..546a5a977 100644 --- a/d2cli/main.go +++ b/d2cli/main.go @@ -20,6 +20,7 @@ import ( "oss.terrastruct.com/util-go/go2" "oss.terrastruct.com/util-go/xmain" + "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2lib" "oss.terrastruct.com/d2/d2parser" "oss.terrastruct.com/d2/d2plugin" @@ -66,7 +67,8 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { } debugFlag, err := ms.Opts.Bool("DEBUG", "debug", "d", false, "print debug logs.") if err != nil { - return err + ms.Log.Warn.Printf("Invalid DEBUG flag value ignored") + debugFlag = go2.Pointer(false) } imgCacheFlag, err := ms.Opts.Bool("IMG_CACHE", "img-cache", "", true, "in watch mode, images used in icons are cached for subsequent compilations. This should be disabled if images might change.") if err != nil { @@ -117,11 +119,11 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { fontBoldFlag := ms.Opts.String("D2_FONT_BOLD", "font-bold", "", "", "path to .ttf file to use for the bold font. If none provided, Source Sans Pro Bold is used.") fontSemiboldFlag := ms.Opts.String("D2_FONT_SEMIBOLD", "font-semibold", "", "", "path to .ttf file to use for the semibold font. If none provided, Source Sans Pro Semibold is used.") - ps, err := d2plugin.ListPlugins(ctx) + plugins, err := d2plugin.ListPlugins(ctx) if err != nil { return err } - err = populateLayoutOpts(ctx, ms, ps) + err = populateLayoutOpts(ctx, ms, plugins) if err != nil { return err } @@ -146,7 +148,7 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { case "init-playwright": return initPlaywright() case "layout": - return layoutCmd(ctx, ms, ps) + return layoutCmd(ctx, ms, plugins) case "themes": themesCmd(ctx, ms) return nil @@ -226,6 +228,38 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { } ms.Log.Debug.Printf("using theme %s (ID: %d)", match.Name, *themeFlag) + // If flag is not explicitly set by user, set to nil. + // Later, configs from D2 code will only overwrite if they weren't explicitly set by user + flagSet := make(map[string]struct{}) + ms.Opts.Flags.Visit(func(f *pflag.Flag) { + flagSet[f.Name] = struct{}{} + }) + if ms.Env.Getenv("D2_LAYOUT") == "" { + if _, ok := flagSet["layout"]; !ok { + layoutFlag = nil + } + } + if ms.Env.Getenv("D2_THEME") == "" { + if _, ok := flagSet["theme"]; !ok { + themeFlag = nil + } + } + if ms.Env.Getenv("D2_SKETCH") == "" { + if _, ok := flagSet["sketch"]; !ok { + sketchFlag = nil + } + } + if ms.Env.Getenv("D2_PAD") == "" { + if _, ok := flagSet["pad"]; !ok { + padFlag = nil + } + } + if ms.Env.Getenv("D2_CENTER") == "" { + if _, ok := flagSet["center"]; !ok { + centerFlag = nil + } + } + if *darkThemeFlag == -1 { darkThemeFlag = nil // TODO this is a temporary solution: https://github.com/terrastruct/util-go/issues/7 } @@ -241,29 +275,6 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { scale = scaleFlag } - plugin, err := d2plugin.FindPlugin(ctx, ps, *layoutFlag) - if err != nil { - if errors.Is(err, exec.ErrNotFound) { - return layoutNotFound(ctx, ps, *layoutFlag) - } - return err - } - - err = d2plugin.HydratePluginOpts(ctx, ms, plugin) - if err != nil { - return err - } - - pinfo, err := plugin.Info(ctx) - if err != nil { - return err - } - plocation := pinfo.Type - if pinfo.Type == "binary" { - plocation = fmt.Sprintf("executable plugin at %s", humanPath(pinfo.Path)) - } - ms.Log.Debug.Printf("using layout plugin %s (%s)", *layoutFlag, plocation) - if !outputFormat.supportsDarkTheme() { if darkThemeFlag != nil { ms.Log.Warn.Printf("--dark-theme cannot be used while exporting to another format other than .svg") @@ -285,10 +296,10 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { } renderOpts := d2svg.RenderOpts{ - Pad: int(*padFlag), - Sketch: *sketchFlag, - Center: *centerFlag, - ThemeID: *themeFlag, + Pad: padFlag, + Sketch: sketchFlag, + Center: centerFlag, + ThemeID: themeFlag, DarkThemeID: darkThemeFlag, Scale: scale, } @@ -298,7 +309,8 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { return xmain.UsageErrorf("-w[atch] cannot be combined with reading input from stdin") } w, err := newWatcher(ctx, ms, watcherOpts{ - layoutPlugin: plugin, + plugins: plugins, + layout: layoutFlag, renderOpts: renderOpts, animateInterval: *animateIntervalFlag, host: *hostFlag, @@ -319,7 +331,7 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { ctx, cancel := timelib.WithTimeout(ctx, time.Minute*2) defer cancel() - _, written, err := compile(ctx, ms, plugin, renderOpts, fontFamily, *animateIntervalFlag, inputPath, outputPath, *bundleFlag, *forceAppendixFlag, pw.Page) + _, written, err := compile(ctx, ms, plugins, layoutFlag, renderOpts, fontFamily, *animateIntervalFlag, inputPath, outputPath, "", *bundleFlag, *forceAppendixFlag, pw.Page) if err != nil { if written { return fmt.Errorf("failed to fully compile (partial render written): %w", err) @@ -329,7 +341,32 @@ func Run(ctx context.Context, ms *xmain.State) (err error) { return nil } -func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, renderOpts d2svg.RenderOpts, fontFamily *d2fonts.FontFamily, animateInterval int64, inputPath, outputPath string, bundle, forceAppendix bool, page playwright.Page) (_ []byte, written bool, _ error) { +func LayoutResolver(ctx context.Context, ms *xmain.State, plugins []d2plugin.Plugin) func(engine string) (d2graph.LayoutGraph, error) { + cached := make(map[string]d2graph.LayoutGraph) + return func(engine string) (d2graph.LayoutGraph, error) { + if c, ok := cached[engine]; ok { + return c, nil + } + + plugin, err := d2plugin.FindPlugin(ctx, plugins, engine) + if err != nil { + if errors.Is(err, exec.ErrNotFound) { + return nil, layoutNotFound(ctx, plugins, engine) + } + return nil, err + } + + err = d2plugin.HydratePluginOpts(ctx, ms, plugin) + if err != nil { + return nil, err + } + + cached[engine] = plugin.Layout + return plugin.Layout, nil + } +} + +func compile(ctx context.Context, ms *xmain.State, plugins []d2plugin.Plugin, layout *string, renderOpts d2svg.RenderOpts, fontFamily *d2fonts.FontFamily, animateInterval int64, inputPath, outputPath, boardPath string, bundle, forceAppendix bool, page playwright.Page) (_ []byte, written bool, _ error) { start := time.Now() input, err := ms.ReadPath(inputPath) if err != nil { @@ -341,16 +378,12 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, rende return nil, false, err } - layout := plugin.Layout opts := &d2lib.CompileOptions{ - Layout: layout, - Ruler: ruler, - ThemeID: renderOpts.ThemeID, - FontFamily: fontFamily, - InputPath: inputPath, - } - if renderOpts.Sketch { - opts.FontFamily = go2.Pointer(d2fonts.HandDrawn) + Ruler: ruler, + FontFamily: fontFamily, + InputPath: inputPath, + LayoutResolver: LayoutResolver(ctx, ms, plugins), + Layout: layout, } cancel := background.Repeat(func() { @@ -358,12 +391,14 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, rende }, time.Second*5) defer cancel() - diagram, g, err := d2lib.Compile(ctx, string(input), opts) + diagram, g, err := d2lib.Compile(ctx, string(input), opts, &renderOpts) if err != nil { return nil, false, err } cancel() + plugin, _ := d2plugin.FindPlugin(ctx, plugins, *opts.Layout) + if animateInterval > 0 { masterID, err := diagram.HashID() if err != nil { @@ -372,6 +407,16 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, rende renderOpts.MasterID = masterID } + pinfo, err := plugin.Info(ctx) + if err != nil { + return nil, false, err + } + plocation := pinfo.Type + if pinfo.Type == "binary" { + plocation = fmt.Sprintf("executable plugin at %s", humanPath(pinfo.Path)) + } + ms.Log.Debug.Printf("using layout plugin %s (%s)", *opts.Layout, plocation) + pluginInfo, err := plugin.Info(ctx) if err != nil { return nil, false, err @@ -455,7 +500,12 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, rende } } - boards, err := render(ctx, ms, compileDur, plugin, renderOpts, inputPath, outputPath, bundle, forceAppendix, page, ruler, diagram) + board := diagram.GetBoard(boardPath) + if board == nil { + return nil, false, fmt.Errorf("Diagram with path %s not found", boardPath) + } + + boards, err := render(ctx, ms, compileDur, plugin, renderOpts, inputPath, outputPath, bundle, forceAppendix, page, ruler, board) if err != nil { return nil, false, err } @@ -805,7 +855,7 @@ func renderPDF(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, opt if err != nil { return svg, err } - err = doc.AddPDFPage(pngImg, boardPath, opts.ThemeID, rootFill, diagram.Shapes, int64(opts.Pad), viewboxX, viewboxY, pageMap) + err = doc.AddPDFPage(pngImg, boardPath, *opts.ThemeID, rootFill, diagram.Shapes, *opts.Pad, viewboxX, viewboxY, pageMap) if err != nil { return svg, err } diff --git a/d2cli/static/watch.js b/d2cli/static/watch.js index a95403971..4d91259eb 100644 --- a/d2cli/static/watch.js +++ b/d2cli/static/watch.js @@ -8,9 +8,7 @@ function init(reconnectDelay) { const d2SVG = window.document.querySelector("#d2-svg-container"); const devMode = document.body.dataset.d2DevMode === "true"; - const ws = new WebSocket( - `ws://${window.location.host}${window.location.pathname}watch` - ); + const ws = new WebSocket(`ws://${window.location.host}/watch`); let isInit = true; let ratio; ws.onopen = () => { @@ -28,7 +26,7 @@ function init(reconnectDelay) { // we can't just set `d2SVG.innerHTML = msg.svg` need to parse this as xml not html const parsedXML = new DOMParser().parseFromString(msg.svg, "text/xml"); d2SVG.replaceChildren(parsedXML.documentElement); - changeFavicon("./static/favicon.ico"); + changeFavicon("/static/favicon.ico"); const svgEl = d2SVG.querySelector("#d2-svg"); // just use inner SVG in watch mode svgEl.parentElement.replaceWith(svgEl); @@ -60,7 +58,7 @@ function init(reconnectDelay) { if (msg.err) { d2ErrDiv.innerText = msg.err; d2ErrDiv.style.display = "block"; - changeFavicon("./static/favicon-err.ico"); + changeFavicon("/static/favicon-err.ico"); d2ErrDiv.scrollIntoView(); } }; diff --git a/d2cli/watch.go b/d2cli/watch.go index bb006eb17..866a480b3 100644 --- a/d2cli/watch.go +++ b/d2cli/watch.go @@ -12,6 +12,7 @@ import ( "os" "path/filepath" "runtime" + "strings" "sync" "time" @@ -41,13 +42,15 @@ var devMode = false var staticFS embed.FS type watcherOpts struct { - layoutPlugin d2plugin.Plugin + layout *string + plugins []d2plugin.Plugin renderOpts d2svg.RenderOpts animateInterval int64 host string port string inputPath string outputPath string + boardPath string pwd string bundle bool forceAppendix bool @@ -361,7 +364,7 @@ func (w *watcher) compileLoop(ctx context.Context) error { w.pw = newPW } - svg, _, err := compile(ctx, w.ms, w.layoutPlugin, w.renderOpts, w.fontFamily, w.animateInterval, w.inputPath, w.outputPath, w.bundle, w.forceAppendix, w.pw.Page) + svg, _, err := compile(ctx, w.ms, w.plugins, w.layout, w.renderOpts, w.fontFamily, w.animateInterval, w.inputPath, w.outputPath, w.boardPath, w.bundle, w.forceAppendix, w.pw.Page) errs := "" if err != nil { if len(svg) > 0 { @@ -429,15 +432,25 @@ func (w *watcher) handleRoot(hw http.ResponseWriter, r *http.Request) { %s - - - + + +
`, filepath.Base(w.outputPath), w.devMode) + + // if path is "/x.svg", we just want "x" + boardPath := strings.TrimPrefix(r.URL.Path, "/") + if idx := strings.LastIndexByte(boardPath, '.'); idx != -1 { + boardPath = boardPath[:idx] + } + if boardPath != w.boardPath { + w.boardPath = boardPath + w.requestCompile() + } } func (w *watcher) handleWatch(hw http.ResponseWriter, r *http.Request) error { diff --git a/d2compiler/compile.go b/d2compiler/compile.go index fdb24e551..7c9e60ccc 100644 --- a/d2compiler/compile.go +++ b/d2compiler/compile.go @@ -27,7 +27,7 @@ type CompileOptions struct { FS fs.FS } -func Compile(p string, r io.RuneReader, opts *CompileOptions) (*d2graph.Graph, error) { +func Compile(p string, r io.RuneReader, opts *CompileOptions) (*d2graph.Graph, *d2target.Config, error) { if opts == nil { opts = &CompileOptions{} } @@ -36,7 +36,7 @@ func Compile(p string, r io.RuneReader, opts *CompileOptions) (*d2graph.Graph, e UTF16: opts.UTF16, }) if err != nil { - return nil, err + return nil, nil, err } ir, err := d2ir.Compile(ast, &d2ir.CompileOptions{ @@ -44,16 +44,16 @@ func Compile(p string, r io.RuneReader, opts *CompileOptions) (*d2graph.Graph, e FS: opts.FS, }) if err != nil { - return nil, err + return nil, nil, err } g, err := compileIR(ast, ir) if err != nil { - return nil, err + return nil, nil, err } g.SortObjectsByAST() g.SortEdgesByAST() - return g, nil + return g, compileConfig(ir), nil } func compileIR(ast *d2ast.Map, m *d2ir.Map) (*d2graph.Graph, error) { @@ -92,6 +92,9 @@ func (c *compiler) compileBoard(g *d2graph.Graph, ir *d2ir.Map) *d2graph.Graph { g.IsFolderOnly = true } } + if len(g.Objects) == 0 { + g.IsFolderOnly = true + } return g } @@ -277,6 +280,8 @@ func (c *compiler) compileField(obj *d2graph.Object, f *d2ir.Field) { } } return + } else if f.Name == "vars" { + return } else if isReserved { c.compileReserved(&obj.Attributes, f) return @@ -329,7 +334,7 @@ func (c *compiler) compileField(obj *d2graph.Object, f *d2ir.Field) { Scope: fr.Context.Scope, ScopeAST: fr.Context.ScopeAST, } - if fr.Context.ScopeMap != nil { + if fr.Context.ScopeMap != nil && !d2ir.IsVar(fr.Context.ScopeMap) { scopeObjIDA := d2graphIDA(d2ir.BoardIDA(fr.Context.ScopeMap)) r.ScopeObj = obj.Graph.Root.EnsureChild(scopeObjIDA) } @@ -725,7 +730,7 @@ func (c *compiler) compileEdge(obj *d2graph.Object, e *d2ir.Edge) { Scope: er.Context.Scope, ScopeAST: er.Context.ScopeAST, } - if er.Context.ScopeMap != nil { + if er.Context.ScopeMap != nil && !d2ir.IsVar(er.Context.ScopeMap) { scopeObjIDA := d2graphIDA(d2ir.BoardIDA(er.Context.ScopeMap)) r.ScopeObj = edge.Src.Graph.Root.EnsureChild(scopeObjIDA) } @@ -1283,3 +1288,45 @@ func parentSeqDiagram(n d2ir.Node) *d2ir.Map { n = m } } + +func compileConfig(ir *d2ir.Map) *d2target.Config { + f := ir.GetField("vars", "d2-config") + if f == nil || f.Map() == nil { + return nil + } + + configMap := f.Map() + + config := &d2target.Config{} + + f = configMap.GetField("sketch") + if f != nil { + val, _ := strconv.ParseBool(f.Primary().Value.ScalarString()) + config.Sketch = &val + } + + f = configMap.GetField("theme-id") + if f != nil { + val, _ := strconv.Atoi(f.Primary().Value.ScalarString()) + config.ThemeID = go2.Pointer(int64(val)) + } + + f = configMap.GetField("dark-theme-id") + if f != nil { + val, _ := strconv.Atoi(f.Primary().Value.ScalarString()) + config.DarkThemeID = go2.Pointer(int64(val)) + } + + f = configMap.GetField("pad") + if f != nil { + val, _ := strconv.Atoi(f.Primary().Value.ScalarString()) + config.Pad = go2.Pointer(int64(val)) + } + + f = configMap.GetField("layout-engine") + if f != nil { + config.LayoutEngine = go2.Pointer(f.Primary().Value.ScalarString()) + } + + return config +} diff --git a/d2compiler/compile_test.go b/d2compiler/compile_test.go index f0dbaa1bb..a713c3622 100644 --- a/d2compiler/compile_test.go +++ b/d2compiler/compile_test.go @@ -2702,7 +2702,7 @@ object: { t.Parallel() d2Path := fmt.Sprintf("d2/testdata/d2compiler/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) + g, _, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) if tc.expErr != "" { if err == nil { t.Fatalf("expected error with: %q", tc.expErr) @@ -2744,6 +2744,7 @@ func TestCompile2(t *testing.T) { t.Run("boards", testBoards) t.Run("seqdiagrams", testSeqDiagrams) t.Run("nulls", testNulls) + t.Run("vars", testVars) } func testBoards(t *testing.T) { @@ -2756,7 +2757,7 @@ func testBoards(t *testing.T) { { name: "root", run: func(t *testing.T) { - g := assertCompile(t, `base + g, _ := assertCompile(t, `base layers: { one: { @@ -2775,7 +2776,7 @@ layers: { { name: "recursive", run: func(t *testing.T) { - g := assertCompile(t, `base + g, _ := assertCompile(t, `base layers: { one: { @@ -2803,7 +2804,7 @@ layers: { { name: "isFolderOnly", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` layers: { one: { santa @@ -2831,6 +2832,21 @@ layers: { assert.False(t, g.Layers[1].Scenarios[1].IsFolderOnly) }, }, + { + name: "isFolderOnly-shapes", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +direction: right + +steps: { + 1: { + RJ + } +} +`, "") + assert.True(t, g.IsFolderOnly) + }, + }, { name: "scenarios_edge_index", run: func(t *testing.T) { @@ -2938,7 +2954,7 @@ func testNulls(t *testing.T) { { name: "shape", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a a: null `, "") @@ -2948,7 +2964,7 @@ a: null { name: "edge", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a -> b (a -> b)[0]: null `, "") @@ -2959,7 +2975,7 @@ a -> b { name: "attribute", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a.style.opacity: 0.2 a.style.opacity: null `, "") @@ -2991,7 +3007,7 @@ a.style.opacity: null { name: "shape", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a a: null a @@ -3002,7 +3018,7 @@ a { name: "edge", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a -> b (a -> b)[0]: null a -> b @@ -3014,7 +3030,7 @@ a -> b { name: "attribute-reset", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a.style.opacity: 0.2 a: null a @@ -3026,7 +3042,7 @@ a { name: "edge-reset", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a -> b a: null a @@ -3038,7 +3054,7 @@ a { name: "children-reset", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` a.b.c a.b: null a.b @@ -3071,7 +3087,7 @@ a.b { name: "delete-connection", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` x -> y y: null `, "") @@ -3082,7 +3098,7 @@ y: null { name: "delete-multiple-connections", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` x -> y z -> y y -> a @@ -3095,7 +3111,7 @@ y: null { name: "no-delete-connection", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` y: null x -> y `, "") @@ -3106,7 +3122,7 @@ x -> y { name: "delete-children", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` x.y.z a.b.c @@ -3141,7 +3157,7 @@ a.b: null { name: "scenario", run: func(t *testing.T) { - g := assertCompile(t, ` + g, _ := assertCompile(t, ` x scenarios: { @@ -3168,9 +3184,857 @@ scenarios: { }) } -func assertCompile(t *testing.T, text string, expErr string) *d2graph.Graph { +func testVars(t *testing.T) { + t.Parallel() + + t.Run("basic", func(t *testing.T) { + t.Parallel() + + tca := []struct { + name string + skip bool + run func(t *testing.T) + }{ + { + name: "shape-label", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +hi: ${x} +`, "") + assert.Equal(t, 1, len(g.Objects)) + assert.Equal(t, "im a var", g.Objects[0].Label.Value) + }, + }, + { + name: "style", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + primary-color: red +} +hi: { + style.fill: ${primary-color} +} +`, "") + assert.Equal(t, 1, len(g.Objects)) + assert.Equal(t, "red", g.Objects[0].Style.Fill.Value) + }, + }, + { + name: "number", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + columns: 2 +} +hi: { + grid-columns: ${columns} + x +} +`, "") + assert.Equal(t, "2", g.Objects[0].GridColumns.Value) + }, + }, + { + name: "nested", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + colors: { + primary: { + button: red + } + } +} +hi: { + style.fill: ${colors.primary.button} +} +`, "") + assert.Equal(t, "red", g.Objects[0].Style.Fill.Value) + }, + }, + { + name: "combined", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +hi: 1 ${x} 2 +`, "") + assert.Equal(t, "1 im a var 2", g.Objects[0].Label.Value) + }, + }, + { + name: "double-quoted", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +hi: "1 ${x} 2" +`, "") + assert.Equal(t, "1 im a var 2", g.Objects[0].Label.Value) + }, + }, + { + name: "single-quoted", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +hi: '1 ${x} 2' +`, "") + assert.Equal(t, "1 ${x} 2", g.Objects[0].Label.Value) + }, + }, + { + name: "edge-label", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +a -> b: ${x} +`, "") + assert.Equal(t, 1, len(g.Edges)) + assert.Equal(t, "im a var", g.Edges[0].Label.Value) + }, + }, + { + name: "edge-map", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +a -> b: { + target-arrowhead.label: ${x} +} +`, "") + assert.Equal(t, 1, len(g.Edges)) + assert.Equal(t, "im a var", g.Edges[0].DstArrowhead.Label.Value) + }, + }, + { + name: "quoted-var", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + primaryColors: { + button: { + active: "#4baae5" + } + } +} + +button: { + style: { + border-radius: 5 + fill: ${primaryColors.button.active} + } +} +`, "") + assert.Equal(t, `#4baae5`, g.Objects[0].Style.Fill.Value) + }, + }, + { + name: "quoted-var-quoted-sub", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: "hi" +} + +y: "hey ${x}" +`, "") + assert.Equal(t, `hey hi`, g.Objects[0].Label.Value) + }, + }, + { + name: "parent-scope", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im root var +} +a: { + vars: { + b: im nested var + } + hi: ${x} +} +`, "") + assert.Equal(t, "im root var", g.Objects[1].Label.Value) + }, + }, + { + name: "map", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + cool-style: { + fill: red + } + arrows: { + target-arrowhead.label: yay + } +} +hi.style: ${cool-style} +a -> b: ${arrows} +`, "") + assert.Equal(t, "red", g.Objects[0].Style.Fill.Value) + assert.Equal(t, "yay", g.Edges[0].DstArrowhead.Label.Value) + }, + }, + { + name: "primary-and-composite", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: all { + a: b + } +} +z: ${x} +`, "") + assert.Equal(t, "z", g.Objects[1].ID) + assert.Equal(t, "all", g.Objects[1].Label.Value) + assert.Equal(t, 1, len(g.Objects[1].Children)) + }, + }, + { + name: "spread", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: all { + a: b + b: c + } +} +z: { + ...${x} + c +} +`, "") + assert.Equal(t, "z", g.Objects[2].ID) + assert.Equal(t, 4, len(g.Objects)) + assert.Equal(t, 3, len(g.Objects[2].Children)) + }, + }, + { + name: "array", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + base-constraints: [UNQ; NOT NULL] +} +a: { + shape: sql_table + b: int {constraint: ${base-constraints}} +} +`, "") + assert.Equal(t, "a", g.Objects[0].ID) + assert.Equal(t, 2, len(g.Objects[0].SQLTable.Columns[0].Constraint)) + }, + }, + { + name: "spread-array", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + base-constraints: [UNQ; NOT NULL] +} +a: { + shape: sql_table + b: int {constraint: [PK; ...${base-constraints}]} +} +`, "") + assert.Equal(t, "a", g.Objects[0].ID) + assert.Equal(t, 3, len(g.Objects[0].SQLTable.Columns[0].Constraint)) + }, + }, + { + name: "sub-array", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: all +} +z.class: [a; ${x}] +`, "") + assert.Equal(t, "z", g.Objects[0].ID) + assert.Equal(t, "all", g.Objects[0].Attributes.Classes[1]) + }, + }, + { + name: "multi-part-array", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: all +} +z.class: [a; ${x}together] +`, "") + assert.Equal(t, "z", g.Objects[0].ID) + assert.Equal(t, "alltogether", g.Objects[0].Attributes.Classes[1]) + }, + }, + { + name: "double-quote-primary", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: always { + a: b + } +} +z: "${x} be my maybe" +`, "") + assert.Equal(t, "z", g.Objects[0].ID) + assert.Equal(t, "always be my maybe", g.Objects[0].Label.Value) + }, + }, + { + name: "spread-nested", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + disclaimer: { + I am not a lawyer + } +} +custom-disclaimer: DRAFT DISCLAIMER { + ...${disclaimer} +} +`, "") + assert.Equal(t, 2, len(g.Objects)) + }, + }, + { + name: "spread-edge", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + connections: { + x -> a + } +} +hi: { + ...${connections} +} +`, "") + assert.Equal(t, 3, len(g.Objects)) + assert.Equal(t, 1, len(g.Edges)) + }, + }, + } + + for _, tc := range tca { + tc := tc + t.Run(tc.name, func(t *testing.T) { + t.Parallel() + if tc.skip { + t.SkipNow() + } + tc.run(t) + }) + } + }) + + t.Run("override", func(t *testing.T) { + t.Parallel() + + tca := []struct { + name string + skip bool + run func(t *testing.T) + }{ + { + name: "label", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} +hi: ${x} +hi: not a var +`, "") + assert.Equal(t, 1, len(g.Objects)) + assert.Equal(t, "not a var", g.Objects[0].Label.Value) + }, + }, + { + name: "map", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im root var +} +a: { + vars: { + x: im nested var + } + hi: ${x} +} +`, "") + assert.Equal(t, "im nested var", g.Objects[1].Label.Value) + }, + }, + { + name: "var-in-var", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + surname: Smith +} +a: { + vars: { + trade1: Black${surname} + trade2: Metal${surname} + } + hi: ${trade1} +} +`, "") + assert.Equal(t, "BlackSmith", g.Objects[1].Label.Value) + }, + }, + { + name: "recursive-var", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: a +} +hi: { + vars: { + x: ${x}-b + } + yo: ${x} +} +`, "") + assert.Equal(t, "a-b", g.Objects[1].Label.Value) + }, + }, + { + name: "null", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + surname: Smith +} +a: { + vars: { + surname: null + } + hi: John ${surname} +} +`, `d2/testdata/d2compiler/TestCompile2/vars/override/null.d2:9:3: could not resolve variable "surname"`) + }, + }, + { + name: "nested-null", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + surnames: { + john: smith + } +} +a: { + vars: { + surnames: { + john: null + } + } + hi: John ${surname} +} +`, `d2/testdata/d2compiler/TestCompile2/vars/override/nested-null.d2:13:3: could not resolve variable "surname"`) + }, + }, + } + + for _, tc := range tca { + tc := tc + t.Run(tc.name, func(t *testing.T) { + t.Parallel() + if tc.skip { + t.SkipNow() + } + tc.run(t) + }) + } + }) + + t.Run("boards", func(t *testing.T) { + t.Parallel() + + tca := []struct { + name string + skip bool + run func(t *testing.T) + }{ + { + name: "layer", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} + +layers: { + l: { + hi: ${x} + } +} +`, "") + assert.Equal(t, 1, len(g.Layers[0].Objects)) + assert.Equal(t, "im a var", g.Layers[0].Objects[0].Label.Value) + }, + }, + { + name: "layer-2", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: root var x + y: root var y +} + +layers: { + l: { + vars: { + x: layer var x + } + hi: ${x} + hello: ${y} + } +} +`, "") + assert.Equal(t, "hi", g.Layers[0].Objects[0].ID) + assert.Equal(t, "layer var x", g.Layers[0].Objects[0].Label.Value) + assert.Equal(t, "hello", g.Layers[0].Objects[1].ID) + assert.Equal(t, "root var y", g.Layers[0].Objects[1].Label.Value) + }, + }, + { + name: "scenario", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im a var +} + +scenarios: { + l: { + hi: ${x} + } +} +`, "") + assert.Equal(t, 1, len(g.Scenarios[0].Objects)) + assert.Equal(t, "im a var", g.Scenarios[0].Objects[0].Label.Value) + }, + }, + { + name: "overlay", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im x var +} + +scenarios: { + l: { + vars: { + y: im y var + } + x: ${x} + y: ${y} + } +} +layers: { + l2: { + vars: { + y: im y var + } + x: ${x} + y: ${y} + } +} +`, "") + assert.Equal(t, 2, len(g.Scenarios[0].Objects)) + assert.Equal(t, "im x var", g.Scenarios[0].Objects[0].Label.Value) + assert.Equal(t, "im y var", g.Scenarios[0].Objects[1].Label.Value) + assert.Equal(t, 2, len(g.Layers[0].Objects)) + assert.Equal(t, "im x var", g.Layers[0].Objects[0].Label.Value) + assert.Equal(t, "im y var", g.Layers[0].Objects[1].Label.Value) + }, + }, + { + name: "replace", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +vars: { + x: im x var +} + +scenarios: { + l: { + vars: { + x: im replaced x var + } + x: ${x} + } +} +`, "") + assert.Equal(t, 1, len(g.Scenarios[0].Objects)) + assert.Equal(t, "im replaced x var", g.Scenarios[0].Objects[0].Label.Value) + }, + }, + } + + for _, tc := range tca { + tc := tc + t.Run(tc.name, func(t *testing.T) { + t.Parallel() + if tc.skip { + t.SkipNow() + } + tc.run(t) + }) + } + }) + + t.Run("config", func(t *testing.T) { + t.Parallel() + + tca := []struct { + name string + skip bool + run func(t *testing.T) + }{ + { + name: "basic", + run: func(t *testing.T) { + _, config := assertCompile(t, ` +vars: { + d2-config: { + sketch: true + } +} + +x -> y +`, "") + assert.Equal(t, true, *config.Sketch) + }, + }, + { + name: "invalid", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + d2-config: { + sketch: lol + } +} + +x -> y +`, `d2/testdata/d2compiler/TestCompile2/vars/config/invalid.d2:4:5: expected a boolean for "sketch", got "lol"`) + }, + }, + { + name: "not-root", + run: func(t *testing.T) { + assertCompile(t, ` +x: { + vars: { + d2-config: { + sketch: false + } + } +} +`, `d2/testdata/d2compiler/TestCompile2/vars/config/not-root.d2:4:4: "d2-config" can only appear at root vars`) + }, + }, + } + + for _, tc := range tca { + tc := tc + t.Run(tc.name, func(t *testing.T) { + t.Parallel() + if tc.skip { + t.SkipNow() + } + tc.run(t) + }) + } + }) + + t.Run("errors", func(t *testing.T) { + t.Parallel() + + tca := []struct { + name string + skip bool + run func(t *testing.T) + }{ + { + name: "missing", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: hey +} +hi: ${z} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/missing.d2:5:1: could not resolve variable "z"`) + }, + }, + { + name: "multi-part-map", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: { + a: b + } +} +hi: 1 ${x} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/multi-part-map.d2:7:1: cannot substitute composite variable "x" as part of a string`) + }, + }, + { + name: "quoted-map", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: { + a: b + } +} +hi: "${x}" +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/quoted-map.d2:7:1: cannot substitute map variable "x" in quotes`) + }, + }, + { + name: "nested-missing", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: { + y: hey + } +} +hi: ${x.z} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/nested-missing.d2:7:1: could not resolve variable "x.z"`) + }, + }, + { + name: "out-of-scope", + run: func(t *testing.T) { + assertCompile(t, ` +a: { + vars: { + x: hey + } +} +hi: ${x} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/out-of-scope.d2:7:1: could not resolve variable "x"`) + }, + }, + { + name: "recursive-var", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: ${x} +} +hi: ${x} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/recursive-var.d2:3:3: could not resolve variable "x"`) + }, + }, + + { + name: "spread-non-map", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: all +} +z: { + ...${x} + c +} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-map.d2:6:3: cannot spread non-composite`) + }, + }, + { + name: "missing-array", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: b +} +z: { + class: [...${a}] +} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/missing-array.d2:6:3: could not resolve variable "a"`) + }, + }, + { + name: "spread-non-array", + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: { + a: b + } +} +z: { + class: [...${x}] +} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-array.d2:8:11: cannot spread non-array into array`) + }, + }, + { + name: "spread-non-solo", + // NOTE: this doesn't get parsed correctly and so the error message isn't exactly right, but the important thing is that it errors + run: func(t *testing.T) { + assertCompile(t, ` +vars: { + x: { + a: b + } +} +z: { + d: ...${x} + c +} +`, `d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-solo.d2:8:2: cannot substitute composite variable "x" as part of a string`) + }, + }, + } + + for _, tc := range tca { + tc := tc + t.Run(tc.name, func(t *testing.T) { + t.Parallel() + if tc.skip { + t.SkipNow() + } + tc.run(t) + }) + } + }) +} + +func assertCompile(t *testing.T, text string, expErr string) (*d2graph.Graph, *d2target.Config) { d2Path := fmt.Sprintf("d2/testdata/d2compiler/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(text), nil) + g, config, err := d2compiler.Compile(d2Path, strings.NewReader(text), nil) if expErr != "" { assert.Error(t, err) assert.ErrorString(t, err, expErr) @@ -3188,5 +4052,5 @@ func assertCompile(t *testing.T, text string, expErr string) *d2graph.Graph { err = diff.TestdataJSON(filepath.Join("..", "testdata", "d2compiler", t.Name()), got) assert.Success(t, err) - return g + return g, config } diff --git a/d2exporter/export_test.go b/d2exporter/export_test.go index bc6f47010..5b02901ae 100644 --- a/d2exporter/export_test.go +++ b/d2exporter/export_test.go @@ -12,12 +12,15 @@ import ( "oss.terrastruct.com/util-go/assert" "oss.terrastruct.com/util-go/diff" + "oss.terrastruct.com/util-go/go2" "oss.terrastruct.com/d2/d2compiler" "oss.terrastruct.com/d2/d2exporter" + "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2layouts/d2dagrelayout" "oss.terrastruct.com/d2/d2layouts/d2grid" "oss.terrastruct.com/d2/d2layouts/d2sequence" + "oss.terrastruct.com/d2/d2lib" "oss.terrastruct.com/d2/d2target" "oss.terrastruct.com/d2/lib/geo" "oss.terrastruct.com/d2/lib/log" @@ -219,7 +222,7 @@ func run(t *testing.T, tc testCase) { ctx = log.WithTB(ctx, t, nil) ctx = log.Leveled(ctx, slog.LevelDebug) - g, err := d2compiler.Compile("", strings.NewReader(tc.dsl), &d2compiler.CompileOptions{ + g, config, err := d2compiler.Compile("", strings.NewReader(tc.dsl), &d2compiler.CompileOptions{ UTF16: true, }) if err != nil { @@ -241,6 +244,9 @@ func run(t *testing.T, tc testCase) { if err != nil { t.Fatal(err) } + if got != nil { + got.Config = config + } if tc.assertions != nil { t.Run("assertions", func(t *testing.T) { @@ -267,3 +273,57 @@ func run(t *testing.T, tc testCase) { err = diff.TestdataJSON(filepath.Join("..", "testdata", "d2exporter", t.Name()), got) assert.Success(t, err) } + +// TestHashID tests that 2 diagrams with different theme configs do not equal each other +func TestHashID(t *testing.T) { + ctx := context.Background() + ctx = log.WithTB(ctx, t, nil) + ctx = log.Leveled(ctx, slog.LevelDebug) + + aString := ` +vars: { + d2-config: { + theme-id: 3 + } +} +a -> b +` + + bString := ` +vars: { + d2-config: { + theme-id: 4 + } +} +a -> b +` + + da, err := compile(ctx, aString) + assert.JSON(t, nil, err) + + db, err := compile(ctx, bString) + assert.JSON(t, nil, err) + + hashA, err := da.HashID() + assert.JSON(t, nil, err) + + hashB, err := db.HashID() + assert.JSON(t, nil, err) + + assert.NotEqual(t, hashA, hashB) +} + +func layoutResolver(engine string) (d2graph.LayoutGraph, error) { + return d2dagrelayout.DefaultLayout, nil +} + +func compile(ctx context.Context, d2 string) (*d2target.Diagram, error) { + ruler, _ := textmeasure.NewRuler() + opts := &d2lib.CompileOptions{ + Ruler: ruler, + LayoutResolver: layoutResolver, + Layout: go2.Pointer("dagre"), + } + d, _, e := d2lib.Compile(ctx, d2, opts, nil) + return d, e +} diff --git a/d2graph/d2graph.go b/d2graph/d2graph.go index 26413dcb3..f7aa7ec2b 100644 --- a/d2graph/d2graph.go +++ b/d2graph/d2graph.go @@ -1651,6 +1651,7 @@ var SimpleReservedKeywords = map[string]struct{}{ "vertical-gap": {}, "horizontal-gap": {}, "class": {}, + "vars": {}, } // ReservedKeywordHolders are reserved keywords that are meaningless on its own and must hold composites diff --git a/d2graph/layout.go b/d2graph/layout.go index 60f3bdcca..4d50efc1d 100644 --- a/d2graph/layout.go +++ b/d2graph/layout.go @@ -1,6 +1,7 @@ package d2graph import ( + "sort" "strings" "oss.terrastruct.com/d2/d2target" @@ -316,10 +317,29 @@ func (obj *Object) GetLabelTopLeft() *geo.Point { return labelTL } +func (obj *Object) GetIconTopLeft() *geo.Point { + if obj.IconPosition == nil { + return nil + } + + s := obj.ToShape() + iconPosition := label.Position(*obj.IconPosition) + + var box *geo.Box + if iconPosition.IsOutside() { + box = s.GetBox() + } else { + box = s.GetInnerBox() + } + + return iconPosition.GetPointOnBox(box, label.PADDING, d2target.MAX_ICON_SIZE, d2target.MAX_ICON_SIZE) +} + func (edge *Edge) TraceToShape(points []*geo.Point, startIndex, endIndex int) (newStart, newEnd int) { srcShape := edge.Src.ToShape() dstShape := edge.Dst.ToShape() + startingSegment := geo.Segment{Start: points[startIndex+1], End: points[startIndex]} // if an edge runs into an outside label, stop the edge at the label instead overlapsOutsideLabel := false if edge.Src.HasLabel() { @@ -330,18 +350,27 @@ func (edge *Edge) TraceToShape(points []*geo.Point, startIndex, endIndex int) (n labelHeight := float64(edge.Src.LabelDimensions.Height) labelTL := labelPosition.GetPointOnBox(edge.Src.Box, label.PADDING, labelWidth, labelHeight) - startingSegment := geo.Segment{Start: points[startIndex+1], End: points[startIndex]} labelBox := geo.NewBox(labelTL, labelWidth, labelHeight) // add left/right padding to box labelBox.TopLeft.X -= label.PADDING labelBox.Width += 2 * label.PADDING + + for labelBox.Contains(startingSegment.End) && startIndex+1 > endIndex { + startingSegment.Start = startingSegment.End + startingSegment.End = points[startIndex+2] + startIndex++ + } if intersections := labelBox.Intersections(startingSegment); len(intersections) > 0 { overlapsOutsideLabel = true + p := intersections[0] + if len(intersections) > 1 { + p = findOuterIntersection(labelPosition, intersections) + } // move starting segment to label intersection point - points[startIndex] = intersections[0] - startingSegment.End = intersections[0] + points[startIndex] = p + startingSegment.End = p // if the segment becomes too short, just merge it with the next segment - if startIndex < len(points) && startingSegment.Length() < MIN_SEGMENT_LEN { + if startIndex+1 < endIndex && startingSegment.Length() < MIN_SEGMENT_LEN { points[startIndex+1] = points[startIndex] startIndex++ } @@ -349,9 +378,20 @@ func (edge *Edge) TraceToShape(points []*geo.Point, startIndex, endIndex int) (n } } if !overlapsOutsideLabel { + if intersections := edge.Src.Intersections(startingSegment); len(intersections) > 0 { + // move starting segment to intersection point + points[startIndex] = intersections[0] + startingSegment.End = intersections[0] + // if the segment becomes too short, just merge it with the next segment + if startIndex+1 < endIndex && startingSegment.Length() < MIN_SEGMENT_LEN { + points[startIndex+1] = points[startIndex] + startIndex++ + } + } // trace the edge to the specific shape's border points[startIndex] = shape.TraceToShapeBorder(srcShape, points[startIndex], points[startIndex+1]) } + endingSegment := geo.Segment{Start: points[endIndex-1], End: points[endIndex]} overlapsOutsideLabel = false if edge.Dst.HasLabel() { // assumes LabelPosition, LabelWidth, LabelHeight are all set if there is a label @@ -361,18 +401,26 @@ func (edge *Edge) TraceToShape(points []*geo.Point, startIndex, endIndex int) (n labelHeight := float64(edge.Dst.LabelDimensions.Height) labelTL := labelPosition.GetPointOnBox(edge.Dst.Box, label.PADDING, labelWidth, labelHeight) - endingSegment := geo.Segment{Start: points[endIndex-1], End: points[endIndex]} labelBox := geo.NewBox(labelTL, labelWidth, labelHeight) // add left/right padding to box labelBox.TopLeft.X -= label.PADDING labelBox.Width += 2 * label.PADDING + for labelBox.Contains(endingSegment.Start) && endIndex-1 > startIndex { + endingSegment.End = endingSegment.Start + endingSegment.Start = points[endIndex-2] + endIndex-- + } if intersections := labelBox.Intersections(endingSegment); len(intersections) > 0 { overlapsOutsideLabel = true + p := intersections[0] + if len(intersections) > 1 { + p = findOuterIntersection(labelPosition, intersections) + } // move ending segment to label intersection point - points[endIndex] = intersections[0] - endingSegment.End = intersections[0] + points[endIndex] = p + endingSegment.End = p // if the segment becomes too short, just merge it with the previous segment - if endIndex-1 > 0 && endingSegment.Length() < MIN_SEGMENT_LEN { + if endIndex-1 > startIndex && endingSegment.Length() < MIN_SEGMENT_LEN { points[endIndex-1] = points[endIndex] endIndex-- } @@ -380,7 +428,39 @@ func (edge *Edge) TraceToShape(points []*geo.Point, startIndex, endIndex int) (n } } if !overlapsOutsideLabel { + if intersections := edge.Dst.Intersections(endingSegment); len(intersections) > 0 { + // move ending segment to intersection point + points[endIndex] = intersections[0] + endingSegment.End = intersections[0] + // if the segment becomes too short, just merge it with the previous segment + if endIndex-1 > startIndex && endingSegment.Length() < MIN_SEGMENT_LEN { + points[endIndex-1] = points[endIndex] + endIndex-- + } + } points[endIndex] = shape.TraceToShapeBorder(dstShape, points[endIndex], points[endIndex-1]) } return startIndex, endIndex } + +func findOuterIntersection(labelPosition label.Position, intersections []*geo.Point) *geo.Point { + switch labelPosition { + case label.OutsideTopLeft, label.OutsideTopRight, label.OutsideTopCenter: + sort.Slice(intersections, func(i, j int) bool { + return intersections[i].Y < intersections[j].Y + }) + case label.OutsideBottomLeft, label.OutsideBottomRight, label.OutsideBottomCenter: + sort.Slice(intersections, func(i, j int) bool { + return intersections[i].Y > intersections[j].Y + }) + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom: + sort.Slice(intersections, func(i, j int) bool { + return intersections[i].X < intersections[j].X + }) + case label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + sort.Slice(intersections, func(i, j int) bool { + return intersections[i].X > intersections[j].X + }) + } + return intersections[0] +} diff --git a/d2graph/serde_test.go b/d2graph/serde_test.go index 9d52b91f7..d1435a82d 100644 --- a/d2graph/serde_test.go +++ b/d2graph/serde_test.go @@ -13,7 +13,7 @@ import ( func TestSerialization(t *testing.T) { t.Parallel() - g, err := d2compiler.Compile("", strings.NewReader("a.a.b -> a.a.c"), nil) + g, _, err := d2compiler.Compile("", strings.NewReader("a.a.b -> a.a.c"), nil) assert.Nil(t, err) asserts := func(g *d2graph.Graph) { @@ -53,7 +53,7 @@ func TestCasingRegression(t *testing.T) { script := `UserCreatedTypeField` - g, err := d2compiler.Compile("", strings.NewReader(script), nil) + g, _, err := d2compiler.Compile("", strings.NewReader(script), nil) assert.Nil(t, err) _, ok := g.Root.HasChild([]string{"UserCreatedTypeField"}) diff --git a/d2ir/compile.go b/d2ir/compile.go index f5d92d043..a0783923e 100644 --- a/d2ir/compile.go +++ b/d2ir/compile.go @@ -2,11 +2,15 @@ package d2ir import ( "io/fs" + "strconv" "strings" "oss.terrastruct.com/d2/d2ast" "oss.terrastruct.com/d2/d2format" "oss.terrastruct.com/d2/d2parser" + "oss.terrastruct.com/d2/d2themes" + "oss.terrastruct.com/d2/d2themes/d2themescatalog" + "oss.terrastruct.com/util-go/go2" ) type compiler struct { @@ -18,6 +22,8 @@ type compiler struct { // importCache enables reuse of files imported multiple times. importCache map[string]*Map utf16 bool + + globStack []bool } type CompileOptions struct { @@ -52,14 +58,15 @@ func Compile(ast *d2ast.Map, opts *CompileOptions) (*Map, error) { defer c.popImportStack() c.compileMap(m, ast, ast) - c.compileClasses(m) + c.compileSubstitutions(m, nil) + c.overlayClasses(m) if !c.err.Empty() { return nil, c.err } return m, nil } -func (c *compiler) compileClasses(m *Map) { +func (c *compiler) overlayClasses(m *Map) { classes := m.GetField("classes") if classes == nil || classes.Map() == nil { return @@ -92,10 +99,242 @@ func (c *compiler) compileClasses(m *Map) { l.Fields = append(l.Fields, base) } - c.compileClasses(l) + c.overlayClasses(l) } } +func (c *compiler) compileSubstitutions(m *Map, varsStack []*Map) { + for _, f := range m.Fields { + if f.Name == "vars" && f.Map() != nil { + varsStack = append([]*Map{f.Map()}, varsStack...) + } + if f.Primary() != nil { + c.resolveSubstitutions(varsStack, f) + } + if arr, ok := f.Composite.(*Array); ok { + for _, val := range arr.Values { + if scalar, ok := val.(*Scalar); ok { + c.resolveSubstitutions(varsStack, scalar) + } + } + } else if f.Map() != nil { + // don't resolve substitutions in vars with the current scope of vars + if f.Name == "vars" { + c.compileSubstitutions(f.Map(), varsStack[1:]) + c.validateConfigs(f.Map().GetField("d2-config")) + } else { + c.compileSubstitutions(f.Map(), varsStack) + } + } + } + for _, e := range m.Edges { + if e.Primary() != nil { + c.resolveSubstitutions(varsStack, e) + } + if e.Map() != nil { + c.compileSubstitutions(e.Map(), varsStack) + } + } +} + +func (c *compiler) validateConfigs(configs *Field) { + if configs == nil || configs.Map() == nil { + return + } + + if NodeBoardKind(ParentMap(ParentMap(configs))) == "" { + c.errorf(configs.LastRef().AST(), `"%s" can only appear at root vars`, configs.Name) + return + } + + for _, f := range configs.Map().Fields { + var val string + if f.Primary() == nil { + if f.Name != "theme-colors" { + c.errorf(f.LastRef().AST(), `"%s" needs a value`, f.Name) + continue + } + } else { + val = f.Primary().Value.ScalarString() + } + + switch f.Name { + case "sketch", "center": + _, err := strconv.ParseBool(val) + if err != nil { + c.errorf(f.LastRef().AST(), `expected a boolean for "%s", got "%s"`, f.Name, val) + continue + } + case "theme-colors": + if f.Map() == nil { + c.errorf(f.LastRef().AST(), `"%s" needs a map`, f.Name) + continue + } + case "theme-id", "dark-theme-id": + valInt, err := strconv.Atoi(val) + if err != nil { + c.errorf(f.LastRef().AST(), `expected an integer for "%s", got "%s"`, f.Name, val) + continue + } + if d2themescatalog.Find(int64(valInt)) == (d2themes.Theme{}) { + c.errorf(f.LastRef().AST(), `%d is not a valid theme ID`, valInt) + continue + } + case "pad": + _, err := strconv.Atoi(val) + if err != nil { + c.errorf(f.LastRef().AST(), `expected an integer for "%s", got "%s"`, f.Name, val) + continue + } + case "layout-engine": + default: + c.errorf(f.LastRef().AST(), `"%s" is not a valid config`, f.Name) + } + } +} + +func (c *compiler) resolveSubstitutions(varsStack []*Map, node Node) { + var subbed bool + var resolvedField *Field + + switch s := node.Primary().Value.(type) { + case *d2ast.UnquotedString: + for i, box := range s.Value { + if box.Substitution != nil { + for _, vars := range varsStack { + resolvedField = c.resolveSubstitution(vars, box.Substitution) + if resolvedField != nil { + if resolvedField.Primary() != nil { + if _, ok := resolvedField.Primary().Value.(*d2ast.Null); ok { + resolvedField = nil + } + } + break + } + } + if resolvedField == nil { + c.errorf(node.LastRef().AST(), `could not resolve variable "%s"`, strings.Join(box.Substitution.IDA(), ".")) + return + } + if box.Substitution.Spread { + if resolvedField.Composite == nil { + c.errorf(box.Substitution, "cannot spread non-composite") + continue + } + switch n := node.(type) { + case *Scalar: // Array value + resolvedArr, ok := resolvedField.Composite.(*Array) + if !ok { + c.errorf(box.Substitution, "cannot spread non-array into array") + continue + } + arr := n.parent.(*Array) + for i, s := range arr.Values { + if s == n { + arr.Values = append(append(arr.Values[:i], resolvedArr.Values...), arr.Values[i+1:]...) + break + } + } + case *Field: + if resolvedField.Map() != nil { + OverlayMap(ParentMap(n), resolvedField.Map()) + } + // Remove the placeholder field + m := n.parent.(*Map) + for i, f2 := range m.Fields { + if n == f2 { + m.Fields = append(m.Fields[:i], m.Fields[i+1:]...) + break + } + } + } + } + if resolvedField.Primary() == nil { + if resolvedField.Composite == nil { + c.errorf(node.LastRef().AST(), `cannot substitute variable without value: "%s"`, strings.Join(box.Substitution.IDA(), ".")) + return + } + if len(s.Value) > 1 { + c.errorf(node.LastRef().AST(), `cannot substitute composite variable "%s" as part of a string`, strings.Join(box.Substitution.IDA(), ".")) + return + } + switch n := node.(type) { + case *Field: + n.Primary_ = nil + case *Edge: + n.Primary_ = nil + } + } else { + if i == 0 && len(s.Value) == 1 { + node.Primary().Value = resolvedField.Primary().Value + } else { + s.Value[i].String = go2.Pointer(resolvedField.Primary().Value.ScalarString()) + subbed = true + } + } + if resolvedField.Composite != nil { + switch n := node.(type) { + case *Field: + n.Composite = resolvedField.Composite + case *Edge: + if resolvedField.Composite.Map() == nil { + c.errorf(node.LastRef().AST(), `cannot substitute array variable "%s" to an edge`, strings.Join(box.Substitution.IDA(), ".")) + return + } + n.Map_ = resolvedField.Composite.Map() + } + } + } + } + if subbed { + s.Coalesce() + } + case *d2ast.DoubleQuotedString: + for i, box := range s.Value { + if box.Substitution != nil { + for _, vars := range varsStack { + resolvedField = c.resolveSubstitution(vars, box.Substitution) + if resolvedField != nil { + break + } + } + if resolvedField == nil { + c.errorf(node.LastRef().AST(), `could not resolve variable "%s"`, strings.Join(box.Substitution.IDA(), ".")) + return + } + if resolvedField.Primary() == nil && resolvedField.Composite != nil { + c.errorf(node.LastRef().AST(), `cannot substitute map variable "%s" in quotes`, strings.Join(box.Substitution.IDA(), ".")) + return + } + s.Value[i].String = go2.Pointer(resolvedField.Primary().Value.ScalarString()) + subbed = true + } + } + if subbed { + s.Coalesce() + } + } +} + +func (c *compiler) resolveSubstitution(vars *Map, substitution *d2ast.Substitution) *Field { + if vars == nil { + return nil + } + + for i, p := range substitution.Path { + f := vars.GetField(p.Unbox().ScalarString()) + if f == nil { + return nil + } + + if i == len(substitution.Path)-1 { + return f + } + vars = f.Map() + } + return nil +} + func (c *compiler) overlay(base *Map, f *Field) { if f.Map() == nil || f.Primary() != nil { c.errorf(f.References[0].Context.Key, "invalid %s", NodeBoardKind(f)) @@ -107,6 +346,20 @@ func (c *compiler) overlay(base *Map, f *Field) { } func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { + for _, n := range ast.Nodes { + switch { + case n.MapKey != nil: + ok := c.ampersandFilter(&RefContext{ + Key: n.MapKey, + Scope: ast, + ScopeMap: dst, + ScopeAST: scopeAST, + }) + if !ok { + return + } + } + } for _, n := range ast.Nodes { switch { case n.MapKey != nil: @@ -116,6 +369,17 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { ScopeMap: dst, ScopeAST: scopeAST, }) + case n.Substitution != nil: + // placeholder field to be resolved at the end + f := &Field{ + parent: dst, + Primary_: &Scalar{ + Value: &d2ast.UnquotedString{ + Value: []d2ast.InterpolationBox{{Substitution: n.Substitution}}, + }, + }, + } + dst.Fields = append(dst.Fields, f) case n.Import != nil: impn, ok := c._import(n.Import) if !ok { @@ -135,8 +399,6 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { } } } - case n.Substitution != nil: - panic("TODO") } } } @@ -150,16 +412,87 @@ func (c *compiler) compileKey(refctx *RefContext) { } func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) { - if refctx.Key != nil && len(refctx.Key.Edges) == 0 && refctx.Key.Value.Null != nil { - dst.DeleteField(kp.IDA()...) + if refctx.Key.Ampersand { return } - f, err := dst.EnsureField(kp, refctx) + + fa, err := dst.EnsureField(kp, refctx, true) if err != nil { c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) return } + for _, f := range fa { + c._compileField(f, refctx) + } +} + +func (c *compiler) ampersandFilter(refctx *RefContext) bool { + if !refctx.Key.Ampersand { + return true + } + if len(c.globStack) == 0 || !c.globStack[len(c.globStack)-1] { + c.errorf(refctx.Key, "glob filters cannot be used outside globs") + return false + } + if len(refctx.Key.Edges) > 0 { + return true + } + + fa, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx, false) + if err != nil { + c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) + return false + } + if len(fa) == 0 { + return false + } + for _, f := range fa { + ok := c._ampersandFilter(f, refctx) + if !ok { + return false + } + } + return true +} + +func (c *compiler) _ampersandFilter(f *Field, refctx *RefContext) bool { + if refctx.Key.Value.ScalarBox().Unbox() == nil { + c.errorf(refctx.Key, "glob filters cannot be composites") + return false + } + + if a, ok := f.Composite.(*Array); ok { + for _, v := range a.Values { + if s, ok := v.(*Scalar); ok { + if refctx.Key.Value.ScalarBox().Unbox().ScalarString() == s.Value.ScalarString() { + return true + } + } + } + } + + if f.Primary_ == nil { + return false + } + + if refctx.Key.Value.ScalarBox().Unbox().ScalarString() != f.Primary_.Value.ScalarString() { + return false + } + + return true +} + +func (c *compiler) _compileField(f *Field, refctx *RefContext) { + if len(refctx.Key.Edges) == 0 && refctx.Key.Value.Null != nil { + // For vars, if we delete the field, it may just resolve to an outer scope var of the same name + // Instead we keep it around, so that resolveSubstitutions can find it + if !IsVar(ParentMap(f)) { + ParentMap(f).DeleteField(f.Name) + return + } + } + if refctx.Key.Primary.Unbox() != nil { f.Primary_ = &Scalar{ parent: f, @@ -199,10 +532,12 @@ func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) // If new board type, use that as the new scope AST, otherwise, carry on scopeAST = refctx.ScopeAST } + c.globStack = append(c.globStack, refctx.Key.HasQueryGlob()) c.compileMap(f.Map(), refctx.Key.Value.Map, scopeAST) + c.globStack = c.globStack[:len(c.globStack)-1] switch NodeBoardKind(f) { case BoardScenario, BoardStep: - c.compileClasses(f.Map()) + c.overlayClasses(f.Map()) } } else if refctx.Key.Value.Import != nil { n, ok := c._import(refctx.Key.Value.Import) @@ -241,7 +576,7 @@ func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) c.updateLinks(f.Map()) switch NodeBoardKind(f) { case BoardScenario, BoardStep: - c.compileClasses(f.Map()) + c.overlayClasses(f.Map()) } } } else if refctx.Key.Value.ScalarBox().Unbox() != nil { @@ -259,6 +594,21 @@ func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) func (c *compiler) updateLinks(m *Map) { for _, f := range m.Fields { if f.Name == "link" { + val := f.Primary().Value.ScalarString() + link, err := d2parser.ParseKey(val) + if err != nil { + continue + } + + linkIDA := link.IDA() + if len(linkIDA) == 0 { + continue + } + + // When updateLinks is called, all valid board links are already compiled and changed to the qualified path beginning with "root" + if linkIDA[0] != "root" { + continue + } bida := BoardIDA(f) aida := IDA(f) if len(bida) != len(aida) { @@ -337,12 +687,17 @@ func (c *compiler) compileLink(refctx *RefContext) { } func (c *compiler) compileEdges(refctx *RefContext) { - if refctx.Key.Key != nil { - f, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx) - if err != nil { - c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) - return - } + if refctx.Key.Key == nil { + c._compileEdges(refctx) + return + } + + fa, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx, true) + if err != nil { + c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) + return + } + for _, f := range fa { if _, ok := f.Composite.(*Array); ok { c.errorf(refctx.Key.Key, "cannot index into array") return @@ -352,9 +707,13 @@ func (c *compiler) compileEdges(refctx *RefContext) { parent: f, } } - refctx.ScopeMap = f.Map() + refctx2 := *refctx + refctx2.ScopeMap = f.Map() + c._compileEdges(&refctx2) } +} +func (c *compiler) _compileEdges(refctx *RefContext) { eida := NewEdgeIDs(refctx.Key) for i, eid := range eida { if refctx.Key != nil && refctx.Key.Value.Null != nil { @@ -365,66 +724,61 @@ func (c *compiler) compileEdges(refctx *RefContext) { refctx = refctx.Copy() refctx.Edge = refctx.Key.Edges[i] - var e *Edge - if eid.Index != nil { - ea := refctx.ScopeMap.GetEdges(eid) + var ea []*Edge + if eid.Index != nil || eid.Glob { + ea = refctx.ScopeMap.GetEdges(eid, refctx) if len(ea) == 0 { c.errorf(refctx.Edge, "indexed edge does not exist") continue } - e = ea[0] - e.References = append(e.References, &EdgeReference{ - Context: refctx, - }) - refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Src, refctx) - refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Dst, refctx) + for _, e := range ea { + e.References = append(e.References, &EdgeReference{ + Context: refctx, + }) + refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Src, refctx) + refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Dst, refctx) + } } else { - _, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, refctx) - if err != nil { - c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) - continue - } - _, err = refctx.ScopeMap.EnsureField(refctx.Edge.Dst, refctx) - if err != nil { - c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) - continue - } - - e, err = refctx.ScopeMap.CreateEdge(eid, refctx) + var err error + ea, err = refctx.ScopeMap.CreateEdge(eid, refctx) if err != nil { c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) continue } } - if refctx.Key.EdgeKey != nil { - if e.Map_ == nil { - e.Map_ = &Map{ - parent: e, - } - } - c.compileField(e.Map_, refctx.Key.EdgeKey, refctx) - } else { - if refctx.Key.Primary.Unbox() != nil { - e.Primary_ = &Scalar{ - parent: e, - Value: refctx.Key.Primary.Unbox(), - } - } - if refctx.Key.Value.Array != nil { - c.errorf(refctx.Key.Value.Unbox(), "edges cannot be assigned arrays") - continue - } else if refctx.Key.Value.Map != nil { + for _, e := range ea { + if refctx.Key.EdgeKey != nil { if e.Map_ == nil { e.Map_ = &Map{ parent: e, } } - c.compileMap(e.Map_, refctx.Key.Value.Map, refctx.ScopeAST) - } else if refctx.Key.Value.ScalarBox().Unbox() != nil { - e.Primary_ = &Scalar{ - parent: e, - Value: refctx.Key.Value.ScalarBox().Unbox(), + c.compileField(e.Map_, refctx.Key.EdgeKey, refctx) + } else { + if refctx.Key.Primary.Unbox() != nil { + e.Primary_ = &Scalar{ + parent: e, + Value: refctx.Key.Primary.Unbox(), + } + } + if refctx.Key.Value.Array != nil { + c.errorf(refctx.Key.Value.Unbox(), "edges cannot be assigned arrays") + continue + } else if refctx.Key.Value.Map != nil { + if e.Map_ == nil { + e.Map_ = &Map{ + parent: e, + } + } + c.globStack = append(c.globStack, refctx.Key.HasQueryGlob()) + c.compileMap(e.Map_, refctx.Key.Value.Map, refctx.ScopeAST) + c.globStack = c.globStack[:len(c.globStack)-1] + } else if refctx.Key.Value.ScalarBox().Unbox() != nil { + e.Primary_ = &Scalar{ + parent: e, + Value: refctx.Key.Value.ScalarBox().Unbox(), + } } } } @@ -481,7 +835,12 @@ func (c *compiler) compileArray(dst *Array, a *d2ast.Array, scopeAST *d2ast.Map) irv = n } case *d2ast.Substitution: - // panic("TODO") + irv = &Scalar{ + parent: dst, + Value: &d2ast.UnquotedString{ + Value: []d2ast.InterpolationBox{{Substitution: an.Substitution}}, + }, + } } dst.Values = append(dst.Values, irv) diff --git a/d2ir/compile_test.go b/d2ir/compile_test.go index ab7173c8e..9fc96b228 100644 --- a/d2ir/compile_test.go +++ b/d2ir/compile_test.go @@ -26,6 +26,8 @@ func TestCompile(t *testing.T) { t.Run("scenarios", testCompileScenarios) t.Run("steps", testCompileSteps) t.Run("imports", testCompileImports) + t.Run("patterns", testCompilePatterns) + t.Run("filters", testCompileFilters) } type testCase struct { @@ -84,23 +86,31 @@ func assertQuery(t testing.TB, n d2ir.Node, nfields, nedges int, primary interfa m := n.Map() p := n.Primary() + var na []d2ir.Node if idStr != "" { var err error - n, err = m.Query(idStr) + na, err = m.QueryAll(idStr) assert.Success(t, err) assert.NotEqual(t, n, nil) + } else { + na = append(na, n) + } - p = n.Primary() + for _, n := range na { m = n.Map() + p = n.Primary() + assert.Equal(t, nfields, m.FieldCountRecursive()) + assert.Equal(t, nedges, m.EdgeCountRecursive()) + if !makeScalar(p).Equal(makeScalar(primary)) { + t.Fatalf("expected primary %#v but got %s", primary, p) + } } - assert.Equal(t, nfields, m.FieldCountRecursive()) - assert.Equal(t, nedges, m.EdgeCountRecursive()) - if !makeScalar(p).Equal(makeScalar(primary)) { - t.Fatalf("expected primary %#v but got %s", primary, p) + if len(na) == 0 { + return nil } - return n + return na[0] } func makeScalar(v interface{}) *d2ir.Scalar { diff --git a/d2ir/d2ir.go b/d2ir/d2ir.go index 65ed636b5..4550a9857 100644 --- a/d2ir/d2ir.go +++ b/d2ir/d2ir.go @@ -325,6 +325,7 @@ type EdgeID struct { // If nil, then any EdgeID with equal src/dst/arrows matches. Index *int `json:"index"` + Glob bool `json:"glob"` } func NewEdgeIDs(k *d2ast.Key) (eida []*EdgeID) { @@ -337,6 +338,7 @@ func NewEdgeIDs(k *d2ast.Key) (eida []*EdgeID) { } if k.EdgeIndex != nil { eid.Index = k.EdgeIndex.Int + eid.Glob = k.EdgeIndex.Glob } eida = append(eida, eid) } @@ -585,6 +587,19 @@ func (m *Map) FieldCountRecursive() int { return acc } +func (m *Map) IsContainer() bool { + if m == nil { + return false + } + for _, f := range m.Fields { + _, isReserved := d2graph.ReservedKeywords[f.Name] + if !isReserved { + return true + } + } + return false +} + func (m *Map) EdgeCountRecursive() int { if m == nil { return 0 @@ -651,7 +666,8 @@ func (m *Map) getField(ida []string) *Field { return nil } -func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext) (*Field, error) { +// EnsureField is a bit of a misnomer. It's more of a Query/Ensure combination function at this point. +func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext, create bool) ([]*Field, error) { i := 0 for kp.Path[i].Unbox().ScalarString() == "_" { m = ParentMap(m) @@ -663,29 +679,73 @@ func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext) (*Field, error) } i++ } - return m.ensureField(i, kp, refctx) + + var fa []*Field + err := m.ensureField(i, kp, refctx, create, &fa) + return fa, err } -func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext) (*Field, error) { +func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext, create bool, fa *[]*Field) error { + us, ok := kp.Path[i].Unbox().(*d2ast.UnquotedString) + if ok && us.Pattern != nil { + fa2, ok := m.doubleGlob(us.Pattern) + if ok { + if i == len(kp.Path)-1 { + *fa = append(*fa, fa2...) + } else { + for _, f := range fa2 { + if f.Map() == nil { + f.Composite = &Map{ + parent: f, + } + } + err := f.Map().ensureField(i+1, kp, refctx, create, fa) + if err != nil { + return err + } + } + } + return nil + } + for _, f := range m.Fields { + if matchPattern(f.Name, us.Pattern) { + if i == len(kp.Path)-1 { + *fa = append(*fa, f) + } else { + if f.Map() == nil { + f.Composite = &Map{ + parent: f, + } + } + err := f.Map().ensureField(i+1, kp, refctx, create, fa) + if err != nil { + return err + } + } + } + } + return nil + } + head := kp.Path[i].Unbox().ScalarString() if _, ok := d2graph.ReservedKeywords[strings.ToLower(head)]; ok { head = strings.ToLower(head) if _, ok := d2graph.CompositeReservedKeywords[head]; !ok && i < len(kp.Path)-1 { - return nil, d2parser.Errorf(kp.Path[i].Unbox(), fmt.Sprintf(`"%s" must be the last part of the key`, head)) + return d2parser.Errorf(kp.Path[i].Unbox(), fmt.Sprintf(`"%s" must be the last part of the key`, head)) } } if head == "_" { - return nil, d2parser.Errorf(kp.Path[i].Unbox(), `parent "_" can only be used in the beginning of paths, e.g. "_.x"`) + return d2parser.Errorf(kp.Path[i].Unbox(), `parent "_" can only be used in the beginning of paths, e.g. "_.x"`) } if head == "classes" && NodeBoardKind(m) == "" { - return nil, d2parser.Errorf(kp.Path[i].Unbox(), "%s is only allowed at a board root", head) + return d2parser.Errorf(kp.Path[i].Unbox(), "%s is only allowed at a board root", head) } if findBoardKeyword(head) != -1 && NodeBoardKind(m) == "" { - return nil, d2parser.Errorf(kp.Path[i].Unbox(), "%s is only allowed at a board root", head) + return d2parser.Errorf(kp.Path[i].Unbox(), "%s is only allowed at a board root", head) } for _, f := range m.Fields { @@ -703,19 +763,23 @@ func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext) (*Field, } if i+1 == len(kp.Path) { - return f, nil + *fa = append(*fa, f) + return nil } if _, ok := f.Composite.(*Array); ok { - return nil, d2parser.Errorf(kp.Path[i].Unbox(), "cannot index into array") + return d2parser.Errorf(kp.Path[i].Unbox(), "cannot index into array") } if f.Map() == nil { f.Composite = &Map{ parent: f, } } - return f.Map().ensureField(i+1, kp, refctx) + return f.Map().ensureField(i+1, kp, refctx, create, fa) } + if !create { + return nil + } f := &Field{ parent: m, Name: head, @@ -730,12 +794,13 @@ func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext) (*Field, } m.Fields = append(m.Fields, f) if i+1 == len(kp.Path) { - return f, nil + *fa = append(*fa, f) + return nil } f.Composite = &Map{ parent: f, } - return f.Map().ensureField(i+1, kp, refctx) + return f.Map().ensureField(i+1, kp, refctx, create, fa) } func (m *Map) DeleteEdge(eid *EdgeID) *Edge { @@ -800,7 +865,13 @@ func (m *Map) DeleteField(ida ...string) *Field { return nil } -func (m *Map) GetEdges(eid *EdgeID) []*Edge { +func (m *Map) GetEdges(eid *EdgeID, refctx *RefContext) []*Edge { + if refctx != nil { + var ea []*Edge + m.getEdges(eid, refctx, &ea) + return ea + } + eid, m, common, err := eid.resolve(m) if err != nil { return nil @@ -811,7 +882,7 @@ func (m *Map) GetEdges(eid *EdgeID) []*Edge { return nil } if f.Map() != nil { - return f.Map().GetEdges(eid) + return f.Map().GetEdges(eid, nil) } return nil } @@ -825,65 +896,197 @@ func (m *Map) GetEdges(eid *EdgeID) []*Edge { return ea } -func (m *Map) CreateEdge(eid *EdgeID, refctx *RefContext) (*Edge, error) { +func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { + eid, m, common, err := eid.resolve(m) + if err != nil { + return err + } + + if len(common) > 0 { + commonKP := d2ast.MakeKeyPath(common) + lastMatch := 0 + for i, el := range commonKP.Path { + for j := lastMatch; j < len(refctx.Edge.Src.Path); j++ { + realEl := refctx.Edge.Src.Path[j] + if el.ScalarString() == realEl.ScalarString() { + commonKP.Path[i] = realEl + lastMatch += j + 1 + } + } + } + fa, err := m.EnsureField(commonKP, nil, false) + if err != nil { + return nil + } + for _, f := range fa { + if _, ok := f.Composite.(*Array); ok { + return d2parser.Errorf(refctx.Edge.Src, "cannot index into array") + } + if f.Map() == nil { + f.Composite = &Map{ + parent: f, + } + } + err = f.Map().getEdges(eid, refctx, ea) + if err != nil { + return err + } + } + return nil + } + + srcFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, nil, false) + if err != nil { + return err + } + dstFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Dst, nil, false) + if err != nil { + return err + } + + for _, src := range srcFA { + for _, dst := range dstFA { + eid2 := eid.Copy() + eid2.SrcPath = RelIDA(m, src) + eid2.DstPath = RelIDA(m, dst) + + ea2 := m.GetEdges(eid2, nil) + *ea = append(*ea, ea2...) + } + } + return nil +} + +func (m *Map) CreateEdge(eid *EdgeID, refctx *RefContext) ([]*Edge, error) { + var ea []*Edge + return ea, m.createEdge(eid, refctx, &ea) +} + +func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { if ParentEdge(m) != nil { - return nil, d2parser.Errorf(refctx.Edge, "cannot create edge inside edge") + return d2parser.Errorf(refctx.Edge, "cannot create edge inside edge") } eid, m, common, err := eid.resolve(m) if err != nil { - return nil, d2parser.Errorf(refctx.Edge, err.Error()) + return d2parser.Errorf(refctx.Edge, err.Error()) } if len(common) > 0 { - f, err := m.EnsureField(d2ast.MakeKeyPath(common), nil) - if err != nil { - return nil, err - } - if _, ok := f.Composite.(*Array); ok { - return nil, d2parser.Errorf(refctx.Edge.Src, "cannot index into array") - } - if f.Map() == nil { - f.Composite = &Map{ - parent: f, + commonKP := d2ast.MakeKeyPath(common) + lastMatch := 0 + for i, el := range commonKP.Path { + for j := lastMatch; j < len(refctx.Edge.Src.Path); j++ { + realEl := refctx.Edge.Src.Path[j] + if el.ScalarString() == realEl.ScalarString() { + commonKP.Path[i] = realEl + lastMatch += j + 1 + } } } - return f.Map().CreateEdge(eid, refctx) + fa, err := m.EnsureField(commonKP, nil, true) + if err != nil { + return err + } + for _, f := range fa { + if _, ok := f.Composite.(*Array); ok { + return d2parser.Errorf(refctx.Edge.Src, "cannot index into array") + } + if f.Map() == nil { + f.Composite = &Map{ + parent: f, + } + } + err = f.Map().createEdge(eid, refctx, ea) + if err != nil { + return err + } + } + return nil } ij := findProhibitedEdgeKeyword(eid.SrcPath...) if ij != -1 { - return nil, d2parser.Errorf(refctx.Edge.Src.Path[ij].Unbox(), "reserved keywords are prohibited in edges") + return d2parser.Errorf(refctx.Edge.Src.Path[ij].Unbox(), "reserved keywords are prohibited in edges") } ij = findBoardKeyword(eid.SrcPath...) if ij == len(eid.SrcPath)-1 { - return nil, d2parser.Errorf(refctx.Edge.Src.Path[ij].Unbox(), "edge with board keyword alone doesn't make sense") - } - src := m.GetField(eid.SrcPath...) - if NodeBoardKind(src) != "" { - return nil, d2parser.Errorf(refctx.Edge.Src, "cannot create edges between boards") + return d2parser.Errorf(refctx.Edge.Src.Path[ij].Unbox(), "edge with board keyword alone doesn't make sense") } ij = findProhibitedEdgeKeyword(eid.DstPath...) if ij != -1 { - return nil, d2parser.Errorf(refctx.Edge.Dst.Path[ij].Unbox(), "reserved keywords are prohibited in edges") + return d2parser.Errorf(refctx.Edge.Dst.Path[ij].Unbox(), "reserved keywords are prohibited in edges") } ij = findBoardKeyword(eid.DstPath...) if ij == len(eid.DstPath)-1 { - return nil, d2parser.Errorf(refctx.Edge.Dst.Path[ij].Unbox(), "edge with board keyword alone doesn't make sense") + return d2parser.Errorf(refctx.Edge.Dst.Path[ij].Unbox(), "edge with board keyword alone doesn't make sense") + } + + srcFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, refctx, true) + if err != nil { + return err + } + dstFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Dst, refctx, true) + if err != nil { + return err + } + + for _, src := range srcFA { + for _, dst := range dstFA { + if src == dst && (refctx.Edge.Src.HasGlob() || refctx.Edge.Dst.HasGlob()) { + // Globs do not make self edges. + continue + } + + if refctx.Edge.Src.HasDoubleGlob() { + // If src has a double glob we only select leafs, those without children. + if src.Map().IsContainer() { + continue + } + if ParentBoard(src) != ParentBoard(dst) { + continue + } + } + if refctx.Edge.Dst.HasDoubleGlob() { + // If dst has a double glob we only select leafs, those without children. + if dst.Map().IsContainer() { + continue + } + if ParentBoard(src) != ParentBoard(dst) { + continue + } + } + + eid2 := eid.Copy() + eid2.SrcPath = RelIDA(m, src) + eid2.DstPath = RelIDA(m, dst) + e, err := m.createEdge2(eid2, refctx, src, dst) + if err != nil { + return err + } + *ea = append(*ea, e) + } + } + return nil +} + +func (m *Map) createEdge2(eid *EdgeID, refctx *RefContext, src, dst *Field) (*Edge, error) { + if NodeBoardKind(src) != "" { + return nil, d2parser.Errorf(refctx.Edge.Src, "cannot create edges between boards") } - dst := m.GetField(eid.DstPath...) if NodeBoardKind(dst) != "" { return nil, d2parser.Errorf(refctx.Edge.Dst, "cannot create edges between boards") } - if ParentBoard(src) != ParentBoard(dst) { return nil, d2parser.Errorf(refctx.Edge, "cannot create edges between boards") } eid.Index = nil - ea := m.GetEdges(eid) + eid.Glob = true + ea := m.GetEdges(eid, nil) index := len(ea) eid.Index = &index + eid.Glob = false e := &Edge{ parent: m, ID: eid, @@ -1026,6 +1229,21 @@ func ParentField(n Node) *Field { } } +func IsVar(n Node) bool { + for { + if n == nil { + return false + } + if NodeBoardKind(n) != "" { + return false + } + if f, ok := n.(*Field); ok && f.Name == "vars" { + return true + } + n = n.Parent() + } +} + func ParentBoard(n Node) Node { for { n = n.Parent() @@ -1144,6 +1362,26 @@ func IDA(n Node) (ida []string) { } } +// RelIDA returns the path to n relative to p. +func RelIDA(p, n Node) (ida []string) { + for { + f, ok := n.(*Field) + if ok { + ida = append(ida, f.Name) + if f.Root() { + reverseIDA(ida) + return ida + } + } + f = ParentField(n) + if f == nil || f.Root() || f == p || f.Composite == p { + reverseIDA(ida) + return ida + } + n = f + } +} + func reverseIDA(ida []string) { for i := 0; i < len(ida)/2; i++ { tmp := ida[i] diff --git a/d2ir/filter_test.go b/d2ir/filter_test.go new file mode 100644 index 000000000..710ba0803 --- /dev/null +++ b/d2ir/filter_test.go @@ -0,0 +1,158 @@ +package d2ir_test + +import ( + "testing" + + "oss.terrastruct.com/util-go/assert" +) + +func testCompileFilters(t *testing.T) { + t.Parallel() + + tca := []testCase{ + { + name: "base", + run: func(t testing.TB) { + m, err := compile(t, `jacob: { + shape: circle +} +jeremy: { + shape: rectangle +} +*: { + &shape: rectangle + label: I'm a rectangle +}`) + assert.Success(t, err) + assertQuery(t, m, 1, 0, nil, "jacob") + assertQuery(t, m, 2, 0, nil, "jeremy") + assertQuery(t, m, 0, 0, "I'm a rectangle", "jeremy.label") + }, + }, + { + name: "order", + run: func(t testing.TB) { + m, err := compile(t, `jacob: { + shape: circle +} +jeremy: { + shape: rectangle +} +*: { + label: I'm a rectangle + &shape: rectangle +}`) + assert.Success(t, err) + assertQuery(t, m, 5, 0, nil, "") + assertQuery(t, m, 1, 0, nil, "jacob") + assertQuery(t, m, 2, 0, nil, "jeremy") + assertQuery(t, m, 0, 0, "I'm a rectangle", "jeremy.label") + }, + }, + { + name: "array", + run: func(t testing.TB) { + m, err := compile(t, `the-little-cannon: { + class: [server; deployed] +} +dino: { + class: [internal; deployed] +} +catapult: { + class: [jacob; server] +} + +*: { + &class: server + style.multiple: true +} +`) + assert.Success(t, err) + assertQuery(t, m, 10, 0, nil, "") + assertQuery(t, m, 3, 0, nil, "the-little-cannon") + assertQuery(t, m, 1, 0, nil, "dino") + assertQuery(t, m, 3, 0, nil, "catapult") + }, + }, + { + name: "edge", + run: func(t testing.TB) { + m, err := compile(t, `x -> y: { + source-arrowhead.shape: diamond + target-arrowhead.shape: diamond +} +x -> y + +(x -> *)[*]: { + &source-arrowhead.shape: diamond + &target-arrowhead.shape: diamond + label: diamond shape arrowheads +} +`) + assert.Success(t, err) + assertQuery(t, m, 7, 2, nil, "") + assertQuery(t, m, 5, 0, nil, "(x -> y)[0]") + assertQuery(t, m, 0, 0, "diamond shape arrowheads", "(x -> y)[0].label") + assertQuery(t, m, 0, 0, nil, "(x -> y)[1]") + }, + }, + } + + runa(t, tca) + + t.Run("errors", func(t *testing.T) { + tca := []testCase{ + { + name: "bad-syntax", + run: func(t testing.TB) { + _, err := compile(t, `jacob.style: { + fill: red + multiple: true +} + +*.&style: { + fill: red + multiple: true +} +`) + assert.ErrorString(t, err, `TestCompile/filters/errors/bad-syntax.d2:6:3: unexpected text after map key +TestCompile/filters/errors/bad-syntax.d2:9:1: unexpected map termination character } in file map`) + }, + }, + { + name: "no-glob", + run: func(t testing.TB) { + _, err := compile(t, `jacob.style: { + fill: red + multiple: true +} + +jasmine.style: { + &fill: red + multiple: false +} +`) + assert.ErrorString(t, err, `TestCompile/filters/errors/no-glob.d2:7:3: glob filters cannot be used outside globs`) + }, + }, + { + name: "composite", + run: func(t testing.TB) { + _, err := compile(t, `jacob.style: { + fill: red + multiple: true +} +*: { + &style: { + fill: red + multiple: true + } +} +`) + assert.ErrorString(t, err, `TestCompile/filters/errors/composite.d2:6:2: glob filters cannot be composites`) + }, + }, + } + runa(t, tca) + }) +} diff --git a/d2ir/import_test.go b/d2ir/import_test.go index 38b3a3a2c..0b9497abe 100644 --- a/d2ir/import_test.go +++ b/d2ir/import_test.go @@ -138,6 +138,39 @@ label: meow`, assertQuery(t, m, 0, 0, nil, "q.jon") }, }, + { + name: "vars/1", + run: func(t testing.TB) { + m, err := compileFS(t, "index.d2", map[string]string{ + "index.d2": "vars: { ...@x }; q: ${meow}", + "x.d2": "meow: var replaced", + }) + assert.Success(t, err) + assertQuery(t, m, 0, 0, "var replaced", "q") + }, + }, + { + name: "vars/2", + run: func(t testing.TB) { + m, err := compileFS(t, "index.d2", map[string]string{ + "index.d2": "vars: { x: 1 }; ...@a", + "a.d2": "vars: { x: 2 }; hi: ${x}", + }) + assert.Success(t, err) + assertQuery(t, m, 0, 0, 2, "hi") + }, + }, + { + name: "vars/3", + run: func(t testing.TB) { + m, err := compileFS(t, "index.d2", map[string]string{ + "index.d2": "...@a; vars: { x: 1 }; hi: ${x}", + "a.d2": "vars: { x: 2 }", + }) + assert.Success(t, err) + assertQuery(t, m, 0, 0, 1, "hi") + }, + }, } runa(t, tca) diff --git a/d2ir/merge.go b/d2ir/merge.go index 15ba2a9ec..a4a30d21f 100644 --- a/d2ir/merge.go +++ b/d2ir/merge.go @@ -11,7 +11,7 @@ func OverlayMap(base, overlay *Map) { } for _, oe := range overlay.Edges { - bea := base.GetEdges(oe.ID) + bea := base.GetEdges(oe.ID, nil) if len(bea) == 0 { base.Edges = append(base.Edges, oe.Copy(base).(*Edge)) continue diff --git a/d2ir/pattern.go b/d2ir/pattern.go new file mode 100644 index 000000000..9409e0363 --- /dev/null +++ b/d2ir/pattern.go @@ -0,0 +1,59 @@ +package d2ir + +import ( + "strings" + + "oss.terrastruct.com/d2/d2graph" +) + +func (m *Map) doubleGlob(pattern []string) ([]*Field, bool) { + if !(len(pattern) == 3 && pattern[0] == "*" && pattern[1] == "" && pattern[2] == "*") { + return nil, false + } + var fa []*Field + m._doubleGlob(&fa) + return fa, true +} + +func (m *Map) _doubleGlob(fa *[]*Field) { + for _, f := range m.Fields { + if _, ok := d2graph.ReservedKeywords[f.Name]; ok { + if _, ok := d2graph.BoardKeywords[f.Name]; !ok { + continue + } + } + *fa = append(*fa, f) + if f.Map() != nil { + f.Map()._doubleGlob(fa) + } + } +} + +func matchPattern(s string, pattern []string) bool { + if len(pattern) == 0 { + return true + } + if _, ok := d2graph.ReservedKeywords[s]; ok { + return false + } + + for i := 0; i < len(pattern); i++ { + if pattern[i] == "*" { + // * so match next. + if i != len(pattern)-1 { + j := strings.Index(strings.ToLower(s), strings.ToLower(pattern[i+1])) + if j == -1 { + return false + } + s = s[j+len(pattern[i+1]):] + i++ + } + } else { + if !strings.HasPrefix(strings.ToLower(s), strings.ToLower(pattern[i])) { + return false + } + s = s[len(pattern[i]):] + } + } + return true +} diff --git a/d2ir/pattern_test.go b/d2ir/pattern_test.go new file mode 100644 index 000000000..613751ab3 --- /dev/null +++ b/d2ir/pattern_test.go @@ -0,0 +1,334 @@ +package d2ir_test + +import ( + "testing" + + "oss.terrastruct.com/util-go/assert" +) + +func testCompilePatterns(t *testing.T) { + t.Parallel() + + tca := []testCase{ + { + name: "escaped", + run: func(t testing.TB) { + m, err := compile(t, `animal: meow +action: yes +a\*: globbed`) + assert.Success(t, err) + assertQuery(t, m, 3, 0, nil, "") + assertQuery(t, m, 0, 0, "meow", "animal") + assertQuery(t, m, 0, 0, "yes", "action") + assertQuery(t, m, 0, 0, "globbed", `a\*`) + }, + }, + { + name: "prefix", + run: func(t testing.TB) { + m, err := compile(t, `animal: meow +action: yes +a*: globbed`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "animal") + assertQuery(t, m, 0, 0, "globbed", "action") + }, + }, + { + name: "case/1", + run: func(t testing.TB) { + m, err := compile(t, `animal: meow +action: yes +A*: globbed`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "animal") + assertQuery(t, m, 0, 0, "globbed", "action") + }, + }, + { + name: "case/2", + run: func(t testing.TB) { + m, err := compile(t, `diddy kong +Donkey Kong +*kong: yes`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "yes", "diddy kong") + assertQuery(t, m, 0, 0, "yes", "Donkey Kong") + }, + }, + { + name: "suffix", + run: func(t testing.TB) { + m, err := compile(t, `animal: meow +jingle: loud +*l: globbed`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "animal") + assertQuery(t, m, 0, 0, "globbed", "jingle") + }, + }, + { + name: "prefix-suffix", + run: func(t testing.TB) { + m, err := compile(t, `tinker: meow +thinker: yes +t*r: globbed`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "tinker") + assertQuery(t, m, 0, 0, "globbed", "thinker") + }, + }, + { + name: "prefix-suffix/2", + run: func(t testing.TB) { + m, err := compile(t, `tinker: meow +thinker: yes +t*ink*r: globbed`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "tinker") + assertQuery(t, m, 0, 0, "globbed", "thinker") + }, + }, + { + name: "prefix-suffix/3", + run: func(t testing.TB) { + m, err := compile(t, `tinkertinker: meow +thinkerthinker: yes +t*ink*r*t*inke*: globbed`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "tinkertinker") + assertQuery(t, m, 0, 0, "globbed", "thinkerthinker") + }, + }, + { + name: "nested/prefix-suffix/3", + run: func(t testing.TB) { + m, err := compile(t, `animate.constant.tinkertinker: meow +astronaut.constant.thinkerthinker: yes +a*n*t*.constant.t*ink*r*t*inke*: globbed`) + assert.Success(t, err) + assertQuery(t, m, 6, 0, nil, "") + assertQuery(t, m, 0, 0, "globbed", "animate.constant.tinkertinker") + assertQuery(t, m, 0, 0, "globbed", "astronaut.constant.thinkerthinker") + }, + }, + { + name: "edge/1", + run: func(t testing.TB) { + m, err := compile(t, `animate +animal +an* -> an*`) + assert.Success(t, err) + assertQuery(t, m, 2, 2, nil, "") + assertQuery(t, m, 0, 0, nil, "(animate -> animal)[0]") + assertQuery(t, m, 0, 0, nil, "(animal -> animal)[0]") + }, + }, + { + name: "edge/2", + run: func(t testing.TB) { + m, err := compile(t, `shared.animate +shared.animal +sh*.(an* -> an*)`) + assert.Success(t, err) + assertQuery(t, m, 3, 2, nil, "") + assertQuery(t, m, 2, 2, nil, "shared") + assertQuery(t, m, 0, 0, nil, "shared.(animate -> animal)[0]") + assertQuery(t, m, 0, 0, nil, "shared.(animal -> animate)[0]") + }, + }, + { + name: "edge/3", + run: func(t testing.TB) { + m, err := compile(t, `shared.animate +shared.animal +sh*.an* -> sh*.an*`) + assert.Success(t, err) + assertQuery(t, m, 3, 2, nil, "") + assertQuery(t, m, 2, 2, nil, "shared") + assertQuery(t, m, 0, 0, nil, "shared.(animate -> animal)[0]") + assertQuery(t, m, 0, 0, nil, "shared.(animal -> animal)[0]") + }, + }, + { + name: "edge-glob-index", + run: func(t testing.TB) { + m, err := compile(t, `a -> b +a -> b +a -> b +(a -> b)[*].style.fill: red +`) + assert.Success(t, err) + assertQuery(t, m, 8, 3, nil, "") + assertQuery(t, m, 0, 0, "red", "(a -> b)[0].style.fill") + assertQuery(t, m, 0, 0, "red", "(a -> b)[1].style.fill") + assertQuery(t, m, 0, 0, "red", "(a -> b)[2].style.fill") + }, + }, + { + name: "glob-edge-glob-index", + run: func(t testing.TB) { + m, err := compile(t, `a -> b +a -> b +a -> b +c -> b +(* -> b)[*].style.fill: red +`) + assert.Success(t, err) + assertQuery(t, m, 11, 4, nil, "") + assertQuery(t, m, 0, 0, "red", "(a -> b)[0].style.fill") + assertQuery(t, m, 0, 0, "red", "(a -> b)[1].style.fill") + assertQuery(t, m, 0, 0, "red", "(a -> b)[2].style.fill") + assertQuery(t, m, 0, 0, "red", "(c -> b)[0].style.fill") + }, + }, + { + name: "edge-nexus", + run: func(t testing.TB) { + m, err := compile(t, `a +b +c +d +* -> nexus +`) + assert.Success(t, err) + assertQuery(t, m, 5, 4, nil, "") + assertQuery(t, m, 0, 0, nil, "(a -> nexus)[0]") + assertQuery(t, m, 0, 0, nil, "(b -> nexus)[0]") + assertQuery(t, m, 0, 0, nil, "(c -> nexus)[0]") + assertQuery(t, m, 0, 0, nil, "(d -> nexus)[0]") + }, + }, + { + name: "double-glob/1", + run: func(t testing.TB) { + m, err := compile(t, `shared.animate +shared.animal +**.style.fill: red`) + assert.Success(t, err) + assertQuery(t, m, 9, 0, nil, "") + assertQuery(t, m, 8, 0, nil, "shared") + assertQuery(t, m, 1, 0, nil, "shared.style") + assertQuery(t, m, 2, 0, nil, "shared.animate") + assertQuery(t, m, 1, 0, nil, "shared.animate.style") + assertQuery(t, m, 2, 0, nil, "shared.animal") + assertQuery(t, m, 1, 0, nil, "shared.animal.style") + }, + }, + { + name: "double-glob/edge-no-container", + run: func(t testing.TB) { + m, err := compile(t, `zone A: { + machine A + machine B: { + submachine A + submachine B + } +} +zone A.** -> load balancer +`) + assert.Success(t, err) + assertQuery(t, m, 6, 3, nil, "") + }, + }, + { + name: "reserved", + run: func(t testing.TB) { + m, err := compile(t, `vars: { + d2-config: { + layout-engine: elk + } +} + +Spiderman 1 +Spiderman 2 +Spiderman 3 + +* -> *: arrow`) + assert.Success(t, err) + assertQuery(t, m, 6, 6, nil, "") + assertQuery(t, m, 0, 0, "arrow", "(* -> *)[*]") + }, + }, + { + name: "scenarios", + run: func(t testing.TB) { + m, err := compile(t, ` + +scenarios: { + meow: { + e + f + g + h + } +} + +a +b +c +d + +**: something +** -> ** +`) + assert.Success(t, err) + assertQuery(t, m, 10, 24, nil, "") + assertQuery(t, m, 0, 0, "something", "**") + assertQuery(t, m, 0, 0, nil, "(* -> *)[*]") + }, + }, + { + name: "double-glob/edge/1", + run: func(t testing.TB) { + m, err := compile(t, `fast: { + a + far +} + +task: { + a +} + +task.** -> fast +`) + assert.Success(t, err) + assertQuery(t, m, 5, 1, nil, "") + }, + }, + { + name: "double-glob/edge/2", + run: func(t testing.TB) { + m, err := compile(t, `a + +**.b -> c +`) + assert.Success(t, err) + assertQuery(t, m, 3, 1, nil, "") + }, + }, + } + + runa(t, tca) + + t.Run("errors", func(t *testing.T) { + tca := []testCase{ + { + name: "glob-edge-glob-index", + run: func(t testing.TB) { + _, err := compile(t, `(* -> b)[*].style.fill: red +`) + assert.ErrorString(t, err, `TestCompile/patterns/errors/glob-edge-glob-index.d2:1:2: indexed edge does not exist`) + }, + }, + } + runa(t, tca) + }) +} diff --git a/d2ir/query.go b/d2ir/query.go index e70ad88df..8534d53e5 100644 --- a/d2ir/query.go +++ b/d2ir/query.go @@ -29,8 +29,14 @@ func (m *Map) QueryAll(idStr string) (na []Node, _ error) { } eida := NewEdgeIDs(k) - for _, eid := range eida { - ea := m.GetEdges(eid) + + for i, eid := range eida { + refctx := &RefContext{ + Key: k, + ScopeMap: m, + Edge: k.Edges[i], + } + ea := m.GetEdges(eid, refctx) for _, e := range ea { if k.EdgeKey == nil { na = append(na, e) @@ -56,7 +62,7 @@ func (m *Map) Query(idStr string) (Node, error) { return nil, nil } if len(na) > 1 { - return nil, fmt.Errorf("expected only one query result but got: %#v", err) + return nil, fmt.Errorf("expected only one query result but got: %#v", na) } return na[0], nil } diff --git a/d2layouts/d2dagrelayout/layout.go b/d2layouts/d2dagrelayout/layout.go index fa2072896..6d004e25f 100644 --- a/d2layouts/d2dagrelayout/layout.go +++ b/d2layouts/d2dagrelayout/layout.go @@ -7,6 +7,7 @@ import ( "fmt" "math" "regexp" + "sort" "strings" "cdr.dev/slog" @@ -21,6 +22,7 @@ import ( "oss.terrastruct.com/d2/lib/geo" "oss.terrastruct.com/d2/lib/label" "oss.terrastruct.com/d2/lib/log" + "oss.terrastruct.com/d2/lib/shape" ) //go:embed setup.js @@ -30,8 +32,10 @@ var setupJS string var dagreJS string const ( - MIN_RANK_SEP = 60 - EDGE_LABEL_GAP = 20 + MIN_RANK_SEP = 60 + EDGE_LABEL_GAP = 20 + DEFAULT_PADDING = 30. + MIN_SPACING = 10. ) type ConfigurableOpts struct { @@ -106,22 +110,9 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err rootAttrs.rankdir = "TB" } - maxContainerLabelHeight := 0 + // set label and icon positions for dagre for _, obj := range g.Objects { - // TODO count root level container label sizes for ranksep - if len(obj.ChildrenArray) == 0 || obj.Parent == g.Root { - continue - } - if obj.HasLabel() { - maxContainerLabelHeight = go2.Max(maxContainerLabelHeight, obj.LabelDimensions.Height+label.PADDING) - } - - if obj.Icon != nil && obj.Shape.Value != d2target.ShapeImage { - s := obj.ToShape() - iconSize := d2target.GetIconSize(s.GetInnerBox(), string(label.InsideTopLeft)) - // Since dagre container labels are pushed up, we don't want a child container to collide - maxContainerLabelHeight = go2.Max(maxContainerLabelHeight, (iconSize+label.PADDING*2)*2) - } + positionLabelsIcons(obj) } maxLabelWidth := 0 @@ -134,13 +125,13 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err } if !isHorizontal { - rootAttrs.ranksep = go2.Max(go2.Max(100, maxLabelHeight+40), maxContainerLabelHeight) + rootAttrs.ranksep = go2.Max(100, maxLabelHeight+40) } else { rootAttrs.ranksep = go2.Max(100, maxLabelWidth+40) // use existing config - rootAttrs.NodeSep = rootAttrs.EdgeSep - // configure vertical padding - rootAttrs.EdgeSep = go2.Max(maxLabelHeight+40, maxContainerLabelHeight) + // rootAttrs.NodeSep = rootAttrs.EdgeSep + // // configure vertical padding + // rootAttrs.EdgeSep = maxLabelHeight + 40 // Note: non-containers have both of these as padding (rootAttrs.NodeSep + rootAttrs.EdgeSep) } @@ -156,24 +147,13 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err idToObj[id] = obj width, height := obj.Width, obj.Height - if obj.HasLabel() { - if obj.HasOutsideBottomLabel() || obj.Icon != nil { - height += float64(obj.LabelDimensions.Height) + label.PADDING - } - if len(obj.ChildrenArray) > 0 { - height += float64(obj.LabelDimensions.Height) + label.PADDING - } - } - // reserve extra space for 3d/multiple by providing dagre the larger dimensions - dx, dy := obj.GetModifierElementAdjustments() - width += dx - height += dy loadScript += generateAddNodeLine(id, int(width), int(height)) if obj.Parent != g.Root { loadScript += generateAddParentLine(id, obj.Parent.AbsID()) } } + for _, edge := range g.Edges { src, dst := getEdgeEndpoints(g, edge) @@ -235,30 +215,6 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err obj.TopLeft = geo.NewPoint(math.Round(dn.X-dn.Width/2), math.Round(dn.Y-dn.Height/2)) obj.Width = math.Ceil(dn.Width) obj.Height = math.Ceil(dn.Height) - - if obj.Icon != nil && obj.IconPosition == nil { - if len(obj.ChildrenArray) > 0 { - obj.IconPosition = go2.Pointer(string(label.OutsideTopLeft)) - if obj.LabelPosition == nil { - obj.LabelPosition = go2.Pointer(string(label.OutsideTopRight)) - } - } else { - obj.IconPosition = go2.Pointer(string(label.InsideMiddleCenter)) - } - } - if obj.HasLabel() && obj.LabelPosition == nil { - if len(obj.ChildrenArray) > 0 { - obj.LabelPosition = go2.Pointer(string(label.OutsideTopCenter)) - } else if obj.HasOutsideBottomLabel() { - obj.LabelPosition = go2.Pointer(string(label.OutsideBottomCenter)) - // remove the extra height we added to the node when passing to dagre - obj.Height -= float64(obj.LabelDimensions.Height) + label.PADDING - } else if obj.Icon != nil { - obj.LabelPosition = go2.Pointer(string(label.InsideTopCenter)) - } else { - obj.LabelPosition = go2.Pointer(string(label.InsideMiddleCenter)) - } - } } for i, edge := range g.Edges { @@ -309,120 +265,9 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err edge.Route = points } - for _, obj := range g.Objects { - if !obj.HasLabel() || len(obj.ChildrenArray) == 0 { - continue - } - - // usually you don't want to take away here more than what was added, which is the label height - // however, if the label height is more than the ranksep/2, we'll have no padding around children anymore - // so cap the amount taken off at ranksep/2 - subtract := float64(go2.Min(rootAttrs.ranksep/2, obj.LabelDimensions.Height+label.PADDING)) - - obj.Height -= subtract - - // If the edge is connected to two descendants that are about to be downshifted, their whole route gets downshifted - movedEdges := make(map[*d2graph.Edge]struct{}) - for _, e := range g.Edges { - isSrcDesc := e.Src.IsDescendantOf(obj) - isDstDesc := e.Dst.IsDescendantOf(obj) - - if isSrcDesc && isDstDesc { - stepSize := subtract - if e.Src != obj || e.Dst != obj { - stepSize /= 2. - } - movedEdges[e] = struct{}{} - for _, p := range e.Route { - p.Y += stepSize - } - } - } - - q := []*d2graph.Object{obj} - // Downshift descendants and edges that have one endpoint connected to a descendant - for len(q) > 0 { - curr := q[0] - q = q[1:] - - stepSize := subtract - // The object itself needs to move down the height it was just subtracted - // all descendants move half, to maintain vertical padding - if curr != obj { - stepSize /= 2. - } - curr.TopLeft.Y += stepSize - almostEqual := func(a, b float64) bool { - return b-1 <= a && a <= b+1 - } - shouldMove := func(p *geo.Point) bool { - if curr != obj { - return true - } - if isHorizontal { - // Only move horizontal edges if they are connected to the top side of the shrinking container - return almostEqual(p.Y, obj.TopLeft.Y-stepSize) - } else { - // Edge should only move if it's not connected to the bottom side of the shrinking container - return !almostEqual(p.Y, obj.TopLeft.Y+obj.Height) - } - } - for _, e := range g.Edges { - if _, ok := movedEdges[e]; ok { - continue - } - moveWholeEdge := false - if e.Src == curr { - // Don't move src points on side of container - if almostEqual(e.Route[0].X, obj.TopLeft.X) || almostEqual(e.Route[0].X, obj.TopLeft.X+obj.Width) { - // Unless the dst is also on a container - if !e.Dst.HasLabel() || len(e.Dst.ChildrenArray) <= 0 { - continue - } - } - if shouldMove(e.Route[0]) { - if isHorizontal && e.Src.Parent != g.Root && e.Dst.Parent != g.Root { - moveWholeEdge = true - } else { - e.ShiftStart(stepSize, false) - } - } - } - if !moveWholeEdge && e.Dst == curr { - if shouldMove(e.Route[len(e.Route)-1]) { - if isHorizontal && e.Dst.Parent != g.Root && e.Src.Parent != g.Root { - moveWholeEdge = true - } else { - e.ShiftEnd(stepSize, false) - } - } - } - - if moveWholeEdge { - for _, p := range e.Route { - p.Y += stepSize / 2. - } - movedEdges[e] = struct{}{} - } - - } - q = append(q, curr.ChildrenArray...) - } - } - - // remove the extra width/height we added for 3d/multiple after all objects/connections are placed - // and shift the shapes down accordingly - for _, obj := range g.Objects { - dx, dy := obj.GetModifierElementAdjustments() - if dx != 0 || dy != 0 { - obj.TopLeft.Y += dy - obj.ShiftDescendants(0, dy) - if !obj.IsContainer() { - obj.Width -= dx - obj.Height -= dy - } - } - } + adjustRankSpacing(g, float64(rootAttrs.ranksep), isHorizontal) + adjustCrossRankSpacing(g, float64(rootAttrs.ranksep), !isHorizontal) + fitContainerPadding(g, float64(rootAttrs.ranksep), isHorizontal) for _, edge := range g.Edges { points := edge.Route @@ -431,7 +276,7 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err // arrowheads can appear broken if segments are very short from dagre routing a point just outside the shape // to fix this, we try extending the previous segment into the shape instead of having a very short segment - if !start.Equals(points[0]) && startIndex+2 < len(points) { + if startIndex+2 < len(points) { newStartingSegment := *geo.NewSegment(start, points[startIndex+1]) if newStartingSegment.Length() < d2graph.MIN_SEGMENT_LEN { // we don't want a very short segment right next to the source because it will mess up the arrowhead @@ -452,7 +297,7 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err } } } - if !end.Equals(points[len(points)-1]) && endIndex-2 >= 0 { + if endIndex-2 >= 0 { newEndingSegment := *geo.NewSegment(end, points[endIndex-1]) if newEndingSegment.Length() < d2graph.MIN_SEGMENT_LEN { // extend the prev segment into the shape border if possible @@ -727,3 +572,1308 @@ func inContainer(obj, container *d2graph.Object) *d2graph.Object { } return inContainer(obj.Parent, container) } + +type spacing struct { + top, bottom, left, right float64 +} + +func getSpacing(obj *d2graph.Object) (margin, padding spacing) { + if obj.HasLabel() { + var position label.Position + if obj.LabelPosition != nil { + position = label.Position(*obj.LabelPosition) + } else if len(obj.ChildrenArray) == 0 && obj.HasOutsideBottomLabel() { + position = label.OutsideBottomCenter + } + + labelWidth := float64(obj.LabelDimensions.Width) + 2*label.PADDING + labelHeight := float64(obj.LabelDimensions.Height) + 2*label.PADDING + + switch position { + case label.OutsideTopLeft, label.OutsideTopCenter, label.OutsideTopRight: + margin.top = labelHeight + case label.OutsideBottomLeft, label.OutsideBottomCenter, label.OutsideBottomRight: + margin.bottom = labelHeight + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom: + margin.left = labelWidth + case label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + margin.right = labelWidth + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight: + padding.top = labelHeight + case label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight: + padding.bottom = labelHeight + case label.InsideMiddleLeft: + padding.left = labelWidth + case label.InsideMiddleRight: + padding.right = labelWidth + } + } + + if obj.Icon != nil && obj.Shape.Value != d2target.ShapeImage { + var position label.Position + if obj.IconPosition != nil { + position = label.Position(*obj.IconPosition) + } + + iconSize := float64(d2target.MAX_ICON_SIZE + 2*label.PADDING) + switch position { + case label.OutsideTopLeft, label.OutsideTopCenter, label.OutsideTopRight: + margin.top = math.Max(margin.top, iconSize) + case label.OutsideBottomLeft, label.OutsideBottomCenter, label.OutsideBottomRight: + margin.bottom = math.Max(margin.bottom, iconSize) + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom: + margin.left = math.Max(margin.left, iconSize) + case label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + margin.right = math.Max(margin.right, iconSize) + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight: + padding.top = math.Max(padding.top, iconSize) + case label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight: + padding.bottom = math.Max(padding.bottom, iconSize) + case label.InsideMiddleLeft: + padding.left = math.Max(padding.left, iconSize) + case label.InsideMiddleRight: + padding.right = math.Max(padding.right, iconSize) + } + } + + dx, dy := obj.GetModifierElementAdjustments() + margin.right += dx + margin.top += dy + + return +} + +func positionLabelsIcons(obj *d2graph.Object) { + if obj.Icon != nil && obj.IconPosition == nil { + if len(obj.ChildrenArray) > 0 { + obj.IconPosition = go2.Pointer(string(label.OutsideTopLeft)) + if obj.LabelPosition == nil { + obj.LabelPosition = go2.Pointer(string(label.OutsideTopRight)) + return + } + } else { + obj.IconPosition = go2.Pointer(string(label.InsideMiddleCenter)) + } + } + if obj.HasLabel() && obj.LabelPosition == nil { + if len(obj.ChildrenArray) > 0 { + obj.LabelPosition = go2.Pointer(string(label.OutsideTopCenter)) + } else if obj.HasOutsideBottomLabel() { + obj.LabelPosition = go2.Pointer(string(label.OutsideBottomCenter)) + } else if obj.Icon != nil { + obj.LabelPosition = go2.Pointer(string(label.InsideTopCenter)) + } else { + obj.LabelPosition = go2.Pointer(string(label.InsideMiddleCenter)) + } + } +} + +func getRanks(g *d2graph.Graph, isHorizontal bool) (ranks [][]*d2graph.Object, objectRanks, startingParentRanks, endingParentRanks map[*d2graph.Object]int) { + alignedObjects := make(map[float64][]*d2graph.Object) + for _, obj := range g.Objects { + if !obj.IsContainer() { + if !isHorizontal { + y := math.Ceil(obj.TopLeft.Y + obj.Height/2) + alignedObjects[y] = append(alignedObjects[y], obj) + } else { + x := math.Ceil(obj.TopLeft.X + obj.Width/2) + alignedObjects[x] = append(alignedObjects[x], obj) + } + } + } + + levels := make([]float64, 0, len(alignedObjects)) + for l := range alignedObjects { + levels = append(levels, l) + } + sort.Slice(levels, func(i, j int) bool { + return levels[i] < levels[j] + }) + + ranks = make([][]*d2graph.Object, 0, len(levels)) + objectRanks = make(map[*d2graph.Object]int) + for i, l := range levels { + for _, obj := range alignedObjects[l] { + objectRanks[obj] = i + } + ranks = append(ranks, alignedObjects[l]) + } + + startingParentRanks = make(map[*d2graph.Object]int) + endingParentRanks = make(map[*d2graph.Object]int) + for _, obj := range g.Objects { + if obj.IsContainer() { + continue + } + r := objectRanks[obj] + // update all ancestor's min/max ranks + for parent := obj.Parent; parent != nil && parent != g.Root; parent = parent.Parent { + if start, has := startingParentRanks[parent]; !has || r < start { + startingParentRanks[parent] = r + } + if end, has := endingParentRanks[parent]; !has || r > end { + endingParentRanks[parent] = r + } + } + } + + return ranks, objectRanks, startingParentRanks, endingParentRanks +} + +// shift everything down by distance if it is at or below start position +func shiftDown(g *d2graph.Graph, start, distance float64, isHorizontal bool) { + if isHorizontal { + for _, edge := range g.Edges { + first, last := edge.Route[0], edge.Route[len(edge.Route)-1] + if start <= first.X { + onStaticSrc := first.X == edge.Src.TopLeft.X+edge.Src.Width && edge.Src.TopLeft.X < start + if !onStaticSrc { + // src is not shifting and we are on src so don't shift + first.X += distance + } + } + if start <= last.X { + onStaticDst := last.X == edge.Dst.TopLeft.X+edge.Dst.Width && edge.Dst.TopLeft.X < start + if !onStaticDst { + last.X += distance + } + } + for i := 1; i < len(edge.Route)-1; i++ { + p := edge.Route[i] + if p.X < start { + continue + } + p.X += distance + } + } + for _, obj := range g.Objects { + if obj.TopLeft.X < start { + continue + } + obj.TopLeft.X += distance + } + } else { + for _, edge := range g.Edges { + first, last := edge.Route[0], edge.Route[len(edge.Route)-1] + if start <= first.Y { + onStaticSrc := first.Y == edge.Src.TopLeft.Y+edge.Src.Height && edge.Src.TopLeft.Y < start + if !onStaticSrc { + // src is not shifting and we are on src so don't shift + first.Y += distance + } + } + if start <= last.Y { + onStaticDst := last.Y == edge.Dst.TopLeft.Y+edge.Dst.Height && edge.Dst.TopLeft.Y < start + if !onStaticDst { + last.Y += distance + } + } + for i := 1; i < len(edge.Route)-1; i++ { + p := edge.Route[i] + if p.Y < start { + continue + } + p.Y += distance + } + } + for _, obj := range g.Objects { + if obj.TopLeft.Y < start { + continue + } + obj.TopLeft.Y += distance + } + } +} + +func shiftUp(g *d2graph.Graph, start, distance float64, isHorizontal bool) { + if isHorizontal { + for _, edge := range g.Edges { + first, last := edge.Route[0], edge.Route[len(edge.Route)-1] + if first.X <= start { + onStaticSrc := first.X == edge.Src.TopLeft.X && start < edge.Src.TopLeft.X+edge.Src.Width + if !onStaticSrc { + // src is not shifting and we are on src so don't shift + first.X -= distance + } + } + if last.X <= start { + onStaticDst := last.X == edge.Dst.TopLeft.X && start < edge.Dst.TopLeft.X+edge.Dst.Width + if !onStaticDst { + last.X -= distance + } + } + for i := 1; i < len(edge.Route)-1; i++ { + p := edge.Route[i] + if start < p.X { + continue + } + p.X -= distance + } + } + for _, obj := range g.Objects { + if start < obj.TopLeft.X { + continue + } + obj.TopLeft.X -= distance + } + } else { + for _, edge := range g.Edges { + first, last := edge.Route[0], edge.Route[len(edge.Route)-1] + if first.Y <= start { + // don't shift first edge point if src is not shifting and we are on src + onStaticSrc := first.Y == edge.Src.TopLeft.Y && start < edge.Src.TopLeft.Y+edge.Src.Height + if !onStaticSrc { + first.Y -= distance + } + } + if last.Y <= start { + onStaticDst := last.Y == edge.Dst.TopLeft.Y && start < edge.Dst.TopLeft.Y + if !onStaticDst { + last.Y -= distance + } + } + for i := 1; i < len(edge.Route)-1; i++ { + p := edge.Route[i] + // for _, p := range edge.Route { + if start < p.Y { + continue + } + p.Y -= distance + } + } + for _, obj := range g.Objects { + if start < obj.TopLeft.Y { + continue + } + obj.TopLeft.Y -= distance + } + } +} + +// shift down everything that is below start +// shift all nodes that are reachable via an edge or being directly below a shifting node or expanding container +// expand containers to wrap shifted nodes +func shiftReachableDown(g *d2graph.Graph, obj *d2graph.Object, start, distance float64, isHorizontal, isMargin bool) map[*d2graph.Object]struct{} { + q := []*d2graph.Object{obj} + + needsMove := make(map[*d2graph.Object]struct{}) + seen := make(map[*d2graph.Object]struct{}) + shifted := make(map[*d2graph.Object]struct{}) + shiftedEdges := make(map[*d2graph.Edge]struct{}) + queue := func(o *d2graph.Object) { + if _, in := seen[o]; in { + return + } + q = append(q, o) + } + + // if object below is within this distance after shifting, also shift it + threshold := 100. + checkBelow := func(curr *d2graph.Object) { + currBottom := curr.TopLeft.Y + curr.Height + currRight := curr.TopLeft.X + curr.Width + if isHorizontal { + originalRight := currRight + if _, in := shifted[curr]; in { + originalRight -= distance + } + for _, other := range g.Objects { + if other == curr || curr.IsDescendantOf(other) { + continue + } + if originalRight < other.TopLeft.X && + other.TopLeft.X < originalRight+distance+threshold && + curr.TopLeft.Y < other.TopLeft.Y+other.Height && + other.TopLeft.Y < currBottom { + queue(other) + } + } + } else { + originalBottom := currBottom + if _, in := shifted[curr]; in { + originalBottom -= distance + } + for _, other := range g.Objects { + if other == curr || curr.IsDescendantOf(other) { + continue + } + if originalBottom < other.TopLeft.Y && + other.TopLeft.Y < originalBottom+distance+threshold && + curr.TopLeft.X < other.TopLeft.X+other.Width && + other.TopLeft.X < currRight { + queue(other) + } + } + } + } + + processQueue := func() { + for len(q) > 0 { + curr := q[0] + q = q[1:] + if _, was := seen[curr]; was { + continue + } + // skip other objects behind start + if curr != obj { + if _, in := needsMove[curr]; !in { + if isHorizontal { + if curr.TopLeft.X < start { + continue + } + } else { + if curr.TopLeft.Y < start { + continue + } + } + } + } + + if isHorizontal { + _, shift := needsMove[curr] + if !shift { + if !isMargin { + shift = start < curr.TopLeft.X + } else { + shift = start <= curr.TopLeft.X + } + } + + if shift { + curr.TopLeft.X += distance + shifted[curr] = struct{}{} + } + } else { + _, shift := needsMove[curr] + if !shift { + if !isMargin { + shift = start < curr.TopLeft.Y + } else { + shift = start <= curr.TopLeft.Y + } + } + if shift { + curr.TopLeft.Y += distance + shifted[curr] = struct{}{} + } + } + seen[curr] = struct{}{} + + if curr.Parent != g.Root && !curr.IsDescendantOf(obj) { + queue(curr.Parent) + } + + for _, child := range curr.ChildrenArray { + queue(child) + } + + for _, e := range g.Edges { + if _, in := shiftedEdges[e]; in { + continue + } + if e.Src == curr && e.Dst == curr { + if isHorizontal { + for _, p := range e.Route { + p.X += distance + } + } else { + for _, p := range e.Route { + p.Y += distance + } + } + shiftedEdges[e] = struct{}{} + continue + } else if e.Src == curr { + last := e.Route[len(e.Route)-1] + if isHorizontal { + if start <= last.X && + e.Dst.TopLeft.X+e.Dst.Width < last.X+distance { + needsMove[e.Dst] = struct{}{} + } + } else { + if start <= last.Y && + e.Dst.TopLeft.Y+e.Dst.Height < last.Y+distance { + needsMove[e.Dst] = struct{}{} + } + } + queue(e.Dst) + if isHorizontal { + for _, p := range e.Route { + if start <= p.X { + p.X += distance + } + } + } else { + for _, p := range e.Route { + if start <= p.Y { + p.Y += distance + } + } + } + shiftedEdges[e] = struct{}{} + } else if e.Dst == curr { + first := e.Route[0] + if isHorizontal { + if start <= first.X && + e.Src.TopLeft.X+e.Src.Width < first.X+distance { + needsMove[e.Src] = struct{}{} + } + } else { + if start <= first.Y && + e.Src.TopLeft.Y+e.Src.Height < first.Y+distance { + needsMove[e.Src] = struct{}{} + } + } + queue(e.Src) + if isHorizontal { + for _, p := range e.Route { + if start <= p.X { + p.X += distance + } + } + } else { + for _, p := range e.Route { + if start <= p.Y { + p.Y += distance + } + } + } + shiftedEdges[e] = struct{}{} + } + } + + // check for nodes below that need to move from the shift + checkBelow(curr) + } + } + + processQueue() + + grown := make(map[*d2graph.Object]struct{}) + for o := range seen { + if o.Parent == g.Root { + continue + } + if _, in := shifted[o.Parent]; in { + continue + } + if _, in := grown[o.Parent]; in { + continue + } + + for parent := o.Parent; parent != g.Root; parent = parent.Parent { + if _, in := shifted[parent]; in { + break + } + if _, in := grown[parent]; in { + break + } + + if isHorizontal { + if parent.TopLeft.X < start { + parent.Width += distance + grown[parent] = struct{}{} + + checkBelow(parent) + processQueue() + } + } else { + if parent.TopLeft.Y < start { + parent.Height += distance + grown[parent] = struct{}{} + + checkBelow(parent) + processQueue() + } + } + } + } + + increasedMargins := make(map[*d2graph.Object]struct{}) + movedObjects := make([]*d2graph.Object, 0, len(shifted)) + for obj := range shifted { + movedObjects = append(movedObjects, obj) + } + for obj := range grown { + movedObjects = append(movedObjects, obj) + } + for _, moved := range movedObjects { + counts := true + // check if any other shifted is directly above + for _, other := range movedObjects { + if other == moved { + continue + } + if isHorizontal { + if other.TopLeft.Y+other.Height < moved.TopLeft.Y || + moved.TopLeft.Y+moved.Height < other.TopLeft.Y { + // doesn't line up vertically + continue + } + + // above and within threshold + if other.TopLeft.X < moved.TopLeft.X && + moved.TopLeft.X < other.TopLeft.X+other.Width+threshold { + counts = false + break + } + } else { + if other.TopLeft.X+other.Width < moved.TopLeft.X || + moved.TopLeft.X+moved.Width < other.TopLeft.X { + // doesn't line up horizontally + continue + } + + // above and within threshold + if other.TopLeft.Y < moved.TopLeft.Y && + moved.TopLeft.Y < other.TopLeft.Y+other.Height+threshold { + counts = false + break + } + } + } + if counts { + increasedMargins[moved] = struct{}{} + } + } + + return increasedMargins +} + +func adjustRankSpacing(g *d2graph.Graph, rankSep float64, isHorizontal bool) { + ranks, objectRanks, startingParentRanks, endingParentRanks := getRanks(g, isHorizontal) + + // shifting bottom rank down first, then moving up to next rank + for rank := len(ranks) - 1; rank >= 0; rank-- { + var startingParents []*d2graph.Object + var endingParents []*d2graph.Object + for _, obj := range ranks[rank] { + if obj.Parent == g.Root { + continue + } + if r, has := endingParentRanks[obj.Parent]; has && r == rank { + endingParents = append(endingParents, obj.Parent) + } + if r, has := startingParentRanks[obj.Parent]; has && r == rank { + startingParents = append(startingParents, obj.Parent) + } + } + + startingAncestorPositions := make(map[*d2graph.Object]float64) + for len(startingParents) > 0 { + var ancestors []*d2graph.Object + for _, parent := range startingParents { + _, padding := getSpacing(parent) + if _, has := startingAncestorPositions[parent]; !has { + startingAncestorPositions[parent] = math.Inf(1) + } + var startPosition float64 + if isHorizontal { + paddingIncrease := math.Max(0, padding.left-rankSep/2) + startPosition = parent.TopLeft.X - paddingIncrease + } else { + paddingIncrease := math.Max(0, padding.top-rankSep/2) + startPosition = parent.TopLeft.Y - paddingIncrease + } + startingAncestorPositions[parent] = math.Min(startingAncestorPositions[parent], startPosition) + for _, child := range parent.ChildrenArray { + if r, has := objectRanks[child]; has { + if r != rank { + continue + } + } else { + if startingParentRanks[child] != rank { + continue + } + } + margin, _ := getSpacing(child) + if isHorizontal { + startPosition = child.TopLeft.X - margin.left - padding.left + } else { + startPosition = child.TopLeft.Y - margin.top - padding.top + } + startingAncestorPositions[parent] = math.Min(startingAncestorPositions[parent], startPosition) + } + if parent.Parent != g.Root { + ancestors = append(ancestors, parent.Parent) + } + } + startingParents = ancestors + } + + endingAncestorPositions := make(map[*d2graph.Object]float64) + for len(endingParents) > 0 { + var ancestors []*d2graph.Object + for _, parent := range endingParents { + _, padding := getSpacing(parent) + if _, has := endingAncestorPositions[parent]; !has { + endingAncestorPositions[parent] = math.Inf(-1) + } + var endPosition float64 + if isHorizontal { + endPosition = parent.TopLeft.X + parent.Width + padding.right - rankSep/2. + } else { + endPosition = parent.TopLeft.Y + parent.Height + padding.bottom - rankSep/2. + } + + endingAncestorPositions[parent] = math.Max(endingAncestorPositions[parent], endPosition) + for _, child := range parent.ChildrenArray { + if r, has := objectRanks[child]; has { + if r != rank { + continue + } + } else { + if endingParentRanks[child] != rank { + continue + } + } + margin, _ := getSpacing(child) + + if isHorizontal { + endPosition = child.TopLeft.X + child.Width + margin.right + padding.right + } else { + endPosition = child.TopLeft.Y + child.Height + margin.bottom + padding.bottom + } + endingAncestorPositions[parent] = math.Max(endingAncestorPositions[parent], endPosition) + } + if parent.Parent != g.Root { + ancestors = append(ancestors, parent.Parent) + } + } + endingParents = ancestors + } + + startingAdjustmentOrder := make([]*d2graph.Object, 0, len(startingAncestorPositions)) + for ancestor := range startingAncestorPositions { + startingAdjustmentOrder = append(startingAdjustmentOrder, ancestor) + } + // adjust starting ancestors top-down + sort.Slice(startingAdjustmentOrder, func(i, j int) bool { + iPos := startingAncestorPositions[startingAdjustmentOrder[i]] + jPos := startingAncestorPositions[startingAdjustmentOrder[j]] + return iPos < jPos + }) + + endingAdjustmentOrder := make([]*d2graph.Object, 0, len(endingAncestorPositions)) + for ancestor := range endingAncestorPositions { + endingAdjustmentOrder = append(endingAdjustmentOrder, ancestor) + } + + // adjust ending ancestors bottom-up + sort.Slice(endingAdjustmentOrder, func(i, j int) bool { + iPos := endingAncestorPositions[endingAdjustmentOrder[i]] + jPos := endingAncestorPositions[endingAdjustmentOrder[j]] + return jPos < iPos + }) + + for _, ancestor := range endingAdjustmentOrder { + var position float64 + if isHorizontal { + position = ancestor.TopLeft.X + ancestor.Width + } else { + position = ancestor.TopLeft.Y + ancestor.Height + } + endDelta := endingAncestorPositions[ancestor] - position + if endDelta > 0 { + for _, obj := range g.Objects { + if !obj.IsContainer() { + continue + } + start := startingParentRanks[obj] + end := endingParentRanks[obj] + if start <= rank && rank <= end { + if isHorizontal && position <= obj.TopLeft.X+obj.Width { + obj.Width += endDelta + } else if !isHorizontal && + position <= obj.TopLeft.Y+obj.Height { + obj.Height += endDelta + } + } + } + shiftDown(g, position, endDelta, isHorizontal) + } + } + + for _, ancestor := range startingAdjustmentOrder { + var position float64 + if isHorizontal { + position = ancestor.TopLeft.X + } else { + position = ancestor.TopLeft.Y + } + startDelta := position - startingAncestorPositions[ancestor] + if startDelta > 0 { + for _, obj := range g.Objects { + if !obj.IsContainer() { + continue + } + start := startingParentRanks[obj] + end := endingParentRanks[obj] + if start <= rank && rank <= end { + if isHorizontal && obj.TopLeft.X <= position { + obj.Width += startDelta + } else if !isHorizontal && obj.TopLeft.Y <= position { + obj.Height += startDelta + } + } + } + shiftUp(g, position, startDelta, isHorizontal) + } + } + } +} + +func adjustCrossRankSpacing(g *d2graph.Graph, rankSep float64, isHorizontal bool) { + var prevMarginTop, prevMarginBottom, prevMarginLeft, prevMarginRight map[*d2graph.Object]float64 + if isHorizontal { + prevMarginLeft = make(map[*d2graph.Object]float64) + prevMarginRight = make(map[*d2graph.Object]float64) + } else { + prevMarginTop = make(map[*d2graph.Object]float64) + prevMarginBottom = make(map[*d2graph.Object]float64) + } + for _, obj := range g.Objects { + if obj.IsGridDiagram() { + continue + } + margin, padding := getSpacing(obj) + if !isHorizontal { + if prevShift, has := prevMarginBottom[obj]; has { + margin.bottom -= prevShift + } + if margin.bottom > 0 { + increased := shiftReachableDown(g, obj, obj.TopLeft.Y+obj.Height, margin.bottom, isHorizontal, true) + for o := range increased { + prevMarginBottom[o] = math.Max(prevMarginBottom[o], margin.bottom) + } + } + if padding.bottom > 0 { + shiftReachableDown(g, obj, obj.TopLeft.Y+obj.Height, padding.bottom, isHorizontal, false) + obj.Height += padding.bottom + } + if prevShift, has := prevMarginTop[obj]; has { + margin.top -= prevShift + } + if margin.top > 0 { + increased := shiftReachableDown(g, obj, obj.TopLeft.Y, margin.top, isHorizontal, true) + for o := range increased { + prevMarginTop[o] = math.Max(prevMarginTop[o], margin.top) + } + } + if padding.top > 0 { + shiftReachableDown(g, obj, obj.TopLeft.Y, padding.top, isHorizontal, false) + obj.Height += padding.top + } + } else { + if prevShift, has := prevMarginRight[obj]; has { + margin.right -= prevShift + } + if margin.right > 0 { + increased := shiftReachableDown(g, obj, obj.TopLeft.X+obj.Width, margin.right, isHorizontal, true) + for o := range increased { + prevMarginRight[o] = math.Max(prevMarginRight[o], margin.right) + } + } + if padding.right > 0 { + shiftReachableDown(g, obj, obj.TopLeft.X+obj.Width, padding.right, isHorizontal, false) + obj.Width += padding.right + } + if prevShift, has := prevMarginLeft[obj]; has { + margin.left -= prevShift + } + if margin.left > 0 { + increased := shiftReachableDown(g, obj, obj.TopLeft.X, margin.left, isHorizontal, true) + for o := range increased { + prevMarginLeft[o] = math.Max(prevMarginLeft[o], margin.left) + } + } + if padding.left > 0 { + shiftReachableDown(g, obj, obj.TopLeft.X, padding.left, isHorizontal, false) + obj.Width += padding.left + } + } + } +} + +func fitContainerPadding(g *d2graph.Graph, rankSep float64, isHorizontal bool) { + for _, obj := range g.Root.ChildrenArray { + fitPadding(obj) + } +} + +func fitPadding(obj *d2graph.Object) { + dslShape := strings.ToLower(obj.Shape.Value) + shapeType := d2target.DSL_SHAPE_TO_SHAPE_TYPE[dslShape] + // Note: there's no shape-specific padding/placement in dagre yet + if !obj.IsContainer() || shapeType != shape.SQUARE_TYPE { + return + } + for _, child := range obj.ChildrenArray { + fitPadding(child) + } + + // we will compute a perfectly fit innerBox merging our padding with children's margin, + // but we need to add padding and margin together if an outside child label will overlap with our inside label + _, padding := getSpacing(obj) + padding.top = math.Max(padding.top, DEFAULT_PADDING) + padding.bottom = math.Max(padding.bottom, DEFAULT_PADDING) + padding.left = math.Max(padding.left, DEFAULT_PADDING) + padding.right = math.Max(padding.right, DEFAULT_PADDING) + + // where we are (current*) vs where we want to fit each side to (inner*) + currentTop := obj.TopLeft.Y + currentBottom := obj.TopLeft.Y + obj.Height + currentLeft := obj.TopLeft.X + currentRight := obj.TopLeft.X + obj.Width + + innerTop := math.Inf(1) + innerBottom := math.Inf(-1) + innerLeft := math.Inf(1) + innerRight := math.Inf(-1) + + // we create boxes for our inside label and icon, and will check against overlaps with any internal boxes + var labelPosition, iconPosition label.Position + var labelBox, iconBox *geo.Box + if obj.HasLabel() && obj.LabelPosition != nil { + labelPosition = label.Position(*obj.LabelPosition) + switch labelPosition { + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight, + label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight, + label.InsideMiddleLeft, label.InsideMiddleRight: + labelTL := obj.GetLabelTopLeft() + if labelTL != nil { + labelBox = geo.NewBox(labelTL, float64(obj.LabelDimensions.Width)+2*label.PADDING, float64(obj.LabelDimensions.Height)) + } + } + } + if obj.Icon != nil && shapeType != shape.IMAGE_TYPE && obj.IconPosition != nil { + iconPosition = label.Position(*obj.IconPosition) + switch iconPosition { + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight, + label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight, + label.InsideMiddleLeft, label.InsideMiddleRight: + iconTL := obj.GetIconTopLeft() + if iconTL != nil { + iconBox = geo.NewBox(iconTL, d2target.MAX_ICON_SIZE, d2target.MAX_ICON_SIZE) + } + } + } + + // update the inner positions for children's margin and collect the outside boxes that we cannot overlap with + var innerBoxes []geo.Box + for _, child := range obj.ChildrenArray { + margin, _ := getSpacing(child) + dx, dy := child.GetModifierElementAdjustments() + + if labelBox != nil || iconBox != nil { + var childLabelBox *geo.Box + var childLabelPosition, childIconPosition label.Position + if child.HasLabel() && child.LabelPosition != nil { + childLabelPosition = label.Position(*child.LabelPosition) + if childLabelPosition.IsOutside() { + childLabelTL := child.GetLabelTopLeft() + + childLabelBox = geo.NewBox( + childLabelTL, + float64(child.LabelDimensions.Width), + float64(child.LabelDimensions.Height), + ) + innerBoxes = append(innerBoxes, *childLabelBox) + } + } + if child.Icon != nil && child.Shape.Value != d2target.ShapeImage && child.IconPosition != nil { + childIconPosition = label.Position(*child.IconPosition) + if childIconPosition.IsOutside() { + childIconTL := child.GetIconTopLeft() + + childIconBox := geo.NewBox(childIconTL, d2target.MAX_ICON_SIZE, d2target.MAX_ICON_SIZE) + innerBoxes = append(innerBoxes, *childIconBox) + } + } + } + + innerTop = math.Min(innerTop, child.TopLeft.Y-dy-math.Max(margin.top, padding.top)) + innerBottom = math.Max(innerBottom, child.TopLeft.Y+child.Height+math.Max(margin.bottom, padding.bottom)) + innerLeft = math.Min(innerLeft, child.TopLeft.X-math.Max(margin.left, padding.left)) + innerRight = math.Max(innerRight, child.TopLeft.X+child.Width+dx+math.Max(margin.right, padding.right)) + } + + // collect edge label boxes and update inner box for internal edges + for _, edge := range obj.Graph.Edges { + if !edge.Src.IsDescendantOf(obj) || !edge.Dst.IsDescendantOf(obj) { + continue + } + // check internal edge + their labels + if edge.Label.Value != "" { + labelPosition := label.InsideMiddleCenter + if edge.LabelPosition != nil { + labelPosition = label.Position(*edge.LabelPosition) + } + labelWidth := float64(edge.LabelDimensions.Width) + labelHeight := float64(edge.LabelDimensions.Height) + point, _ := labelPosition.GetPointOnRoute(edge.Route, 2, 0, labelWidth, labelHeight) + + if labelBox != nil || iconBox != nil { + innerBoxes = append(innerBoxes, geo.Box{TopLeft: point, Width: labelWidth, Height: labelHeight}) + } + + innerTop = math.Min(innerTop, point.Y-padding.top) + innerBottom = math.Max(innerBottom, point.Y+labelHeight+padding.bottom) + innerLeft = math.Min(innerLeft, point.X-padding.left) + innerRight = math.Max(innerRight, point.X+labelWidth+padding.right) + } + for _, point := range edge.Route { + innerTop = math.Min(innerTop, point.Y-padding.top) + innerBottom = math.Max(innerBottom, point.Y+padding.bottom) + innerLeft = math.Min(innerLeft, point.X-padding.left) + innerRight = math.Max(innerRight, point.X+padding.right) + } + } + + // how much do we need to shrink each side + topDelta := innerTop - currentTop + bottomDelta := currentBottom - innerBottom + leftDelta := innerLeft - currentLeft + rightDelta := currentRight - innerRight + + if topDelta > 0 || bottomDelta > 0 || leftDelta > 0 || rightDelta > 0 { + var leftOverlap, rightOverlap, topOverlap, bottomOverlap float64 + var labelSide, iconSide geo.Orientation + if labelBox != nil { + switch labelPosition { + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight: + labelSide = geo.Top + case label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight: + labelSide = geo.Bottom + case label.InsideMiddleLeft: + labelSide = geo.Left + case label.InsideMiddleRight: + labelSide = geo.Right + default: + labelSide = geo.NONE + } + // move labelBox to its position with the merged delta and check for overlaps + switch labelSide { + case geo.Top: + if topDelta > 0 { + labelBox.TopLeft.Y += topDelta + } + case geo.Bottom: + if bottomDelta > 0 { + labelBox.TopLeft.Y -= bottomDelta + } + case geo.Left: + if leftDelta > 0 { + labelBox.TopLeft.X += leftDelta + } + case geo.Right: + if rightDelta > 0 { + labelBox.TopLeft.X -= rightDelta + } + } + switch labelSide { + case geo.Top: + if topDelta > 0 { + for _, box := range innerBoxes { + if labelBox.Overlaps(box) { + dy := labelBox.TopLeft.Y + labelBox.Height - box.TopLeft.Y + topOverlap = go2.Max(topOverlap, dy) + } + } + } + case geo.Bottom: + if bottomDelta > 0 { + for _, box := range innerBoxes { + if labelBox.Overlaps(box) { + dy := box.TopLeft.Y + box.Height - labelBox.TopLeft.Y + bottomOverlap = go2.Max(bottomOverlap, dy) + } + } + } + case geo.Left: + if leftDelta > 0 { + for _, box := range innerBoxes { + if labelBox.Overlaps(box) { + dx := labelBox.TopLeft.X + labelBox.Width - box.TopLeft.X + leftOverlap = go2.Max(leftOverlap, dx) + } + } + } + case geo.Right: + if rightDelta > 0 { + for _, box := range innerBoxes { + if labelBox.Overlaps(box) { + dx := box.TopLeft.X + box.Width - labelBox.TopLeft.X + rightOverlap = go2.Max(rightOverlap, dx) + } + } + } + } + } + if iconBox != nil { + switch iconPosition { + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight: + iconSide = geo.Top + case label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight: + iconSide = geo.Bottom + case label.InsideMiddleLeft: + iconSide = geo.Left + case label.InsideMiddleRight: + iconSide = geo.Right + default: + iconSide = geo.NONE + } + // move iconBox to its position with the merged delta and check for overlaps + switch iconSide { + case geo.Top: + if topDelta > 0 { + iconBox.TopLeft.Y += topDelta + } + case geo.Bottom: + if bottomDelta > 0 { + iconBox.TopLeft.Y -= bottomDelta + } + case geo.Left: + if leftDelta > 0 { + iconBox.TopLeft.X += leftDelta + } + case geo.Right: + if rightDelta > 0 { + iconBox.TopLeft.X -= rightDelta + } + } + switch iconSide { + case geo.Top: + if topDelta > 0 { + for _, box := range innerBoxes { + if iconBox.Overlaps(box) { + dy := iconBox.TopLeft.Y + iconBox.Height - box.TopLeft.Y + topOverlap = go2.Max(topOverlap, dy) + } + } + } + case geo.Bottom: + if bottomDelta > 0 { + for _, box := range innerBoxes { + if iconBox.Overlaps(box) { + dy := box.TopLeft.Y + box.Height - iconBox.TopLeft.Y + bottomOverlap = go2.Max(bottomOverlap, dy) + } + } + } + case geo.Left: + if leftDelta > 0 { + for _, box := range innerBoxes { + if iconBox.Overlaps(box) { + dx := iconBox.TopLeft.X + iconBox.Width - box.TopLeft.X + leftOverlap = go2.Max(leftOverlap, dx) + } + } + } + case geo.Right: + if rightDelta > 0 { + for _, box := range innerBoxes { + if iconBox.Overlaps(box) { + dx := box.TopLeft.X + box.Width - iconBox.TopLeft.X + rightOverlap = go2.Max(rightOverlap, dx) + } + } + } + } + } + + if leftOverlap > 0 { + leftDelta -= leftOverlap + MIN_SPACING + } + if rightOverlap > 0 { + rightDelta -= rightOverlap + MIN_SPACING + } + if topOverlap > 0 { + topDelta -= topOverlap + MIN_SPACING + } + if bottomOverlap > 0 { + bottomDelta -= bottomOverlap + MIN_SPACING + } + } + + if 0 < topDelta { + topDelta = adjustDeltaForEdges(obj, currentTop, topDelta, false) + if 0 < topDelta { + adjustEdges(obj, currentTop, topDelta, false) + obj.TopLeft.Y += topDelta + obj.Height -= topDelta + } + } + if 0 < bottomDelta { + bottomDelta = adjustDeltaForEdges(obj, currentBottom, -bottomDelta, false) + if 0 < bottomDelta { + adjustEdges(obj, currentBottom, -bottomDelta, false) + obj.Height -= bottomDelta + } + } + if 0 < leftDelta { + leftDelta = adjustDeltaForEdges(obj, currentLeft, leftDelta, true) + if 0 < leftDelta { + adjustEdges(obj, currentLeft, leftDelta, true) + obj.TopLeft.X += leftDelta + obj.Width -= leftDelta + } + } + if 0 < rightDelta { + rightDelta = adjustDeltaForEdges(obj, currentRight, -rightDelta, true) + if 0 < rightDelta { + adjustEdges(obj, currentRight, -rightDelta, true) + obj.Width -= rightDelta + } + } +} + +func adjustDeltaForEdges(obj *d2graph.Object, objPosition, delta float64, isHorizontal bool) (newMagnitude float64) { + isOnCollapsingSide := func(p *geo.Point) bool { + var position float64 + if isHorizontal { + position = p.X + } else { + position = p.Y + } + if geo.PrecisionCompare(position, objPosition, 1) == 0 { + return false + } + // check for edges on side corners + var isOnSide bool + if isHorizontal { + if geo.PrecisionCompare(p.Y, obj.TopLeft.Y, 1) == 0 || + geo.PrecisionCompare(p.Y, obj.TopLeft.Y+obj.Height, 1) == 0 { + isOnSide = true + } + } else { + if geo.PrecisionCompare(p.X, obj.TopLeft.X, 1) == 0 || + geo.PrecisionCompare(p.X, obj.TopLeft.X+obj.Width, 1) == 0 { + isOnSide = true + } + } + if !isOnSide { + return false + } + buffer := MIN_SPACING + var isInRange bool + if delta > 0 { + if objPosition <= position && position <= objPosition+delta+buffer { + isInRange = true + } + } else { + if objPosition+delta-buffer <= position && position <= objPosition { + isInRange = true + } + } + return isInRange + } + hasEdgeOnCollapsingSide := false + outermost := objPosition + delta + for _, edge := range obj.Graph.Edges { + if edge.Src == obj { + p := edge.Route[0] + if isOnCollapsingSide(p) { + hasEdgeOnCollapsingSide = true + var position float64 + if isHorizontal { + position = p.X + } else { + position = p.Y + } + if delta < 0 { + outermost = math.Max(outermost, position) + } else { + outermost = math.Min(outermost, position) + } + } + } + if edge.Dst == obj { + p := edge.Route[len(edge.Route)-1] + if isOnCollapsingSide(p) { + hasEdgeOnCollapsingSide = true + var position float64 + if isHorizontal { + position = p.X + } else { + position = p.Y + } + if delta < 0 { + outermost = math.Max(outermost, position) + } else { + outermost = math.Min(outermost, position) + } + } + } + } + newMagnitude = math.Abs(delta) + if hasEdgeOnCollapsingSide { + // only reduce to outermost + DEFAULT_PADDING + if delta < 0 { + newMagnitude = math.Max(0, objPosition-(outermost+DEFAULT_PADDING)) + } else { + newMagnitude = math.Max(0, (outermost-DEFAULT_PADDING)-objPosition) + } + } + return newMagnitude +} + +func adjustEdges(obj *d2graph.Object, objPosition, delta float64, isHorizontal bool) { + adjust := func(p *geo.Point) { + var position float64 + if isHorizontal { + position = p.X + } else { + position = p.Y + } + if geo.PrecisionCompare(position, objPosition, 1) == 0 { + if isHorizontal { + p.X += delta + } else { + p.Y += delta + } + } else { + // check side corners + var isOnSide bool + if isHorizontal { + if geo.PrecisionCompare(p.Y, obj.TopLeft.Y, 1) == 0 || + geo.PrecisionCompare(p.Y, obj.TopLeft.Y+obj.Height, 1) == 0 { + isOnSide = true + } + } else { + if geo.PrecisionCompare(p.X, obj.TopLeft.X, 1) == 0 || + geo.PrecisionCompare(p.X, obj.TopLeft.X+obj.Width, 1) == 0 { + isOnSide = true + } + } + if isOnSide { + var isInRange bool + if delta > 0 { + if objPosition < position && position < objPosition+delta { + isInRange = true + } + } else { + if objPosition+delta < position && position < objPosition { + isInRange = true + } + } + if isInRange { + if isHorizontal { + p.X = objPosition + delta + } else { + p.Y = objPosition + delta + } + } + } + } + } + + for _, edge := range obj.Graph.Edges { + if edge.Src == obj { + adjust(edge.Route[0]) + } + if edge.Dst == obj { + adjust(edge.Route[len(edge.Route)-1]) + } + } +} diff --git a/d2layouts/d2elklayout/layout.go b/d2layouts/d2elklayout/layout.go index 5ece1c0dc..95bb3305c 100644 --- a/d2layouts/d2elklayout/layout.go +++ b/d2layouts/d2elklayout/layout.go @@ -11,6 +11,8 @@ import ( "errors" "fmt" "math" + "regexp" + "strconv" "strings" "github.com/dop251/goja" @@ -180,6 +182,11 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err elkGraph.LayoutOptions.Direction = "DOWN" } + // set label and icon positions for ELK + for _, obj := range g.Objects { + positionLabelsIcons(obj) + } + elkNodes := make(map[*d2graph.Object]*ELKNode) elkEdges := make(map[*d2graph.Edge]*ELKEdge) @@ -214,18 +221,7 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err } } - height := obj.Height - width := obj.Width - if obj.HasLabel() { - if obj.HasOutsideBottomLabel() || obj.Icon != nil { - height += float64(obj.LabelDimensions.Height) + label.PADDING - } - width = go2.Max(width, float64(obj.LabelDimensions.Width)) - } - // reserve extra space for 3d/multiple by providing elk the larger dimensions - dx, dy := obj.GetModifierElementAdjustments() - width += dx - height += dy + width, height := adjustDimensions(obj) n := &ELKNode{ ID: obj.AbsID(), @@ -262,41 +258,18 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err case "RIGHT", "LEFT": n.LayoutOptions.NodeSizeMinimum = fmt.Sprintf("(%d, %d)", int(math.Ceil(width)), int(math.Ceil(height))) } - - if n.LayoutOptions.Padding == DefaultOpts.Padding { - labelHeight := 0 - if obj.HasLabel() { - labelHeight = obj.LabelDimensions.Height + label.PADDING - } - - n.Height += 100 + float64(labelHeight) - n.Width += 100 - contentBox := geo.NewBox(geo.NewPoint(0, 0), float64(n.Width), float64(n.Height)) - shapeType := d2target.DSL_SHAPE_TO_SHAPE_TYPE[obj.Shape.Value] - s := shape.NewShape(shapeType, contentBox) - - paddingTop := n.Height - s.GetInnerBox().Height - n.Height -= (100 + float64(labelHeight)) - n.Width -= 100 - - iconHeight := 0 - if obj.Icon != nil && obj.Shape.Value != d2target.ShapeImage { - iconHeight = d2target.GetIconSize(s.GetInnerBox(), string(label.InsideTopLeft)) + label.PADDING*2 - } - - paddingTop += float64(go2.Max(labelHeight, iconHeight)) - - n.LayoutOptions.Padding = fmt.Sprintf("[top=%d,left=50,bottom=50,right=50]", - // Default padding - go2.Max(int(math.Ceil(paddingTop)), 50), - ) - } } else { n.LayoutOptions = &elkOpts{ SelfLoopDistribution: "EQUALLY", } } + if obj.IsContainer() { + padding := parsePadding(opts.Padding) + padding = adjustPadding(obj, width, height, padding) + n.LayoutOptions.Padding = padding.String() + } + if obj.HasLabel() { n.Labels = append(n.Labels, &ELKLabel{ Text: obj.Label.Value, @@ -313,6 +286,41 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err elkNodes[obj] = n }) + // adjust parent padding for children with outside positioned icons + for _, obj := range g.Objects { + if !obj.IsContainer() { + continue + } + + var hasTop, hasBottom bool + for _, child := range obj.ChildrenArray { + if child.Shape.Value == d2target.ShapeImage || child.IconPosition == nil { + continue + } + + switch label.Position(*child.IconPosition) { + case label.OutsideTopLeft, label.OutsideTopCenter, label.OutsideTopRight: + hasTop = true + case label.OutsideBottomLeft, label.OutsideBottomCenter, label.OutsideBottomRight: + hasBottom = true + } + if hasTop && hasBottom { + break + } + } + + if hasTop || hasBottom { + padding := parsePadding(elkNodes[obj].LayoutOptions.Padding) + if hasTop { + padding.top = go2.Max(padding.top, d2target.MAX_ICON_SIZE+2*label.PADDING) + } + if hasBottom { + padding.bottom = go2.Max(padding.bottom, d2target.MAX_ICON_SIZE+2*label.PADDING) + } + elkNodes[obj].LayoutOptions.Padding = padding.String() + } + } + for _, edge := range g.Edges { e := &ELKEdge{ ID: edge.AbsID(), @@ -407,29 +415,6 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err obj.Width = math.Ceil(n.Width) obj.Height = math.Ceil(n.Height) - if obj.Icon != nil && obj.IconPosition == nil { - if len(obj.ChildrenArray) > 0 { - obj.IconPosition = go2.Pointer(string(label.InsideTopLeft)) - if obj.LabelPosition == nil { - obj.LabelPosition = go2.Pointer(string(label.InsideTopRight)) - } - } else { - obj.IconPosition = go2.Pointer(string(label.InsideMiddleCenter)) - } - } - if obj.HasLabel() && obj.LabelPosition == nil { - if len(obj.ChildrenArray) > 0 { - obj.LabelPosition = go2.Pointer(string(label.InsideTopCenter)) - } else if obj.HasOutsideBottomLabel() { - obj.LabelPosition = go2.Pointer(string(label.OutsideBottomCenter)) - obj.Height -= float64(obj.LabelDimensions.Height) + label.PADDING - } else if obj.Icon != nil { - obj.LabelPosition = go2.Pointer(string(label.InsideTopCenter)) - } else { - obj.LabelPosition = go2.Pointer(string(label.InsideMiddleCenter)) - } - } - byID[obj.AbsID()] = obj }) @@ -463,18 +448,8 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err edge.Route = points } - // remove the extra width/height we added for 3d/multiple after all objects/connections are placed - // and shift the shapes down accordingly for _, obj := range g.Objects { - dx, dy := obj.GetModifierElementAdjustments() - if dx != 0 || dy != 0 { - obj.TopLeft.Y += dy - obj.ShiftDescendants(0, dy) - if !obj.IsContainer() { - obj.Width -= dx - obj.Height -= dy - } - } + cleanupAdjustment(obj) } for _, edge := range g.Edges { @@ -808,3 +783,286 @@ func childrenMaxSelfLoop(parent *d2graph.Object, isWidth bool) int { return max } + +type shapePadding struct { + top, left, bottom, right int +} + +// parse out values from elk padding string. e.g. "[top=50,left=50,bottom=50,right=50]" +func parsePadding(in string) shapePadding { + reTop := regexp.MustCompile(`top=(\d+)`) + reLeft := regexp.MustCompile(`left=(\d+)`) + reBottom := regexp.MustCompile(`bottom=(\d+)`) + reRight := regexp.MustCompile(`right=(\d+)`) + + padding := shapePadding{} + + submatches := reTop.FindStringSubmatch(in) + if len(submatches) == 2 { + i, err := strconv.ParseInt(submatches[1], 10, 64) + if err == nil { + padding.top = int(i) + } + } + + submatches = reLeft.FindStringSubmatch(in) + if len(submatches) == 2 { + i, err := strconv.ParseInt(submatches[1], 10, 64) + if err == nil { + padding.left = int(i) + } + } + + submatches = reBottom.FindStringSubmatch(in) + if len(submatches) == 2 { + i, err := strconv.ParseInt(submatches[1], 10, 64) + if err == nil { + padding.bottom = int(i) + } + } + + submatches = reRight.FindStringSubmatch(in) + i, err := strconv.ParseInt(submatches[1], 10, 64) + if len(submatches) == 2 { + if err == nil { + padding.right = int(i) + } + } + + return padding +} + +func (padding shapePadding) String() string { + return fmt.Sprintf("[top=%d,left=%d,bottom=%d,right=%d]", padding.top, padding.left, padding.bottom, padding.right) +} + +func adjustPadding(obj *d2graph.Object, width, height float64, padding shapePadding) shapePadding { + if !obj.IsContainer() { + return padding + } + + // compute extra space padding for label/icon + var extraTop, extraBottom, extraLeft, extraRight int + if obj.HasLabel() && obj.LabelPosition != nil { + labelHeight := obj.LabelDimensions.Height + 2*label.PADDING + labelWidth := obj.LabelDimensions.Width + 2*label.PADDING + switch label.Position(*obj.LabelPosition) { + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight: + // Note: for corners we only add height + extraTop = labelHeight + case label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight: + extraBottom = labelHeight + case label.InsideMiddleLeft: + extraLeft = labelWidth + case label.InsideMiddleRight: + extraRight = labelWidth + } + } + if obj.Icon != nil && obj.Shape.Value != d2target.ShapeImage && obj.IconPosition != nil { + iconSize := d2target.MAX_ICON_SIZE + 2*label.PADDING + switch label.Position(*obj.IconPosition) { + case label.InsideTopLeft, label.InsideTopCenter, label.InsideTopRight: + extraTop = go2.Max(extraTop, iconSize) + case label.InsideBottomLeft, label.InsideBottomCenter, label.InsideBottomRight: + extraBottom = go2.Max(extraBottom, iconSize) + case label.InsideMiddleLeft: + extraLeft = go2.Max(extraLeft, iconSize) + case label.InsideMiddleRight: + extraRight = go2.Max(extraRight, iconSize) + } + } + + maxChildWidth, maxChildHeight := math.Inf(-1), math.Inf(-1) + for _, c := range obj.ChildrenArray { + if c.Width > maxChildWidth { + maxChildWidth = c.Width + } + if c.Height > maxChildHeight { + maxChildHeight = c.Height + } + } + // We don't know exactly what the shape dimensions will be after layout, but for more accurate innerBox dimensions, + // we add the maxChildWidth and maxChildHeight with computed additions for the innerBox calculation + width += maxChildWidth + float64(extraLeft+extraRight) + height += maxChildHeight + float64(extraTop+extraBottom) + contentBox := geo.NewBox(geo.NewPoint(0, 0), width, height) + shapeType := d2target.DSL_SHAPE_TO_SHAPE_TYPE[obj.Shape.Value] + s := shape.NewShape(shapeType, contentBox) + innerBox := s.GetInnerBox() + + // If the shape inner box + label/icon height becomes greater than the default padding, we want to use that + // + // ┌OUTER───────────────────────────┬────────────────────────────────────────────┐ + // │ │ │ + // │ ┌INNER──────── ┬ ─────────────│───────────────────────────────────────┐ │ + // │ │ │Label Padding │ │ │ + // │ │ ┌LABEL─ ┴ ─────────────│───────┐┬ ┌ICON── ┬ ────┐ │ │ + // │ │ │ │ ││ │ │ │ │ │ + // │ │ │ │ ││Label Height │ Icon│ │ │ │ + // │ │ │ │ ││ │ Height│ │ │ │ + // │ │ └──────────────────────│───────┘┴ │ │ │ │ │ + // │ │ │ └────── ┴ ────┘ │ │ + // │ │ │ │ │ + // │ │ ┴Default ELK Padding │ │ + // │ │ ┌CHILD────────────────────────────────────────────────────────┐ │ │ + // │ │ │ │ │ │ + // │ │ │ │ │ │ + // │ │ │ │ │ │ + // │ │ └─────────────────────────────────────────────────────────────┘ │ │ + // │ │ │ │ + // │ └─────────────────────────────────────────────────────────────────────┘ │ + // │ │ + // └─────────────────────────────────────────────────────────────────────────────┘ + + // estimated shape innerBox padding + innerTop := int(math.Ceil(innerBox.TopLeft.Y)) + innerBottom := int(math.Ceil(height - (innerBox.TopLeft.Y + innerBox.Height))) + innerLeft := int(math.Ceil(innerBox.TopLeft.X)) + innerRight := int(math.Ceil(width - (innerBox.TopLeft.X + innerBox.Width))) + + padding.top = go2.Max(padding.top, innerTop+extraTop) + padding.bottom = go2.Max(padding.bottom, innerBottom+extraBottom) + padding.left = go2.Max(padding.left, innerLeft+extraLeft) + padding.right = go2.Max(padding.right, innerRight+extraRight) + + return padding +} + +func adjustDimensions(obj *d2graph.Object) (width, height float64) { + width = obj.Width + height = obj.Height + + // reserve spacing for labels + if obj.HasLabel() { + var position label.Position + if obj.LabelPosition != nil { + position = label.Position(*obj.LabelPosition) + } else if len(obj.ChildrenArray) == 0 && obj.HasOutsideBottomLabel() { + position = label.OutsideBottomCenter + } + + if position.IsShapePosition() { + switch position { + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom, + label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + width += float64(obj.LabelDimensions.Width) + label.PADDING + default: + // TODO labelWidth+2*label.PADDING + width = go2.Max(width, float64(obj.LabelDimensions.Width)) + } + } + + // special handling + if obj.HasOutsideBottomLabel() || obj.Icon != nil { + height += float64(obj.LabelDimensions.Height) + label.PADDING + } + } + + if obj.Icon != nil && obj.Shape.Value != d2target.ShapeImage { + var position label.Position + if obj.IconPosition != nil { + position = label.Position(*obj.IconPosition) + } + + if position.IsShapePosition() { + switch position { + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom, + label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + width += d2target.MAX_ICON_SIZE + label.PADDING + default: + width = go2.Max(width, d2target.MAX_ICON_SIZE+2*label.PADDING) + } + } + } + + // reserve extra space for 3d/multiple by providing elk the larger dimensions + dx, dy := obj.GetModifierElementAdjustments() + width += dx + height += dy + + return +} + +func cleanupAdjustment(obj *d2graph.Object) { + // adjust size and position to account for space reserved for labels + if obj.HasLabel() { + position := label.Position(*obj.LabelPosition) + if position.IsShapePosition() { + var labelWidth float64 + switch position { + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom, + label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + labelWidth = float64(obj.LabelDimensions.Width) + label.PADDING + obj.Width -= labelWidth + } + switch position { + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom: + obj.TopLeft.X += labelWidth + obj.ShiftDescendants(labelWidth/2, 0) + case label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + obj.ShiftDescendants(-labelWidth/2, 0) + } + } + } + if obj.Icon != nil && obj.Shape.Value != d2target.ShapeImage { + position := label.Position(*obj.IconPosition) + if position.IsShapePosition() { + var iconWidth float64 + switch position { + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom, + label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + iconWidth = d2target.MAX_ICON_SIZE + label.PADDING + obj.Width -= iconWidth + } + switch position { + case label.OutsideLeftTop, label.OutsideLeftMiddle, label.OutsideLeftBottom: + obj.TopLeft.X += iconWidth + obj.ShiftDescendants(iconWidth/2, 0) + case label.OutsideRightTop, label.OutsideRightMiddle, label.OutsideRightBottom: + obj.ShiftDescendants(-iconWidth/2, 0) + } + } + } + + // special handling to start/end connections below label + if obj.HasOutsideBottomLabel() { + obj.Height -= float64(obj.LabelDimensions.Height) + label.PADDING + } + + // remove the extra width/height we added for 3d/multiple after all objects/connections are placed + // and shift the shapes down accordingly + dx, dy := obj.GetModifierElementAdjustments() + if dx != 0 || dy != 0 { + obj.TopLeft.Y += dy + obj.ShiftDescendants(0, dy) + if !obj.IsContainer() { + obj.Width -= dx + obj.Height -= dy + } + } +} + +func positionLabelsIcons(obj *d2graph.Object) { + if obj.Icon != nil && obj.IconPosition == nil { + if len(obj.ChildrenArray) > 0 { + obj.IconPosition = go2.Pointer(string(label.InsideTopLeft)) + if obj.LabelPosition == nil { + obj.LabelPosition = go2.Pointer(string(label.InsideTopRight)) + return + } + } else { + obj.IconPosition = go2.Pointer(string(label.InsideMiddleCenter)) + } + } + if obj.HasLabel() && obj.LabelPosition == nil { + if len(obj.ChildrenArray) > 0 { + obj.LabelPosition = go2.Pointer(string(label.InsideTopCenter)) + } else if obj.HasOutsideBottomLabel() { + obj.LabelPosition = go2.Pointer(string(label.OutsideBottomCenter)) + } else if obj.Icon != nil { + obj.LabelPosition = go2.Pointer(string(label.InsideTopCenter)) + } else { + obj.LabelPosition = go2.Pointer(string(label.InsideMiddleCenter)) + } + } +} diff --git a/d2layouts/d2sequence/layout_test.go b/d2layouts/d2sequence/layout_test.go index 6fe39ce9e..f538e7cb6 100644 --- a/d2layouts/d2sequence/layout_test.go +++ b/d2layouts/d2sequence/layout_test.go @@ -37,7 +37,7 @@ n2 -> n1: right to left n1 -> n2 n2 -> n1 ` - g, err := d2compiler.Compile("", strings.NewReader(input), nil) + g, _, err := d2compiler.Compile("", strings.NewReader(input), nil) assert.Nil(t, err) n1, has := g.Root.HasChild([]string{"n1"}) @@ -177,7 +177,7 @@ a.t2 -> b b -> a.t2` ctx := log.WithTB(context.Background(), t, nil) - g, err := d2compiler.Compile("", strings.NewReader(input), nil) + g, _, err := d2compiler.Compile("", strings.NewReader(input), nil) assert.Nil(t, err) g.Root.Shape = d2graph.Scalar{Value: d2target.ShapeSequenceDiagram} @@ -298,7 +298,7 @@ c container -> c: edge 1 ` ctx := log.WithTB(context.Background(), t, nil) - g, err := d2compiler.Compile("", strings.NewReader(input), nil) + g, _, err := d2compiler.Compile("", strings.NewReader(input), nil) assert.Nil(t, err) container, has := g.Root.HasChild([]string{"container"}) diff --git a/d2lib/d2.go b/d2lib/d2.go index d12423332..18372ee73 100644 --- a/d2lib/d2.go +++ b/d2lib/d2.go @@ -15,17 +15,21 @@ import ( "oss.terrastruct.com/d2/d2layouts/d2near" "oss.terrastruct.com/d2/d2layouts/d2sequence" "oss.terrastruct.com/d2/d2renderers/d2fonts" + "oss.terrastruct.com/d2/d2renderers/d2svg" "oss.terrastruct.com/d2/d2target" + "oss.terrastruct.com/d2/d2themes/d2themescatalog" "oss.terrastruct.com/d2/lib/textmeasure" + "oss.terrastruct.com/util-go/go2" ) type CompileOptions struct { - UTF16 bool - FS fs.FS - MeasuredTexts []*d2target.MText - Ruler *textmeasure.Ruler - Layout func(context.Context, *d2graph.Graph) error - ThemeID int64 + UTF16 bool + FS fs.FS + MeasuredTexts []*d2target.MText + Ruler *textmeasure.Ruler + LayoutResolver func(engine string) (d2graph.LayoutGraph, error) + + Layout *string // FontFamily controls the font family used for all texts that are not the following: // - code @@ -37,39 +41,45 @@ type CompileOptions struct { InputPath string } -func Compile(ctx context.Context, input string, opts *CompileOptions) (*d2target.Diagram, *d2graph.Graph, error) { - if opts == nil { - opts = &CompileOptions{} +func Compile(ctx context.Context, input string, compileOpts *CompileOptions, renderOpts *d2svg.RenderOpts) (*d2target.Diagram, *d2graph.Graph, error) { + if compileOpts == nil { + compileOpts = &CompileOptions{} + } + if renderOpts == nil { + renderOpts = &d2svg.RenderOpts{} } - g, err := d2compiler.Compile(opts.InputPath, strings.NewReader(input), &d2compiler.CompileOptions{ - UTF16: opts.UTF16, - FS: opts.FS, + g, config, err := d2compiler.Compile(compileOpts.InputPath, strings.NewReader(input), &d2compiler.CompileOptions{ + UTF16: compileOpts.UTF16, + FS: compileOpts.FS, }) if err != nil { return nil, nil, err } - d, err := compile(ctx, g, opts) - if err != nil { - return nil, nil, err + applyConfigs(config, compileOpts, renderOpts) + applyDefaults(compileOpts, renderOpts) + + d, err := compile(ctx, g, compileOpts, renderOpts) + if d != nil { + d.Config = config } - return d, g, nil + return d, g, err } -func compile(ctx context.Context, g *d2graph.Graph, opts *CompileOptions) (*d2target.Diagram, error) { - err := g.ApplyTheme(opts.ThemeID) +func compile(ctx context.Context, g *d2graph.Graph, compileOpts *CompileOptions, renderOpts *d2svg.RenderOpts) (*d2target.Diagram, error) { + err := g.ApplyTheme(*renderOpts.ThemeID) if err != nil { return nil, err } if len(g.Objects) > 0 { - err := g.SetDimensions(opts.MeasuredTexts, opts.Ruler, opts.FontFamily) + err := g.SetDimensions(compileOpts.MeasuredTexts, compileOpts.Ruler, compileOpts.FontFamily) if err != nil { return nil, err } - coreLayout, err := getLayout(opts) + coreLayout, err := getLayout(compileOpts) if err != nil { return nil, err } @@ -96,27 +106,27 @@ func compile(ctx context.Context, g *d2graph.Graph, opts *CompileOptions) (*d2ta } } - d, err := d2exporter.Export(ctx, g, opts.FontFamily) + d, err := d2exporter.Export(ctx, g, compileOpts.FontFamily) if err != nil { return nil, err } for _, l := range g.Layers { - ld, err := compile(ctx, l, opts) + ld, err := compile(ctx, l, compileOpts, renderOpts) if err != nil { return nil, err } d.Layers = append(d.Layers, ld) } for _, l := range g.Scenarios { - ld, err := compile(ctx, l, opts) + ld, err := compile(ctx, l, compileOpts, renderOpts) if err != nil { return nil, err } d.Scenarios = append(d.Scenarios, ld) } for _, l := range g.Steps { - ld, err := compile(ctx, l, opts) + ld, err := compile(ctx, l, compileOpts, renderOpts) if err != nil { return nil, err } @@ -127,7 +137,7 @@ func compile(ctx context.Context, g *d2graph.Graph, opts *CompileOptions) (*d2ta func getLayout(opts *CompileOptions) (d2graph.LayoutGraph, error) { if opts.Layout != nil { - return opts.Layout, nil + return opts.LayoutResolver(*opts.Layout) } else if os.Getenv("D2_LAYOUT") == "dagre" { defaultLayout := func(ctx context.Context, g *d2graph.Graph) error { return d2dagrelayout.Layout(ctx, g, nil) @@ -137,3 +147,53 @@ func getLayout(opts *CompileOptions) (d2graph.LayoutGraph, error) { return nil, errors.New("no available layout") } } + +// applyConfigs applies the configs read from D2 and applies it to passed in opts +// It will only write to opt fields that are nil, as passed-in opts have precedence +func applyConfigs(config *d2target.Config, compileOpts *CompileOptions, renderOpts *d2svg.RenderOpts) { + if config == nil { + return + } + + if compileOpts.Layout == nil { + compileOpts.Layout = config.LayoutEngine + } + + if renderOpts.ThemeID == nil { + renderOpts.ThemeID = config.ThemeID + } + if renderOpts.DarkThemeID == nil { + renderOpts.DarkThemeID = config.DarkThemeID + } + if renderOpts.Sketch == nil { + renderOpts.Sketch = config.Sketch + } + if renderOpts.Pad == nil { + renderOpts.Pad = config.Pad + } + if renderOpts.Center == nil { + renderOpts.Center = config.Center + } +} + +func applyDefaults(compileOpts *CompileOptions, renderOpts *d2svg.RenderOpts) { + if compileOpts.Layout == nil { + compileOpts.Layout = go2.Pointer("dagre") + } + + if renderOpts.ThemeID == nil { + renderOpts.ThemeID = &d2themescatalog.NeutralDefault.ID + } + if renderOpts.Sketch == nil { + renderOpts.Sketch = go2.Pointer(false) + } + if *renderOpts.Sketch { + compileOpts.FontFamily = go2.Pointer(d2fonts.HandDrawn) + } + if renderOpts.Pad == nil { + renderOpts.Pad = go2.Pointer(int64(d2svg.DEFAULT_PADDING)) + } + if renderOpts.Center == nil { + renderOpts.Center = go2.Pointer(false) + } +} diff --git a/d2oracle/edit.go b/d2oracle/edit.go index d3231aba3..01f54d391 100644 --- a/d2oracle/edit.go +++ b/d2oracle/edit.go @@ -305,7 +305,7 @@ func pathFromScopeObj(g *d2graph.Graph, key *d2ast.Key, fromScope *d2graph.Objec func recompile(ast *d2ast.Map) (*d2graph.Graph, error) { s := d2format.Format(ast) - g, err := d2compiler.Compile(ast.Range.Path, strings.NewReader(s), nil) + g, _, err := d2compiler.Compile(ast.Range.Path, strings.NewReader(s), nil) if err != nil { return nil, fmt.Errorf("failed to recompile:\n%s\n%w", s, err) } diff --git a/d2oracle/edit_test.go b/d2oracle/edit_test.go index f942fc3f9..424deec72 100644 --- a/d2oracle/edit_test.go +++ b/d2oracle/edit_test.go @@ -7002,7 +7002,7 @@ type editTest struct { func (tc editTest) run(t *testing.T) { d2Path := fmt.Sprintf("d2/testdata/d2oracle/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) + g, _, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) if err != nil { t.Fatal(err) } @@ -7265,7 +7265,7 @@ scenarios: { t.Parallel() d2Path := fmt.Sprintf("d2/testdata/d2oracle/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) + g, _, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) if err != nil { t.Fatal(err) } @@ -7725,7 +7725,7 @@ z t.Parallel() d2Path := fmt.Sprintf("d2/testdata/d2oracle/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) + g, _, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) if err != nil { t.Fatal(err) } @@ -8095,7 +8095,7 @@ layers: { t.Parallel() d2Path := fmt.Sprintf("d2/testdata/d2oracle/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) + g, _, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) if err != nil { t.Fatal(err) } @@ -8325,7 +8325,7 @@ scenarios: { t.Parallel() d2Path := fmt.Sprintf("d2/testdata/d2oracle/%v.d2", t.Name()) - g, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) + g, _, err := d2compiler.Compile(d2Path, strings.NewReader(tc.text), nil) if err != nil { t.Fatal(err) } diff --git a/d2parser/parse.go b/d2parser/parse.go index fa64531a3..50f6c91c1 100644 --- a/d2parser/parse.go +++ b/d2parser/parse.go @@ -1030,9 +1030,15 @@ func (p *parser) parseUnquotedString(inKey bool) (s *d2ast.UnquotedString) { var sb strings.Builder var rawb strings.Builder + lastPatternIndex := 0 defer func() { sv := strings.TrimRightFunc(sb.String(), unicode.IsSpace) rawv := strings.TrimRightFunc(rawb.String(), unicode.IsSpace) + if s.Pattern != nil { + if lastPatternIndex < len(sv) { + s.Pattern = append(s.Pattern, sv[lastPatternIndex:]) + } + } if sv == "" { if len(s.Value) > 0 { return @@ -1092,7 +1098,7 @@ func (p *parser) parseUnquotedString(inKey bool) (s *d2ast.UnquotedString) { } if inKey { switch r { - case ':', '.', '<', '>': + case ':', '.', '<', '>', '&': p.rewind() return s case '-': @@ -1118,18 +1124,12 @@ func (p *parser) parseUnquotedString(inKey bool) (s *d2ast.UnquotedString) { rawb.WriteRune(r) r = r2 case '*': - // TODO: need a peekNotSpace across escaped newlines - r2, eof := p.peek() - if eof { - return s + if sb.Len() == 0 { + s.Pattern = append(s.Pattern, "*") + } else { + s.Pattern = append(s.Pattern, sb.String()[lastPatternIndex:], "*") } - if r2 == '-' { - p.rewind() - return s - } - sb.WriteRune(r) - rawb.WriteRune(r) - r = r2 + lastPatternIndex = len(sb.String()) + 1 } } @@ -1560,7 +1560,8 @@ func (p *parser) parseArrayNode(r rune) d2ast.ArrayNodeBox { p.replay(r) vbox := p.parseValue() - if vbox.UnquotedString != nil && vbox.UnquotedString.ScalarString() == "" { + if vbox.UnquotedString != nil && vbox.UnquotedString.ScalarString() == "" && + !(len(vbox.UnquotedString.Value) > 0 && vbox.UnquotedString.Value[0].Substitution != nil) { p.errorf(p.pos, p.pos.Advance(r, p.utf16), "unquoted strings cannot start on %q", r) } box.Null = vbox.Null diff --git a/d2renderers/d2animate/d2animate.go b/d2renderers/d2animate/d2animate.go index 7fca92dd7..9eed2bf10 100644 --- a/d2renderers/d2animate/d2animate.go +++ b/d2renderers/d2animate/d2animate.go @@ -49,10 +49,10 @@ func Wrap(rootDiagram *d2target.Diagram, svgs [][]byte, renderOpts d2svg.RenderO // TODO account for stroke width of root border tl, br := rootDiagram.NestedBoundingBox() - left := tl.X - renderOpts.Pad - top := tl.Y - renderOpts.Pad - width := br.X - tl.X + renderOpts.Pad*2 - height := br.Y - tl.Y + renderOpts.Pad*2 + left := tl.X - int(*renderOpts.Pad) + top := tl.Y - int(*renderOpts.Pad) + width := br.X - tl.X + int(*renderOpts.Pad)*2 + height := br.Y - tl.Y + int(*renderOpts.Pad)*2 fitToScreenWrapperOpening := fmt.Sprintf(``, version.Version, @@ -93,7 +93,7 @@ func Wrap(rootDiagram *d2target.Diagram, svgs [][]byte, renderOpts d2svg.RenderO fmt.Fprintf(buf, ``, css) } - if renderOpts.Sketch { + if renderOpts.Sketch != nil && *renderOpts.Sketch { d2sketch.DefineFillPatterns(buf) } diff --git a/d2renderers/d2sketch/sketch_test.go b/d2renderers/d2sketch/sketch_test.go index 7b494c416..e7d147223 100644 --- a/d2renderers/d2sketch/sketch_test.go +++ b/d2renderers/d2sketch/sketch_test.go @@ -17,6 +17,7 @@ import ( "oss.terrastruct.com/util-go/diff" "oss.terrastruct.com/util-go/go2" + "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2layouts/d2dagrelayout" "oss.terrastruct.com/d2/d2layouts/d2elklayout" "oss.terrastruct.com/d2/d2lib" @@ -1339,16 +1340,22 @@ func run(t *testing.T, tc testCase) { return } - layout := d2dagrelayout.DefaultLayout - if strings.EqualFold(tc.engine, "elk") { - layout = d2elklayout.DefaultLayout + layoutResolver := func(engine string) (d2graph.LayoutGraph, error) { + if strings.EqualFold(engine, "elk") { + return d2elklayout.DefaultLayout, nil + } + return d2dagrelayout.DefaultLayout, nil + } + renderOpts := &d2svg.RenderOpts{ + Sketch: go2.Pointer(true), + ThemeID: go2.Pointer(tc.themeID), } diagram, _, err := d2lib.Compile(ctx, tc.script, &d2lib.CompileOptions{ - Ruler: ruler, - Layout: layout, - FontFamily: go2.Pointer(d2fonts.HandDrawn), - ThemeID: tc.themeID, - }) + Ruler: ruler, + Layout: &tc.engine, + LayoutResolver: layoutResolver, + FontFamily: go2.Pointer(d2fonts.HandDrawn), + }, renderOpts) if !tassert.Nil(t, err) { return } @@ -1356,11 +1363,7 @@ func run(t *testing.T, tc testCase) { dataPath := filepath.Join("testdata", strings.TrimPrefix(t.Name(), "TestSketch/")) pathGotSVG := filepath.Join(dataPath, "sketch.got.svg") - svgBytes, err := d2svg.Render(diagram, &d2svg.RenderOpts{ - Pad: d2svg.DEFAULT_PADDING, - Sketch: true, - ThemeID: tc.themeID, - }) + svgBytes, err := d2svg.Render(diagram, renderOpts) assert.Success(t, err) err = os.MkdirAll(dataPath, 0755) assert.Success(t, err) diff --git a/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg b/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg index 9d890f6ad..57388cdf6 100644 --- a/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-3902229455 .fill-N1{fill:#0A0F25;} + .d2-3902229455 .fill-N2{fill:#676C7E;} + .d2-3902229455 .fill-N3{fill:#9499AB;} + .d2-3902229455 .fill-N4{fill:#CFD2DD;} + .d2-3902229455 .fill-N5{fill:#DEE1EB;} + .d2-3902229455 .fill-N6{fill:#EEF1F8;} + .d2-3902229455 .fill-N7{fill:#FFFFFF;} + .d2-3902229455 .fill-B1{fill:#0D32B2;} + .d2-3902229455 .fill-B2{fill:#0D32B2;} + .d2-3902229455 .fill-B3{fill:#E3E9FD;} + .d2-3902229455 .fill-B4{fill:#E3E9FD;} + .d2-3902229455 .fill-B5{fill:#EDF0FD;} + .d2-3902229455 .fill-B6{fill:#F7F8FE;} + .d2-3902229455 .fill-AA2{fill:#4A6FF3;} + .d2-3902229455 .fill-AA4{fill:#EDF0FD;} + .d2-3902229455 .fill-AA5{fill:#F7F8FE;} + .d2-3902229455 .fill-AB4{fill:#EDF0FD;} + .d2-3902229455 .fill-AB5{fill:#F7F8FE;} + .d2-3902229455 .stroke-N1{stroke:#0A0F25;} + .d2-3902229455 .stroke-N2{stroke:#676C7E;} + .d2-3902229455 .stroke-N3{stroke:#9499AB;} + .d2-3902229455 .stroke-N4{stroke:#CFD2DD;} + .d2-3902229455 .stroke-N5{stroke:#DEE1EB;} + .d2-3902229455 .stroke-N6{stroke:#EEF1F8;} + .d2-3902229455 .stroke-N7{stroke:#FFFFFF;} + .d2-3902229455 .stroke-B1{stroke:#0D32B2;} + .d2-3902229455 .stroke-B2{stroke:#0D32B2;} + .d2-3902229455 .stroke-B3{stroke:#E3E9FD;} + .d2-3902229455 .stroke-B4{stroke:#E3E9FD;} + .d2-3902229455 .stroke-B5{stroke:#EDF0FD;} + .d2-3902229455 .stroke-B6{stroke:#F7F8FE;} + .d2-3902229455 .stroke-AA2{stroke:#4A6FF3;} + .d2-3902229455 .stroke-AA4{stroke:#EDF0FD;} + .d2-3902229455 .stroke-AA5{stroke:#F7F8FE;} + .d2-3902229455 .stroke-AB4{stroke:#EDF0FD;} + .d2-3902229455 .stroke-AB5{stroke:#F7F8FE;} + .d2-3902229455 .background-color-N1{background-color:#0A0F25;} + .d2-3902229455 .background-color-N2{background-color:#676C7E;} + .d2-3902229455 .background-color-N3{background-color:#9499AB;} + .d2-3902229455 .background-color-N4{background-color:#CFD2DD;} + .d2-3902229455 .background-color-N5{background-color:#DEE1EB;} + .d2-3902229455 .background-color-N6{background-color:#EEF1F8;} + .d2-3902229455 .background-color-N7{background-color:#FFFFFF;} + .d2-3902229455 .background-color-B1{background-color:#0D32B2;} + .d2-3902229455 .background-color-B2{background-color:#0D32B2;} + .d2-3902229455 .background-color-B3{background-color:#E3E9FD;} + .d2-3902229455 .background-color-B4{background-color:#E3E9FD;} + .d2-3902229455 .background-color-B5{background-color:#EDF0FD;} + .d2-3902229455 .background-color-B6{background-color:#F7F8FE;} + .d2-3902229455 .background-color-AA2{background-color:#4A6FF3;} + .d2-3902229455 .background-color-AA4{background-color:#EDF0FD;} + .d2-3902229455 .background-color-AA5{background-color:#F7F8FE;} + .d2-3902229455 .background-color-AB4{background-color:#EDF0FD;} + .d2-3902229455 .background-color-AB5{background-color:#F7F8FE;} + .d2-3902229455 .color-N1{color:#0A0F25;} + .d2-3902229455 .color-N2{color:#676C7E;} + .d2-3902229455 .color-N3{color:#9499AB;} + .d2-3902229455 .color-N4{color:#CFD2DD;} + .d2-3902229455 .color-N5{color:#DEE1EB;} + .d2-3902229455 .color-N6{color:#EEF1F8;} + .d2-3902229455 .color-N7{color:#FFFFFF;} + .d2-3902229455 .color-B1{color:#0D32B2;} + .d2-3902229455 .color-B2{color:#0D32B2;} + .d2-3902229455 .color-B3{color:#E3E9FD;} + .d2-3902229455 .color-B4{color:#E3E9FD;} + .d2-3902229455 .color-B5{color:#EDF0FD;} + .d2-3902229455 .color-B6{color:#F7F8FE;} + .d2-3902229455 .color-AA2{color:#4A6FF3;} + .d2-3902229455 .color-AA4{color:#EDF0FD;} + .d2-3902229455 .color-AA5{color:#F7F8FE;} + .d2-3902229455 .color-AB4{color:#EDF0FD;} + .d2-3902229455 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud +rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -110,7 +110,7 @@ - + diff --git a/d2renderers/d2sketch/testdata/all_shapes_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/all_shapes_dark/sketch.exp.svg index 767d96afd..19c0ac4ed 100644 --- a/d2renderers/d2sketch/testdata/all_shapes_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/all_shapes_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-3902229455 .fill-N1{fill:#CDD6F4;} + .d2-3902229455 .fill-N2{fill:#BAC2DE;} + .d2-3902229455 .fill-N3{fill:#A6ADC8;} + .d2-3902229455 .fill-N4{fill:#585B70;} + .d2-3902229455 .fill-N5{fill:#45475A;} + .d2-3902229455 .fill-N6{fill:#313244;} + .d2-3902229455 .fill-N7{fill:#1E1E2E;} + .d2-3902229455 .fill-B1{fill:#CBA6f7;} + .d2-3902229455 .fill-B2{fill:#CBA6f7;} + .d2-3902229455 .fill-B3{fill:#6C7086;} + .d2-3902229455 .fill-B4{fill:#585B70;} + .d2-3902229455 .fill-B5{fill:#45475A;} + .d2-3902229455 .fill-B6{fill:#313244;} + .d2-3902229455 .fill-AA2{fill:#f38BA8;} + .d2-3902229455 .fill-AA4{fill:#45475A;} + .d2-3902229455 .fill-AA5{fill:#313244;} + .d2-3902229455 .fill-AB4{fill:#45475A;} + .d2-3902229455 .fill-AB5{fill:#313244;} + .d2-3902229455 .stroke-N1{stroke:#CDD6F4;} + .d2-3902229455 .stroke-N2{stroke:#BAC2DE;} + .d2-3902229455 .stroke-N3{stroke:#A6ADC8;} + .d2-3902229455 .stroke-N4{stroke:#585B70;} + .d2-3902229455 .stroke-N5{stroke:#45475A;} + .d2-3902229455 .stroke-N6{stroke:#313244;} + .d2-3902229455 .stroke-N7{stroke:#1E1E2E;} + .d2-3902229455 .stroke-B1{stroke:#CBA6f7;} + .d2-3902229455 .stroke-B2{stroke:#CBA6f7;} + .d2-3902229455 .stroke-B3{stroke:#6C7086;} + .d2-3902229455 .stroke-B4{stroke:#585B70;} + .d2-3902229455 .stroke-B5{stroke:#45475A;} + .d2-3902229455 .stroke-B6{stroke:#313244;} + .d2-3902229455 .stroke-AA2{stroke:#f38BA8;} + .d2-3902229455 .stroke-AA4{stroke:#45475A;} + .d2-3902229455 .stroke-AA5{stroke:#313244;} + .d2-3902229455 .stroke-AB4{stroke:#45475A;} + .d2-3902229455 .stroke-AB5{stroke:#313244;} + .d2-3902229455 .background-color-N1{background-color:#CDD6F4;} + .d2-3902229455 .background-color-N2{background-color:#BAC2DE;} + .d2-3902229455 .background-color-N3{background-color:#A6ADC8;} + .d2-3902229455 .background-color-N4{background-color:#585B70;} + .d2-3902229455 .background-color-N5{background-color:#45475A;} + .d2-3902229455 .background-color-N6{background-color:#313244;} + .d2-3902229455 .background-color-N7{background-color:#1E1E2E;} + .d2-3902229455 .background-color-B1{background-color:#CBA6f7;} + .d2-3902229455 .background-color-B2{background-color:#CBA6f7;} + .d2-3902229455 .background-color-B3{background-color:#6C7086;} + .d2-3902229455 .background-color-B4{background-color:#585B70;} + .d2-3902229455 .background-color-B5{background-color:#45475A;} + .d2-3902229455 .background-color-B6{background-color:#313244;} + .d2-3902229455 .background-color-AA2{background-color:#f38BA8;} + .d2-3902229455 .background-color-AA4{background-color:#45475A;} + .d2-3902229455 .background-color-AA5{background-color:#313244;} + .d2-3902229455 .background-color-AB4{background-color:#45475A;} + .d2-3902229455 .background-color-AB5{background-color:#313244;} + .d2-3902229455 .color-N1{color:#CDD6F4;} + .d2-3902229455 .color-N2{color:#BAC2DE;} + .d2-3902229455 .color-N3{color:#A6ADC8;} + .d2-3902229455 .color-N4{color:#585B70;} + .d2-3902229455 .color-N5{color:#45475A;} + .d2-3902229455 .color-N6{color:#313244;} + .d2-3902229455 .color-N7{color:#1E1E2E;} + .d2-3902229455 .color-B1{color:#CBA6f7;} + .d2-3902229455 .color-B2{color:#CBA6f7;} + .d2-3902229455 .color-B3{color:#6C7086;} + .d2-3902229455 .color-B4{color:#585B70;} + .d2-3902229455 .color-B5{color:#45475A;} + .d2-3902229455 .color-B6{color:#313244;} + .d2-3902229455 .color-AA2{color:#f38BA8;} + .d2-3902229455 .color-AA4{color:#45475A;} + .d2-3902229455 .color-AA5{color:#313244;} + .d2-3902229455 .color-AB4{color:#45475A;} + .d2-3902229455 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud +rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -108,7 +108,7 @@ - + diff --git a/d2renderers/d2sketch/testdata/animated/sketch.exp.svg b/d2renderers/d2sketch/testdata/animated/sketch.exp.svg index e3da23c82..6c8b9979d 100644 --- a/d2renderers/d2sketch/testdata/animated/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/animated/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2916329547 .fill-N1{fill:#0A0F25;} + .d2-2916329547 .fill-N2{fill:#676C7E;} + .d2-2916329547 .fill-N3{fill:#9499AB;} + .d2-2916329547 .fill-N4{fill:#CFD2DD;} + .d2-2916329547 .fill-N5{fill:#DEE1EB;} + .d2-2916329547 .fill-N6{fill:#EEF1F8;} + .d2-2916329547 .fill-N7{fill:#FFFFFF;} + .d2-2916329547 .fill-B1{fill:#0D32B2;} + .d2-2916329547 .fill-B2{fill:#0D32B2;} + .d2-2916329547 .fill-B3{fill:#E3E9FD;} + .d2-2916329547 .fill-B4{fill:#E3E9FD;} + .d2-2916329547 .fill-B5{fill:#EDF0FD;} + .d2-2916329547 .fill-B6{fill:#F7F8FE;} + .d2-2916329547 .fill-AA2{fill:#4A6FF3;} + .d2-2916329547 .fill-AA4{fill:#EDF0FD;} + .d2-2916329547 .fill-AA5{fill:#F7F8FE;} + .d2-2916329547 .fill-AB4{fill:#EDF0FD;} + .d2-2916329547 .fill-AB5{fill:#F7F8FE;} + .d2-2916329547 .stroke-N1{stroke:#0A0F25;} + .d2-2916329547 .stroke-N2{stroke:#676C7E;} + .d2-2916329547 .stroke-N3{stroke:#9499AB;} + .d2-2916329547 .stroke-N4{stroke:#CFD2DD;} + .d2-2916329547 .stroke-N5{stroke:#DEE1EB;} + .d2-2916329547 .stroke-N6{stroke:#EEF1F8;} + .d2-2916329547 .stroke-N7{stroke:#FFFFFF;} + .d2-2916329547 .stroke-B1{stroke:#0D32B2;} + .d2-2916329547 .stroke-B2{stroke:#0D32B2;} + .d2-2916329547 .stroke-B3{stroke:#E3E9FD;} + .d2-2916329547 .stroke-B4{stroke:#E3E9FD;} + .d2-2916329547 .stroke-B5{stroke:#EDF0FD;} + .d2-2916329547 .stroke-B6{stroke:#F7F8FE;} + .d2-2916329547 .stroke-AA2{stroke:#4A6FF3;} + .d2-2916329547 .stroke-AA4{stroke:#EDF0FD;} + .d2-2916329547 .stroke-AA5{stroke:#F7F8FE;} + .d2-2916329547 .stroke-AB4{stroke:#EDF0FD;} + .d2-2916329547 .stroke-AB5{stroke:#F7F8FE;} + .d2-2916329547 .background-color-N1{background-color:#0A0F25;} + .d2-2916329547 .background-color-N2{background-color:#676C7E;} + .d2-2916329547 .background-color-N3{background-color:#9499AB;} + .d2-2916329547 .background-color-N4{background-color:#CFD2DD;} + .d2-2916329547 .background-color-N5{background-color:#DEE1EB;} + .d2-2916329547 .background-color-N6{background-color:#EEF1F8;} + .d2-2916329547 .background-color-N7{background-color:#FFFFFF;} + .d2-2916329547 .background-color-B1{background-color:#0D32B2;} + .d2-2916329547 .background-color-B2{background-color:#0D32B2;} + .d2-2916329547 .background-color-B3{background-color:#E3E9FD;} + .d2-2916329547 .background-color-B4{background-color:#E3E9FD;} + .d2-2916329547 .background-color-B5{background-color:#EDF0FD;} + .d2-2916329547 .background-color-B6{background-color:#F7F8FE;} + .d2-2916329547 .background-color-AA2{background-color:#4A6FF3;} + .d2-2916329547 .background-color-AA4{background-color:#EDF0FD;} + .d2-2916329547 .background-color-AA5{background-color:#F7F8FE;} + .d2-2916329547 .background-color-AB4{background-color:#EDF0FD;} + .d2-2916329547 .background-color-AB5{background-color:#F7F8FE;} + .d2-2916329547 .color-N1{color:#0A0F25;} + .d2-2916329547 .color-N2{color:#676C7E;} + .d2-2916329547 .color-N3{color:#9499AB;} + .d2-2916329547 .color-N4{color:#CFD2DD;} + .d2-2916329547 .color-N5{color:#DEE1EB;} + .d2-2916329547 .color-N6{color:#EEF1F8;} + .d2-2916329547 .color-N7{color:#FFFFFF;} + .d2-2916329547 .color-B1{color:#0D32B2;} + .d2-2916329547 .color-B2{color:#0D32B2;} + .d2-2916329547 .color-B3{color:#E3E9FD;} + .d2-2916329547 .color-B4{color:#E3E9FD;} + .d2-2916329547 .color-B5{color:#EDF0FD;} + .d2-2916329547 .color-B6{color:#F7F8FE;} + .d2-2916329547 .color-AA2{color:#4A6FF3;} + .d2-2916329547 .color-AA4{color:#EDF0FD;} + .d2-2916329547 .color-AA5{color:#F7F8FE;} + .d2-2916329547 .color-AB4{color:#EDF0FD;} + .d2-2916329547 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -110,11 +110,11 @@ -wintersummertreessnowsun - - - +wintersummertreessnowsun + + + - - + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/animated_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/animated_dark/sketch.exp.svg index 8eededaa0..aee35874a 100644 --- a/d2renderers/d2sketch/testdata/animated_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/animated_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2916329547 .fill-N1{fill:#CDD6F4;} + .d2-2916329547 .fill-N2{fill:#BAC2DE;} + .d2-2916329547 .fill-N3{fill:#A6ADC8;} + .d2-2916329547 .fill-N4{fill:#585B70;} + .d2-2916329547 .fill-N5{fill:#45475A;} + .d2-2916329547 .fill-N6{fill:#313244;} + .d2-2916329547 .fill-N7{fill:#1E1E2E;} + .d2-2916329547 .fill-B1{fill:#CBA6f7;} + .d2-2916329547 .fill-B2{fill:#CBA6f7;} + .d2-2916329547 .fill-B3{fill:#6C7086;} + .d2-2916329547 .fill-B4{fill:#585B70;} + .d2-2916329547 .fill-B5{fill:#45475A;} + .d2-2916329547 .fill-B6{fill:#313244;} + .d2-2916329547 .fill-AA2{fill:#f38BA8;} + .d2-2916329547 .fill-AA4{fill:#45475A;} + .d2-2916329547 .fill-AA5{fill:#313244;} + .d2-2916329547 .fill-AB4{fill:#45475A;} + .d2-2916329547 .fill-AB5{fill:#313244;} + .d2-2916329547 .stroke-N1{stroke:#CDD6F4;} + .d2-2916329547 .stroke-N2{stroke:#BAC2DE;} + .d2-2916329547 .stroke-N3{stroke:#A6ADC8;} + .d2-2916329547 .stroke-N4{stroke:#585B70;} + .d2-2916329547 .stroke-N5{stroke:#45475A;} + .d2-2916329547 .stroke-N6{stroke:#313244;} + .d2-2916329547 .stroke-N7{stroke:#1E1E2E;} + .d2-2916329547 .stroke-B1{stroke:#CBA6f7;} + .d2-2916329547 .stroke-B2{stroke:#CBA6f7;} + .d2-2916329547 .stroke-B3{stroke:#6C7086;} + .d2-2916329547 .stroke-B4{stroke:#585B70;} + .d2-2916329547 .stroke-B5{stroke:#45475A;} + .d2-2916329547 .stroke-B6{stroke:#313244;} + .d2-2916329547 .stroke-AA2{stroke:#f38BA8;} + .d2-2916329547 .stroke-AA4{stroke:#45475A;} + .d2-2916329547 .stroke-AA5{stroke:#313244;} + .d2-2916329547 .stroke-AB4{stroke:#45475A;} + .d2-2916329547 .stroke-AB5{stroke:#313244;} + .d2-2916329547 .background-color-N1{background-color:#CDD6F4;} + .d2-2916329547 .background-color-N2{background-color:#BAC2DE;} + .d2-2916329547 .background-color-N3{background-color:#A6ADC8;} + .d2-2916329547 .background-color-N4{background-color:#585B70;} + .d2-2916329547 .background-color-N5{background-color:#45475A;} + .d2-2916329547 .background-color-N6{background-color:#313244;} + .d2-2916329547 .background-color-N7{background-color:#1E1E2E;} + .d2-2916329547 .background-color-B1{background-color:#CBA6f7;} + .d2-2916329547 .background-color-B2{background-color:#CBA6f7;} + .d2-2916329547 .background-color-B3{background-color:#6C7086;} + .d2-2916329547 .background-color-B4{background-color:#585B70;} + .d2-2916329547 .background-color-B5{background-color:#45475A;} + .d2-2916329547 .background-color-B6{background-color:#313244;} + .d2-2916329547 .background-color-AA2{background-color:#f38BA8;} + .d2-2916329547 .background-color-AA4{background-color:#45475A;} + .d2-2916329547 .background-color-AA5{background-color:#313244;} + .d2-2916329547 .background-color-AB4{background-color:#45475A;} + .d2-2916329547 .background-color-AB5{background-color:#313244;} + .d2-2916329547 .color-N1{color:#CDD6F4;} + .d2-2916329547 .color-N2{color:#BAC2DE;} + .d2-2916329547 .color-N3{color:#A6ADC8;} + .d2-2916329547 .color-N4{color:#585B70;} + .d2-2916329547 .color-N5{color:#45475A;} + .d2-2916329547 .color-N6{color:#313244;} + .d2-2916329547 .color-N7{color:#1E1E2E;} + .d2-2916329547 .color-B1{color:#CBA6f7;} + .d2-2916329547 .color-B2{color:#CBA6f7;} + .d2-2916329547 .color-B3{color:#6C7086;} + .d2-2916329547 .color-B4{color:#585B70;} + .d2-2916329547 .color-B5{color:#45475A;} + .d2-2916329547 .color-B6{color:#313244;} + .d2-2916329547 .color-AA2{color:#f38BA8;} + .d2-2916329547 .color-AA4{color:#45475A;} + .d2-2916329547 .color-AA5{color:#313244;} + .d2-2916329547 .color-AB4{color:#45475A;} + .d2-2916329547 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -wintersummertreessnowsun - - - +wintersummertreessnowsun + + + - - + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/arrowheads/sketch.exp.svg b/d2renderers/d2sketch/testdata/arrowheads/sketch.exp.svg index 1c7c2251d..8e87caf35 100644 --- a/d2renderers/d2sketch/testdata/arrowheads/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/arrowheads/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-3148583989 .fill-N1{fill:#0A0F25;} + .d2-3148583989 .fill-N2{fill:#676C7E;} + .d2-3148583989 .fill-N3{fill:#9499AB;} + .d2-3148583989 .fill-N4{fill:#CFD2DD;} + .d2-3148583989 .fill-N5{fill:#DEE1EB;} + .d2-3148583989 .fill-N6{fill:#EEF1F8;} + .d2-3148583989 .fill-N7{fill:#FFFFFF;} + .d2-3148583989 .fill-B1{fill:#0D32B2;} + .d2-3148583989 .fill-B2{fill:#0D32B2;} + .d2-3148583989 .fill-B3{fill:#E3E9FD;} + .d2-3148583989 .fill-B4{fill:#E3E9FD;} + .d2-3148583989 .fill-B5{fill:#EDF0FD;} + .d2-3148583989 .fill-B6{fill:#F7F8FE;} + .d2-3148583989 .fill-AA2{fill:#4A6FF3;} + .d2-3148583989 .fill-AA4{fill:#EDF0FD;} + .d2-3148583989 .fill-AA5{fill:#F7F8FE;} + .d2-3148583989 .fill-AB4{fill:#EDF0FD;} + .d2-3148583989 .fill-AB5{fill:#F7F8FE;} + .d2-3148583989 .stroke-N1{stroke:#0A0F25;} + .d2-3148583989 .stroke-N2{stroke:#676C7E;} + .d2-3148583989 .stroke-N3{stroke:#9499AB;} + .d2-3148583989 .stroke-N4{stroke:#CFD2DD;} + .d2-3148583989 .stroke-N5{stroke:#DEE1EB;} + .d2-3148583989 .stroke-N6{stroke:#EEF1F8;} + .d2-3148583989 .stroke-N7{stroke:#FFFFFF;} + .d2-3148583989 .stroke-B1{stroke:#0D32B2;} + .d2-3148583989 .stroke-B2{stroke:#0D32B2;} + .d2-3148583989 .stroke-B3{stroke:#E3E9FD;} + .d2-3148583989 .stroke-B4{stroke:#E3E9FD;} + .d2-3148583989 .stroke-B5{stroke:#EDF0FD;} + .d2-3148583989 .stroke-B6{stroke:#F7F8FE;} + .d2-3148583989 .stroke-AA2{stroke:#4A6FF3;} + .d2-3148583989 .stroke-AA4{stroke:#EDF0FD;} + .d2-3148583989 .stroke-AA5{stroke:#F7F8FE;} + .d2-3148583989 .stroke-AB4{stroke:#EDF0FD;} + .d2-3148583989 .stroke-AB5{stroke:#F7F8FE;} + .d2-3148583989 .background-color-N1{background-color:#0A0F25;} + .d2-3148583989 .background-color-N2{background-color:#676C7E;} + .d2-3148583989 .background-color-N3{background-color:#9499AB;} + .d2-3148583989 .background-color-N4{background-color:#CFD2DD;} + .d2-3148583989 .background-color-N5{background-color:#DEE1EB;} + .d2-3148583989 .background-color-N6{background-color:#EEF1F8;} + .d2-3148583989 .background-color-N7{background-color:#FFFFFF;} + .d2-3148583989 .background-color-B1{background-color:#0D32B2;} + .d2-3148583989 .background-color-B2{background-color:#0D32B2;} + .d2-3148583989 .background-color-B3{background-color:#E3E9FD;} + .d2-3148583989 .background-color-B4{background-color:#E3E9FD;} + .d2-3148583989 .background-color-B5{background-color:#EDF0FD;} + .d2-3148583989 .background-color-B6{background-color:#F7F8FE;} + .d2-3148583989 .background-color-AA2{background-color:#4A6FF3;} + .d2-3148583989 .background-color-AA4{background-color:#EDF0FD;} + .d2-3148583989 .background-color-AA5{background-color:#F7F8FE;} + .d2-3148583989 .background-color-AB4{background-color:#EDF0FD;} + .d2-3148583989 .background-color-AB5{background-color:#F7F8FE;} + .d2-3148583989 .color-N1{color:#0A0F25;} + .d2-3148583989 .color-N2{color:#676C7E;} + .d2-3148583989 .color-N3{color:#9499AB;} + .d2-3148583989 .color-N4{color:#CFD2DD;} + .d2-3148583989 .color-N5{color:#DEE1EB;} + .d2-3148583989 .color-N6{color:#EEF1F8;} + .d2-3148583989 .color-N7{color:#FFFFFF;} + .d2-3148583989 .color-B1{color:#0D32B2;} + .d2-3148583989 .color-B2{color:#0D32B2;} + .d2-3148583989 .color-B3{color:#E3E9FD;} + .d2-3148583989 .color-B4{color:#E3E9FD;} + .d2-3148583989 .color-B5{color:#EDF0FD;} + .d2-3148583989 .color-B6{color:#F7F8FE;} + .d2-3148583989 .color-AA2{color:#4A6FF3;} + .d2-3148583989 .color-AA4{color:#EDF0FD;} + .d2-3148583989 .color-AA5{color:#F7F8FE;} + .d2-3148583989 .color-AB4{color:#EDF0FD;} + .d2-3148583989 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -104,8 +104,8 @@ -112233445566778899none arrow triangle diamond diamond filled cf-many cf-many-required cf-one cf-one-required - +112233445566778899none arrow triangle diamond diamond filled cf-many cf-many-required cf-one cf-one-required + diff --git a/d2renderers/d2sketch/testdata/arrowheads_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/arrowheads_dark/sketch.exp.svg index 8d824fc4d..ca5857826 100644 --- a/d2renderers/d2sketch/testdata/arrowheads_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/arrowheads_dark/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-3148583989 .fill-N1{fill:#CDD6F4;} + .d2-3148583989 .fill-N2{fill:#BAC2DE;} + .d2-3148583989 .fill-N3{fill:#A6ADC8;} + .d2-3148583989 .fill-N4{fill:#585B70;} + .d2-3148583989 .fill-N5{fill:#45475A;} + .d2-3148583989 .fill-N6{fill:#313244;} + .d2-3148583989 .fill-N7{fill:#1E1E2E;} + .d2-3148583989 .fill-B1{fill:#CBA6f7;} + .d2-3148583989 .fill-B2{fill:#CBA6f7;} + .d2-3148583989 .fill-B3{fill:#6C7086;} + .d2-3148583989 .fill-B4{fill:#585B70;} + .d2-3148583989 .fill-B5{fill:#45475A;} + .d2-3148583989 .fill-B6{fill:#313244;} + .d2-3148583989 .fill-AA2{fill:#f38BA8;} + .d2-3148583989 .fill-AA4{fill:#45475A;} + .d2-3148583989 .fill-AA5{fill:#313244;} + .d2-3148583989 .fill-AB4{fill:#45475A;} + .d2-3148583989 .fill-AB5{fill:#313244;} + .d2-3148583989 .stroke-N1{stroke:#CDD6F4;} + .d2-3148583989 .stroke-N2{stroke:#BAC2DE;} + .d2-3148583989 .stroke-N3{stroke:#A6ADC8;} + .d2-3148583989 .stroke-N4{stroke:#585B70;} + .d2-3148583989 .stroke-N5{stroke:#45475A;} + .d2-3148583989 .stroke-N6{stroke:#313244;} + .d2-3148583989 .stroke-N7{stroke:#1E1E2E;} + .d2-3148583989 .stroke-B1{stroke:#CBA6f7;} + .d2-3148583989 .stroke-B2{stroke:#CBA6f7;} + .d2-3148583989 .stroke-B3{stroke:#6C7086;} + .d2-3148583989 .stroke-B4{stroke:#585B70;} + .d2-3148583989 .stroke-B5{stroke:#45475A;} + .d2-3148583989 .stroke-B6{stroke:#313244;} + .d2-3148583989 .stroke-AA2{stroke:#f38BA8;} + .d2-3148583989 .stroke-AA4{stroke:#45475A;} + .d2-3148583989 .stroke-AA5{stroke:#313244;} + .d2-3148583989 .stroke-AB4{stroke:#45475A;} + .d2-3148583989 .stroke-AB5{stroke:#313244;} + .d2-3148583989 .background-color-N1{background-color:#CDD6F4;} + .d2-3148583989 .background-color-N2{background-color:#BAC2DE;} + .d2-3148583989 .background-color-N3{background-color:#A6ADC8;} + .d2-3148583989 .background-color-N4{background-color:#585B70;} + .d2-3148583989 .background-color-N5{background-color:#45475A;} + .d2-3148583989 .background-color-N6{background-color:#313244;} + .d2-3148583989 .background-color-N7{background-color:#1E1E2E;} + .d2-3148583989 .background-color-B1{background-color:#CBA6f7;} + .d2-3148583989 .background-color-B2{background-color:#CBA6f7;} + .d2-3148583989 .background-color-B3{background-color:#6C7086;} + .d2-3148583989 .background-color-B4{background-color:#585B70;} + .d2-3148583989 .background-color-B5{background-color:#45475A;} + .d2-3148583989 .background-color-B6{background-color:#313244;} + .d2-3148583989 .background-color-AA2{background-color:#f38BA8;} + .d2-3148583989 .background-color-AA4{background-color:#45475A;} + .d2-3148583989 .background-color-AA5{background-color:#313244;} + .d2-3148583989 .background-color-AB4{background-color:#45475A;} + .d2-3148583989 .background-color-AB5{background-color:#313244;} + .d2-3148583989 .color-N1{color:#CDD6F4;} + .d2-3148583989 .color-N2{color:#BAC2DE;} + .d2-3148583989 .color-N3{color:#A6ADC8;} + .d2-3148583989 .color-N4{color:#585B70;} + .d2-3148583989 .color-N5{color:#45475A;} + .d2-3148583989 .color-N6{color:#313244;} + .d2-3148583989 .color-N7{color:#1E1E2E;} + .d2-3148583989 .color-B1{color:#CBA6f7;} + .d2-3148583989 .color-B2{color:#CBA6f7;} + .d2-3148583989 .color-B3{color:#6C7086;} + .d2-3148583989 .color-B4{color:#585B70;} + .d2-3148583989 .color-B5{color:#45475A;} + .d2-3148583989 .color-B6{color:#313244;} + .d2-3148583989 .color-AA2{color:#f38BA8;} + .d2-3148583989 .color-AA4{color:#45475A;} + .d2-3148583989 .color-AA5{color:#313244;} + .d2-3148583989 .color-AB4{color:#45475A;} + .d2-3148583989 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -112233445566778899none arrow triangle diamond diamond filled cf-many cf-many-required cf-one cf-one-required - +112233445566778899none arrow triangle diamond diamond filled cf-many cf-many-required cf-one cf-one-required + diff --git a/d2renderers/d2sketch/testdata/basic/sketch.exp.svg b/d2renderers/d2sketch/testdata/basic/sketch.exp.svg index 5a24b900e..eea0d4c43 100644 --- a/d2renderers/d2sketch/testdata/basic/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/basic/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-327680947 .fill-N1{fill:#0A0F25;} + .d2-327680947 .fill-N2{fill:#676C7E;} + .d2-327680947 .fill-N3{fill:#9499AB;} + .d2-327680947 .fill-N4{fill:#CFD2DD;} + .d2-327680947 .fill-N5{fill:#DEE1EB;} + .d2-327680947 .fill-N6{fill:#EEF1F8;} + .d2-327680947 .fill-N7{fill:#FFFFFF;} + .d2-327680947 .fill-B1{fill:#0D32B2;} + .d2-327680947 .fill-B2{fill:#0D32B2;} + .d2-327680947 .fill-B3{fill:#E3E9FD;} + .d2-327680947 .fill-B4{fill:#E3E9FD;} + .d2-327680947 .fill-B5{fill:#EDF0FD;} + .d2-327680947 .fill-B6{fill:#F7F8FE;} + .d2-327680947 .fill-AA2{fill:#4A6FF3;} + .d2-327680947 .fill-AA4{fill:#EDF0FD;} + .d2-327680947 .fill-AA5{fill:#F7F8FE;} + .d2-327680947 .fill-AB4{fill:#EDF0FD;} + .d2-327680947 .fill-AB5{fill:#F7F8FE;} + .d2-327680947 .stroke-N1{stroke:#0A0F25;} + .d2-327680947 .stroke-N2{stroke:#676C7E;} + .d2-327680947 .stroke-N3{stroke:#9499AB;} + .d2-327680947 .stroke-N4{stroke:#CFD2DD;} + .d2-327680947 .stroke-N5{stroke:#DEE1EB;} + .d2-327680947 .stroke-N6{stroke:#EEF1F8;} + .d2-327680947 .stroke-N7{stroke:#FFFFFF;} + .d2-327680947 .stroke-B1{stroke:#0D32B2;} + .d2-327680947 .stroke-B2{stroke:#0D32B2;} + .d2-327680947 .stroke-B3{stroke:#E3E9FD;} + .d2-327680947 .stroke-B4{stroke:#E3E9FD;} + .d2-327680947 .stroke-B5{stroke:#EDF0FD;} + .d2-327680947 .stroke-B6{stroke:#F7F8FE;} + .d2-327680947 .stroke-AA2{stroke:#4A6FF3;} + .d2-327680947 .stroke-AA4{stroke:#EDF0FD;} + .d2-327680947 .stroke-AA5{stroke:#F7F8FE;} + .d2-327680947 .stroke-AB4{stroke:#EDF0FD;} + .d2-327680947 .stroke-AB5{stroke:#F7F8FE;} + .d2-327680947 .background-color-N1{background-color:#0A0F25;} + .d2-327680947 .background-color-N2{background-color:#676C7E;} + .d2-327680947 .background-color-N3{background-color:#9499AB;} + .d2-327680947 .background-color-N4{background-color:#CFD2DD;} + .d2-327680947 .background-color-N5{background-color:#DEE1EB;} + .d2-327680947 .background-color-N6{background-color:#EEF1F8;} + .d2-327680947 .background-color-N7{background-color:#FFFFFF;} + .d2-327680947 .background-color-B1{background-color:#0D32B2;} + .d2-327680947 .background-color-B2{background-color:#0D32B2;} + .d2-327680947 .background-color-B3{background-color:#E3E9FD;} + .d2-327680947 .background-color-B4{background-color:#E3E9FD;} + .d2-327680947 .background-color-B5{background-color:#EDF0FD;} + .d2-327680947 .background-color-B6{background-color:#F7F8FE;} + .d2-327680947 .background-color-AA2{background-color:#4A6FF3;} + .d2-327680947 .background-color-AA4{background-color:#EDF0FD;} + .d2-327680947 .background-color-AA5{background-color:#F7F8FE;} + .d2-327680947 .background-color-AB4{background-color:#EDF0FD;} + .d2-327680947 .background-color-AB5{background-color:#F7F8FE;} + .d2-327680947 .color-N1{color:#0A0F25;} + .d2-327680947 .color-N2{color:#676C7E;} + .d2-327680947 .color-N3{color:#9499AB;} + .d2-327680947 .color-N4{color:#CFD2DD;} + .d2-327680947 .color-N5{color:#DEE1EB;} + .d2-327680947 .color-N6{color:#EEF1F8;} + .d2-327680947 .color-N7{color:#FFFFFF;} + .d2-327680947 .color-B1{color:#0D32B2;} + .d2-327680947 .color-B2{color:#0D32B2;} + .d2-327680947 .color-B3{color:#E3E9FD;} + .d2-327680947 .color-B4{color:#E3E9FD;} + .d2-327680947 .color-B5{color:#EDF0FD;} + .d2-327680947 .color-B6{color:#F7F8FE;} + .d2-327680947 .color-AA2{color:#4A6FF3;} + .d2-327680947 .color-AA4{color:#EDF0FD;} + .d2-327680947 .color-AA5{color:#F7F8FE;} + .d2-327680947 .color-AB4{color:#EDF0FD;} + .d2-327680947 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -ab +ab diff --git a/d2renderers/d2sketch/testdata/basic_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/basic_dark/sketch.exp.svg index 5a548d903..b8f01f58c 100644 --- a/d2renderers/d2sketch/testdata/basic_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/basic_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-327680947 .fill-N1{fill:#CDD6F4;} + .d2-327680947 .fill-N2{fill:#BAC2DE;} + .d2-327680947 .fill-N3{fill:#A6ADC8;} + .d2-327680947 .fill-N4{fill:#585B70;} + .d2-327680947 .fill-N5{fill:#45475A;} + .d2-327680947 .fill-N6{fill:#313244;} + .d2-327680947 .fill-N7{fill:#1E1E2E;} + .d2-327680947 .fill-B1{fill:#CBA6f7;} + .d2-327680947 .fill-B2{fill:#CBA6f7;} + .d2-327680947 .fill-B3{fill:#6C7086;} + .d2-327680947 .fill-B4{fill:#585B70;} + .d2-327680947 .fill-B5{fill:#45475A;} + .d2-327680947 .fill-B6{fill:#313244;} + .d2-327680947 .fill-AA2{fill:#f38BA8;} + .d2-327680947 .fill-AA4{fill:#45475A;} + .d2-327680947 .fill-AA5{fill:#313244;} + .d2-327680947 .fill-AB4{fill:#45475A;} + .d2-327680947 .fill-AB5{fill:#313244;} + .d2-327680947 .stroke-N1{stroke:#CDD6F4;} + .d2-327680947 .stroke-N2{stroke:#BAC2DE;} + .d2-327680947 .stroke-N3{stroke:#A6ADC8;} + .d2-327680947 .stroke-N4{stroke:#585B70;} + .d2-327680947 .stroke-N5{stroke:#45475A;} + .d2-327680947 .stroke-N6{stroke:#313244;} + .d2-327680947 .stroke-N7{stroke:#1E1E2E;} + .d2-327680947 .stroke-B1{stroke:#CBA6f7;} + .d2-327680947 .stroke-B2{stroke:#CBA6f7;} + .d2-327680947 .stroke-B3{stroke:#6C7086;} + .d2-327680947 .stroke-B4{stroke:#585B70;} + .d2-327680947 .stroke-B5{stroke:#45475A;} + .d2-327680947 .stroke-B6{stroke:#313244;} + .d2-327680947 .stroke-AA2{stroke:#f38BA8;} + .d2-327680947 .stroke-AA4{stroke:#45475A;} + .d2-327680947 .stroke-AA5{stroke:#313244;} + .d2-327680947 .stroke-AB4{stroke:#45475A;} + .d2-327680947 .stroke-AB5{stroke:#313244;} + .d2-327680947 .background-color-N1{background-color:#CDD6F4;} + .d2-327680947 .background-color-N2{background-color:#BAC2DE;} + .d2-327680947 .background-color-N3{background-color:#A6ADC8;} + .d2-327680947 .background-color-N4{background-color:#585B70;} + .d2-327680947 .background-color-N5{background-color:#45475A;} + .d2-327680947 .background-color-N6{background-color:#313244;} + .d2-327680947 .background-color-N7{background-color:#1E1E2E;} + .d2-327680947 .background-color-B1{background-color:#CBA6f7;} + .d2-327680947 .background-color-B2{background-color:#CBA6f7;} + .d2-327680947 .background-color-B3{background-color:#6C7086;} + .d2-327680947 .background-color-B4{background-color:#585B70;} + .d2-327680947 .background-color-B5{background-color:#45475A;} + .d2-327680947 .background-color-B6{background-color:#313244;} + .d2-327680947 .background-color-AA2{background-color:#f38BA8;} + .d2-327680947 .background-color-AA4{background-color:#45475A;} + .d2-327680947 .background-color-AA5{background-color:#313244;} + .d2-327680947 .background-color-AB4{background-color:#45475A;} + .d2-327680947 .background-color-AB5{background-color:#313244;} + .d2-327680947 .color-N1{color:#CDD6F4;} + .d2-327680947 .color-N2{color:#BAC2DE;} + .d2-327680947 .color-N3{color:#A6ADC8;} + .d2-327680947 .color-N4{color:#585B70;} + .d2-327680947 .color-N5{color:#45475A;} + .d2-327680947 .color-N6{color:#313244;} + .d2-327680947 .color-N7{color:#1E1E2E;} + .d2-327680947 .color-B1{color:#CBA6f7;} + .d2-327680947 .color-B2{color:#CBA6f7;} + .d2-327680947 .color-B3{color:#6C7086;} + .d2-327680947 .color-B4{color:#585B70;} + .d2-327680947 .color-B5{color:#45475A;} + .d2-327680947 .color-B6{color:#313244;} + .d2-327680947 .color-AA2{color:#f38BA8;} + .d2-327680947 .color-AA4{color:#45475A;} + .d2-327680947 .color-AA5{color:#313244;} + .d2-327680947 .color-AB4{color:#45475A;} + .d2-327680947 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -ab +ab diff --git a/d2renderers/d2sketch/testdata/child_to_child/sketch.exp.svg b/d2renderers/d2sketch/testdata/child_to_child/sketch.exp.svg index eef04da66..9293583f3 100644 --- a/d2renderers/d2sketch/testdata/child_to_child/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/child_to_child/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-914436609 .fill-N1{fill:#0A0F25;} + .d2-914436609 .fill-N2{fill:#676C7E;} + .d2-914436609 .fill-N3{fill:#9499AB;} + .d2-914436609 .fill-N4{fill:#CFD2DD;} + .d2-914436609 .fill-N5{fill:#DEE1EB;} + .d2-914436609 .fill-N6{fill:#EEF1F8;} + .d2-914436609 .fill-N7{fill:#FFFFFF;} + .d2-914436609 .fill-B1{fill:#0D32B2;} + .d2-914436609 .fill-B2{fill:#0D32B2;} + .d2-914436609 .fill-B3{fill:#E3E9FD;} + .d2-914436609 .fill-B4{fill:#E3E9FD;} + .d2-914436609 .fill-B5{fill:#EDF0FD;} + .d2-914436609 .fill-B6{fill:#F7F8FE;} + .d2-914436609 .fill-AA2{fill:#4A6FF3;} + .d2-914436609 .fill-AA4{fill:#EDF0FD;} + .d2-914436609 .fill-AA5{fill:#F7F8FE;} + .d2-914436609 .fill-AB4{fill:#EDF0FD;} + .d2-914436609 .fill-AB5{fill:#F7F8FE;} + .d2-914436609 .stroke-N1{stroke:#0A0F25;} + .d2-914436609 .stroke-N2{stroke:#676C7E;} + .d2-914436609 .stroke-N3{stroke:#9499AB;} + .d2-914436609 .stroke-N4{stroke:#CFD2DD;} + .d2-914436609 .stroke-N5{stroke:#DEE1EB;} + .d2-914436609 .stroke-N6{stroke:#EEF1F8;} + .d2-914436609 .stroke-N7{stroke:#FFFFFF;} + .d2-914436609 .stroke-B1{stroke:#0D32B2;} + .d2-914436609 .stroke-B2{stroke:#0D32B2;} + .d2-914436609 .stroke-B3{stroke:#E3E9FD;} + .d2-914436609 .stroke-B4{stroke:#E3E9FD;} + .d2-914436609 .stroke-B5{stroke:#EDF0FD;} + .d2-914436609 .stroke-B6{stroke:#F7F8FE;} + .d2-914436609 .stroke-AA2{stroke:#4A6FF3;} + .d2-914436609 .stroke-AA4{stroke:#EDF0FD;} + .d2-914436609 .stroke-AA5{stroke:#F7F8FE;} + .d2-914436609 .stroke-AB4{stroke:#EDF0FD;} + .d2-914436609 .stroke-AB5{stroke:#F7F8FE;} + .d2-914436609 .background-color-N1{background-color:#0A0F25;} + .d2-914436609 .background-color-N2{background-color:#676C7E;} + .d2-914436609 .background-color-N3{background-color:#9499AB;} + .d2-914436609 .background-color-N4{background-color:#CFD2DD;} + .d2-914436609 .background-color-N5{background-color:#DEE1EB;} + .d2-914436609 .background-color-N6{background-color:#EEF1F8;} + .d2-914436609 .background-color-N7{background-color:#FFFFFF;} + .d2-914436609 .background-color-B1{background-color:#0D32B2;} + .d2-914436609 .background-color-B2{background-color:#0D32B2;} + .d2-914436609 .background-color-B3{background-color:#E3E9FD;} + .d2-914436609 .background-color-B4{background-color:#E3E9FD;} + .d2-914436609 .background-color-B5{background-color:#EDF0FD;} + .d2-914436609 .background-color-B6{background-color:#F7F8FE;} + .d2-914436609 .background-color-AA2{background-color:#4A6FF3;} + .d2-914436609 .background-color-AA4{background-color:#EDF0FD;} + .d2-914436609 .background-color-AA5{background-color:#F7F8FE;} + .d2-914436609 .background-color-AB4{background-color:#EDF0FD;} + .d2-914436609 .background-color-AB5{background-color:#F7F8FE;} + .d2-914436609 .color-N1{color:#0A0F25;} + .d2-914436609 .color-N2{color:#676C7E;} + .d2-914436609 .color-N3{color:#9499AB;} + .d2-914436609 .color-N4{color:#CFD2DD;} + .d2-914436609 .color-N5{color:#DEE1EB;} + .d2-914436609 .color-N6{color:#EEF1F8;} + .d2-914436609 .color-N7{color:#FFFFFF;} + .d2-914436609 .color-B1{color:#0D32B2;} + .d2-914436609 .color-B2{color:#0D32B2;} + .d2-914436609 .color-B3{color:#E3E9FD;} + .d2-914436609 .color-B4{color:#E3E9FD;} + .d2-914436609 .color-B5{color:#EDF0FD;} + .d2-914436609 .color-B6{color:#F7F8FE;} + .d2-914436609 .color-AA2{color:#4A6FF3;} + .d2-914436609 .color-AA4{color:#EDF0FD;} + .d2-914436609 .color-AA5{color:#F7F8FE;} + .d2-914436609 .color-AB4{color:#EDF0FD;} + .d2-914436609 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -104,10 +104,10 @@ -wintersummersnowsun - - - - - +wintersummersnowsun + + + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/child_to_child_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/child_to_child_dark/sketch.exp.svg index ea2f23deb..fbc98c0b7 100644 --- a/d2renderers/d2sketch/testdata/child_to_child_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/child_to_child_dark/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-914436609 .fill-N1{fill:#CDD6F4;} + .d2-914436609 .fill-N2{fill:#BAC2DE;} + .d2-914436609 .fill-N3{fill:#A6ADC8;} + .d2-914436609 .fill-N4{fill:#585B70;} + .d2-914436609 .fill-N5{fill:#45475A;} + .d2-914436609 .fill-N6{fill:#313244;} + .d2-914436609 .fill-N7{fill:#1E1E2E;} + .d2-914436609 .fill-B1{fill:#CBA6f7;} + .d2-914436609 .fill-B2{fill:#CBA6f7;} + .d2-914436609 .fill-B3{fill:#6C7086;} + .d2-914436609 .fill-B4{fill:#585B70;} + .d2-914436609 .fill-B5{fill:#45475A;} + .d2-914436609 .fill-B6{fill:#313244;} + .d2-914436609 .fill-AA2{fill:#f38BA8;} + .d2-914436609 .fill-AA4{fill:#45475A;} + .d2-914436609 .fill-AA5{fill:#313244;} + .d2-914436609 .fill-AB4{fill:#45475A;} + .d2-914436609 .fill-AB5{fill:#313244;} + .d2-914436609 .stroke-N1{stroke:#CDD6F4;} + .d2-914436609 .stroke-N2{stroke:#BAC2DE;} + .d2-914436609 .stroke-N3{stroke:#A6ADC8;} + .d2-914436609 .stroke-N4{stroke:#585B70;} + .d2-914436609 .stroke-N5{stroke:#45475A;} + .d2-914436609 .stroke-N6{stroke:#313244;} + .d2-914436609 .stroke-N7{stroke:#1E1E2E;} + .d2-914436609 .stroke-B1{stroke:#CBA6f7;} + .d2-914436609 .stroke-B2{stroke:#CBA6f7;} + .d2-914436609 .stroke-B3{stroke:#6C7086;} + .d2-914436609 .stroke-B4{stroke:#585B70;} + .d2-914436609 .stroke-B5{stroke:#45475A;} + .d2-914436609 .stroke-B6{stroke:#313244;} + .d2-914436609 .stroke-AA2{stroke:#f38BA8;} + .d2-914436609 .stroke-AA4{stroke:#45475A;} + .d2-914436609 .stroke-AA5{stroke:#313244;} + .d2-914436609 .stroke-AB4{stroke:#45475A;} + .d2-914436609 .stroke-AB5{stroke:#313244;} + .d2-914436609 .background-color-N1{background-color:#CDD6F4;} + .d2-914436609 .background-color-N2{background-color:#BAC2DE;} + .d2-914436609 .background-color-N3{background-color:#A6ADC8;} + .d2-914436609 .background-color-N4{background-color:#585B70;} + .d2-914436609 .background-color-N5{background-color:#45475A;} + .d2-914436609 .background-color-N6{background-color:#313244;} + .d2-914436609 .background-color-N7{background-color:#1E1E2E;} + .d2-914436609 .background-color-B1{background-color:#CBA6f7;} + .d2-914436609 .background-color-B2{background-color:#CBA6f7;} + .d2-914436609 .background-color-B3{background-color:#6C7086;} + .d2-914436609 .background-color-B4{background-color:#585B70;} + .d2-914436609 .background-color-B5{background-color:#45475A;} + .d2-914436609 .background-color-B6{background-color:#313244;} + .d2-914436609 .background-color-AA2{background-color:#f38BA8;} + .d2-914436609 .background-color-AA4{background-color:#45475A;} + .d2-914436609 .background-color-AA5{background-color:#313244;} + .d2-914436609 .background-color-AB4{background-color:#45475A;} + .d2-914436609 .background-color-AB5{background-color:#313244;} + .d2-914436609 .color-N1{color:#CDD6F4;} + .d2-914436609 .color-N2{color:#BAC2DE;} + .d2-914436609 .color-N3{color:#A6ADC8;} + .d2-914436609 .color-N4{color:#585B70;} + .d2-914436609 .color-N5{color:#45475A;} + .d2-914436609 .color-N6{color:#313244;} + .d2-914436609 .color-N7{color:#1E1E2E;} + .d2-914436609 .color-B1{color:#CBA6f7;} + .d2-914436609 .color-B2{color:#CBA6f7;} + .d2-914436609 .color-B3{color:#6C7086;} + .d2-914436609 .color-B4{color:#585B70;} + .d2-914436609 .color-B5{color:#45475A;} + .d2-914436609 .color-B6{color:#313244;} + .d2-914436609 .color-AA2{color:#f38BA8;} + .d2-914436609 .color-AA4{color:#45475A;} + .d2-914436609 .color-AA5{color:#313244;} + .d2-914436609 .color-AB4{color:#45475A;} + .d2-914436609 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -wintersummersnowsun - - - - - +wintersummersnowsun + + + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/class/sketch.exp.svg b/d2renderers/d2sketch/testdata/class/sketch.exp.svg index d36c03672..b7f902b68 100644 --- a/d2renderers/d2sketch/testdata/class/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/class/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2730605657 .fill-N1{fill:#0A0F25;} + .d2-2730605657 .fill-N2{fill:#676C7E;} + .d2-2730605657 .fill-N3{fill:#9499AB;} + .d2-2730605657 .fill-N4{fill:#CFD2DD;} + .d2-2730605657 .fill-N5{fill:#DEE1EB;} + .d2-2730605657 .fill-N6{fill:#EEF1F8;} + .d2-2730605657 .fill-N7{fill:#FFFFFF;} + .d2-2730605657 .fill-B1{fill:#0D32B2;} + .d2-2730605657 .fill-B2{fill:#0D32B2;} + .d2-2730605657 .fill-B3{fill:#E3E9FD;} + .d2-2730605657 .fill-B4{fill:#E3E9FD;} + .d2-2730605657 .fill-B5{fill:#EDF0FD;} + .d2-2730605657 .fill-B6{fill:#F7F8FE;} + .d2-2730605657 .fill-AA2{fill:#4A6FF3;} + .d2-2730605657 .fill-AA4{fill:#EDF0FD;} + .d2-2730605657 .fill-AA5{fill:#F7F8FE;} + .d2-2730605657 .fill-AB4{fill:#EDF0FD;} + .d2-2730605657 .fill-AB5{fill:#F7F8FE;} + .d2-2730605657 .stroke-N1{stroke:#0A0F25;} + .d2-2730605657 .stroke-N2{stroke:#676C7E;} + .d2-2730605657 .stroke-N3{stroke:#9499AB;} + .d2-2730605657 .stroke-N4{stroke:#CFD2DD;} + .d2-2730605657 .stroke-N5{stroke:#DEE1EB;} + .d2-2730605657 .stroke-N6{stroke:#EEF1F8;} + .d2-2730605657 .stroke-N7{stroke:#FFFFFF;} + .d2-2730605657 .stroke-B1{stroke:#0D32B2;} + .d2-2730605657 .stroke-B2{stroke:#0D32B2;} + .d2-2730605657 .stroke-B3{stroke:#E3E9FD;} + .d2-2730605657 .stroke-B4{stroke:#E3E9FD;} + .d2-2730605657 .stroke-B5{stroke:#EDF0FD;} + .d2-2730605657 .stroke-B6{stroke:#F7F8FE;} + .d2-2730605657 .stroke-AA2{stroke:#4A6FF3;} + .d2-2730605657 .stroke-AA4{stroke:#EDF0FD;} + .d2-2730605657 .stroke-AA5{stroke:#F7F8FE;} + .d2-2730605657 .stroke-AB4{stroke:#EDF0FD;} + .d2-2730605657 .stroke-AB5{stroke:#F7F8FE;} + .d2-2730605657 .background-color-N1{background-color:#0A0F25;} + .d2-2730605657 .background-color-N2{background-color:#676C7E;} + .d2-2730605657 .background-color-N3{background-color:#9499AB;} + .d2-2730605657 .background-color-N4{background-color:#CFD2DD;} + .d2-2730605657 .background-color-N5{background-color:#DEE1EB;} + .d2-2730605657 .background-color-N6{background-color:#EEF1F8;} + .d2-2730605657 .background-color-N7{background-color:#FFFFFF;} + .d2-2730605657 .background-color-B1{background-color:#0D32B2;} + .d2-2730605657 .background-color-B2{background-color:#0D32B2;} + .d2-2730605657 .background-color-B3{background-color:#E3E9FD;} + .d2-2730605657 .background-color-B4{background-color:#E3E9FD;} + .d2-2730605657 .background-color-B5{background-color:#EDF0FD;} + .d2-2730605657 .background-color-B6{background-color:#F7F8FE;} + .d2-2730605657 .background-color-AA2{background-color:#4A6FF3;} + .d2-2730605657 .background-color-AA4{background-color:#EDF0FD;} + .d2-2730605657 .background-color-AA5{background-color:#F7F8FE;} + .d2-2730605657 .background-color-AB4{background-color:#EDF0FD;} + .d2-2730605657 .background-color-AB5{background-color:#F7F8FE;} + .d2-2730605657 .color-N1{color:#0A0F25;} + .d2-2730605657 .color-N2{color:#676C7E;} + .d2-2730605657 .color-N3{color:#9499AB;} + .d2-2730605657 .color-N4{color:#CFD2DD;} + .d2-2730605657 .color-N5{color:#DEE1EB;} + .d2-2730605657 .color-N6{color:#EEF1F8;} + .d2-2730605657 .color-N7{color:#FFFFFF;} + .d2-2730605657 .color-B1{color:#0D32B2;} + .d2-2730605657 .color-B2{color:#0D32B2;} + .d2-2730605657 .color-B3{color:#E3E9FD;} + .d2-2730605657 .color-B4{color:#E3E9FD;} + .d2-2730605657 .color-B5{color:#EDF0FD;} + .d2-2730605657 .color-B6{color:#F7F8FE;} + .d2-2730605657 .color-AA2{color:#4A6FF3;} + .d2-2730605657 .color-AA4{color:#EDF0FD;} + .d2-2730605657 .color-AA5{color:#F7F8FE;} + .d2-2730605657 .color-AB4{color:#EDF0FD;} + .d2-2730605657 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void +BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg b/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg index cffaa084f..6e3c35caf 100644 --- a/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-206057491 .fill-N1{fill:#0A0F25;} + .d2-206057491 .fill-N2{fill:#676C7E;} + .d2-206057491 .fill-N3{fill:#9499AB;} + .d2-206057491 .fill-N4{fill:#CFD2DD;} + .d2-206057491 .fill-N5{fill:#DEE1EB;} + .d2-206057491 .fill-N6{fill:#EEF1F8;} + .d2-206057491 .fill-N7{fill:#FFFFFF;} + .d2-206057491 .fill-B1{fill:#0D32B2;} + .d2-206057491 .fill-B2{fill:#0D32B2;} + .d2-206057491 .fill-B3{fill:#E3E9FD;} + .d2-206057491 .fill-B4{fill:#E3E9FD;} + .d2-206057491 .fill-B5{fill:#EDF0FD;} + .d2-206057491 .fill-B6{fill:#F7F8FE;} + .d2-206057491 .fill-AA2{fill:#4A6FF3;} + .d2-206057491 .fill-AA4{fill:#EDF0FD;} + .d2-206057491 .fill-AA5{fill:#F7F8FE;} + .d2-206057491 .fill-AB4{fill:#EDF0FD;} + .d2-206057491 .fill-AB5{fill:#F7F8FE;} + .d2-206057491 .stroke-N1{stroke:#0A0F25;} + .d2-206057491 .stroke-N2{stroke:#676C7E;} + .d2-206057491 .stroke-N3{stroke:#9499AB;} + .d2-206057491 .stroke-N4{stroke:#CFD2DD;} + .d2-206057491 .stroke-N5{stroke:#DEE1EB;} + .d2-206057491 .stroke-N6{stroke:#EEF1F8;} + .d2-206057491 .stroke-N7{stroke:#FFFFFF;} + .d2-206057491 .stroke-B1{stroke:#0D32B2;} + .d2-206057491 .stroke-B2{stroke:#0D32B2;} + .d2-206057491 .stroke-B3{stroke:#E3E9FD;} + .d2-206057491 .stroke-B4{stroke:#E3E9FD;} + .d2-206057491 .stroke-B5{stroke:#EDF0FD;} + .d2-206057491 .stroke-B6{stroke:#F7F8FE;} + .d2-206057491 .stroke-AA2{stroke:#4A6FF3;} + .d2-206057491 .stroke-AA4{stroke:#EDF0FD;} + .d2-206057491 .stroke-AA5{stroke:#F7F8FE;} + .d2-206057491 .stroke-AB4{stroke:#EDF0FD;} + .d2-206057491 .stroke-AB5{stroke:#F7F8FE;} + .d2-206057491 .background-color-N1{background-color:#0A0F25;} + .d2-206057491 .background-color-N2{background-color:#676C7E;} + .d2-206057491 .background-color-N3{background-color:#9499AB;} + .d2-206057491 .background-color-N4{background-color:#CFD2DD;} + .d2-206057491 .background-color-N5{background-color:#DEE1EB;} + .d2-206057491 .background-color-N6{background-color:#EEF1F8;} + .d2-206057491 .background-color-N7{background-color:#FFFFFF;} + .d2-206057491 .background-color-B1{background-color:#0D32B2;} + .d2-206057491 .background-color-B2{background-color:#0D32B2;} + .d2-206057491 .background-color-B3{background-color:#E3E9FD;} + .d2-206057491 .background-color-B4{background-color:#E3E9FD;} + .d2-206057491 .background-color-B5{background-color:#EDF0FD;} + .d2-206057491 .background-color-B6{background-color:#F7F8FE;} + .d2-206057491 .background-color-AA2{background-color:#4A6FF3;} + .d2-206057491 .background-color-AA4{background-color:#EDF0FD;} + .d2-206057491 .background-color-AA5{background-color:#F7F8FE;} + .d2-206057491 .background-color-AB4{background-color:#EDF0FD;} + .d2-206057491 .background-color-AB5{background-color:#F7F8FE;} + .d2-206057491 .color-N1{color:#0A0F25;} + .d2-206057491 .color-N2{color:#676C7E;} + .d2-206057491 .color-N3{color:#9499AB;} + .d2-206057491 .color-N4{color:#CFD2DD;} + .d2-206057491 .color-N5{color:#DEE1EB;} + .d2-206057491 .color-N6{color:#EEF1F8;} + .d2-206057491 .color-N7{color:#FFFFFF;} + .d2-206057491 .color-B1{color:#0D32B2;} + .d2-206057491 .color-B2{color:#0D32B2;} + .d2-206057491 .color-B3{color:#E3E9FD;} + .d2-206057491 .color-B4{color:#E3E9FD;} + .d2-206057491 .color-B5{color:#EDF0FD;} + .d2-206057491 .color-B6{color:#F7F8FE;} + .d2-206057491 .color-AA2{color:#4A6FF3;} + .d2-206057491 .color-AA4{color:#EDF0FD;} + .d2-206057491 .color-AA5{color:#F7F8FE;} + .d2-206057491 .color-AB4{color:#EDF0FD;} + .d2-206057491 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -112,7 +112,7 @@ -aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zoneb+field[]string+method(a uint64)(x, y int)cd +aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zoneb+field[]string+method(a uint64)(x, y int)cd \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/class_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/class_dark/sketch.exp.svg index 8d0c11df1..3bca7f54c 100644 --- a/d2renderers/d2sketch/testdata/class_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/class_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2730605657 .fill-N1{fill:#CDD6F4;} + .d2-2730605657 .fill-N2{fill:#BAC2DE;} + .d2-2730605657 .fill-N3{fill:#A6ADC8;} + .d2-2730605657 .fill-N4{fill:#585B70;} + .d2-2730605657 .fill-N5{fill:#45475A;} + .d2-2730605657 .fill-N6{fill:#313244;} + .d2-2730605657 .fill-N7{fill:#1E1E2E;} + .d2-2730605657 .fill-B1{fill:#CBA6f7;} + .d2-2730605657 .fill-B2{fill:#CBA6f7;} + .d2-2730605657 .fill-B3{fill:#6C7086;} + .d2-2730605657 .fill-B4{fill:#585B70;} + .d2-2730605657 .fill-B5{fill:#45475A;} + .d2-2730605657 .fill-B6{fill:#313244;} + .d2-2730605657 .fill-AA2{fill:#f38BA8;} + .d2-2730605657 .fill-AA4{fill:#45475A;} + .d2-2730605657 .fill-AA5{fill:#313244;} + .d2-2730605657 .fill-AB4{fill:#45475A;} + .d2-2730605657 .fill-AB5{fill:#313244;} + .d2-2730605657 .stroke-N1{stroke:#CDD6F4;} + .d2-2730605657 .stroke-N2{stroke:#BAC2DE;} + .d2-2730605657 .stroke-N3{stroke:#A6ADC8;} + .d2-2730605657 .stroke-N4{stroke:#585B70;} + .d2-2730605657 .stroke-N5{stroke:#45475A;} + .d2-2730605657 .stroke-N6{stroke:#313244;} + .d2-2730605657 .stroke-N7{stroke:#1E1E2E;} + .d2-2730605657 .stroke-B1{stroke:#CBA6f7;} + .d2-2730605657 .stroke-B2{stroke:#CBA6f7;} + .d2-2730605657 .stroke-B3{stroke:#6C7086;} + .d2-2730605657 .stroke-B4{stroke:#585B70;} + .d2-2730605657 .stroke-B5{stroke:#45475A;} + .d2-2730605657 .stroke-B6{stroke:#313244;} + .d2-2730605657 .stroke-AA2{stroke:#f38BA8;} + .d2-2730605657 .stroke-AA4{stroke:#45475A;} + .d2-2730605657 .stroke-AA5{stroke:#313244;} + .d2-2730605657 .stroke-AB4{stroke:#45475A;} + .d2-2730605657 .stroke-AB5{stroke:#313244;} + .d2-2730605657 .background-color-N1{background-color:#CDD6F4;} + .d2-2730605657 .background-color-N2{background-color:#BAC2DE;} + .d2-2730605657 .background-color-N3{background-color:#A6ADC8;} + .d2-2730605657 .background-color-N4{background-color:#585B70;} + .d2-2730605657 .background-color-N5{background-color:#45475A;} + .d2-2730605657 .background-color-N6{background-color:#313244;} + .d2-2730605657 .background-color-N7{background-color:#1E1E2E;} + .d2-2730605657 .background-color-B1{background-color:#CBA6f7;} + .d2-2730605657 .background-color-B2{background-color:#CBA6f7;} + .d2-2730605657 .background-color-B3{background-color:#6C7086;} + .d2-2730605657 .background-color-B4{background-color:#585B70;} + .d2-2730605657 .background-color-B5{background-color:#45475A;} + .d2-2730605657 .background-color-B6{background-color:#313244;} + .d2-2730605657 .background-color-AA2{background-color:#f38BA8;} + .d2-2730605657 .background-color-AA4{background-color:#45475A;} + .d2-2730605657 .background-color-AA5{background-color:#313244;} + .d2-2730605657 .background-color-AB4{background-color:#45475A;} + .d2-2730605657 .background-color-AB5{background-color:#313244;} + .d2-2730605657 .color-N1{color:#CDD6F4;} + .d2-2730605657 .color-N2{color:#BAC2DE;} + .d2-2730605657 .color-N3{color:#A6ADC8;} + .d2-2730605657 .color-N4{color:#585B70;} + .d2-2730605657 .color-N5{color:#45475A;} + .d2-2730605657 .color-N6{color:#313244;} + .d2-2730605657 .color-N7{color:#1E1E2E;} + .d2-2730605657 .color-B1{color:#CBA6f7;} + .d2-2730605657 .color-B2{color:#CBA6f7;} + .d2-2730605657 .color-B3{color:#6C7086;} + .d2-2730605657 .color-B4{color:#585B70;} + .d2-2730605657 .color-B5{color:#45475A;} + .d2-2730605657 .color-B6{color:#313244;} + .d2-2730605657 .color-AA2{color:#f38BA8;} + .d2-2730605657 .color-AA4{color:#45475A;} + .d2-2730605657 .color-AA5{color:#313244;} + .d2-2730605657 .color-AB4{color:#45475A;} + .d2-2730605657 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void +BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/connection_label/sketch.exp.svg b/d2renderers/d2sketch/testdata/connection_label/sketch.exp.svg index e1e5daa83..21929fdb7 100644 --- a/d2renderers/d2sketch/testdata/connection_label/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/connection_label/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2029734873 .fill-N1{fill:#0A0F25;} + .d2-2029734873 .fill-N2{fill:#676C7E;} + .d2-2029734873 .fill-N3{fill:#9499AB;} + .d2-2029734873 .fill-N4{fill:#CFD2DD;} + .d2-2029734873 .fill-N5{fill:#DEE1EB;} + .d2-2029734873 .fill-N6{fill:#EEF1F8;} + .d2-2029734873 .fill-N7{fill:#FFFFFF;} + .d2-2029734873 .fill-B1{fill:#0D32B2;} + .d2-2029734873 .fill-B2{fill:#0D32B2;} + .d2-2029734873 .fill-B3{fill:#E3E9FD;} + .d2-2029734873 .fill-B4{fill:#E3E9FD;} + .d2-2029734873 .fill-B5{fill:#EDF0FD;} + .d2-2029734873 .fill-B6{fill:#F7F8FE;} + .d2-2029734873 .fill-AA2{fill:#4A6FF3;} + .d2-2029734873 .fill-AA4{fill:#EDF0FD;} + .d2-2029734873 .fill-AA5{fill:#F7F8FE;} + .d2-2029734873 .fill-AB4{fill:#EDF0FD;} + .d2-2029734873 .fill-AB5{fill:#F7F8FE;} + .d2-2029734873 .stroke-N1{stroke:#0A0F25;} + .d2-2029734873 .stroke-N2{stroke:#676C7E;} + .d2-2029734873 .stroke-N3{stroke:#9499AB;} + .d2-2029734873 .stroke-N4{stroke:#CFD2DD;} + .d2-2029734873 .stroke-N5{stroke:#DEE1EB;} + .d2-2029734873 .stroke-N6{stroke:#EEF1F8;} + .d2-2029734873 .stroke-N7{stroke:#FFFFFF;} + .d2-2029734873 .stroke-B1{stroke:#0D32B2;} + .d2-2029734873 .stroke-B2{stroke:#0D32B2;} + .d2-2029734873 .stroke-B3{stroke:#E3E9FD;} + .d2-2029734873 .stroke-B4{stroke:#E3E9FD;} + .d2-2029734873 .stroke-B5{stroke:#EDF0FD;} + .d2-2029734873 .stroke-B6{stroke:#F7F8FE;} + .d2-2029734873 .stroke-AA2{stroke:#4A6FF3;} + .d2-2029734873 .stroke-AA4{stroke:#EDF0FD;} + .d2-2029734873 .stroke-AA5{stroke:#F7F8FE;} + .d2-2029734873 .stroke-AB4{stroke:#EDF0FD;} + .d2-2029734873 .stroke-AB5{stroke:#F7F8FE;} + .d2-2029734873 .background-color-N1{background-color:#0A0F25;} + .d2-2029734873 .background-color-N2{background-color:#676C7E;} + .d2-2029734873 .background-color-N3{background-color:#9499AB;} + .d2-2029734873 .background-color-N4{background-color:#CFD2DD;} + .d2-2029734873 .background-color-N5{background-color:#DEE1EB;} + .d2-2029734873 .background-color-N6{background-color:#EEF1F8;} + .d2-2029734873 .background-color-N7{background-color:#FFFFFF;} + .d2-2029734873 .background-color-B1{background-color:#0D32B2;} + .d2-2029734873 .background-color-B2{background-color:#0D32B2;} + .d2-2029734873 .background-color-B3{background-color:#E3E9FD;} + .d2-2029734873 .background-color-B4{background-color:#E3E9FD;} + .d2-2029734873 .background-color-B5{background-color:#EDF0FD;} + .d2-2029734873 .background-color-B6{background-color:#F7F8FE;} + .d2-2029734873 .background-color-AA2{background-color:#4A6FF3;} + .d2-2029734873 .background-color-AA4{background-color:#EDF0FD;} + .d2-2029734873 .background-color-AA5{background-color:#F7F8FE;} + .d2-2029734873 .background-color-AB4{background-color:#EDF0FD;} + .d2-2029734873 .background-color-AB5{background-color:#F7F8FE;} + .d2-2029734873 .color-N1{color:#0A0F25;} + .d2-2029734873 .color-N2{color:#676C7E;} + .d2-2029734873 .color-N3{color:#9499AB;} + .d2-2029734873 .color-N4{color:#CFD2DD;} + .d2-2029734873 .color-N5{color:#DEE1EB;} + .d2-2029734873 .color-N6{color:#EEF1F8;} + .d2-2029734873 .color-N7{color:#FFFFFF;} + .d2-2029734873 .color-B1{color:#0D32B2;} + .d2-2029734873 .color-B2{color:#0D32B2;} + .d2-2029734873 .color-B3{color:#E3E9FD;} + .d2-2029734873 .color-B4{color:#E3E9FD;} + .d2-2029734873 .color-B5{color:#EDF0FD;} + .d2-2029734873 .color-B6{color:#F7F8FE;} + .d2-2029734873 .color-AA2{color:#4A6FF3;} + .d2-2029734873 .color-AA4{color:#EDF0FD;} + .d2-2029734873 .color-AA5{color:#F7F8FE;} + .d2-2029734873 .color-AB4{color:#EDF0FD;} + .d2-2029734873 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -104,7 +104,7 @@ -ab hello +ab hello diff --git a/d2renderers/d2sketch/testdata/connection_label_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/connection_label_dark/sketch.exp.svg index 737ff46ac..e9be8fd7f 100644 --- a/d2renderers/d2sketch/testdata/connection_label_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/connection_label_dark/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2029734873 .fill-N1{fill:#CDD6F4;} + .d2-2029734873 .fill-N2{fill:#BAC2DE;} + .d2-2029734873 .fill-N3{fill:#A6ADC8;} + .d2-2029734873 .fill-N4{fill:#585B70;} + .d2-2029734873 .fill-N5{fill:#45475A;} + .d2-2029734873 .fill-N6{fill:#313244;} + .d2-2029734873 .fill-N7{fill:#1E1E2E;} + .d2-2029734873 .fill-B1{fill:#CBA6f7;} + .d2-2029734873 .fill-B2{fill:#CBA6f7;} + .d2-2029734873 .fill-B3{fill:#6C7086;} + .d2-2029734873 .fill-B4{fill:#585B70;} + .d2-2029734873 .fill-B5{fill:#45475A;} + .d2-2029734873 .fill-B6{fill:#313244;} + .d2-2029734873 .fill-AA2{fill:#f38BA8;} + .d2-2029734873 .fill-AA4{fill:#45475A;} + .d2-2029734873 .fill-AA5{fill:#313244;} + .d2-2029734873 .fill-AB4{fill:#45475A;} + .d2-2029734873 .fill-AB5{fill:#313244;} + .d2-2029734873 .stroke-N1{stroke:#CDD6F4;} + .d2-2029734873 .stroke-N2{stroke:#BAC2DE;} + .d2-2029734873 .stroke-N3{stroke:#A6ADC8;} + .d2-2029734873 .stroke-N4{stroke:#585B70;} + .d2-2029734873 .stroke-N5{stroke:#45475A;} + .d2-2029734873 .stroke-N6{stroke:#313244;} + .d2-2029734873 .stroke-N7{stroke:#1E1E2E;} + .d2-2029734873 .stroke-B1{stroke:#CBA6f7;} + .d2-2029734873 .stroke-B2{stroke:#CBA6f7;} + .d2-2029734873 .stroke-B3{stroke:#6C7086;} + .d2-2029734873 .stroke-B4{stroke:#585B70;} + .d2-2029734873 .stroke-B5{stroke:#45475A;} + .d2-2029734873 .stroke-B6{stroke:#313244;} + .d2-2029734873 .stroke-AA2{stroke:#f38BA8;} + .d2-2029734873 .stroke-AA4{stroke:#45475A;} + .d2-2029734873 .stroke-AA5{stroke:#313244;} + .d2-2029734873 .stroke-AB4{stroke:#45475A;} + .d2-2029734873 .stroke-AB5{stroke:#313244;} + .d2-2029734873 .background-color-N1{background-color:#CDD6F4;} + .d2-2029734873 .background-color-N2{background-color:#BAC2DE;} + .d2-2029734873 .background-color-N3{background-color:#A6ADC8;} + .d2-2029734873 .background-color-N4{background-color:#585B70;} + .d2-2029734873 .background-color-N5{background-color:#45475A;} + .d2-2029734873 .background-color-N6{background-color:#313244;} + .d2-2029734873 .background-color-N7{background-color:#1E1E2E;} + .d2-2029734873 .background-color-B1{background-color:#CBA6f7;} + .d2-2029734873 .background-color-B2{background-color:#CBA6f7;} + .d2-2029734873 .background-color-B3{background-color:#6C7086;} + .d2-2029734873 .background-color-B4{background-color:#585B70;} + .d2-2029734873 .background-color-B5{background-color:#45475A;} + .d2-2029734873 .background-color-B6{background-color:#313244;} + .d2-2029734873 .background-color-AA2{background-color:#f38BA8;} + .d2-2029734873 .background-color-AA4{background-color:#45475A;} + .d2-2029734873 .background-color-AA5{background-color:#313244;} + .d2-2029734873 .background-color-AB4{background-color:#45475A;} + .d2-2029734873 .background-color-AB5{background-color:#313244;} + .d2-2029734873 .color-N1{color:#CDD6F4;} + .d2-2029734873 .color-N2{color:#BAC2DE;} + .d2-2029734873 .color-N3{color:#A6ADC8;} + .d2-2029734873 .color-N4{color:#585B70;} + .d2-2029734873 .color-N5{color:#45475A;} + .d2-2029734873 .color-N6{color:#313244;} + .d2-2029734873 .color-N7{color:#1E1E2E;} + .d2-2029734873 .color-B1{color:#CBA6f7;} + .d2-2029734873 .color-B2{color:#CBA6f7;} + .d2-2029734873 .color-B3{color:#6C7086;} + .d2-2029734873 .color-B4{color:#585B70;} + .d2-2029734873 .color-B5{color:#45475A;} + .d2-2029734873 .color-B6{color:#313244;} + .d2-2029734873 .color-AA2{color:#f38BA8;} + .d2-2029734873 .color-AA4{color:#45475A;} + .d2-2029734873 .color-AA5{color:#313244;} + .d2-2029734873 .color-AB4{color:#45475A;} + .d2-2029734873 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -ab hello +ab hello diff --git a/d2renderers/d2sketch/testdata/crows_feet/sketch.exp.svg b/d2renderers/d2sketch/testdata/crows_feet/sketch.exp.svg index 005cf2834..852149fd2 100644 --- a/d2renderers/d2sketch/testdata/crows_feet/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/crows_feet/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-341527886 .fill-N1{fill:#0A0F25;} + .d2-341527886 .fill-N2{fill:#676C7E;} + .d2-341527886 .fill-N3{fill:#9499AB;} + .d2-341527886 .fill-N4{fill:#CFD2DD;} + .d2-341527886 .fill-N5{fill:#DEE1EB;} + .d2-341527886 .fill-N6{fill:#EEF1F8;} + .d2-341527886 .fill-N7{fill:#FFFFFF;} + .d2-341527886 .fill-B1{fill:#0D32B2;} + .d2-341527886 .fill-B2{fill:#0D32B2;} + .d2-341527886 .fill-B3{fill:#E3E9FD;} + .d2-341527886 .fill-B4{fill:#E3E9FD;} + .d2-341527886 .fill-B5{fill:#EDF0FD;} + .d2-341527886 .fill-B6{fill:#F7F8FE;} + .d2-341527886 .fill-AA2{fill:#4A6FF3;} + .d2-341527886 .fill-AA4{fill:#EDF0FD;} + .d2-341527886 .fill-AA5{fill:#F7F8FE;} + .d2-341527886 .fill-AB4{fill:#EDF0FD;} + .d2-341527886 .fill-AB5{fill:#F7F8FE;} + .d2-341527886 .stroke-N1{stroke:#0A0F25;} + .d2-341527886 .stroke-N2{stroke:#676C7E;} + .d2-341527886 .stroke-N3{stroke:#9499AB;} + .d2-341527886 .stroke-N4{stroke:#CFD2DD;} + .d2-341527886 .stroke-N5{stroke:#DEE1EB;} + .d2-341527886 .stroke-N6{stroke:#EEF1F8;} + .d2-341527886 .stroke-N7{stroke:#FFFFFF;} + .d2-341527886 .stroke-B1{stroke:#0D32B2;} + .d2-341527886 .stroke-B2{stroke:#0D32B2;} + .d2-341527886 .stroke-B3{stroke:#E3E9FD;} + .d2-341527886 .stroke-B4{stroke:#E3E9FD;} + .d2-341527886 .stroke-B5{stroke:#EDF0FD;} + .d2-341527886 .stroke-B6{stroke:#F7F8FE;} + .d2-341527886 .stroke-AA2{stroke:#4A6FF3;} + .d2-341527886 .stroke-AA4{stroke:#EDF0FD;} + .d2-341527886 .stroke-AA5{stroke:#F7F8FE;} + .d2-341527886 .stroke-AB4{stroke:#EDF0FD;} + .d2-341527886 .stroke-AB5{stroke:#F7F8FE;} + .d2-341527886 .background-color-N1{background-color:#0A0F25;} + .d2-341527886 .background-color-N2{background-color:#676C7E;} + .d2-341527886 .background-color-N3{background-color:#9499AB;} + .d2-341527886 .background-color-N4{background-color:#CFD2DD;} + .d2-341527886 .background-color-N5{background-color:#DEE1EB;} + .d2-341527886 .background-color-N6{background-color:#EEF1F8;} + .d2-341527886 .background-color-N7{background-color:#FFFFFF;} + .d2-341527886 .background-color-B1{background-color:#0D32B2;} + .d2-341527886 .background-color-B2{background-color:#0D32B2;} + .d2-341527886 .background-color-B3{background-color:#E3E9FD;} + .d2-341527886 .background-color-B4{background-color:#E3E9FD;} + .d2-341527886 .background-color-B5{background-color:#EDF0FD;} + .d2-341527886 .background-color-B6{background-color:#F7F8FE;} + .d2-341527886 .background-color-AA2{background-color:#4A6FF3;} + .d2-341527886 .background-color-AA4{background-color:#EDF0FD;} + .d2-341527886 .background-color-AA5{background-color:#F7F8FE;} + .d2-341527886 .background-color-AB4{background-color:#EDF0FD;} + .d2-341527886 .background-color-AB5{background-color:#F7F8FE;} + .d2-341527886 .color-N1{color:#0A0F25;} + .d2-341527886 .color-N2{color:#676C7E;} + .d2-341527886 .color-N3{color:#9499AB;} + .d2-341527886 .color-N4{color:#CFD2DD;} + .d2-341527886 .color-N5{color:#DEE1EB;} + .d2-341527886 .color-N6{color:#EEF1F8;} + .d2-341527886 .color-N7{color:#FFFFFF;} + .d2-341527886 .color-B1{color:#0D32B2;} + .d2-341527886 .color-B2{color:#0D32B2;} + .d2-341527886 .color-B3{color:#E3E9FD;} + .d2-341527886 .color-B4{color:#E3E9FD;} + .d2-341527886 .color-B5{color:#EDF0FD;} + .d2-341527886 .color-B6{color:#F7F8FE;} + .d2-341527886 .color-AA2{color:#4A6FF3;} + .d2-341527886 .color-AA4{color:#EDF0FD;} + .d2-341527886 .color-AA5{color:#F7F8FE;} + .d2-341527886 .color-AB4{color:#EDF0FD;} + .d2-341527886 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf +a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf diff --git a/d2renderers/d2sketch/testdata/crows_feet_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/crows_feet_dark/sketch.exp.svg index 86b4c28cb..f285cbe30 100644 --- a/d2renderers/d2sketch/testdata/crows_feet_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/crows_feet_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-341527886 .fill-N1{fill:#CDD6F4;} + .d2-341527886 .fill-N2{fill:#BAC2DE;} + .d2-341527886 .fill-N3{fill:#A6ADC8;} + .d2-341527886 .fill-N4{fill:#585B70;} + .d2-341527886 .fill-N5{fill:#45475A;} + .d2-341527886 .fill-N6{fill:#313244;} + .d2-341527886 .fill-N7{fill:#1E1E2E;} + .d2-341527886 .fill-B1{fill:#CBA6f7;} + .d2-341527886 .fill-B2{fill:#CBA6f7;} + .d2-341527886 .fill-B3{fill:#6C7086;} + .d2-341527886 .fill-B4{fill:#585B70;} + .d2-341527886 .fill-B5{fill:#45475A;} + .d2-341527886 .fill-B6{fill:#313244;} + .d2-341527886 .fill-AA2{fill:#f38BA8;} + .d2-341527886 .fill-AA4{fill:#45475A;} + .d2-341527886 .fill-AA5{fill:#313244;} + .d2-341527886 .fill-AB4{fill:#45475A;} + .d2-341527886 .fill-AB5{fill:#313244;} + .d2-341527886 .stroke-N1{stroke:#CDD6F4;} + .d2-341527886 .stroke-N2{stroke:#BAC2DE;} + .d2-341527886 .stroke-N3{stroke:#A6ADC8;} + .d2-341527886 .stroke-N4{stroke:#585B70;} + .d2-341527886 .stroke-N5{stroke:#45475A;} + .d2-341527886 .stroke-N6{stroke:#313244;} + .d2-341527886 .stroke-N7{stroke:#1E1E2E;} + .d2-341527886 .stroke-B1{stroke:#CBA6f7;} + .d2-341527886 .stroke-B2{stroke:#CBA6f7;} + .d2-341527886 .stroke-B3{stroke:#6C7086;} + .d2-341527886 .stroke-B4{stroke:#585B70;} + .d2-341527886 .stroke-B5{stroke:#45475A;} + .d2-341527886 .stroke-B6{stroke:#313244;} + .d2-341527886 .stroke-AA2{stroke:#f38BA8;} + .d2-341527886 .stroke-AA4{stroke:#45475A;} + .d2-341527886 .stroke-AA5{stroke:#313244;} + .d2-341527886 .stroke-AB4{stroke:#45475A;} + .d2-341527886 .stroke-AB5{stroke:#313244;} + .d2-341527886 .background-color-N1{background-color:#CDD6F4;} + .d2-341527886 .background-color-N2{background-color:#BAC2DE;} + .d2-341527886 .background-color-N3{background-color:#A6ADC8;} + .d2-341527886 .background-color-N4{background-color:#585B70;} + .d2-341527886 .background-color-N5{background-color:#45475A;} + .d2-341527886 .background-color-N6{background-color:#313244;} + .d2-341527886 .background-color-N7{background-color:#1E1E2E;} + .d2-341527886 .background-color-B1{background-color:#CBA6f7;} + .d2-341527886 .background-color-B2{background-color:#CBA6f7;} + .d2-341527886 .background-color-B3{background-color:#6C7086;} + .d2-341527886 .background-color-B4{background-color:#585B70;} + .d2-341527886 .background-color-B5{background-color:#45475A;} + .d2-341527886 .background-color-B6{background-color:#313244;} + .d2-341527886 .background-color-AA2{background-color:#f38BA8;} + .d2-341527886 .background-color-AA4{background-color:#45475A;} + .d2-341527886 .background-color-AA5{background-color:#313244;} + .d2-341527886 .background-color-AB4{background-color:#45475A;} + .d2-341527886 .background-color-AB5{background-color:#313244;} + .d2-341527886 .color-N1{color:#CDD6F4;} + .d2-341527886 .color-N2{color:#BAC2DE;} + .d2-341527886 .color-N3{color:#A6ADC8;} + .d2-341527886 .color-N4{color:#585B70;} + .d2-341527886 .color-N5{color:#45475A;} + .d2-341527886 .color-N6{color:#313244;} + .d2-341527886 .color-N7{color:#1E1E2E;} + .d2-341527886 .color-B1{color:#CBA6f7;} + .d2-341527886 .color-B2{color:#CBA6f7;} + .d2-341527886 .color-B3{color:#6C7086;} + .d2-341527886 .color-B4{color:#585B70;} + .d2-341527886 .color-B5{color:#45475A;} + .d2-341527886 .color-B6{color:#313244;} + .d2-341527886 .color-AA2{color:#f38BA8;} + .d2-341527886 .color-AA4{color:#45475A;} + .d2-341527886 .color-AA5{color:#313244;} + .d2-341527886 .color-AB4{color:#45475A;} + .d2-341527886 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf +a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf diff --git a/d2renderers/d2sketch/testdata/dots-3d/sketch.exp.svg b/d2renderers/d2sketch/testdata/dots-3d/sketch.exp.svg index 189facffc..389cded02 100644 --- a/d2renderers/d2sketch/testdata/dots-3d/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/dots-3d/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-1379818723 .fill-N1{fill:#0A0F25;} + .d2-1379818723 .fill-N2{fill:#676C7E;} + .d2-1379818723 .fill-N3{fill:#9499AB;} + .d2-1379818723 .fill-N4{fill:#CFD2DD;} + .d2-1379818723 .fill-N5{fill:#DEE1EB;} + .d2-1379818723 .fill-N6{fill:#EEF1F8;} + .d2-1379818723 .fill-N7{fill:#FFFFFF;} + .d2-1379818723 .fill-B1{fill:#0D32B2;} + .d2-1379818723 .fill-B2{fill:#0D32B2;} + .d2-1379818723 .fill-B3{fill:#E3E9FD;} + .d2-1379818723 .fill-B4{fill:#E3E9FD;} + .d2-1379818723 .fill-B5{fill:#EDF0FD;} + .d2-1379818723 .fill-B6{fill:#F7F8FE;} + .d2-1379818723 .fill-AA2{fill:#4A6FF3;} + .d2-1379818723 .fill-AA4{fill:#EDF0FD;} + .d2-1379818723 .fill-AA5{fill:#F7F8FE;} + .d2-1379818723 .fill-AB4{fill:#EDF0FD;} + .d2-1379818723 .fill-AB5{fill:#F7F8FE;} + .d2-1379818723 .stroke-N1{stroke:#0A0F25;} + .d2-1379818723 .stroke-N2{stroke:#676C7E;} + .d2-1379818723 .stroke-N3{stroke:#9499AB;} + .d2-1379818723 .stroke-N4{stroke:#CFD2DD;} + .d2-1379818723 .stroke-N5{stroke:#DEE1EB;} + .d2-1379818723 .stroke-N6{stroke:#EEF1F8;} + .d2-1379818723 .stroke-N7{stroke:#FFFFFF;} + .d2-1379818723 .stroke-B1{stroke:#0D32B2;} + .d2-1379818723 .stroke-B2{stroke:#0D32B2;} + .d2-1379818723 .stroke-B3{stroke:#E3E9FD;} + .d2-1379818723 .stroke-B4{stroke:#E3E9FD;} + .d2-1379818723 .stroke-B5{stroke:#EDF0FD;} + .d2-1379818723 .stroke-B6{stroke:#F7F8FE;} + .d2-1379818723 .stroke-AA2{stroke:#4A6FF3;} + .d2-1379818723 .stroke-AA4{stroke:#EDF0FD;} + .d2-1379818723 .stroke-AA5{stroke:#F7F8FE;} + .d2-1379818723 .stroke-AB4{stroke:#EDF0FD;} + .d2-1379818723 .stroke-AB5{stroke:#F7F8FE;} + .d2-1379818723 .background-color-N1{background-color:#0A0F25;} + .d2-1379818723 .background-color-N2{background-color:#676C7E;} + .d2-1379818723 .background-color-N3{background-color:#9499AB;} + .d2-1379818723 .background-color-N4{background-color:#CFD2DD;} + .d2-1379818723 .background-color-N5{background-color:#DEE1EB;} + .d2-1379818723 .background-color-N6{background-color:#EEF1F8;} + .d2-1379818723 .background-color-N7{background-color:#FFFFFF;} + .d2-1379818723 .background-color-B1{background-color:#0D32B2;} + .d2-1379818723 .background-color-B2{background-color:#0D32B2;} + .d2-1379818723 .background-color-B3{background-color:#E3E9FD;} + .d2-1379818723 .background-color-B4{background-color:#E3E9FD;} + .d2-1379818723 .background-color-B5{background-color:#EDF0FD;} + .d2-1379818723 .background-color-B6{background-color:#F7F8FE;} + .d2-1379818723 .background-color-AA2{background-color:#4A6FF3;} + .d2-1379818723 .background-color-AA4{background-color:#EDF0FD;} + .d2-1379818723 .background-color-AA5{background-color:#F7F8FE;} + .d2-1379818723 .background-color-AB4{background-color:#EDF0FD;} + .d2-1379818723 .background-color-AB5{background-color:#F7F8FE;} + .d2-1379818723 .color-N1{color:#0A0F25;} + .d2-1379818723 .color-N2{color:#676C7E;} + .d2-1379818723 .color-N3{color:#9499AB;} + .d2-1379818723 .color-N4{color:#CFD2DD;} + .d2-1379818723 .color-N5{color:#DEE1EB;} + .d2-1379818723 .color-N6{color:#EEF1F8;} + .d2-1379818723 .color-N7{color:#FFFFFF;} + .d2-1379818723 .color-B1{color:#0D32B2;} + .d2-1379818723 .color-B2{color:#0D32B2;} + .d2-1379818723 .color-B3{color:#E3E9FD;} + .d2-1379818723 .color-B4{color:#E3E9FD;} + .d2-1379818723 .color-B5{color:#EDF0FD;} + .d2-1379818723 .color-B6{color:#F7F8FE;} + .d2-1379818723 .color-AA2{color:#4A6FF3;} + .d2-1379818723 .color-AA4{color:#EDF0FD;} + .d2-1379818723 .color-AA5{color:#F7F8FE;} + .d2-1379818723 .color-AB4{color:#EDF0FD;} + .d2-1379818723 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -130,12 +130,12 @@ - - -x - -y - - - + + +x + +y + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/dots-all/sketch.exp.svg b/d2renderers/d2sketch/testdata/dots-all/sketch.exp.svg index 03479bcfa..584294329 100644 --- a/d2renderers/d2sketch/testdata/dots-all/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/dots-all/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-1207082110 .fill-N1{fill:#0A0F25;} + .d2-1207082110 .fill-N2{fill:#676C7E;} + .d2-1207082110 .fill-N3{fill:#9499AB;} + .d2-1207082110 .fill-N4{fill:#CFD2DD;} + .d2-1207082110 .fill-N5{fill:#DEE1EB;} + .d2-1207082110 .fill-N6{fill:#EEF1F8;} + .d2-1207082110 .fill-N7{fill:#FFFFFF;} + .d2-1207082110 .fill-B1{fill:#0D32B2;} + .d2-1207082110 .fill-B2{fill:#0D32B2;} + .d2-1207082110 .fill-B3{fill:#E3E9FD;} + .d2-1207082110 .fill-B4{fill:#E3E9FD;} + .d2-1207082110 .fill-B5{fill:#EDF0FD;} + .d2-1207082110 .fill-B6{fill:#F7F8FE;} + .d2-1207082110 .fill-AA2{fill:#4A6FF3;} + .d2-1207082110 .fill-AA4{fill:#EDF0FD;} + .d2-1207082110 .fill-AA5{fill:#F7F8FE;} + .d2-1207082110 .fill-AB4{fill:#EDF0FD;} + .d2-1207082110 .fill-AB5{fill:#F7F8FE;} + .d2-1207082110 .stroke-N1{stroke:#0A0F25;} + .d2-1207082110 .stroke-N2{stroke:#676C7E;} + .d2-1207082110 .stroke-N3{stroke:#9499AB;} + .d2-1207082110 .stroke-N4{stroke:#CFD2DD;} + .d2-1207082110 .stroke-N5{stroke:#DEE1EB;} + .d2-1207082110 .stroke-N6{stroke:#EEF1F8;} + .d2-1207082110 .stroke-N7{stroke:#FFFFFF;} + .d2-1207082110 .stroke-B1{stroke:#0D32B2;} + .d2-1207082110 .stroke-B2{stroke:#0D32B2;} + .d2-1207082110 .stroke-B3{stroke:#E3E9FD;} + .d2-1207082110 .stroke-B4{stroke:#E3E9FD;} + .d2-1207082110 .stroke-B5{stroke:#EDF0FD;} + .d2-1207082110 .stroke-B6{stroke:#F7F8FE;} + .d2-1207082110 .stroke-AA2{stroke:#4A6FF3;} + .d2-1207082110 .stroke-AA4{stroke:#EDF0FD;} + .d2-1207082110 .stroke-AA5{stroke:#F7F8FE;} + .d2-1207082110 .stroke-AB4{stroke:#EDF0FD;} + .d2-1207082110 .stroke-AB5{stroke:#F7F8FE;} + .d2-1207082110 .background-color-N1{background-color:#0A0F25;} + .d2-1207082110 .background-color-N2{background-color:#676C7E;} + .d2-1207082110 .background-color-N3{background-color:#9499AB;} + .d2-1207082110 .background-color-N4{background-color:#CFD2DD;} + .d2-1207082110 .background-color-N5{background-color:#DEE1EB;} + .d2-1207082110 .background-color-N6{background-color:#EEF1F8;} + .d2-1207082110 .background-color-N7{background-color:#FFFFFF;} + .d2-1207082110 .background-color-B1{background-color:#0D32B2;} + .d2-1207082110 .background-color-B2{background-color:#0D32B2;} + .d2-1207082110 .background-color-B3{background-color:#E3E9FD;} + .d2-1207082110 .background-color-B4{background-color:#E3E9FD;} + .d2-1207082110 .background-color-B5{background-color:#EDF0FD;} + .d2-1207082110 .background-color-B6{background-color:#F7F8FE;} + .d2-1207082110 .background-color-AA2{background-color:#4A6FF3;} + .d2-1207082110 .background-color-AA4{background-color:#EDF0FD;} + .d2-1207082110 .background-color-AA5{background-color:#F7F8FE;} + .d2-1207082110 .background-color-AB4{background-color:#EDF0FD;} + .d2-1207082110 .background-color-AB5{background-color:#F7F8FE;} + .d2-1207082110 .color-N1{color:#0A0F25;} + .d2-1207082110 .color-N2{color:#676C7E;} + .d2-1207082110 .color-N3{color:#9499AB;} + .d2-1207082110 .color-N4{color:#CFD2DD;} + .d2-1207082110 .color-N5{color:#DEE1EB;} + .d2-1207082110 .color-N6{color:#EEF1F8;} + .d2-1207082110 .color-N7{color:#FFFFFF;} + .d2-1207082110 .color-B1{color:#0D32B2;} + .d2-1207082110 .color-B2{color:#0D32B2;} + .d2-1207082110 .color-B3{color:#E3E9FD;} + .d2-1207082110 .color-B4{color:#E3E9FD;} + .d2-1207082110 .color-B5{color:#EDF0FD;} + .d2-1207082110 .color-B6{color:#F7F8FE;} + .d2-1207082110 .color-AA2{color:#4A6FF3;} + .d2-1207082110 .color-AA4{color:#EDF0FD;} + .d2-1207082110 .color-AA5{color:#F7F8FE;} + .d2-1207082110 .color-AB4{color:#EDF0FD;} + .d2-1207082110 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -130,7 +130,7 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud +rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -143,7 +143,7 @@ - + diff --git a/d2renderers/d2sketch/testdata/dots-multiple/sketch.exp.svg b/d2renderers/d2sketch/testdata/dots-multiple/sketch.exp.svg index c76e36921..af8dc158a 100644 --- a/d2renderers/d2sketch/testdata/dots-multiple/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/dots-multiple/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-1360573900 .fill-N1{fill:#0A0F25;} + .d2-1360573900 .fill-N2{fill:#676C7E;} + .d2-1360573900 .fill-N3{fill:#9499AB;} + .d2-1360573900 .fill-N4{fill:#CFD2DD;} + .d2-1360573900 .fill-N5{fill:#DEE1EB;} + .d2-1360573900 .fill-N6{fill:#EEF1F8;} + .d2-1360573900 .fill-N7{fill:#FFFFFF;} + .d2-1360573900 .fill-B1{fill:#0D32B2;} + .d2-1360573900 .fill-B2{fill:#0D32B2;} + .d2-1360573900 .fill-B3{fill:#E3E9FD;} + .d2-1360573900 .fill-B4{fill:#E3E9FD;} + .d2-1360573900 .fill-B5{fill:#EDF0FD;} + .d2-1360573900 .fill-B6{fill:#F7F8FE;} + .d2-1360573900 .fill-AA2{fill:#4A6FF3;} + .d2-1360573900 .fill-AA4{fill:#EDF0FD;} + .d2-1360573900 .fill-AA5{fill:#F7F8FE;} + .d2-1360573900 .fill-AB4{fill:#EDF0FD;} + .d2-1360573900 .fill-AB5{fill:#F7F8FE;} + .d2-1360573900 .stroke-N1{stroke:#0A0F25;} + .d2-1360573900 .stroke-N2{stroke:#676C7E;} + .d2-1360573900 .stroke-N3{stroke:#9499AB;} + .d2-1360573900 .stroke-N4{stroke:#CFD2DD;} + .d2-1360573900 .stroke-N5{stroke:#DEE1EB;} + .d2-1360573900 .stroke-N6{stroke:#EEF1F8;} + .d2-1360573900 .stroke-N7{stroke:#FFFFFF;} + .d2-1360573900 .stroke-B1{stroke:#0D32B2;} + .d2-1360573900 .stroke-B2{stroke:#0D32B2;} + .d2-1360573900 .stroke-B3{stroke:#E3E9FD;} + .d2-1360573900 .stroke-B4{stroke:#E3E9FD;} + .d2-1360573900 .stroke-B5{stroke:#EDF0FD;} + .d2-1360573900 .stroke-B6{stroke:#F7F8FE;} + .d2-1360573900 .stroke-AA2{stroke:#4A6FF3;} + .d2-1360573900 .stroke-AA4{stroke:#EDF0FD;} + .d2-1360573900 .stroke-AA5{stroke:#F7F8FE;} + .d2-1360573900 .stroke-AB4{stroke:#EDF0FD;} + .d2-1360573900 .stroke-AB5{stroke:#F7F8FE;} + .d2-1360573900 .background-color-N1{background-color:#0A0F25;} + .d2-1360573900 .background-color-N2{background-color:#676C7E;} + .d2-1360573900 .background-color-N3{background-color:#9499AB;} + .d2-1360573900 .background-color-N4{background-color:#CFD2DD;} + .d2-1360573900 .background-color-N5{background-color:#DEE1EB;} + .d2-1360573900 .background-color-N6{background-color:#EEF1F8;} + .d2-1360573900 .background-color-N7{background-color:#FFFFFF;} + .d2-1360573900 .background-color-B1{background-color:#0D32B2;} + .d2-1360573900 .background-color-B2{background-color:#0D32B2;} + .d2-1360573900 .background-color-B3{background-color:#E3E9FD;} + .d2-1360573900 .background-color-B4{background-color:#E3E9FD;} + .d2-1360573900 .background-color-B5{background-color:#EDF0FD;} + .d2-1360573900 .background-color-B6{background-color:#F7F8FE;} + .d2-1360573900 .background-color-AA2{background-color:#4A6FF3;} + .d2-1360573900 .background-color-AA4{background-color:#EDF0FD;} + .d2-1360573900 .background-color-AA5{background-color:#F7F8FE;} + .d2-1360573900 .background-color-AB4{background-color:#EDF0FD;} + .d2-1360573900 .background-color-AB5{background-color:#F7F8FE;} + .d2-1360573900 .color-N1{color:#0A0F25;} + .d2-1360573900 .color-N2{color:#676C7E;} + .d2-1360573900 .color-N3{color:#9499AB;} + .d2-1360573900 .color-N4{color:#CFD2DD;} + .d2-1360573900 .color-N5{color:#DEE1EB;} + .d2-1360573900 .color-N6{color:#EEF1F8;} + .d2-1360573900 .color-N7{color:#FFFFFF;} + .d2-1360573900 .color-B1{color:#0D32B2;} + .d2-1360573900 .color-B2{color:#0D32B2;} + .d2-1360573900 .color-B3{color:#E3E9FD;} + .d2-1360573900 .color-B4{color:#E3E9FD;} + .d2-1360573900 .color-B5{color:#EDF0FD;} + .d2-1360573900 .color-B6{color:#F7F8FE;} + .d2-1360573900 .color-AA2{color:#4A6FF3;} + .d2-1360573900 .color-AA4{color:#EDF0FD;} + .d2-1360573900 .color-AA5{color:#F7F8FE;} + .d2-1360573900 .color-AB4{color:#EDF0FD;} + .d2-1360573900 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -130,23 +130,23 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud - - - - - - - - - - - - - - - - - - +rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/dots-real/sketch.exp.svg b/d2renderers/d2sketch/testdata/dots-real/sketch.exp.svg index 1f4426801..069943695 100644 --- a/d2renderers/d2sketch/testdata/dots-real/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/dots-real/sketch.exp.svg @@ -1,16 +1,23 @@ - + .d2-611371411 .fill-N1{fill:#0A0F25;} + .d2-611371411 .fill-N2{fill:#676C7E;} + .d2-611371411 .fill-N3{fill:#9499AB;} + .d2-611371411 .fill-N4{fill:#CFD2DD;} + .d2-611371411 .fill-N5{fill:#DEE1EB;} + .d2-611371411 .fill-N6{fill:#EEF1F8;} + .d2-611371411 .fill-N7{fill:#FFFFFF;} + .d2-611371411 .fill-B1{fill:#0D32B2;} + .d2-611371411 .fill-B2{fill:#0D32B2;} + .d2-611371411 .fill-B3{fill:#E3E9FD;} + .d2-611371411 .fill-B4{fill:#E3E9FD;} + .d2-611371411 .fill-B5{fill:#EDF0FD;} + .d2-611371411 .fill-B6{fill:#F7F8FE;} + .d2-611371411 .fill-AA2{fill:#4A6FF3;} + .d2-611371411 .fill-AA4{fill:#EDF0FD;} + .d2-611371411 .fill-AA5{fill:#F7F8FE;} + .d2-611371411 .fill-AB4{fill:#EDF0FD;} + .d2-611371411 .fill-AB5{fill:#F7F8FE;} + .d2-611371411 .stroke-N1{stroke:#0A0F25;} + .d2-611371411 .stroke-N2{stroke:#676C7E;} + .d2-611371411 .stroke-N3{stroke:#9499AB;} + .d2-611371411 .stroke-N4{stroke:#CFD2DD;} + .d2-611371411 .stroke-N5{stroke:#DEE1EB;} + .d2-611371411 .stroke-N6{stroke:#EEF1F8;} + .d2-611371411 .stroke-N7{stroke:#FFFFFF;} + .d2-611371411 .stroke-B1{stroke:#0D32B2;} + .d2-611371411 .stroke-B2{stroke:#0D32B2;} + .d2-611371411 .stroke-B3{stroke:#E3E9FD;} + .d2-611371411 .stroke-B4{stroke:#E3E9FD;} + .d2-611371411 .stroke-B5{stroke:#EDF0FD;} + .d2-611371411 .stroke-B6{stroke:#F7F8FE;} + .d2-611371411 .stroke-AA2{stroke:#4A6FF3;} + .d2-611371411 .stroke-AA4{stroke:#EDF0FD;} + .d2-611371411 .stroke-AA5{stroke:#F7F8FE;} + .d2-611371411 .stroke-AB4{stroke:#EDF0FD;} + .d2-611371411 .stroke-AB5{stroke:#F7F8FE;} + .d2-611371411 .background-color-N1{background-color:#0A0F25;} + .d2-611371411 .background-color-N2{background-color:#676C7E;} + .d2-611371411 .background-color-N3{background-color:#9499AB;} + .d2-611371411 .background-color-N4{background-color:#CFD2DD;} + .d2-611371411 .background-color-N5{background-color:#DEE1EB;} + .d2-611371411 .background-color-N6{background-color:#EEF1F8;} + .d2-611371411 .background-color-N7{background-color:#FFFFFF;} + .d2-611371411 .background-color-B1{background-color:#0D32B2;} + .d2-611371411 .background-color-B2{background-color:#0D32B2;} + .d2-611371411 .background-color-B3{background-color:#E3E9FD;} + .d2-611371411 .background-color-B4{background-color:#E3E9FD;} + .d2-611371411 .background-color-B5{background-color:#EDF0FD;} + .d2-611371411 .background-color-B6{background-color:#F7F8FE;} + .d2-611371411 .background-color-AA2{background-color:#4A6FF3;} + .d2-611371411 .background-color-AA4{background-color:#EDF0FD;} + .d2-611371411 .background-color-AA5{background-color:#F7F8FE;} + .d2-611371411 .background-color-AB4{background-color:#EDF0FD;} + .d2-611371411 .background-color-AB5{background-color:#F7F8FE;} + .d2-611371411 .color-N1{color:#0A0F25;} + .d2-611371411 .color-N2{color:#676C7E;} + .d2-611371411 .color-N3{color:#9499AB;} + .d2-611371411 .color-N4{color:#CFD2DD;} + .d2-611371411 .color-N5{color:#DEE1EB;} + .d2-611371411 .color-N6{color:#EEF1F8;} + .d2-611371411 .color-N7{color:#FFFFFF;} + .d2-611371411 .color-B1{color:#0D32B2;} + .d2-611371411 .color-B2{color:#0D32B2;} + .d2-611371411 .color-B3{color:#E3E9FD;} + .d2-611371411 .color-B4{color:#E3E9FD;} + .d2-611371411 .color-B5{color:#EDF0FD;} + .d2-611371411 .color-B6{color:#F7F8FE;} + .d2-611371411 .color-AA2{color:#4A6FF3;} + .d2-611371411 .color-AA4{color:#EDF0FD;} + .d2-611371411 .color-AA5{color:#F7F8FE;} + .d2-611371411 .color-AB4{color:#EDF0FD;} + .d2-611371411 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -159,13 +166,13 @@ -NETWORKD2 Parser+readerio.RuneReader+readerPosd2ast.Position-lookahead[]rune#peekn(n int)(s string, eof bool)+peek()(r rune, eof bool)+rewind()void+commit()voidCELL TOWERSATELLITESTRANSMITTER SEND SEND SEND - - - - - - - - +NETWORKD2 Parser+readerio.RuneReader+readerPosd2ast.Position-lookahead[]rune#peekn(n int)(s string, eof bool)+peek()(r rune, eof bool)+rewind()void+commit()voidCELL TOWERSATELLITESTRANSMITTER SEND SEND SEND + + + + + + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/double-border/sketch.exp.svg b/d2renderers/d2sketch/testdata/double-border/sketch.exp.svg index 6603d4227..3c715831f 100644 --- a/d2renderers/d2sketch/testdata/double-border/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/double-border/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2864094478 .fill-N1{fill:#0A0F25;} + .d2-2864094478 .fill-N2{fill:#676C7E;} + .d2-2864094478 .fill-N3{fill:#9499AB;} + .d2-2864094478 .fill-N4{fill:#CFD2DD;} + .d2-2864094478 .fill-N5{fill:#DEE1EB;} + .d2-2864094478 .fill-N6{fill:#EEF1F8;} + .d2-2864094478 .fill-N7{fill:#FFFFFF;} + .d2-2864094478 .fill-B1{fill:#0D32B2;} + .d2-2864094478 .fill-B2{fill:#0D32B2;} + .d2-2864094478 .fill-B3{fill:#E3E9FD;} + .d2-2864094478 .fill-B4{fill:#E3E9FD;} + .d2-2864094478 .fill-B5{fill:#EDF0FD;} + .d2-2864094478 .fill-B6{fill:#F7F8FE;} + .d2-2864094478 .fill-AA2{fill:#4A6FF3;} + .d2-2864094478 .fill-AA4{fill:#EDF0FD;} + .d2-2864094478 .fill-AA5{fill:#F7F8FE;} + .d2-2864094478 .fill-AB4{fill:#EDF0FD;} + .d2-2864094478 .fill-AB5{fill:#F7F8FE;} + .d2-2864094478 .stroke-N1{stroke:#0A0F25;} + .d2-2864094478 .stroke-N2{stroke:#676C7E;} + .d2-2864094478 .stroke-N3{stroke:#9499AB;} + .d2-2864094478 .stroke-N4{stroke:#CFD2DD;} + .d2-2864094478 .stroke-N5{stroke:#DEE1EB;} + .d2-2864094478 .stroke-N6{stroke:#EEF1F8;} + .d2-2864094478 .stroke-N7{stroke:#FFFFFF;} + .d2-2864094478 .stroke-B1{stroke:#0D32B2;} + .d2-2864094478 .stroke-B2{stroke:#0D32B2;} + .d2-2864094478 .stroke-B3{stroke:#E3E9FD;} + .d2-2864094478 .stroke-B4{stroke:#E3E9FD;} + .d2-2864094478 .stroke-B5{stroke:#EDF0FD;} + .d2-2864094478 .stroke-B6{stroke:#F7F8FE;} + .d2-2864094478 .stroke-AA2{stroke:#4A6FF3;} + .d2-2864094478 .stroke-AA4{stroke:#EDF0FD;} + .d2-2864094478 .stroke-AA5{stroke:#F7F8FE;} + .d2-2864094478 .stroke-AB4{stroke:#EDF0FD;} + .d2-2864094478 .stroke-AB5{stroke:#F7F8FE;} + .d2-2864094478 .background-color-N1{background-color:#0A0F25;} + .d2-2864094478 .background-color-N2{background-color:#676C7E;} + .d2-2864094478 .background-color-N3{background-color:#9499AB;} + .d2-2864094478 .background-color-N4{background-color:#CFD2DD;} + .d2-2864094478 .background-color-N5{background-color:#DEE1EB;} + .d2-2864094478 .background-color-N6{background-color:#EEF1F8;} + .d2-2864094478 .background-color-N7{background-color:#FFFFFF;} + .d2-2864094478 .background-color-B1{background-color:#0D32B2;} + .d2-2864094478 .background-color-B2{background-color:#0D32B2;} + .d2-2864094478 .background-color-B3{background-color:#E3E9FD;} + .d2-2864094478 .background-color-B4{background-color:#E3E9FD;} + .d2-2864094478 .background-color-B5{background-color:#EDF0FD;} + .d2-2864094478 .background-color-B6{background-color:#F7F8FE;} + .d2-2864094478 .background-color-AA2{background-color:#4A6FF3;} + .d2-2864094478 .background-color-AA4{background-color:#EDF0FD;} + .d2-2864094478 .background-color-AA5{background-color:#F7F8FE;} + .d2-2864094478 .background-color-AB4{background-color:#EDF0FD;} + .d2-2864094478 .background-color-AB5{background-color:#F7F8FE;} + .d2-2864094478 .color-N1{color:#0A0F25;} + .d2-2864094478 .color-N2{color:#676C7E;} + .d2-2864094478 .color-N3{color:#9499AB;} + .d2-2864094478 .color-N4{color:#CFD2DD;} + .d2-2864094478 .color-N5{color:#DEE1EB;} + .d2-2864094478 .color-N6{color:#EEF1F8;} + .d2-2864094478 .color-N7{color:#FFFFFF;} + .d2-2864094478 .color-B1{color:#0D32B2;} + .d2-2864094478 .color-B2{color:#0D32B2;} + .d2-2864094478 .color-B3{color:#E3E9FD;} + .d2-2864094478 .color-B4{color:#E3E9FD;} + .d2-2864094478 .color-B5{color:#EDF0FD;} + .d2-2864094478 .color-B6{color:#F7F8FE;} + .d2-2864094478 .color-AA2{color:#4A6FF3;} + .d2-2864094478 .color-AA4{color:#EDF0FD;} + .d2-2864094478 .color-AA5{color:#F7F8FE;} + .d2-2864094478 .color-AB4{color:#EDF0FD;} + .d2-2864094478 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -104,13 +104,13 @@ -acnormalsomethingbdnested normal - - - - +acnormalsomethingbdnested normal + + + + - - - + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/elk_corners/sketch.exp.svg b/d2renderers/d2sketch/testdata/elk_corners/sketch.exp.svg index 04f3bad8d..e4c092b98 100644 --- a/d2renderers/d2sketch/testdata/elk_corners/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/elk_corners/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2874225056 .fill-N1{fill:#0A0F25;} + .d2-2874225056 .fill-N2{fill:#676C7E;} + .d2-2874225056 .fill-N3{fill:#9499AB;} + .d2-2874225056 .fill-N4{fill:#CFD2DD;} + .d2-2874225056 .fill-N5{fill:#DEE1EB;} + .d2-2874225056 .fill-N6{fill:#EEF1F8;} + .d2-2874225056 .fill-N7{fill:#FFFFFF;} + .d2-2874225056 .fill-B1{fill:#0D32B2;} + .d2-2874225056 .fill-B2{fill:#0D32B2;} + .d2-2874225056 .fill-B3{fill:#E3E9FD;} + .d2-2874225056 .fill-B4{fill:#E3E9FD;} + .d2-2874225056 .fill-B5{fill:#EDF0FD;} + .d2-2874225056 .fill-B6{fill:#F7F8FE;} + .d2-2874225056 .fill-AA2{fill:#4A6FF3;} + .d2-2874225056 .fill-AA4{fill:#EDF0FD;} + .d2-2874225056 .fill-AA5{fill:#F7F8FE;} + .d2-2874225056 .fill-AB4{fill:#EDF0FD;} + .d2-2874225056 .fill-AB5{fill:#F7F8FE;} + .d2-2874225056 .stroke-N1{stroke:#0A0F25;} + .d2-2874225056 .stroke-N2{stroke:#676C7E;} + .d2-2874225056 .stroke-N3{stroke:#9499AB;} + .d2-2874225056 .stroke-N4{stroke:#CFD2DD;} + .d2-2874225056 .stroke-N5{stroke:#DEE1EB;} + .d2-2874225056 .stroke-N6{stroke:#EEF1F8;} + .d2-2874225056 .stroke-N7{stroke:#FFFFFF;} + .d2-2874225056 .stroke-B1{stroke:#0D32B2;} + .d2-2874225056 .stroke-B2{stroke:#0D32B2;} + .d2-2874225056 .stroke-B3{stroke:#E3E9FD;} + .d2-2874225056 .stroke-B4{stroke:#E3E9FD;} + .d2-2874225056 .stroke-B5{stroke:#EDF0FD;} + .d2-2874225056 .stroke-B6{stroke:#F7F8FE;} + .d2-2874225056 .stroke-AA2{stroke:#4A6FF3;} + .d2-2874225056 .stroke-AA4{stroke:#EDF0FD;} + .d2-2874225056 .stroke-AA5{stroke:#F7F8FE;} + .d2-2874225056 .stroke-AB4{stroke:#EDF0FD;} + .d2-2874225056 .stroke-AB5{stroke:#F7F8FE;} + .d2-2874225056 .background-color-N1{background-color:#0A0F25;} + .d2-2874225056 .background-color-N2{background-color:#676C7E;} + .d2-2874225056 .background-color-N3{background-color:#9499AB;} + .d2-2874225056 .background-color-N4{background-color:#CFD2DD;} + .d2-2874225056 .background-color-N5{background-color:#DEE1EB;} + .d2-2874225056 .background-color-N6{background-color:#EEF1F8;} + .d2-2874225056 .background-color-N7{background-color:#FFFFFF;} + .d2-2874225056 .background-color-B1{background-color:#0D32B2;} + .d2-2874225056 .background-color-B2{background-color:#0D32B2;} + .d2-2874225056 .background-color-B3{background-color:#E3E9FD;} + .d2-2874225056 .background-color-B4{background-color:#E3E9FD;} + .d2-2874225056 .background-color-B5{background-color:#EDF0FD;} + .d2-2874225056 .background-color-B6{background-color:#F7F8FE;} + .d2-2874225056 .background-color-AA2{background-color:#4A6FF3;} + .d2-2874225056 .background-color-AA4{background-color:#EDF0FD;} + .d2-2874225056 .background-color-AA5{background-color:#F7F8FE;} + .d2-2874225056 .background-color-AB4{background-color:#EDF0FD;} + .d2-2874225056 .background-color-AB5{background-color:#F7F8FE;} + .d2-2874225056 .color-N1{color:#0A0F25;} + .d2-2874225056 .color-N2{color:#676C7E;} + .d2-2874225056 .color-N3{color:#9499AB;} + .d2-2874225056 .color-N4{color:#CFD2DD;} + .d2-2874225056 .color-N5{color:#DEE1EB;} + .d2-2874225056 .color-N6{color:#EEF1F8;} + .d2-2874225056 .color-N7{color:#FFFFFF;} + .d2-2874225056 .color-B1{color:#0D32B2;} + .d2-2874225056 .color-B2{color:#0D32B2;} + .d2-2874225056 .color-B3{color:#E3E9FD;} + .d2-2874225056 .color-B4{color:#E3E9FD;} + .d2-2874225056 .color-B5{color:#EDF0FD;} + .d2-2874225056 .color-B6{color:#F7F8FE;} + .d2-2874225056 .color-AA2{color:#4A6FF3;} + .d2-2874225056 .color-AA4{color:#EDF0FD;} + .d2-2874225056 .color-AA5{color:#F7F8FE;} + .d2-2874225056 .color-AB4{color:#EDF0FD;} + .d2-2874225056 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -abc +abc diff --git a/d2renderers/d2sketch/testdata/long_arrowhead_label/sketch.exp.svg b/d2renderers/d2sketch/testdata/long_arrowhead_label/sketch.exp.svg index 5c0413380..f6c3aafba 100644 --- a/d2renderers/d2sketch/testdata/long_arrowhead_label/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/long_arrowhead_label/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2558489054 .fill-N1{fill:#0A0F25;} + .d2-2558489054 .fill-N2{fill:#676C7E;} + .d2-2558489054 .fill-N3{fill:#9499AB;} + .d2-2558489054 .fill-N4{fill:#CFD2DD;} + .d2-2558489054 .fill-N5{fill:#DEE1EB;} + .d2-2558489054 .fill-N6{fill:#EEF1F8;} + .d2-2558489054 .fill-N7{fill:#FFFFFF;} + .d2-2558489054 .fill-B1{fill:#0D32B2;} + .d2-2558489054 .fill-B2{fill:#0D32B2;} + .d2-2558489054 .fill-B3{fill:#E3E9FD;} + .d2-2558489054 .fill-B4{fill:#E3E9FD;} + .d2-2558489054 .fill-B5{fill:#EDF0FD;} + .d2-2558489054 .fill-B6{fill:#F7F8FE;} + .d2-2558489054 .fill-AA2{fill:#4A6FF3;} + .d2-2558489054 .fill-AA4{fill:#EDF0FD;} + .d2-2558489054 .fill-AA5{fill:#F7F8FE;} + .d2-2558489054 .fill-AB4{fill:#EDF0FD;} + .d2-2558489054 .fill-AB5{fill:#F7F8FE;} + .d2-2558489054 .stroke-N1{stroke:#0A0F25;} + .d2-2558489054 .stroke-N2{stroke:#676C7E;} + .d2-2558489054 .stroke-N3{stroke:#9499AB;} + .d2-2558489054 .stroke-N4{stroke:#CFD2DD;} + .d2-2558489054 .stroke-N5{stroke:#DEE1EB;} + .d2-2558489054 .stroke-N6{stroke:#EEF1F8;} + .d2-2558489054 .stroke-N7{stroke:#FFFFFF;} + .d2-2558489054 .stroke-B1{stroke:#0D32B2;} + .d2-2558489054 .stroke-B2{stroke:#0D32B2;} + .d2-2558489054 .stroke-B3{stroke:#E3E9FD;} + .d2-2558489054 .stroke-B4{stroke:#E3E9FD;} + .d2-2558489054 .stroke-B5{stroke:#EDF0FD;} + .d2-2558489054 .stroke-B6{stroke:#F7F8FE;} + .d2-2558489054 .stroke-AA2{stroke:#4A6FF3;} + .d2-2558489054 .stroke-AA4{stroke:#EDF0FD;} + .d2-2558489054 .stroke-AA5{stroke:#F7F8FE;} + .d2-2558489054 .stroke-AB4{stroke:#EDF0FD;} + .d2-2558489054 .stroke-AB5{stroke:#F7F8FE;} + .d2-2558489054 .background-color-N1{background-color:#0A0F25;} + .d2-2558489054 .background-color-N2{background-color:#676C7E;} + .d2-2558489054 .background-color-N3{background-color:#9499AB;} + .d2-2558489054 .background-color-N4{background-color:#CFD2DD;} + .d2-2558489054 .background-color-N5{background-color:#DEE1EB;} + .d2-2558489054 .background-color-N6{background-color:#EEF1F8;} + .d2-2558489054 .background-color-N7{background-color:#FFFFFF;} + .d2-2558489054 .background-color-B1{background-color:#0D32B2;} + .d2-2558489054 .background-color-B2{background-color:#0D32B2;} + .d2-2558489054 .background-color-B3{background-color:#E3E9FD;} + .d2-2558489054 .background-color-B4{background-color:#E3E9FD;} + .d2-2558489054 .background-color-B5{background-color:#EDF0FD;} + .d2-2558489054 .background-color-B6{background-color:#F7F8FE;} + .d2-2558489054 .background-color-AA2{background-color:#4A6FF3;} + .d2-2558489054 .background-color-AA4{background-color:#EDF0FD;} + .d2-2558489054 .background-color-AA5{background-color:#F7F8FE;} + .d2-2558489054 .background-color-AB4{background-color:#EDF0FD;} + .d2-2558489054 .background-color-AB5{background-color:#F7F8FE;} + .d2-2558489054 .color-N1{color:#0A0F25;} + .d2-2558489054 .color-N2{color:#676C7E;} + .d2-2558489054 .color-N3{color:#9499AB;} + .d2-2558489054 .color-N4{color:#CFD2DD;} + .d2-2558489054 .color-N5{color:#DEE1EB;} + .d2-2558489054 .color-N6{color:#EEF1F8;} + .d2-2558489054 .color-N7{color:#FFFFFF;} + .d2-2558489054 .color-B1{color:#0D32B2;} + .d2-2558489054 .color-B2{color:#0D32B2;} + .d2-2558489054 .color-B3{color:#E3E9FD;} + .d2-2558489054 .color-B4{color:#E3E9FD;} + .d2-2558489054 .color-B5{color:#EDF0FD;} + .d2-2558489054 .color-B6{color:#F7F8FE;} + .d2-2558489054 .color-AA2{color:#4A6FF3;} + .d2-2558489054 .color-AA4{color:#EDF0FD;} + .d2-2558489054 .color-AA5{color:#F7F8FE;} + .d2-2558489054 .color-AB4{color:#EDF0FD;} + .d2-2558489054 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -104,7 +104,7 @@ -ab a to b with unexpectedly long target arrowhead label +ab a to b with unexpectedly long target arrowhead label diff --git a/d2renderers/d2sketch/testdata/opacity/sketch.exp.svg b/d2renderers/d2sketch/testdata/opacity/sketch.exp.svg index e505986ad..17ff6dfaa 100644 --- a/d2renderers/d2sketch/testdata/opacity/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/opacity/sketch.exp.svg @@ -1,27 +1,27 @@ - @@ -852,7 +852,7 @@ x

linux: because a PC is a terrible thing to waste

-
auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. +auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. diff --git a/d2renderers/d2sketch/testdata/opacity_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/opacity_dark/sketch.exp.svg index 2f2882a2d..fb2771aec 100644 --- a/d2renderers/d2sketch/testdata/opacity_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/opacity_dark/sketch.exp.svg @@ -1,27 +1,27 @@ - @@ -850,7 +850,7 @@ x

linux: because a PC is a terrible thing to waste

-
auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. +auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. diff --git a/d2renderers/d2sketch/testdata/overlay/sketch.exp.svg b/d2renderers/d2sketch/testdata/overlay/sketch.exp.svg index 8d0db48bf..ae9e794c2 100644 --- a/d2renderers/d2sketch/testdata/overlay/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/overlay/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-4290168978 .fill-N1{fill:#0A0F25;} + .d2-4290168978 .fill-N2{fill:#676C7E;} + .d2-4290168978 .fill-N3{fill:#9499AB;} + .d2-4290168978 .fill-N4{fill:#CFD2DD;} + .d2-4290168978 .fill-N5{fill:#DEE1EB;} + .d2-4290168978 .fill-N6{fill:#EEF1F8;} + .d2-4290168978 .fill-N7{fill:#FFFFFF;} + .d2-4290168978 .fill-B1{fill:#0D32B2;} + .d2-4290168978 .fill-B2{fill:#0D32B2;} + .d2-4290168978 .fill-B3{fill:#E3E9FD;} + .d2-4290168978 .fill-B4{fill:#E3E9FD;} + .d2-4290168978 .fill-B5{fill:#EDF0FD;} + .d2-4290168978 .fill-B6{fill:#F7F8FE;} + .d2-4290168978 .fill-AA2{fill:#4A6FF3;} + .d2-4290168978 .fill-AA4{fill:#EDF0FD;} + .d2-4290168978 .fill-AA5{fill:#F7F8FE;} + .d2-4290168978 .fill-AB4{fill:#EDF0FD;} + .d2-4290168978 .fill-AB5{fill:#F7F8FE;} + .d2-4290168978 .stroke-N1{stroke:#0A0F25;} + .d2-4290168978 .stroke-N2{stroke:#676C7E;} + .d2-4290168978 .stroke-N3{stroke:#9499AB;} + .d2-4290168978 .stroke-N4{stroke:#CFD2DD;} + .d2-4290168978 .stroke-N5{stroke:#DEE1EB;} + .d2-4290168978 .stroke-N6{stroke:#EEF1F8;} + .d2-4290168978 .stroke-N7{stroke:#FFFFFF;} + .d2-4290168978 .stroke-B1{stroke:#0D32B2;} + .d2-4290168978 .stroke-B2{stroke:#0D32B2;} + .d2-4290168978 .stroke-B3{stroke:#E3E9FD;} + .d2-4290168978 .stroke-B4{stroke:#E3E9FD;} + .d2-4290168978 .stroke-B5{stroke:#EDF0FD;} + .d2-4290168978 .stroke-B6{stroke:#F7F8FE;} + .d2-4290168978 .stroke-AA2{stroke:#4A6FF3;} + .d2-4290168978 .stroke-AA4{stroke:#EDF0FD;} + .d2-4290168978 .stroke-AA5{stroke:#F7F8FE;} + .d2-4290168978 .stroke-AB4{stroke:#EDF0FD;} + .d2-4290168978 .stroke-AB5{stroke:#F7F8FE;} + .d2-4290168978 .background-color-N1{background-color:#0A0F25;} + .d2-4290168978 .background-color-N2{background-color:#676C7E;} + .d2-4290168978 .background-color-N3{background-color:#9499AB;} + .d2-4290168978 .background-color-N4{background-color:#CFD2DD;} + .d2-4290168978 .background-color-N5{background-color:#DEE1EB;} + .d2-4290168978 .background-color-N6{background-color:#EEF1F8;} + .d2-4290168978 .background-color-N7{background-color:#FFFFFF;} + .d2-4290168978 .background-color-B1{background-color:#0D32B2;} + .d2-4290168978 .background-color-B2{background-color:#0D32B2;} + .d2-4290168978 .background-color-B3{background-color:#E3E9FD;} + .d2-4290168978 .background-color-B4{background-color:#E3E9FD;} + .d2-4290168978 .background-color-B5{background-color:#EDF0FD;} + .d2-4290168978 .background-color-B6{background-color:#F7F8FE;} + .d2-4290168978 .background-color-AA2{background-color:#4A6FF3;} + .d2-4290168978 .background-color-AA4{background-color:#EDF0FD;} + .d2-4290168978 .background-color-AA5{background-color:#F7F8FE;} + .d2-4290168978 .background-color-AB4{background-color:#EDF0FD;} + .d2-4290168978 .background-color-AB5{background-color:#F7F8FE;} + .d2-4290168978 .color-N1{color:#0A0F25;} + .d2-4290168978 .color-N2{color:#676C7E;} + .d2-4290168978 .color-N3{color:#9499AB;} + .d2-4290168978 .color-N4{color:#CFD2DD;} + .d2-4290168978 .color-N5{color:#DEE1EB;} + .d2-4290168978 .color-N6{color:#EEF1F8;} + .d2-4290168978 .color-N7{color:#FFFFFF;} + .d2-4290168978 .color-B1{color:#0D32B2;} + .d2-4290168978 .color-B2{color:#0D32B2;} + .d2-4290168978 .color-B3{color:#E3E9FD;} + .d2-4290168978 .color-B4{color:#E3E9FD;} + .d2-4290168978 .color-B5{color:#EDF0FD;} + .d2-4290168978 .color-B6{color:#F7F8FE;} + .d2-4290168978 .color-AA2{color:#4A6FF3;} + .d2-4290168978 .color-AA4{color:#EDF0FD;} + .d2-4290168978 .color-AA5{color:#F7F8FE;} + .d2-4290168978 .color-AB4{color:#EDF0FD;} + .d2-4290168978 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -113,7 +113,7 @@ -brightnormaldarkdarker +brightnormaldarkdarker diff --git a/d2renderers/d2sketch/testdata/paper-real/sketch.exp.svg b/d2renderers/d2sketch/testdata/paper-real/sketch.exp.svg index 080039407..95627abce 100644 --- a/d2renderers/d2sketch/testdata/paper-real/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/paper-real/sketch.exp.svg @@ -1,16 +1,23 @@ - + .d2-3736831304 .fill-N1{fill:#0A0F25;} + .d2-3736831304 .fill-N2{fill:#676C7E;} + .d2-3736831304 .fill-N3{fill:#9499AB;} + .d2-3736831304 .fill-N4{fill:#CFD2DD;} + .d2-3736831304 .fill-N5{fill:#DEE1EB;} + .d2-3736831304 .fill-N6{fill:#EEF1F8;} + .d2-3736831304 .fill-N7{fill:#FFFFFF;} + .d2-3736831304 .fill-B1{fill:#0D32B2;} + .d2-3736831304 .fill-B2{fill:#0D32B2;} + .d2-3736831304 .fill-B3{fill:#E3E9FD;} + .d2-3736831304 .fill-B4{fill:#E3E9FD;} + .d2-3736831304 .fill-B5{fill:#EDF0FD;} + .d2-3736831304 .fill-B6{fill:#F7F8FE;} + .d2-3736831304 .fill-AA2{fill:#4A6FF3;} + .d2-3736831304 .fill-AA4{fill:#EDF0FD;} + .d2-3736831304 .fill-AA5{fill:#F7F8FE;} + .d2-3736831304 .fill-AB4{fill:#EDF0FD;} + .d2-3736831304 .fill-AB5{fill:#F7F8FE;} + .d2-3736831304 .stroke-N1{stroke:#0A0F25;} + .d2-3736831304 .stroke-N2{stroke:#676C7E;} + .d2-3736831304 .stroke-N3{stroke:#9499AB;} + .d2-3736831304 .stroke-N4{stroke:#CFD2DD;} + .d2-3736831304 .stroke-N5{stroke:#DEE1EB;} + .d2-3736831304 .stroke-N6{stroke:#EEF1F8;} + .d2-3736831304 .stroke-N7{stroke:#FFFFFF;} + .d2-3736831304 .stroke-B1{stroke:#0D32B2;} + .d2-3736831304 .stroke-B2{stroke:#0D32B2;} + .d2-3736831304 .stroke-B3{stroke:#E3E9FD;} + .d2-3736831304 .stroke-B4{stroke:#E3E9FD;} + .d2-3736831304 .stroke-B5{stroke:#EDF0FD;} + .d2-3736831304 .stroke-B6{stroke:#F7F8FE;} + .d2-3736831304 .stroke-AA2{stroke:#4A6FF3;} + .d2-3736831304 .stroke-AA4{stroke:#EDF0FD;} + .d2-3736831304 .stroke-AA5{stroke:#F7F8FE;} + .d2-3736831304 .stroke-AB4{stroke:#EDF0FD;} + .d2-3736831304 .stroke-AB5{stroke:#F7F8FE;} + .d2-3736831304 .background-color-N1{background-color:#0A0F25;} + .d2-3736831304 .background-color-N2{background-color:#676C7E;} + .d2-3736831304 .background-color-N3{background-color:#9499AB;} + .d2-3736831304 .background-color-N4{background-color:#CFD2DD;} + .d2-3736831304 .background-color-N5{background-color:#DEE1EB;} + .d2-3736831304 .background-color-N6{background-color:#EEF1F8;} + .d2-3736831304 .background-color-N7{background-color:#FFFFFF;} + .d2-3736831304 .background-color-B1{background-color:#0D32B2;} + .d2-3736831304 .background-color-B2{background-color:#0D32B2;} + .d2-3736831304 .background-color-B3{background-color:#E3E9FD;} + .d2-3736831304 .background-color-B4{background-color:#E3E9FD;} + .d2-3736831304 .background-color-B5{background-color:#EDF0FD;} + .d2-3736831304 .background-color-B6{background-color:#F7F8FE;} + .d2-3736831304 .background-color-AA2{background-color:#4A6FF3;} + .d2-3736831304 .background-color-AA4{background-color:#EDF0FD;} + .d2-3736831304 .background-color-AA5{background-color:#F7F8FE;} + .d2-3736831304 .background-color-AB4{background-color:#EDF0FD;} + .d2-3736831304 .background-color-AB5{background-color:#F7F8FE;} + .d2-3736831304 .color-N1{color:#0A0F25;} + .d2-3736831304 .color-N2{color:#676C7E;} + .d2-3736831304 .color-N3{color:#9499AB;} + .d2-3736831304 .color-N4{color:#CFD2DD;} + .d2-3736831304 .color-N5{color:#DEE1EB;} + .d2-3736831304 .color-N6{color:#EEF1F8;} + .d2-3736831304 .color-N7{color:#FFFFFF;} + .d2-3736831304 .color-B1{color:#0D32B2;} + .d2-3736831304 .color-B2{color:#0D32B2;} + .d2-3736831304 .color-B3{color:#E3E9FD;} + .d2-3736831304 .color-B4{color:#E3E9FD;} + .d2-3736831304 .color-B5{color:#EDF0FD;} + .d2-3736831304 .color-B6{color:#F7F8FE;} + .d2-3736831304 .color-AA2{color:#4A6FF3;} + .d2-3736831304 .color-AA4{color:#EDF0FD;} + .d2-3736831304 .color-AA5{color:#F7F8FE;} + .d2-3736831304 .color-AB4{color:#EDF0FD;} + .d2-3736831304 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -1205,13 +1212,13 @@ -NETWORKCELL TOWERSATELLITESTRANSMITTER SEND SEND SEND - - - - - - - - +NETWORKCELL TOWERSATELLITESTRANSMITTER SEND SEND SEND + + + + + + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/root-fill/sketch.exp.svg b/d2renderers/d2sketch/testdata/root-fill/sketch.exp.svg index 45c1f4c51..477f27ce8 100644 --- a/d2renderers/d2sketch/testdata/root-fill/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/root-fill/sketch.exp.svg @@ -1,20 +1,20 @@ - @@ -844,23 +844,23 @@ -OEM FactoryOEM WarehouseDistributor Warehousecompany WarehouseFlow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N

company Warehouse

+OEM FactoryOEM WarehouseDistributor Warehousecompany WarehouseFlow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N

company Warehouse

  • Asset Tagging
  • Inventory
  • Staging
  • Dispatch to Site
-
- +
+ - - - - - - - + + + + + + +
\ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg b/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg index 2fce3dd98..e7873d6f6 100644 --- a/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2504113906 .fill-N1{fill:#0A0F25;} + .d2-2504113906 .fill-N2{fill:#676C7E;} + .d2-2504113906 .fill-N3{fill:#9499AB;} + .d2-2504113906 .fill-N4{fill:#CFD2DD;} + .d2-2504113906 .fill-N5{fill:#DEE1EB;} + .d2-2504113906 .fill-N6{fill:#EEF1F8;} + .d2-2504113906 .fill-N7{fill:#FFFFFF;} + .d2-2504113906 .fill-B1{fill:#0D32B2;} + .d2-2504113906 .fill-B2{fill:#0D32B2;} + .d2-2504113906 .fill-B3{fill:#E3E9FD;} + .d2-2504113906 .fill-B4{fill:#E3E9FD;} + .d2-2504113906 .fill-B5{fill:#EDF0FD;} + .d2-2504113906 .fill-B6{fill:#F7F8FE;} + .d2-2504113906 .fill-AA2{fill:#4A6FF3;} + .d2-2504113906 .fill-AA4{fill:#EDF0FD;} + .d2-2504113906 .fill-AA5{fill:#F7F8FE;} + .d2-2504113906 .fill-AB4{fill:#EDF0FD;} + .d2-2504113906 .fill-AB5{fill:#F7F8FE;} + .d2-2504113906 .stroke-N1{stroke:#0A0F25;} + .d2-2504113906 .stroke-N2{stroke:#676C7E;} + .d2-2504113906 .stroke-N3{stroke:#9499AB;} + .d2-2504113906 .stroke-N4{stroke:#CFD2DD;} + .d2-2504113906 .stroke-N5{stroke:#DEE1EB;} + .d2-2504113906 .stroke-N6{stroke:#EEF1F8;} + .d2-2504113906 .stroke-N7{stroke:#FFFFFF;} + .d2-2504113906 .stroke-B1{stroke:#0D32B2;} + .d2-2504113906 .stroke-B2{stroke:#0D32B2;} + .d2-2504113906 .stroke-B3{stroke:#E3E9FD;} + .d2-2504113906 .stroke-B4{stroke:#E3E9FD;} + .d2-2504113906 .stroke-B5{stroke:#EDF0FD;} + .d2-2504113906 .stroke-B6{stroke:#F7F8FE;} + .d2-2504113906 .stroke-AA2{stroke:#4A6FF3;} + .d2-2504113906 .stroke-AA4{stroke:#EDF0FD;} + .d2-2504113906 .stroke-AA5{stroke:#F7F8FE;} + .d2-2504113906 .stroke-AB4{stroke:#EDF0FD;} + .d2-2504113906 .stroke-AB5{stroke:#F7F8FE;} + .d2-2504113906 .background-color-N1{background-color:#0A0F25;} + .d2-2504113906 .background-color-N2{background-color:#676C7E;} + .d2-2504113906 .background-color-N3{background-color:#9499AB;} + .d2-2504113906 .background-color-N4{background-color:#CFD2DD;} + .d2-2504113906 .background-color-N5{background-color:#DEE1EB;} + .d2-2504113906 .background-color-N6{background-color:#EEF1F8;} + .d2-2504113906 .background-color-N7{background-color:#FFFFFF;} + .d2-2504113906 .background-color-B1{background-color:#0D32B2;} + .d2-2504113906 .background-color-B2{background-color:#0D32B2;} + .d2-2504113906 .background-color-B3{background-color:#E3E9FD;} + .d2-2504113906 .background-color-B4{background-color:#E3E9FD;} + .d2-2504113906 .background-color-B5{background-color:#EDF0FD;} + .d2-2504113906 .background-color-B6{background-color:#F7F8FE;} + .d2-2504113906 .background-color-AA2{background-color:#4A6FF3;} + .d2-2504113906 .background-color-AA4{background-color:#EDF0FD;} + .d2-2504113906 .background-color-AA5{background-color:#F7F8FE;} + .d2-2504113906 .background-color-AB4{background-color:#EDF0FD;} + .d2-2504113906 .background-color-AB5{background-color:#F7F8FE;} + .d2-2504113906 .color-N1{color:#0A0F25;} + .d2-2504113906 .color-N2{color:#676C7E;} + .d2-2504113906 .color-N3{color:#9499AB;} + .d2-2504113906 .color-N4{color:#CFD2DD;} + .d2-2504113906 .color-N5{color:#DEE1EB;} + .d2-2504113906 .color-N6{color:#EEF1F8;} + .d2-2504113906 .color-N7{color:#FFFFFF;} + .d2-2504113906 .color-B1{color:#0D32B2;} + .d2-2504113906 .color-B2{color:#0D32B2;} + .d2-2504113906 .color-B3{color:#E3E9FD;} + .d2-2504113906 .color-B4{color:#E3E9FD;} + .d2-2504113906 .color-B5{color:#EDF0FD;} + .d2-2504113906 .color-B6{color:#F7F8FE;} + .d2-2504113906 .color-AA2{color:#4A6FF3;} + .d2-2504113906 .color-AA4{color:#EDF0FD;} + .d2-2504113906 .color-AA5{color:#F7F8FE;} + .d2-2504113906 .color-AB4{color:#EDF0FD;} + .d2-2504113906 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring +usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg index 999173239..fb794851a 100644 --- a/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-2504113906 .fill-N1{fill:#CDD6F4;} + .d2-2504113906 .fill-N2{fill:#BAC2DE;} + .d2-2504113906 .fill-N3{fill:#A6ADC8;} + .d2-2504113906 .fill-N4{fill:#585B70;} + .d2-2504113906 .fill-N5{fill:#45475A;} + .d2-2504113906 .fill-N6{fill:#313244;} + .d2-2504113906 .fill-N7{fill:#1E1E2E;} + .d2-2504113906 .fill-B1{fill:#CBA6f7;} + .d2-2504113906 .fill-B2{fill:#CBA6f7;} + .d2-2504113906 .fill-B3{fill:#6C7086;} + .d2-2504113906 .fill-B4{fill:#585B70;} + .d2-2504113906 .fill-B5{fill:#45475A;} + .d2-2504113906 .fill-B6{fill:#313244;} + .d2-2504113906 .fill-AA2{fill:#f38BA8;} + .d2-2504113906 .fill-AA4{fill:#45475A;} + .d2-2504113906 .fill-AA5{fill:#313244;} + .d2-2504113906 .fill-AB4{fill:#45475A;} + .d2-2504113906 .fill-AB5{fill:#313244;} + .d2-2504113906 .stroke-N1{stroke:#CDD6F4;} + .d2-2504113906 .stroke-N2{stroke:#BAC2DE;} + .d2-2504113906 .stroke-N3{stroke:#A6ADC8;} + .d2-2504113906 .stroke-N4{stroke:#585B70;} + .d2-2504113906 .stroke-N5{stroke:#45475A;} + .d2-2504113906 .stroke-N6{stroke:#313244;} + .d2-2504113906 .stroke-N7{stroke:#1E1E2E;} + .d2-2504113906 .stroke-B1{stroke:#CBA6f7;} + .d2-2504113906 .stroke-B2{stroke:#CBA6f7;} + .d2-2504113906 .stroke-B3{stroke:#6C7086;} + .d2-2504113906 .stroke-B4{stroke:#585B70;} + .d2-2504113906 .stroke-B5{stroke:#45475A;} + .d2-2504113906 .stroke-B6{stroke:#313244;} + .d2-2504113906 .stroke-AA2{stroke:#f38BA8;} + .d2-2504113906 .stroke-AA4{stroke:#45475A;} + .d2-2504113906 .stroke-AA5{stroke:#313244;} + .d2-2504113906 .stroke-AB4{stroke:#45475A;} + .d2-2504113906 .stroke-AB5{stroke:#313244;} + .d2-2504113906 .background-color-N1{background-color:#CDD6F4;} + .d2-2504113906 .background-color-N2{background-color:#BAC2DE;} + .d2-2504113906 .background-color-N3{background-color:#A6ADC8;} + .d2-2504113906 .background-color-N4{background-color:#585B70;} + .d2-2504113906 .background-color-N5{background-color:#45475A;} + .d2-2504113906 .background-color-N6{background-color:#313244;} + .d2-2504113906 .background-color-N7{background-color:#1E1E2E;} + .d2-2504113906 .background-color-B1{background-color:#CBA6f7;} + .d2-2504113906 .background-color-B2{background-color:#CBA6f7;} + .d2-2504113906 .background-color-B3{background-color:#6C7086;} + .d2-2504113906 .background-color-B4{background-color:#585B70;} + .d2-2504113906 .background-color-B5{background-color:#45475A;} + .d2-2504113906 .background-color-B6{background-color:#313244;} + .d2-2504113906 .background-color-AA2{background-color:#f38BA8;} + .d2-2504113906 .background-color-AA4{background-color:#45475A;} + .d2-2504113906 .background-color-AA5{background-color:#313244;} + .d2-2504113906 .background-color-AB4{background-color:#45475A;} + .d2-2504113906 .background-color-AB5{background-color:#313244;} + .d2-2504113906 .color-N1{color:#CDD6F4;} + .d2-2504113906 .color-N2{color:#BAC2DE;} + .d2-2504113906 .color-N3{color:#A6ADC8;} + .d2-2504113906 .color-N4{color:#585B70;} + .d2-2504113906 .color-N5{color:#45475A;} + .d2-2504113906 .color-N6{color:#313244;} + .d2-2504113906 .color-N7{color:#1E1E2E;} + .d2-2504113906 .color-B1{color:#CBA6f7;} + .d2-2504113906 .color-B2{color:#CBA6f7;} + .d2-2504113906 .color-B3{color:#6C7086;} + .d2-2504113906 .color-B4{color:#585B70;} + .d2-2504113906 .color-B5{color:#45475A;} + .d2-2504113906 .color-B6{color:#313244;} + .d2-2504113906 .color-AA2{color:#f38BA8;} + .d2-2504113906 .color-AA4{color:#45475A;} + .d2-2504113906 .color-AA5{color:#313244;} + .d2-2504113906 .color-AB4{color:#45475A;} + .d2-2504113906 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring +usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/terminal/sketch.exp.svg b/d2renderers/d2sketch/testdata/terminal/sketch.exp.svg index 3e5b79366..581af4a28 100644 --- a/d2renderers/d2sketch/testdata/terminal/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/terminal/sketch.exp.svg @@ -1,16 +1,23 @@ - + .d2-790545213 .fill-N1{fill:#000410;} + .d2-790545213 .fill-N2{fill:#0000B8;} + .d2-790545213 .fill-N3{fill:#9499AB;} + .d2-790545213 .fill-N4{fill:#CFD2DD;} + .d2-790545213 .fill-N5{fill:#C3DEF3;} + .d2-790545213 .fill-N6{fill:#EEF1F8;} + .d2-790545213 .fill-N7{fill:#FFFFFF;} + .d2-790545213 .fill-B1{fill:#000410;} + .d2-790545213 .fill-B2{fill:#0000E4;} + .d2-790545213 .fill-B3{fill:#5AA4DC;} + .d2-790545213 .fill-B4{fill:#E7E9EE;} + .d2-790545213 .fill-B5{fill:#F5F6F9;} + .d2-790545213 .fill-B6{fill:#FFFFFF;} + .d2-790545213 .fill-AA2{fill:#008566;} + .d2-790545213 .fill-AA4{fill:#45BBA5;} + .d2-790545213 .fill-AA5{fill:#7ACCBD;} + .d2-790545213 .fill-AB4{fill:#F1C759;} + .d2-790545213 .fill-AB5{fill:#F9E088;} + .d2-790545213 .stroke-N1{stroke:#000410;} + .d2-790545213 .stroke-N2{stroke:#0000B8;} + .d2-790545213 .stroke-N3{stroke:#9499AB;} + .d2-790545213 .stroke-N4{stroke:#CFD2DD;} + .d2-790545213 .stroke-N5{stroke:#C3DEF3;} + .d2-790545213 .stroke-N6{stroke:#EEF1F8;} + .d2-790545213 .stroke-N7{stroke:#FFFFFF;} + .d2-790545213 .stroke-B1{stroke:#000410;} + .d2-790545213 .stroke-B2{stroke:#0000E4;} + .d2-790545213 .stroke-B3{stroke:#5AA4DC;} + .d2-790545213 .stroke-B4{stroke:#E7E9EE;} + .d2-790545213 .stroke-B5{stroke:#F5F6F9;} + .d2-790545213 .stroke-B6{stroke:#FFFFFF;} + .d2-790545213 .stroke-AA2{stroke:#008566;} + .d2-790545213 .stroke-AA4{stroke:#45BBA5;} + .d2-790545213 .stroke-AA5{stroke:#7ACCBD;} + .d2-790545213 .stroke-AB4{stroke:#F1C759;} + .d2-790545213 .stroke-AB5{stroke:#F9E088;} + .d2-790545213 .background-color-N1{background-color:#000410;} + .d2-790545213 .background-color-N2{background-color:#0000B8;} + .d2-790545213 .background-color-N3{background-color:#9499AB;} + .d2-790545213 .background-color-N4{background-color:#CFD2DD;} + .d2-790545213 .background-color-N5{background-color:#C3DEF3;} + .d2-790545213 .background-color-N6{background-color:#EEF1F8;} + .d2-790545213 .background-color-N7{background-color:#FFFFFF;} + .d2-790545213 .background-color-B1{background-color:#000410;} + .d2-790545213 .background-color-B2{background-color:#0000E4;} + .d2-790545213 .background-color-B3{background-color:#5AA4DC;} + .d2-790545213 .background-color-B4{background-color:#E7E9EE;} + .d2-790545213 .background-color-B5{background-color:#F5F6F9;} + .d2-790545213 .background-color-B6{background-color:#FFFFFF;} + .d2-790545213 .background-color-AA2{background-color:#008566;} + .d2-790545213 .background-color-AA4{background-color:#45BBA5;} + .d2-790545213 .background-color-AA5{background-color:#7ACCBD;} + .d2-790545213 .background-color-AB4{background-color:#F1C759;} + .d2-790545213 .background-color-AB5{background-color:#F9E088;} + .d2-790545213 .color-N1{color:#000410;} + .d2-790545213 .color-N2{color:#0000B8;} + .d2-790545213 .color-N3{color:#9499AB;} + .d2-790545213 .color-N4{color:#CFD2DD;} + .d2-790545213 .color-N5{color:#C3DEF3;} + .d2-790545213 .color-N6{color:#EEF1F8;} + .d2-790545213 .color-N7{color:#FFFFFF;} + .d2-790545213 .color-B1{color:#000410;} + .d2-790545213 .color-B2{color:#0000E4;} + .d2-790545213 .color-B3{color:#5AA4DC;} + .d2-790545213 .color-B4{color:#E7E9EE;} + .d2-790545213 .color-B5{color:#F5F6F9;} + .d2-790545213 .color-B6{color:#FFFFFF;} + .d2-790545213 .color-AA2{color:#008566;} + .d2-790545213 .color-AA4{color:#45BBA5;} + .d2-790545213 .color-AA5{color:#7ACCBD;} + .d2-790545213 .color-AB4{color:#F1C759;} + .d2-790545213 .color-AB5{color:#F9E088;}.appendix text.text{fill:#000410}.md{--color-fg-default:#000410;--color-fg-muted:#0000B8;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#000410;--color-border-muted:#0000E4;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0000E4;--color-accent-emphasis:#0000E4;--color-attention-subtle:#0000B8;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA5{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AB4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AB5{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -137,25 +144,25 @@ -NETWORKUSERAPI SERVERLOGSCELL TOWERONLINE PORTALDATA PROCESSORSATELLITESTRANSMITTERUISTORAGE SEND SEND SEND PHONE LOGS MAKE CALL ACCESS DISPLAY PERSIST - - +NETWORKUSERAPI SERVERLOGSCELL TOWERONLINE PORTALDATA PROCESSORSATELLITESTRANSMITTERUISTORAGE SEND SEND SEND PHONE LOGS MAKE CALL ACCESS DISPLAY PERSIST + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/twitter/sketch.exp.svg b/d2renderers/d2sketch/testdata/twitter/sketch.exp.svg index c16c9ba1e..9252a1e94 100644 --- a/d2renderers/d2sketch/testdata/twitter/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/twitter/sketch.exp.svg @@ -1,27 +1,27 @@ - @@ -859,7 +859,7 @@ -People discovery serviceAd mixerOnboarding serviceTwitter Frontend WebIphoneAndroidTimelineScorerHome RankerTimeline ServiceHome mixerManhattanGizmoduckSocial graphTweety PiePrediction ServiceHome ScorerManhattanMemcacheFetchFeatureScoringPrediction Service...etc

Timeline mixer

+People discovery serviceAd mixerOnboarding serviceTwitter Frontend WebIphoneAndroidTimelineScorerHome RankerTimeline ServiceHome mixerManhattanGizmoduckSocial graphTweety PiePrediction ServiceHome ScorerManhattanMemcacheFetchFeatureScoringPrediction Service...etc

Timeline mixer

  • Inject ads, who-to-follow, onboarding
  • Conversation module
  • @@ -867,46 +867,46 @@
  • Tweat deduplication
  • Served data logging
-
GraphQLFederated Strato Column

Tweet/user content hydration, visibility filtering

-
TLS-API (being deprecated)CrMixerEarlyBirdUtagSpaceCommunities iPhone web HTTP Android Thrift RPC Candidate Fetch Feature Hydration Candidate sources - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
GraphQLFederated Strato Column

Tweet/user content hydration, visibility filtering

+
TLS-API (being deprecated)CrMixerEarlyBirdUtagSpaceCommunities iPhone web HTTP Android Thrift RPC Candidate Fetch Feature Hydration Candidate sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/twitter_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/twitter_dark/sketch.exp.svg index 5e0872052..701c4d132 100644 --- a/d2renderers/d2sketch/testdata/twitter_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/twitter_dark/sketch.exp.svg @@ -1,27 +1,27 @@ - @@ -859,7 +859,7 @@ -People discovery serviceAd mixerOnboarding serviceTwitter Frontend WebIphoneAndroidTimelineScorerHome RankerTimeline ServiceHome mixerManhattanGizmoduckSocial graphTweety PiePrediction ServiceHome ScorerManhattanMemcacheFetchFeatureScoringPrediction Service...etc

Timeline mixer

+People discovery serviceAd mixerOnboarding serviceTwitter Frontend WebIphoneAndroidTimelineScorerHome RankerTimeline ServiceHome mixerManhattanGizmoduckSocial graphTweety PiePrediction ServiceHome ScorerManhattanMemcacheFetchFeatureScoringPrediction Service...etc

Timeline mixer

  • Inject ads, who-to-follow, onboarding
  • Conversation module
  • @@ -867,46 +867,46 @@
  • Tweat deduplication
  • Served data logging
-
GraphQLFederated Strato Column

Tweet/user content hydration, visibility filtering

-
TLS-API (being deprecated)CrMixerEarlyBirdUtagSpaceCommunities iPhone web HTTP Android Thrift RPC Candidate Fetch Feature Hydration Candidate sources - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
GraphQLFederated Strato Column

Tweet/user content hydration, visibility filtering

+
TLS-API (being deprecated)CrMixerEarlyBirdUtagSpaceCommunities iPhone web HTTP Android Thrift RPC Candidate Fetch Feature Hydration Candidate sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/d2renderers/d2svg/appendix/appendix_test.go b/d2renderers/d2svg/appendix/appendix_test.go index d9bec84a9..3a152d92b 100644 --- a/d2renderers/d2svg/appendix/appendix_test.go +++ b/d2renderers/d2svg/appendix/appendix_test.go @@ -16,6 +16,7 @@ import ( "oss.terrastruct.com/util-go/assert" "oss.terrastruct.com/util-go/diff" + "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2layouts/d2dagrelayout" "oss.terrastruct.com/d2/d2lib" "oss.terrastruct.com/d2/d2renderers/d2svg" @@ -152,11 +153,17 @@ func run(t *testing.T, tc testCase) { return } + renderOpts := &d2svg.RenderOpts{ + ThemeID: &tc.themeID, + } + + layoutResolver := func(engine string) (d2graph.LayoutGraph, error) { + return d2dagrelayout.DefaultLayout, nil + } diagram, _, err := d2lib.Compile(ctx, tc.script, &d2lib.CompileOptions{ - Ruler: ruler, - Layout: d2dagrelayout.DefaultLayout, - ThemeID: tc.themeID, - }) + Ruler: ruler, + LayoutResolver: layoutResolver, + }, renderOpts) if !tassert.Nil(t, err) { return } @@ -164,10 +171,7 @@ func run(t *testing.T, tc testCase) { dataPath := filepath.Join("testdata", strings.TrimPrefix(t.Name(), "TestAppendix/")) pathGotSVG := filepath.Join(dataPath, "sketch.got.svg") - svgBytes, err := d2svg.Render(diagram, &d2svg.RenderOpts{ - Pad: d2svg.DEFAULT_PADDING, - ThemeID: tc.themeID, - }) + svgBytes, err := d2svg.Render(diagram, renderOpts) assert.Success(t, err) svgBytes = appendix.Append(diagram, ruler, svgBytes) diff --git a/d2renderers/d2svg/appendix/testdata/diagram_wider_than_tooltip/sketch.exp.svg b/d2renderers/d2svg/appendix/testdata/diagram_wider_than_tooltip/sketch.exp.svg index ca86df67d..532542084 100644 --- a/d2renderers/d2svg/appendix/testdata/diagram_wider_than_tooltip/sketch.exp.svg +++ b/d2renderers/d2svg/appendix/testdata/diagram_wider_than_tooltip/sketch.exp.svg @@ -1,19 +1,19 @@ -customerissuerstoreacquirernetworkcustomer bankstore bankinitial transactionpayment processor behind the scenessimplified 1 banana please$10 dollarsthinking: wow, inflationchecks bank accountSavings: $11I can do that, here's my cardRun this cardProcess to card issuerProcess this payment$10 debit$10 creditAn error in judgement is about to occur1Like starbucks or something2I'm not sure what this is + .d2-4070036272 .fill-N1{fill:#0A0F25;} + .d2-4070036272 .fill-N2{fill:#676C7E;} + .d2-4070036272 .fill-N3{fill:#9499AB;} + .d2-4070036272 .fill-N4{fill:#CFD2DD;} + .d2-4070036272 .fill-N5{fill:#DEE1EB;} + .d2-4070036272 .fill-N6{fill:#EEF1F8;} + .d2-4070036272 .fill-N7{fill:#FFFFFF;} + .d2-4070036272 .fill-B1{fill:#0D32B2;} + .d2-4070036272 .fill-B2{fill:#0D32B2;} + .d2-4070036272 .fill-B3{fill:#E3E9FD;} + .d2-4070036272 .fill-B4{fill:#E3E9FD;} + .d2-4070036272 .fill-B5{fill:#EDF0FD;} + .d2-4070036272 .fill-B6{fill:#F7F8FE;} + .d2-4070036272 .fill-AA2{fill:#4A6FF3;} + .d2-4070036272 .fill-AA4{fill:#EDF0FD;} + .d2-4070036272 .fill-AA5{fill:#F7F8FE;} + .d2-4070036272 .fill-AB4{fill:#EDF0FD;} + .d2-4070036272 .fill-AB5{fill:#F7F8FE;} + .d2-4070036272 .stroke-N1{stroke:#0A0F25;} + .d2-4070036272 .stroke-N2{stroke:#676C7E;} + .d2-4070036272 .stroke-N3{stroke:#9499AB;} + .d2-4070036272 .stroke-N4{stroke:#CFD2DD;} + .d2-4070036272 .stroke-N5{stroke:#DEE1EB;} + .d2-4070036272 .stroke-N6{stroke:#EEF1F8;} + .d2-4070036272 .stroke-N7{stroke:#FFFFFF;} + .d2-4070036272 .stroke-B1{stroke:#0D32B2;} + .d2-4070036272 .stroke-B2{stroke:#0D32B2;} + .d2-4070036272 .stroke-B3{stroke:#E3E9FD;} + .d2-4070036272 .stroke-B4{stroke:#E3E9FD;} + .d2-4070036272 .stroke-B5{stroke:#EDF0FD;} + .d2-4070036272 .stroke-B6{stroke:#F7F8FE;} + .d2-4070036272 .stroke-AA2{stroke:#4A6FF3;} + .d2-4070036272 .stroke-AA4{stroke:#EDF0FD;} + .d2-4070036272 .stroke-AA5{stroke:#F7F8FE;} + .d2-4070036272 .stroke-AB4{stroke:#EDF0FD;} + .d2-4070036272 .stroke-AB5{stroke:#F7F8FE;} + .d2-4070036272 .background-color-N1{background-color:#0A0F25;} + .d2-4070036272 .background-color-N2{background-color:#676C7E;} + .d2-4070036272 .background-color-N3{background-color:#9499AB;} + .d2-4070036272 .background-color-N4{background-color:#CFD2DD;} + .d2-4070036272 .background-color-N5{background-color:#DEE1EB;} + .d2-4070036272 .background-color-N6{background-color:#EEF1F8;} + .d2-4070036272 .background-color-N7{background-color:#FFFFFF;} + .d2-4070036272 .background-color-B1{background-color:#0D32B2;} + .d2-4070036272 .background-color-B2{background-color:#0D32B2;} + .d2-4070036272 .background-color-B3{background-color:#E3E9FD;} + .d2-4070036272 .background-color-B4{background-color:#E3E9FD;} + .d2-4070036272 .background-color-B5{background-color:#EDF0FD;} + .d2-4070036272 .background-color-B6{background-color:#F7F8FE;} + .d2-4070036272 .background-color-AA2{background-color:#4A6FF3;} + .d2-4070036272 .background-color-AA4{background-color:#EDF0FD;} + .d2-4070036272 .background-color-AA5{background-color:#F7F8FE;} + .d2-4070036272 .background-color-AB4{background-color:#EDF0FD;} + .d2-4070036272 .background-color-AB5{background-color:#F7F8FE;} + .d2-4070036272 .color-N1{color:#0A0F25;} + .d2-4070036272 .color-N2{color:#676C7E;} + .d2-4070036272 .color-N3{color:#9499AB;} + .d2-4070036272 .color-N4{color:#CFD2DD;} + .d2-4070036272 .color-N5{color:#DEE1EB;} + .d2-4070036272 .color-N6{color:#EEF1F8;} + .d2-4070036272 .color-N7{color:#FFFFFF;} + .d2-4070036272 .color-B1{color:#0D32B2;} + .d2-4070036272 .color-B2{color:#0D32B2;} + .d2-4070036272 .color-B3{color:#E3E9FD;} + .d2-4070036272 .color-B4{color:#E3E9FD;} + .d2-4070036272 .color-B5{color:#EDF0FD;} + .d2-4070036272 .color-B6{color:#F7F8FE;} + .d2-4070036272 .color-AA2{color:#4A6FF3;} + .d2-4070036272 .color-AA4{color:#EDF0FD;} + .d2-4070036272 .color-AA5{color:#F7F8FE;} + .d2-4070036272 .color-AB4{color:#EDF0FD;} + .d2-4070036272 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>customerissuerstoreLike starbucks or somethingacquirerI'm not sure what this isnetworkcustomer bankstore bankinitial transactionpayment processor behind the scenessimplified 1 banana please$10 dollarsthinking: wow, inflationchecks bank accountSavings: $11I can do that, here's my cardRun this cardProcess to card issuerProcess this payment$10 debit$10 creditAn error in judgement is about to occurLike starbucks or something1I'm not sure what this is2 diff --git a/d2renderers/d2svg/appendix/testdata/internal-links/sketch.exp.svg b/d2renderers/d2svg/appendix/testdata/internal-links/sketch.exp.svg index 7f2bf7bf2..6f89082b8 100644 --- a/d2renderers/d2svg/appendix/testdata/internal-links/sketch.exp.svg +++ b/d2renderers/d2svg/appendix/testdata/internal-links/sketch.exp.svg @@ -1,12 +1,12 @@ -x1 + .d2-3057089836 .fill-N1{fill:#0A0F25;} + .d2-3057089836 .fill-N2{fill:#676C7E;} + .d2-3057089836 .fill-N3{fill:#9499AB;} + .d2-3057089836 .fill-N4{fill:#CFD2DD;} + .d2-3057089836 .fill-N5{fill:#DEE1EB;} + .d2-3057089836 .fill-N6{fill:#EEF1F8;} + .d2-3057089836 .fill-N7{fill:#FFFFFF;} + .d2-3057089836 .fill-B1{fill:#0D32B2;} + .d2-3057089836 .fill-B2{fill:#0D32B2;} + .d2-3057089836 .fill-B3{fill:#E3E9FD;} + .d2-3057089836 .fill-B4{fill:#E3E9FD;} + .d2-3057089836 .fill-B5{fill:#EDF0FD;} + .d2-3057089836 .fill-B6{fill:#F7F8FE;} + .d2-3057089836 .fill-AA2{fill:#4A6FF3;} + .d2-3057089836 .fill-AA4{fill:#EDF0FD;} + .d2-3057089836 .fill-AA5{fill:#F7F8FE;} + .d2-3057089836 .fill-AB4{fill:#EDF0FD;} + .d2-3057089836 .fill-AB5{fill:#F7F8FE;} + .d2-3057089836 .stroke-N1{stroke:#0A0F25;} + .d2-3057089836 .stroke-N2{stroke:#676C7E;} + .d2-3057089836 .stroke-N3{stroke:#9499AB;} + .d2-3057089836 .stroke-N4{stroke:#CFD2DD;} + .d2-3057089836 .stroke-N5{stroke:#DEE1EB;} + .d2-3057089836 .stroke-N6{stroke:#EEF1F8;} + .d2-3057089836 .stroke-N7{stroke:#FFFFFF;} + .d2-3057089836 .stroke-B1{stroke:#0D32B2;} + .d2-3057089836 .stroke-B2{stroke:#0D32B2;} + .d2-3057089836 .stroke-B3{stroke:#E3E9FD;} + .d2-3057089836 .stroke-B4{stroke:#E3E9FD;} + .d2-3057089836 .stroke-B5{stroke:#EDF0FD;} + .d2-3057089836 .stroke-B6{stroke:#F7F8FE;} + .d2-3057089836 .stroke-AA2{stroke:#4A6FF3;} + .d2-3057089836 .stroke-AA4{stroke:#EDF0FD;} + .d2-3057089836 .stroke-AA5{stroke:#F7F8FE;} + .d2-3057089836 .stroke-AB4{stroke:#EDF0FD;} + .d2-3057089836 .stroke-AB5{stroke:#F7F8FE;} + .d2-3057089836 .background-color-N1{background-color:#0A0F25;} + .d2-3057089836 .background-color-N2{background-color:#676C7E;} + .d2-3057089836 .background-color-N3{background-color:#9499AB;} + .d2-3057089836 .background-color-N4{background-color:#CFD2DD;} + .d2-3057089836 .background-color-N5{background-color:#DEE1EB;} + .d2-3057089836 .background-color-N6{background-color:#EEF1F8;} + .d2-3057089836 .background-color-N7{background-color:#FFFFFF;} + .d2-3057089836 .background-color-B1{background-color:#0D32B2;} + .d2-3057089836 .background-color-B2{background-color:#0D32B2;} + .d2-3057089836 .background-color-B3{background-color:#E3E9FD;} + .d2-3057089836 .background-color-B4{background-color:#E3E9FD;} + .d2-3057089836 .background-color-B5{background-color:#EDF0FD;} + .d2-3057089836 .background-color-B6{background-color:#F7F8FE;} + .d2-3057089836 .background-color-AA2{background-color:#4A6FF3;} + .d2-3057089836 .background-color-AA4{background-color:#EDF0FD;} + .d2-3057089836 .background-color-AA5{background-color:#F7F8FE;} + .d2-3057089836 .background-color-AB4{background-color:#EDF0FD;} + .d2-3057089836 .background-color-AB5{background-color:#F7F8FE;} + .d2-3057089836 .color-N1{color:#0A0F25;} + .d2-3057089836 .color-N2{color:#676C7E;} + .d2-3057089836 .color-N3{color:#9499AB;} + .d2-3057089836 .color-N4{color:#CFD2DD;} + .d2-3057089836 .color-N5{color:#DEE1EB;} + .d2-3057089836 .color-N6{color:#EEF1F8;} + .d2-3057089836 .color-N7{color:#FFFFFF;} + .d2-3057089836 .color-B1{color:#0D32B2;} + .d2-3057089836 .color-B2{color:#0D32B2;} + .d2-3057089836 .color-B3{color:#E3E9FD;} + .d2-3057089836 .color-B4{color:#E3E9FD;} + .d2-3057089836 .color-B5{color:#EDF0FD;} + .d2-3057089836 .color-B6{color:#F7F8FE;} + .d2-3057089836 .color-AA2{color:#4A6FF3;} + .d2-3057089836 .color-AA4{color:#EDF0FD;} + .d2-3057089836 .color-AA5{color:#F7F8FE;} + .d2-3057089836 .color-AB4{color:#EDF0FD;} + .d2-3057089836 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>x1 1root > x diff --git a/d2renderers/d2svg/appendix/testdata/links/sketch.exp.svg b/d2renderers/d2svg/appendix/testdata/links/sketch.exp.svg index 5dd094e8d..1eb948d4d 100644 --- a/d2renderers/d2svg/appendix/testdata/links/sketch.exp.svg +++ b/d2renderers/d2svg/appendix/testdata/links/sketch.exp.svg @@ -1,12 +1,12 @@ -xy 12Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS!3 + .d2-3606605273 .fill-N1{fill:#0A0F25;} + .d2-3606605273 .fill-N2{fill:#676C7E;} + .d2-3606605273 .fill-N3{fill:#9499AB;} + .d2-3606605273 .fill-N4{fill:#CFD2DD;} + .d2-3606605273 .fill-N5{fill:#DEE1EB;} + .d2-3606605273 .fill-N6{fill:#EEF1F8;} + .d2-3606605273 .fill-N7{fill:#FFFFFF;} + .d2-3606605273 .fill-B1{fill:#0D32B2;} + .d2-3606605273 .fill-B2{fill:#0D32B2;} + .d2-3606605273 .fill-B3{fill:#E3E9FD;} + .d2-3606605273 .fill-B4{fill:#E3E9FD;} + .d2-3606605273 .fill-B5{fill:#EDF0FD;} + .d2-3606605273 .fill-B6{fill:#F7F8FE;} + .d2-3606605273 .fill-AA2{fill:#4A6FF3;} + .d2-3606605273 .fill-AA4{fill:#EDF0FD;} + .d2-3606605273 .fill-AA5{fill:#F7F8FE;} + .d2-3606605273 .fill-AB4{fill:#EDF0FD;} + .d2-3606605273 .fill-AB5{fill:#F7F8FE;} + .d2-3606605273 .stroke-N1{stroke:#0A0F25;} + .d2-3606605273 .stroke-N2{stroke:#676C7E;} + .d2-3606605273 .stroke-N3{stroke:#9499AB;} + .d2-3606605273 .stroke-N4{stroke:#CFD2DD;} + .d2-3606605273 .stroke-N5{stroke:#DEE1EB;} + .d2-3606605273 .stroke-N6{stroke:#EEF1F8;} + .d2-3606605273 .stroke-N7{stroke:#FFFFFF;} + .d2-3606605273 .stroke-B1{stroke:#0D32B2;} + .d2-3606605273 .stroke-B2{stroke:#0D32B2;} + .d2-3606605273 .stroke-B3{stroke:#E3E9FD;} + .d2-3606605273 .stroke-B4{stroke:#E3E9FD;} + .d2-3606605273 .stroke-B5{stroke:#EDF0FD;} + .d2-3606605273 .stroke-B6{stroke:#F7F8FE;} + .d2-3606605273 .stroke-AA2{stroke:#4A6FF3;} + .d2-3606605273 .stroke-AA4{stroke:#EDF0FD;} + .d2-3606605273 .stroke-AA5{stroke:#F7F8FE;} + .d2-3606605273 .stroke-AB4{stroke:#EDF0FD;} + .d2-3606605273 .stroke-AB5{stroke:#F7F8FE;} + .d2-3606605273 .background-color-N1{background-color:#0A0F25;} + .d2-3606605273 .background-color-N2{background-color:#676C7E;} + .d2-3606605273 .background-color-N3{background-color:#9499AB;} + .d2-3606605273 .background-color-N4{background-color:#CFD2DD;} + .d2-3606605273 .background-color-N5{background-color:#DEE1EB;} + .d2-3606605273 .background-color-N6{background-color:#EEF1F8;} + .d2-3606605273 .background-color-N7{background-color:#FFFFFF;} + .d2-3606605273 .background-color-B1{background-color:#0D32B2;} + .d2-3606605273 .background-color-B2{background-color:#0D32B2;} + .d2-3606605273 .background-color-B3{background-color:#E3E9FD;} + .d2-3606605273 .background-color-B4{background-color:#E3E9FD;} + .d2-3606605273 .background-color-B5{background-color:#EDF0FD;} + .d2-3606605273 .background-color-B6{background-color:#F7F8FE;} + .d2-3606605273 .background-color-AA2{background-color:#4A6FF3;} + .d2-3606605273 .background-color-AA4{background-color:#EDF0FD;} + .d2-3606605273 .background-color-AA5{background-color:#F7F8FE;} + .d2-3606605273 .background-color-AB4{background-color:#EDF0FD;} + .d2-3606605273 .background-color-AB5{background-color:#F7F8FE;} + .d2-3606605273 .color-N1{color:#0A0F25;} + .d2-3606605273 .color-N2{color:#676C7E;} + .d2-3606605273 .color-N3{color:#9499AB;} + .d2-3606605273 .color-N4{color:#CFD2DD;} + .d2-3606605273 .color-N5{color:#DEE1EB;} + .d2-3606605273 .color-N6{color:#EEF1F8;} + .d2-3606605273 .color-N7{color:#FFFFFF;} + .d2-3606605273 .color-B1{color:#0D32B2;} + .d2-3606605273 .color-B2{color:#0D32B2;} + .d2-3606605273 .color-B3{color:#E3E9FD;} + .d2-3606605273 .color-B4{color:#E3E9FD;} + .d2-3606605273 .color-B5{color:#EDF0FD;} + .d2-3606605273 .color-B6{color:#F7F8FE;} + .d2-3606605273 .color-AA2{color:#4A6FF3;} + .d2-3606605273 .color-AA4{color:#EDF0FD;} + .d2-3606605273 .color-AA5{color:#F7F8FE;} + .d2-3606605273 .color-AB4{color:#EDF0FD;} + .d2-3606605273 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! 1Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS!23 diff --git a/d2renderers/d2svg/appendix/testdata/links_dark/sketch.exp.svg b/d2renderers/d2svg/appendix/testdata/links_dark/sketch.exp.svg index 4e893168a..28348d924 100644 --- a/d2renderers/d2svg/appendix/testdata/links_dark/sketch.exp.svg +++ b/d2renderers/d2svg/appendix/testdata/links_dark/sketch.exp.svg @@ -1,12 +1,12 @@ -xy 12Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS!3 + .d2-4098508292 .fill-N1{fill:#CDD6F4;} + .d2-4098508292 .fill-N2{fill:#BAC2DE;} + .d2-4098508292 .fill-N3{fill:#A6ADC8;} + .d2-4098508292 .fill-N4{fill:#585B70;} + .d2-4098508292 .fill-N5{fill:#45475A;} + .d2-4098508292 .fill-N6{fill:#313244;} + .d2-4098508292 .fill-N7{fill:#1E1E2E;} + .d2-4098508292 .fill-B1{fill:#CBA6f7;} + .d2-4098508292 .fill-B2{fill:#CBA6f7;} + .d2-4098508292 .fill-B3{fill:#6C7086;} + .d2-4098508292 .fill-B4{fill:#585B70;} + .d2-4098508292 .fill-B5{fill:#45475A;} + .d2-4098508292 .fill-B6{fill:#313244;} + .d2-4098508292 .fill-AA2{fill:#f38BA8;} + .d2-4098508292 .fill-AA4{fill:#45475A;} + .d2-4098508292 .fill-AA5{fill:#313244;} + .d2-4098508292 .fill-AB4{fill:#45475A;} + .d2-4098508292 .fill-AB5{fill:#313244;} + .d2-4098508292 .stroke-N1{stroke:#CDD6F4;} + .d2-4098508292 .stroke-N2{stroke:#BAC2DE;} + .d2-4098508292 .stroke-N3{stroke:#A6ADC8;} + .d2-4098508292 .stroke-N4{stroke:#585B70;} + .d2-4098508292 .stroke-N5{stroke:#45475A;} + .d2-4098508292 .stroke-N6{stroke:#313244;} + .d2-4098508292 .stroke-N7{stroke:#1E1E2E;} + .d2-4098508292 .stroke-B1{stroke:#CBA6f7;} + .d2-4098508292 .stroke-B2{stroke:#CBA6f7;} + .d2-4098508292 .stroke-B3{stroke:#6C7086;} + .d2-4098508292 .stroke-B4{stroke:#585B70;} + .d2-4098508292 .stroke-B5{stroke:#45475A;} + .d2-4098508292 .stroke-B6{stroke:#313244;} + .d2-4098508292 .stroke-AA2{stroke:#f38BA8;} + .d2-4098508292 .stroke-AA4{stroke:#45475A;} + .d2-4098508292 .stroke-AA5{stroke:#313244;} + .d2-4098508292 .stroke-AB4{stroke:#45475A;} + .d2-4098508292 .stroke-AB5{stroke:#313244;} + .d2-4098508292 .background-color-N1{background-color:#CDD6F4;} + .d2-4098508292 .background-color-N2{background-color:#BAC2DE;} + .d2-4098508292 .background-color-N3{background-color:#A6ADC8;} + .d2-4098508292 .background-color-N4{background-color:#585B70;} + .d2-4098508292 .background-color-N5{background-color:#45475A;} + .d2-4098508292 .background-color-N6{background-color:#313244;} + .d2-4098508292 .background-color-N7{background-color:#1E1E2E;} + .d2-4098508292 .background-color-B1{background-color:#CBA6f7;} + .d2-4098508292 .background-color-B2{background-color:#CBA6f7;} + .d2-4098508292 .background-color-B3{background-color:#6C7086;} + .d2-4098508292 .background-color-B4{background-color:#585B70;} + .d2-4098508292 .background-color-B5{background-color:#45475A;} + .d2-4098508292 .background-color-B6{background-color:#313244;} + .d2-4098508292 .background-color-AA2{background-color:#f38BA8;} + .d2-4098508292 .background-color-AA4{background-color:#45475A;} + .d2-4098508292 .background-color-AA5{background-color:#313244;} + .d2-4098508292 .background-color-AB4{background-color:#45475A;} + .d2-4098508292 .background-color-AB5{background-color:#313244;} + .d2-4098508292 .color-N1{color:#CDD6F4;} + .d2-4098508292 .color-N2{color:#BAC2DE;} + .d2-4098508292 .color-N3{color:#A6ADC8;} + .d2-4098508292 .color-N4{color:#585B70;} + .d2-4098508292 .color-N5{color:#45475A;} + .d2-4098508292 .color-N6{color:#313244;} + .d2-4098508292 .color-N7{color:#1E1E2E;} + .d2-4098508292 .color-B1{color:#CBA6f7;} + .d2-4098508292 .color-B2{color:#CBA6f7;} + .d2-4098508292 .color-B3{color:#6C7086;} + .d2-4098508292 .color-B4{color:#585B70;} + .d2-4098508292 .color-B5{color:#45475A;} + .d2-4098508292 .color-B6{color:#313244;} + .d2-4098508292 .color-AA2{color:#f38BA8;} + .d2-4098508292 .color-AA4{color:#45475A;} + .d2-4098508292 .color-AA5{color:#313244;} + .d2-4098508292 .color-AB4{color:#45475A;} + .d2-4098508292 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>xyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! 1Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS!23 diff --git a/d2renderers/d2svg/appendix/testdata/tooltip_fill/sketch.exp.svg b/d2renderers/d2svg/appendix/testdata/tooltip_fill/sketch.exp.svg index 7d8a1d092..7c5db1680 100644 --- a/d2renderers/d2svg/appendix/testdata/tooltip_fill/sketch.exp.svg +++ b/d2renderers/d2svg/appendix/testdata/tooltip_fill/sketch.exp.svg @@ -1,12 +1,12 @@ -xy 1Total abstinence is easier than perfect moderation2Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! + .d2-3026443247 .fill-N1{fill:#0A0F25;} + .d2-3026443247 .fill-N2{fill:#676C7E;} + .d2-3026443247 .fill-N3{fill:#9499AB;} + .d2-3026443247 .fill-N4{fill:#CFD2DD;} + .d2-3026443247 .fill-N5{fill:#DEE1EB;} + .d2-3026443247 .fill-N6{fill:#EEF1F8;} + .d2-3026443247 .fill-N7{fill:#FFFFFF;} + .d2-3026443247 .fill-B1{fill:#0D32B2;} + .d2-3026443247 .fill-B2{fill:#0D32B2;} + .d2-3026443247 .fill-B3{fill:#E3E9FD;} + .d2-3026443247 .fill-B4{fill:#E3E9FD;} + .d2-3026443247 .fill-B5{fill:#EDF0FD;} + .d2-3026443247 .fill-B6{fill:#F7F8FE;} + .d2-3026443247 .fill-AA2{fill:#4A6FF3;} + .d2-3026443247 .fill-AA4{fill:#EDF0FD;} + .d2-3026443247 .fill-AA5{fill:#F7F8FE;} + .d2-3026443247 .fill-AB4{fill:#EDF0FD;} + .d2-3026443247 .fill-AB5{fill:#F7F8FE;} + .d2-3026443247 .stroke-N1{stroke:#0A0F25;} + .d2-3026443247 .stroke-N2{stroke:#676C7E;} + .d2-3026443247 .stroke-N3{stroke:#9499AB;} + .d2-3026443247 .stroke-N4{stroke:#CFD2DD;} + .d2-3026443247 .stroke-N5{stroke:#DEE1EB;} + .d2-3026443247 .stroke-N6{stroke:#EEF1F8;} + .d2-3026443247 .stroke-N7{stroke:#FFFFFF;} + .d2-3026443247 .stroke-B1{stroke:#0D32B2;} + .d2-3026443247 .stroke-B2{stroke:#0D32B2;} + .d2-3026443247 .stroke-B3{stroke:#E3E9FD;} + .d2-3026443247 .stroke-B4{stroke:#E3E9FD;} + .d2-3026443247 .stroke-B5{stroke:#EDF0FD;} + .d2-3026443247 .stroke-B6{stroke:#F7F8FE;} + .d2-3026443247 .stroke-AA2{stroke:#4A6FF3;} + .d2-3026443247 .stroke-AA4{stroke:#EDF0FD;} + .d2-3026443247 .stroke-AA5{stroke:#F7F8FE;} + .d2-3026443247 .stroke-AB4{stroke:#EDF0FD;} + .d2-3026443247 .stroke-AB5{stroke:#F7F8FE;} + .d2-3026443247 .background-color-N1{background-color:#0A0F25;} + .d2-3026443247 .background-color-N2{background-color:#676C7E;} + .d2-3026443247 .background-color-N3{background-color:#9499AB;} + .d2-3026443247 .background-color-N4{background-color:#CFD2DD;} + .d2-3026443247 .background-color-N5{background-color:#DEE1EB;} + .d2-3026443247 .background-color-N6{background-color:#EEF1F8;} + .d2-3026443247 .background-color-N7{background-color:#FFFFFF;} + .d2-3026443247 .background-color-B1{background-color:#0D32B2;} + .d2-3026443247 .background-color-B2{background-color:#0D32B2;} + .d2-3026443247 .background-color-B3{background-color:#E3E9FD;} + .d2-3026443247 .background-color-B4{background-color:#E3E9FD;} + .d2-3026443247 .background-color-B5{background-color:#EDF0FD;} + .d2-3026443247 .background-color-B6{background-color:#F7F8FE;} + .d2-3026443247 .background-color-AA2{background-color:#4A6FF3;} + .d2-3026443247 .background-color-AA4{background-color:#EDF0FD;} + .d2-3026443247 .background-color-AA5{background-color:#F7F8FE;} + .d2-3026443247 .background-color-AB4{background-color:#EDF0FD;} + .d2-3026443247 .background-color-AB5{background-color:#F7F8FE;} + .d2-3026443247 .color-N1{color:#0A0F25;} + .d2-3026443247 .color-N2{color:#676C7E;} + .d2-3026443247 .color-N3{color:#9499AB;} + .d2-3026443247 .color-N4{color:#CFD2DD;} + .d2-3026443247 .color-N5{color:#DEE1EB;} + .d2-3026443247 .color-N6{color:#EEF1F8;} + .d2-3026443247 .color-N7{color:#FFFFFF;} + .d2-3026443247 .color-B1{color:#0D32B2;} + .d2-3026443247 .color-B2{color:#0D32B2;} + .d2-3026443247 .color-B3{color:#E3E9FD;} + .d2-3026443247 .color-B4{color:#E3E9FD;} + .d2-3026443247 .color-B5{color:#EDF0FD;} + .d2-3026443247 .color-B6{color:#F7F8FE;} + .d2-3026443247 .color-AA2{color:#4A6FF3;} + .d2-3026443247 .color-AA4{color:#EDF0FD;} + .d2-3026443247 .color-AA5{color:#F7F8FE;} + .d2-3026443247 .color-AB4{color:#EDF0FD;} + .d2-3026443247 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xTotal abstinence is easier than perfect moderationyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! Total abstinence is easier than perfect moderation1Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS!2 diff --git a/d2renderers/d2svg/appendix/testdata/tooltip_wider_than_diagram/sketch.exp.svg b/d2renderers/d2svg/appendix/testdata/tooltip_wider_than_diagram/sketch.exp.svg index c588c6c77..7ff1e92b2 100644 --- a/d2renderers/d2svg/appendix/testdata/tooltip_wider_than_diagram/sketch.exp.svg +++ b/d2renderers/d2svg/appendix/testdata/tooltip_wider_than_diagram/sketch.exp.svg @@ -1,12 +1,12 @@ -xy 1Total abstinence is easier than perfect moderation2Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! + .d2-2257413360 .fill-N1{fill:#0A0F25;} + .d2-2257413360 .fill-N2{fill:#676C7E;} + .d2-2257413360 .fill-N3{fill:#9499AB;} + .d2-2257413360 .fill-N4{fill:#CFD2DD;} + .d2-2257413360 .fill-N5{fill:#DEE1EB;} + .d2-2257413360 .fill-N6{fill:#EEF1F8;} + .d2-2257413360 .fill-N7{fill:#FFFFFF;} + .d2-2257413360 .fill-B1{fill:#0D32B2;} + .d2-2257413360 .fill-B2{fill:#0D32B2;} + .d2-2257413360 .fill-B3{fill:#E3E9FD;} + .d2-2257413360 .fill-B4{fill:#E3E9FD;} + .d2-2257413360 .fill-B5{fill:#EDF0FD;} + .d2-2257413360 .fill-B6{fill:#F7F8FE;} + .d2-2257413360 .fill-AA2{fill:#4A6FF3;} + .d2-2257413360 .fill-AA4{fill:#EDF0FD;} + .d2-2257413360 .fill-AA5{fill:#F7F8FE;} + .d2-2257413360 .fill-AB4{fill:#EDF0FD;} + .d2-2257413360 .fill-AB5{fill:#F7F8FE;} + .d2-2257413360 .stroke-N1{stroke:#0A0F25;} + .d2-2257413360 .stroke-N2{stroke:#676C7E;} + .d2-2257413360 .stroke-N3{stroke:#9499AB;} + .d2-2257413360 .stroke-N4{stroke:#CFD2DD;} + .d2-2257413360 .stroke-N5{stroke:#DEE1EB;} + .d2-2257413360 .stroke-N6{stroke:#EEF1F8;} + .d2-2257413360 .stroke-N7{stroke:#FFFFFF;} + .d2-2257413360 .stroke-B1{stroke:#0D32B2;} + .d2-2257413360 .stroke-B2{stroke:#0D32B2;} + .d2-2257413360 .stroke-B3{stroke:#E3E9FD;} + .d2-2257413360 .stroke-B4{stroke:#E3E9FD;} + .d2-2257413360 .stroke-B5{stroke:#EDF0FD;} + .d2-2257413360 .stroke-B6{stroke:#F7F8FE;} + .d2-2257413360 .stroke-AA2{stroke:#4A6FF3;} + .d2-2257413360 .stroke-AA4{stroke:#EDF0FD;} + .d2-2257413360 .stroke-AA5{stroke:#F7F8FE;} + .d2-2257413360 .stroke-AB4{stroke:#EDF0FD;} + .d2-2257413360 .stroke-AB5{stroke:#F7F8FE;} + .d2-2257413360 .background-color-N1{background-color:#0A0F25;} + .d2-2257413360 .background-color-N2{background-color:#676C7E;} + .d2-2257413360 .background-color-N3{background-color:#9499AB;} + .d2-2257413360 .background-color-N4{background-color:#CFD2DD;} + .d2-2257413360 .background-color-N5{background-color:#DEE1EB;} + .d2-2257413360 .background-color-N6{background-color:#EEF1F8;} + .d2-2257413360 .background-color-N7{background-color:#FFFFFF;} + .d2-2257413360 .background-color-B1{background-color:#0D32B2;} + .d2-2257413360 .background-color-B2{background-color:#0D32B2;} + .d2-2257413360 .background-color-B3{background-color:#E3E9FD;} + .d2-2257413360 .background-color-B4{background-color:#E3E9FD;} + .d2-2257413360 .background-color-B5{background-color:#EDF0FD;} + .d2-2257413360 .background-color-B6{background-color:#F7F8FE;} + .d2-2257413360 .background-color-AA2{background-color:#4A6FF3;} + .d2-2257413360 .background-color-AA4{background-color:#EDF0FD;} + .d2-2257413360 .background-color-AA5{background-color:#F7F8FE;} + .d2-2257413360 .background-color-AB4{background-color:#EDF0FD;} + .d2-2257413360 .background-color-AB5{background-color:#F7F8FE;} + .d2-2257413360 .color-N1{color:#0A0F25;} + .d2-2257413360 .color-N2{color:#676C7E;} + .d2-2257413360 .color-N3{color:#9499AB;} + .d2-2257413360 .color-N4{color:#CFD2DD;} + .d2-2257413360 .color-N5{color:#DEE1EB;} + .d2-2257413360 .color-N6{color:#EEF1F8;} + .d2-2257413360 .color-N7{color:#FFFFFF;} + .d2-2257413360 .color-B1{color:#0D32B2;} + .d2-2257413360 .color-B2{color:#0D32B2;} + .d2-2257413360 .color-B3{color:#E3E9FD;} + .d2-2257413360 .color-B4{color:#E3E9FD;} + .d2-2257413360 .color-B5{color:#EDF0FD;} + .d2-2257413360 .color-B6{color:#F7F8FE;} + .d2-2257413360 .color-AA2{color:#4A6FF3;} + .d2-2257413360 .color-AA4{color:#EDF0FD;} + .d2-2257413360 .color-AA5{color:#F7F8FE;} + .d2-2257413360 .color-AB4{color:#EDF0FD;} + .d2-2257413360 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xTotal abstinence is easier than perfect moderationyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! Total abstinence is easier than perfect moderation1Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS!2 diff --git a/d2renderers/d2svg/d2svg.go b/d2renderers/d2svg/d2svg.go index b0e096065..75d4d487c 100644 --- a/d2renderers/d2svg/d2svg.go +++ b/d2renderers/d2svg/d2svg.go @@ -69,10 +69,10 @@ var grain string var paper string type RenderOpts struct { - Pad int - Sketch bool - Center bool - ThemeID int64 + Pad *int64 + Sketch *bool + Center *bool + ThemeID *int64 DarkThemeID *int64 Font string // the svg will be scaled by this factor, if unset the svg will fit to screen @@ -1201,9 +1201,11 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape offsetY /= 2 } box.TopLeft.Y -= float64(offsetY) + box.Height += float64(offsetY) box.Width += d2target.THREE_DEE_OFFSET } else if targetShape.Multiple { box.TopLeft.Y -= d2target.MULTIPLE_OFFSET + box.Height += d2target.MULTIPLE_OFFSET box.Width += d2target.MULTIPLE_OFFSET } } else { @@ -1218,12 +1220,11 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape fontClass := "text" if targetShape.FontFamily == "mono" { fontClass = "text-mono" - } else { - if targetShape.Bold { - fontClass += "-bold" - } else if targetShape.Italic { - fontClass += "-italic" - } + } + if targetShape.Bold { + fontClass += "-bold" + } else if targetShape.Italic { + fontClass += "-italic" } if targetShape.Underline { fontClass += " text-underline" @@ -1340,7 +1341,11 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape } } } - + if targetShape.Tooltip != "" { + fmt.Fprintf(writer, `%s`, + svg.EscapeText(targetShape.Tooltip), + ) + } addAppendixItems(appendixWriter, targetShape, s) fmt.Fprint(writer, closingTag) @@ -1389,12 +1394,12 @@ func addAppendixItems(writer io.Writer, targetShape d2target.Shape, s shape.Shap x := int(math.Ceil(p1.X)) y := int(math.Ceil(p1.Y)) - fmt.Fprintf(writer, `%s`, + fmt.Fprintf(writer, `%s%s`, x-appendixIconRadius, y-appendixIconRadius, + svg.EscapeText(targetShape.Tooltip), TooltipIcon, ) - fmt.Fprintf(writer, `%s`, svg.EscapeText(targetShape.Tooltip)) } if targetShape.Link != "" { if p2 == nil { @@ -1687,26 +1692,28 @@ func appendOnTrigger(buf *bytes.Buffer, source string, triggers []string, newCon } } -const DEFAULT_THEME int64 = 0 - var DEFAULT_DARK_THEME *int64 = nil // no theme selected func Render(diagram *d2target.Diagram, opts *RenderOpts) ([]byte, error) { var sketchRunner *d2sketch.Runner pad := DEFAULT_PADDING - themeID := DEFAULT_THEME + themeID := d2themescatalog.NeutralDefault.ID darkThemeID := DEFAULT_DARK_THEME var scale *float64 if opts != nil { - pad = opts.Pad - if opts.Sketch { + if opts.Pad != nil { + pad = int(*opts.Pad) + } + if opts.Sketch != nil && *opts.Sketch { var err error sketchRunner, err = d2sketch.InitSketchVM() if err != nil { return nil, err } } - themeID = opts.ThemeID + if opts.ThemeID != nil { + themeID = *opts.ThemeID + } darkThemeID = opts.DarkThemeID scale = opts.Scale } @@ -1790,7 +1797,7 @@ func Render(diagram *d2target.Diagram, opts *RenderOpts) ([]byte, error) { upperBuf := &bytes.Buffer{} if opts.MasterID == "" { EmbedFonts(upperBuf, diagramHash, buf.String(), diagram.FontFamily, diagram.GetCorpus()) // EmbedFonts *must* run before `d2sketch.DefineFillPatterns`, but after all elements are appended to `buf` - themeStylesheet, err := ThemeCSS(diagramHash, themeID, darkThemeID) + themeStylesheet, err := ThemeCSS(diagramHash, &themeID, darkThemeID) if err != nil { return nil, err } @@ -1911,7 +1918,7 @@ func Render(diagram *d2target.Diagram, opts *RenderOpts) ([]byte, error) { } alignment := "xMinYMin" - if opts.Center { + if opts.Center != nil && *opts.Center { alignment = "xMidYMid" } fitToScreenWrapperOpening := "" @@ -1952,8 +1959,11 @@ func Render(diagram *d2target.Diagram, opts *RenderOpts) ([]byte, error) { } // TODO include only colors that are being used to reduce size -func ThemeCSS(diagramHash string, themeID int64, darkThemeID *int64) (stylesheet string, err error) { - out, err := singleThemeRulesets(diagramHash, themeID) +func ThemeCSS(diagramHash string, themeID *int64, darkThemeID *int64) (stylesheet string, err error) { + if themeID == nil { + themeID = &d2themescatalog.NeutralDefault.ID + } + out, err := singleThemeRulesets(diagramHash, *themeID) if err != nil { return "", err } diff --git a/d2renderers/d2svg/dark_theme/dark_theme_test.go b/d2renderers/d2svg/dark_theme/dark_theme_test.go index caf81ce00..6439b93c9 100644 --- a/d2renderers/d2svg/dark_theme/dark_theme_test.go +++ b/d2renderers/d2svg/dark_theme/dark_theme_test.go @@ -17,6 +17,7 @@ import ( "oss.terrastruct.com/util-go/diff" "oss.terrastruct.com/util-go/go2" + "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2layouts/d2dagrelayout" "oss.terrastruct.com/d2/d2lib" "oss.terrastruct.com/d2/d2renderers/d2fonts" @@ -426,12 +427,18 @@ func run(t *testing.T, tc testCase) { return } + renderOpts := &d2svg.RenderOpts{ + ThemeID: go2.Pointer(int64(200)), + } + layoutResolver := func(engine string) (d2graph.LayoutGraph, error) { + return d2dagrelayout.DefaultLayout, nil + } + diagram, _, err := d2lib.Compile(ctx, tc.script, &d2lib.CompileOptions{ - Ruler: ruler, - Layout: d2dagrelayout.DefaultLayout, - FontFamily: go2.Pointer(d2fonts.HandDrawn), - ThemeID: 200, - }) + Ruler: ruler, + LayoutResolver: layoutResolver, + FontFamily: go2.Pointer(d2fonts.HandDrawn), + }, renderOpts) if !tassert.Nil(t, err) { return } @@ -439,10 +446,7 @@ func run(t *testing.T, tc testCase) { dataPath := filepath.Join("testdata", strings.TrimPrefix(t.Name(), "TestDarkTheme/")) pathGotSVG := filepath.Join(dataPath, "dark_theme.got.svg") - svgBytes, err := d2svg.Render(diagram, &d2svg.RenderOpts{ - Pad: d2svg.DEFAULT_PADDING, - ThemeID: 200, - }) + svgBytes, err := d2svg.Render(diagram, renderOpts) assert.Success(t, err) err = os.MkdirAll(dataPath, 0755) assert.Success(t, err) diff --git a/d2renderers/d2svg/dark_theme/testdata/all_shapes/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/all_shapes/dark_theme.exp.svg index 7416db269..32a850a0d 100644 --- a/d2renderers/d2svg/dark_theme/testdata/all_shapes/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/all_shapes/dark_theme.exp.svg @@ -1,9 +1,9 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + .d2-3902229455 .fill-N1{fill:#CDD6F4;} + .d2-3902229455 .fill-N2{fill:#BAC2DE;} + .d2-3902229455 .fill-N3{fill:#A6ADC8;} + .d2-3902229455 .fill-N4{fill:#585B70;} + .d2-3902229455 .fill-N5{fill:#45475A;} + .d2-3902229455 .fill-N6{fill:#313244;} + .d2-3902229455 .fill-N7{fill:#1E1E2E;} + .d2-3902229455 .fill-B1{fill:#CBA6f7;} + .d2-3902229455 .fill-B2{fill:#CBA6f7;} + .d2-3902229455 .fill-B3{fill:#6C7086;} + .d2-3902229455 .fill-B4{fill:#585B70;} + .d2-3902229455 .fill-B5{fill:#45475A;} + .d2-3902229455 .fill-B6{fill:#313244;} + .d2-3902229455 .fill-AA2{fill:#f38BA8;} + .d2-3902229455 .fill-AA4{fill:#45475A;} + .d2-3902229455 .fill-AA5{fill:#313244;} + .d2-3902229455 .fill-AB4{fill:#45475A;} + .d2-3902229455 .fill-AB5{fill:#313244;} + .d2-3902229455 .stroke-N1{stroke:#CDD6F4;} + .d2-3902229455 .stroke-N2{stroke:#BAC2DE;} + .d2-3902229455 .stroke-N3{stroke:#A6ADC8;} + .d2-3902229455 .stroke-N4{stroke:#585B70;} + .d2-3902229455 .stroke-N5{stroke:#45475A;} + .d2-3902229455 .stroke-N6{stroke:#313244;} + .d2-3902229455 .stroke-N7{stroke:#1E1E2E;} + .d2-3902229455 .stroke-B1{stroke:#CBA6f7;} + .d2-3902229455 .stroke-B2{stroke:#CBA6f7;} + .d2-3902229455 .stroke-B3{stroke:#6C7086;} + .d2-3902229455 .stroke-B4{stroke:#585B70;} + .d2-3902229455 .stroke-B5{stroke:#45475A;} + .d2-3902229455 .stroke-B6{stroke:#313244;} + .d2-3902229455 .stroke-AA2{stroke:#f38BA8;} + .d2-3902229455 .stroke-AA4{stroke:#45475A;} + .d2-3902229455 .stroke-AA5{stroke:#313244;} + .d2-3902229455 .stroke-AB4{stroke:#45475A;} + .d2-3902229455 .stroke-AB5{stroke:#313244;} + .d2-3902229455 .background-color-N1{background-color:#CDD6F4;} + .d2-3902229455 .background-color-N2{background-color:#BAC2DE;} + .d2-3902229455 .background-color-N3{background-color:#A6ADC8;} + .d2-3902229455 .background-color-N4{background-color:#585B70;} + .d2-3902229455 .background-color-N5{background-color:#45475A;} + .d2-3902229455 .background-color-N6{background-color:#313244;} + .d2-3902229455 .background-color-N7{background-color:#1E1E2E;} + .d2-3902229455 .background-color-B1{background-color:#CBA6f7;} + .d2-3902229455 .background-color-B2{background-color:#CBA6f7;} + .d2-3902229455 .background-color-B3{background-color:#6C7086;} + .d2-3902229455 .background-color-B4{background-color:#585B70;} + .d2-3902229455 .background-color-B5{background-color:#45475A;} + .d2-3902229455 .background-color-B6{background-color:#313244;} + .d2-3902229455 .background-color-AA2{background-color:#f38BA8;} + .d2-3902229455 .background-color-AA4{background-color:#45475A;} + .d2-3902229455 .background-color-AA5{background-color:#313244;} + .d2-3902229455 .background-color-AB4{background-color:#45475A;} + .d2-3902229455 .background-color-AB5{background-color:#313244;} + .d2-3902229455 .color-N1{color:#CDD6F4;} + .d2-3902229455 .color-N2{color:#BAC2DE;} + .d2-3902229455 .color-N3{color:#A6ADC8;} + .d2-3902229455 .color-N4{color:#585B70;} + .d2-3902229455 .color-N5{color:#45475A;} + .d2-3902229455 .color-N6{color:#313244;} + .d2-3902229455 .color-N7{color:#1E1E2E;} + .d2-3902229455 .color-B1{color:#CBA6f7;} + .d2-3902229455 .color-B2{color:#CBA6f7;} + .d2-3902229455 .color-B3{color:#6C7086;} + .d2-3902229455 .color-B4{color:#585B70;} + .d2-3902229455 .color-B5{color:#45475A;} + .d2-3902229455 .color-B6{color:#313244;} + .d2-3902229455 .color-AA2{color:#f38BA8;} + .d2-3902229455 .color-AA4{color:#45475A;} + .d2-3902229455 .color-AA5{color:#313244;} + .d2-3902229455 .color-AB4{color:#45475A;} + .d2-3902229455 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -102,7 +102,7 @@ - + diff --git a/d2renderers/d2svg/dark_theme/testdata/animated/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/animated/dark_theme.exp.svg index 67cf082c8..fb7757168 100644 --- a/d2renderers/d2svg/dark_theme/testdata/animated/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/animated/dark_theme.exp.svg @@ -1,9 +1,9 @@ -wintersummertreessnowsun - - - + .d2-2916329547 .fill-N1{fill:#CDD6F4;} + .d2-2916329547 .fill-N2{fill:#BAC2DE;} + .d2-2916329547 .fill-N3{fill:#A6ADC8;} + .d2-2916329547 .fill-N4{fill:#585B70;} + .d2-2916329547 .fill-N5{fill:#45475A;} + .d2-2916329547 .fill-N6{fill:#313244;} + .d2-2916329547 .fill-N7{fill:#1E1E2E;} + .d2-2916329547 .fill-B1{fill:#CBA6f7;} + .d2-2916329547 .fill-B2{fill:#CBA6f7;} + .d2-2916329547 .fill-B3{fill:#6C7086;} + .d2-2916329547 .fill-B4{fill:#585B70;} + .d2-2916329547 .fill-B5{fill:#45475A;} + .d2-2916329547 .fill-B6{fill:#313244;} + .d2-2916329547 .fill-AA2{fill:#f38BA8;} + .d2-2916329547 .fill-AA4{fill:#45475A;} + .d2-2916329547 .fill-AA5{fill:#313244;} + .d2-2916329547 .fill-AB4{fill:#45475A;} + .d2-2916329547 .fill-AB5{fill:#313244;} + .d2-2916329547 .stroke-N1{stroke:#CDD6F4;} + .d2-2916329547 .stroke-N2{stroke:#BAC2DE;} + .d2-2916329547 .stroke-N3{stroke:#A6ADC8;} + .d2-2916329547 .stroke-N4{stroke:#585B70;} + .d2-2916329547 .stroke-N5{stroke:#45475A;} + .d2-2916329547 .stroke-N6{stroke:#313244;} + .d2-2916329547 .stroke-N7{stroke:#1E1E2E;} + .d2-2916329547 .stroke-B1{stroke:#CBA6f7;} + .d2-2916329547 .stroke-B2{stroke:#CBA6f7;} + .d2-2916329547 .stroke-B3{stroke:#6C7086;} + .d2-2916329547 .stroke-B4{stroke:#585B70;} + .d2-2916329547 .stroke-B5{stroke:#45475A;} + .d2-2916329547 .stroke-B6{stroke:#313244;} + .d2-2916329547 .stroke-AA2{stroke:#f38BA8;} + .d2-2916329547 .stroke-AA4{stroke:#45475A;} + .d2-2916329547 .stroke-AA5{stroke:#313244;} + .d2-2916329547 .stroke-AB4{stroke:#45475A;} + .d2-2916329547 .stroke-AB5{stroke:#313244;} + .d2-2916329547 .background-color-N1{background-color:#CDD6F4;} + .d2-2916329547 .background-color-N2{background-color:#BAC2DE;} + .d2-2916329547 .background-color-N3{background-color:#A6ADC8;} + .d2-2916329547 .background-color-N4{background-color:#585B70;} + .d2-2916329547 .background-color-N5{background-color:#45475A;} + .d2-2916329547 .background-color-N6{background-color:#313244;} + .d2-2916329547 .background-color-N7{background-color:#1E1E2E;} + .d2-2916329547 .background-color-B1{background-color:#CBA6f7;} + .d2-2916329547 .background-color-B2{background-color:#CBA6f7;} + .d2-2916329547 .background-color-B3{background-color:#6C7086;} + .d2-2916329547 .background-color-B4{background-color:#585B70;} + .d2-2916329547 .background-color-B5{background-color:#45475A;} + .d2-2916329547 .background-color-B6{background-color:#313244;} + .d2-2916329547 .background-color-AA2{background-color:#f38BA8;} + .d2-2916329547 .background-color-AA4{background-color:#45475A;} + .d2-2916329547 .background-color-AA5{background-color:#313244;} + .d2-2916329547 .background-color-AB4{background-color:#45475A;} + .d2-2916329547 .background-color-AB5{background-color:#313244;} + .d2-2916329547 .color-N1{color:#CDD6F4;} + .d2-2916329547 .color-N2{color:#BAC2DE;} + .d2-2916329547 .color-N3{color:#A6ADC8;} + .d2-2916329547 .color-N4{color:#585B70;} + .d2-2916329547 .color-N5{color:#45475A;} + .d2-2916329547 .color-N6{color:#313244;} + .d2-2916329547 .color-N7{color:#1E1E2E;} + .d2-2916329547 .color-B1{color:#CBA6f7;} + .d2-2916329547 .color-B2{color:#CBA6f7;} + .d2-2916329547 .color-B3{color:#6C7086;} + .d2-2916329547 .color-B4{color:#585B70;} + .d2-2916329547 .color-B5{color:#45475A;} + .d2-2916329547 .color-B6{color:#313244;} + .d2-2916329547 .color-AA2{color:#f38BA8;} + .d2-2916329547 .color-AA4{color:#45475A;} + .d2-2916329547 .color-AA5{color:#313244;} + .d2-2916329547 .color-AB4{color:#45475A;} + .d2-2916329547 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>wintersummertreessnowsun + + + - - + + \ No newline at end of file diff --git a/d2renderers/d2svg/dark_theme/testdata/arrowheads/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/arrowheads/dark_theme.exp.svg index 04281f795..b87b7c15c 100644 --- a/d2renderers/d2svg/dark_theme/testdata/arrowheads/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/arrowheads/dark_theme.exp.svg @@ -1,16 +1,16 @@ -112233445566778899none arrow triangle diamond diamond filled cf-many cf-many-required cf-one cf-one-required - + .d2-3148583989 .fill-N1{fill:#CDD6F4;} + .d2-3148583989 .fill-N2{fill:#BAC2DE;} + .d2-3148583989 .fill-N3{fill:#A6ADC8;} + .d2-3148583989 .fill-N4{fill:#585B70;} + .d2-3148583989 .fill-N5{fill:#45475A;} + .d2-3148583989 .fill-N6{fill:#313244;} + .d2-3148583989 .fill-N7{fill:#1E1E2E;} + .d2-3148583989 .fill-B1{fill:#CBA6f7;} + .d2-3148583989 .fill-B2{fill:#CBA6f7;} + .d2-3148583989 .fill-B3{fill:#6C7086;} + .d2-3148583989 .fill-B4{fill:#585B70;} + .d2-3148583989 .fill-B5{fill:#45475A;} + .d2-3148583989 .fill-B6{fill:#313244;} + .d2-3148583989 .fill-AA2{fill:#f38BA8;} + .d2-3148583989 .fill-AA4{fill:#45475A;} + .d2-3148583989 .fill-AA5{fill:#313244;} + .d2-3148583989 .fill-AB4{fill:#45475A;} + .d2-3148583989 .fill-AB5{fill:#313244;} + .d2-3148583989 .stroke-N1{stroke:#CDD6F4;} + .d2-3148583989 .stroke-N2{stroke:#BAC2DE;} + .d2-3148583989 .stroke-N3{stroke:#A6ADC8;} + .d2-3148583989 .stroke-N4{stroke:#585B70;} + .d2-3148583989 .stroke-N5{stroke:#45475A;} + .d2-3148583989 .stroke-N6{stroke:#313244;} + .d2-3148583989 .stroke-N7{stroke:#1E1E2E;} + .d2-3148583989 .stroke-B1{stroke:#CBA6f7;} + .d2-3148583989 .stroke-B2{stroke:#CBA6f7;} + .d2-3148583989 .stroke-B3{stroke:#6C7086;} + .d2-3148583989 .stroke-B4{stroke:#585B70;} + .d2-3148583989 .stroke-B5{stroke:#45475A;} + .d2-3148583989 .stroke-B6{stroke:#313244;} + .d2-3148583989 .stroke-AA2{stroke:#f38BA8;} + .d2-3148583989 .stroke-AA4{stroke:#45475A;} + .d2-3148583989 .stroke-AA5{stroke:#313244;} + .d2-3148583989 .stroke-AB4{stroke:#45475A;} + .d2-3148583989 .stroke-AB5{stroke:#313244;} + .d2-3148583989 .background-color-N1{background-color:#CDD6F4;} + .d2-3148583989 .background-color-N2{background-color:#BAC2DE;} + .d2-3148583989 .background-color-N3{background-color:#A6ADC8;} + .d2-3148583989 .background-color-N4{background-color:#585B70;} + .d2-3148583989 .background-color-N5{background-color:#45475A;} + .d2-3148583989 .background-color-N6{background-color:#313244;} + .d2-3148583989 .background-color-N7{background-color:#1E1E2E;} + .d2-3148583989 .background-color-B1{background-color:#CBA6f7;} + .d2-3148583989 .background-color-B2{background-color:#CBA6f7;} + .d2-3148583989 .background-color-B3{background-color:#6C7086;} + .d2-3148583989 .background-color-B4{background-color:#585B70;} + .d2-3148583989 .background-color-B5{background-color:#45475A;} + .d2-3148583989 .background-color-B6{background-color:#313244;} + .d2-3148583989 .background-color-AA2{background-color:#f38BA8;} + .d2-3148583989 .background-color-AA4{background-color:#45475A;} + .d2-3148583989 .background-color-AA5{background-color:#313244;} + .d2-3148583989 .background-color-AB4{background-color:#45475A;} + .d2-3148583989 .background-color-AB5{background-color:#313244;} + .d2-3148583989 .color-N1{color:#CDD6F4;} + .d2-3148583989 .color-N2{color:#BAC2DE;} + .d2-3148583989 .color-N3{color:#A6ADC8;} + .d2-3148583989 .color-N4{color:#585B70;} + .d2-3148583989 .color-N5{color:#45475A;} + .d2-3148583989 .color-N6{color:#313244;} + .d2-3148583989 .color-N7{color:#1E1E2E;} + .d2-3148583989 .color-B1{color:#CBA6f7;} + .d2-3148583989 .color-B2{color:#CBA6f7;} + .d2-3148583989 .color-B3{color:#6C7086;} + .d2-3148583989 .color-B4{color:#585B70;} + .d2-3148583989 .color-B5{color:#45475A;} + .d2-3148583989 .color-B6{color:#313244;} + .d2-3148583989 .color-AA2{color:#f38BA8;} + .d2-3148583989 .color-AA4{color:#45475A;} + .d2-3148583989 .color-AA5{color:#313244;} + .d2-3148583989 .color-AB4{color:#45475A;} + .d2-3148583989 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>112233445566778899none arrow triangle diamond diamond filled cf-many cf-many-required cf-one cf-one-required + diff --git a/d2renderers/d2svg/dark_theme/testdata/basic/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/basic/dark_theme.exp.svg index ebb118dfb..289ef8cb9 100644 --- a/d2renderers/d2svg/dark_theme/testdata/basic/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/basic/dark_theme.exp.svg @@ -1,9 +1,9 @@ -ab + .d2-327680947 .fill-N1{fill:#CDD6F4;} + .d2-327680947 .fill-N2{fill:#BAC2DE;} + .d2-327680947 .fill-N3{fill:#A6ADC8;} + .d2-327680947 .fill-N4{fill:#585B70;} + .d2-327680947 .fill-N5{fill:#45475A;} + .d2-327680947 .fill-N6{fill:#313244;} + .d2-327680947 .fill-N7{fill:#1E1E2E;} + .d2-327680947 .fill-B1{fill:#CBA6f7;} + .d2-327680947 .fill-B2{fill:#CBA6f7;} + .d2-327680947 .fill-B3{fill:#6C7086;} + .d2-327680947 .fill-B4{fill:#585B70;} + .d2-327680947 .fill-B5{fill:#45475A;} + .d2-327680947 .fill-B6{fill:#313244;} + .d2-327680947 .fill-AA2{fill:#f38BA8;} + .d2-327680947 .fill-AA4{fill:#45475A;} + .d2-327680947 .fill-AA5{fill:#313244;} + .d2-327680947 .fill-AB4{fill:#45475A;} + .d2-327680947 .fill-AB5{fill:#313244;} + .d2-327680947 .stroke-N1{stroke:#CDD6F4;} + .d2-327680947 .stroke-N2{stroke:#BAC2DE;} + .d2-327680947 .stroke-N3{stroke:#A6ADC8;} + .d2-327680947 .stroke-N4{stroke:#585B70;} + .d2-327680947 .stroke-N5{stroke:#45475A;} + .d2-327680947 .stroke-N6{stroke:#313244;} + .d2-327680947 .stroke-N7{stroke:#1E1E2E;} + .d2-327680947 .stroke-B1{stroke:#CBA6f7;} + .d2-327680947 .stroke-B2{stroke:#CBA6f7;} + .d2-327680947 .stroke-B3{stroke:#6C7086;} + .d2-327680947 .stroke-B4{stroke:#585B70;} + .d2-327680947 .stroke-B5{stroke:#45475A;} + .d2-327680947 .stroke-B6{stroke:#313244;} + .d2-327680947 .stroke-AA2{stroke:#f38BA8;} + .d2-327680947 .stroke-AA4{stroke:#45475A;} + .d2-327680947 .stroke-AA5{stroke:#313244;} + .d2-327680947 .stroke-AB4{stroke:#45475A;} + .d2-327680947 .stroke-AB5{stroke:#313244;} + .d2-327680947 .background-color-N1{background-color:#CDD6F4;} + .d2-327680947 .background-color-N2{background-color:#BAC2DE;} + .d2-327680947 .background-color-N3{background-color:#A6ADC8;} + .d2-327680947 .background-color-N4{background-color:#585B70;} + .d2-327680947 .background-color-N5{background-color:#45475A;} + .d2-327680947 .background-color-N6{background-color:#313244;} + .d2-327680947 .background-color-N7{background-color:#1E1E2E;} + .d2-327680947 .background-color-B1{background-color:#CBA6f7;} + .d2-327680947 .background-color-B2{background-color:#CBA6f7;} + .d2-327680947 .background-color-B3{background-color:#6C7086;} + .d2-327680947 .background-color-B4{background-color:#585B70;} + .d2-327680947 .background-color-B5{background-color:#45475A;} + .d2-327680947 .background-color-B6{background-color:#313244;} + .d2-327680947 .background-color-AA2{background-color:#f38BA8;} + .d2-327680947 .background-color-AA4{background-color:#45475A;} + .d2-327680947 .background-color-AA5{background-color:#313244;} + .d2-327680947 .background-color-AB4{background-color:#45475A;} + .d2-327680947 .background-color-AB5{background-color:#313244;} + .d2-327680947 .color-N1{color:#CDD6F4;} + .d2-327680947 .color-N2{color:#BAC2DE;} + .d2-327680947 .color-N3{color:#A6ADC8;} + .d2-327680947 .color-N4{color:#585B70;} + .d2-327680947 .color-N5{color:#45475A;} + .d2-327680947 .color-N6{color:#313244;} + .d2-327680947 .color-N7{color:#1E1E2E;} + .d2-327680947 .color-B1{color:#CBA6f7;} + .d2-327680947 .color-B2{color:#CBA6f7;} + .d2-327680947 .color-B3{color:#6C7086;} + .d2-327680947 .color-B4{color:#585B70;} + .d2-327680947 .color-B5{color:#45475A;} + .d2-327680947 .color-B6{color:#313244;} + .d2-327680947 .color-AA2{color:#f38BA8;} + .d2-327680947 .color-AA4{color:#45475A;} + .d2-327680947 .color-AA5{color:#313244;} + .d2-327680947 .color-AB4{color:#45475A;} + .d2-327680947 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>ab diff --git a/d2renderers/d2svg/dark_theme/testdata/child_to_child/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/child_to_child/dark_theme.exp.svg index 6d0c2c544..916508812 100644 --- a/d2renderers/d2svg/dark_theme/testdata/child_to_child/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/child_to_child/dark_theme.exp.svg @@ -1,16 +1,16 @@ -wintersummersnowsun - - - - - + .d2-914436609 .fill-N1{fill:#CDD6F4;} + .d2-914436609 .fill-N2{fill:#BAC2DE;} + .d2-914436609 .fill-N3{fill:#A6ADC8;} + .d2-914436609 .fill-N4{fill:#585B70;} + .d2-914436609 .fill-N5{fill:#45475A;} + .d2-914436609 .fill-N6{fill:#313244;} + .d2-914436609 .fill-N7{fill:#1E1E2E;} + .d2-914436609 .fill-B1{fill:#CBA6f7;} + .d2-914436609 .fill-B2{fill:#CBA6f7;} + .d2-914436609 .fill-B3{fill:#6C7086;} + .d2-914436609 .fill-B4{fill:#585B70;} + .d2-914436609 .fill-B5{fill:#45475A;} + .d2-914436609 .fill-B6{fill:#313244;} + .d2-914436609 .fill-AA2{fill:#f38BA8;} + .d2-914436609 .fill-AA4{fill:#45475A;} + .d2-914436609 .fill-AA5{fill:#313244;} + .d2-914436609 .fill-AB4{fill:#45475A;} + .d2-914436609 .fill-AB5{fill:#313244;} + .d2-914436609 .stroke-N1{stroke:#CDD6F4;} + .d2-914436609 .stroke-N2{stroke:#BAC2DE;} + .d2-914436609 .stroke-N3{stroke:#A6ADC8;} + .d2-914436609 .stroke-N4{stroke:#585B70;} + .d2-914436609 .stroke-N5{stroke:#45475A;} + .d2-914436609 .stroke-N6{stroke:#313244;} + .d2-914436609 .stroke-N7{stroke:#1E1E2E;} + .d2-914436609 .stroke-B1{stroke:#CBA6f7;} + .d2-914436609 .stroke-B2{stroke:#CBA6f7;} + .d2-914436609 .stroke-B3{stroke:#6C7086;} + .d2-914436609 .stroke-B4{stroke:#585B70;} + .d2-914436609 .stroke-B5{stroke:#45475A;} + .d2-914436609 .stroke-B6{stroke:#313244;} + .d2-914436609 .stroke-AA2{stroke:#f38BA8;} + .d2-914436609 .stroke-AA4{stroke:#45475A;} + .d2-914436609 .stroke-AA5{stroke:#313244;} + .d2-914436609 .stroke-AB4{stroke:#45475A;} + .d2-914436609 .stroke-AB5{stroke:#313244;} + .d2-914436609 .background-color-N1{background-color:#CDD6F4;} + .d2-914436609 .background-color-N2{background-color:#BAC2DE;} + .d2-914436609 .background-color-N3{background-color:#A6ADC8;} + .d2-914436609 .background-color-N4{background-color:#585B70;} + .d2-914436609 .background-color-N5{background-color:#45475A;} + .d2-914436609 .background-color-N6{background-color:#313244;} + .d2-914436609 .background-color-N7{background-color:#1E1E2E;} + .d2-914436609 .background-color-B1{background-color:#CBA6f7;} + .d2-914436609 .background-color-B2{background-color:#CBA6f7;} + .d2-914436609 .background-color-B3{background-color:#6C7086;} + .d2-914436609 .background-color-B4{background-color:#585B70;} + .d2-914436609 .background-color-B5{background-color:#45475A;} + .d2-914436609 .background-color-B6{background-color:#313244;} + .d2-914436609 .background-color-AA2{background-color:#f38BA8;} + .d2-914436609 .background-color-AA4{background-color:#45475A;} + .d2-914436609 .background-color-AA5{background-color:#313244;} + .d2-914436609 .background-color-AB4{background-color:#45475A;} + .d2-914436609 .background-color-AB5{background-color:#313244;} + .d2-914436609 .color-N1{color:#CDD6F4;} + .d2-914436609 .color-N2{color:#BAC2DE;} + .d2-914436609 .color-N3{color:#A6ADC8;} + .d2-914436609 .color-N4{color:#585B70;} + .d2-914436609 .color-N5{color:#45475A;} + .d2-914436609 .color-N6{color:#313244;} + .d2-914436609 .color-N7{color:#1E1E2E;} + .d2-914436609 .color-B1{color:#CBA6f7;} + .d2-914436609 .color-B2{color:#CBA6f7;} + .d2-914436609 .color-B3{color:#6C7086;} + .d2-914436609 .color-B4{color:#585B70;} + .d2-914436609 .color-B5{color:#45475A;} + .d2-914436609 .color-B6{color:#313244;} + .d2-914436609 .color-AA2{color:#f38BA8;} + .d2-914436609 .color-AA4{color:#45475A;} + .d2-914436609 .color-AA5{color:#313244;} + .d2-914436609 .color-AB4{color:#45475A;} + .d2-914436609 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>wintersummersnowsun + + + + + \ No newline at end of file diff --git a/d2renderers/d2svg/dark_theme/testdata/class/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/class/dark_theme.exp.svg index 891dafbd5..45f0be5b1 100644 --- a/d2renderers/d2svg/dark_theme/testdata/class/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/class/dark_theme.exp.svg @@ -1,9 +1,9 @@ -BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-2730605657 .fill-N1{fill:#CDD6F4;} + .d2-2730605657 .fill-N2{fill:#BAC2DE;} + .d2-2730605657 .fill-N3{fill:#A6ADC8;} + .d2-2730605657 .fill-N4{fill:#585B70;} + .d2-2730605657 .fill-N5{fill:#45475A;} + .d2-2730605657 .fill-N6{fill:#313244;} + .d2-2730605657 .fill-N7{fill:#1E1E2E;} + .d2-2730605657 .fill-B1{fill:#CBA6f7;} + .d2-2730605657 .fill-B2{fill:#CBA6f7;} + .d2-2730605657 .fill-B3{fill:#6C7086;} + .d2-2730605657 .fill-B4{fill:#585B70;} + .d2-2730605657 .fill-B5{fill:#45475A;} + .d2-2730605657 .fill-B6{fill:#313244;} + .d2-2730605657 .fill-AA2{fill:#f38BA8;} + .d2-2730605657 .fill-AA4{fill:#45475A;} + .d2-2730605657 .fill-AA5{fill:#313244;} + .d2-2730605657 .fill-AB4{fill:#45475A;} + .d2-2730605657 .fill-AB5{fill:#313244;} + .d2-2730605657 .stroke-N1{stroke:#CDD6F4;} + .d2-2730605657 .stroke-N2{stroke:#BAC2DE;} + .d2-2730605657 .stroke-N3{stroke:#A6ADC8;} + .d2-2730605657 .stroke-N4{stroke:#585B70;} + .d2-2730605657 .stroke-N5{stroke:#45475A;} + .d2-2730605657 .stroke-N6{stroke:#313244;} + .d2-2730605657 .stroke-N7{stroke:#1E1E2E;} + .d2-2730605657 .stroke-B1{stroke:#CBA6f7;} + .d2-2730605657 .stroke-B2{stroke:#CBA6f7;} + .d2-2730605657 .stroke-B3{stroke:#6C7086;} + .d2-2730605657 .stroke-B4{stroke:#585B70;} + .d2-2730605657 .stroke-B5{stroke:#45475A;} + .d2-2730605657 .stroke-B6{stroke:#313244;} + .d2-2730605657 .stroke-AA2{stroke:#f38BA8;} + .d2-2730605657 .stroke-AA4{stroke:#45475A;} + .d2-2730605657 .stroke-AA5{stroke:#313244;} + .d2-2730605657 .stroke-AB4{stroke:#45475A;} + .d2-2730605657 .stroke-AB5{stroke:#313244;} + .d2-2730605657 .background-color-N1{background-color:#CDD6F4;} + .d2-2730605657 .background-color-N2{background-color:#BAC2DE;} + .d2-2730605657 .background-color-N3{background-color:#A6ADC8;} + .d2-2730605657 .background-color-N4{background-color:#585B70;} + .d2-2730605657 .background-color-N5{background-color:#45475A;} + .d2-2730605657 .background-color-N6{background-color:#313244;} + .d2-2730605657 .background-color-N7{background-color:#1E1E2E;} + .d2-2730605657 .background-color-B1{background-color:#CBA6f7;} + .d2-2730605657 .background-color-B2{background-color:#CBA6f7;} + .d2-2730605657 .background-color-B3{background-color:#6C7086;} + .d2-2730605657 .background-color-B4{background-color:#585B70;} + .d2-2730605657 .background-color-B5{background-color:#45475A;} + .d2-2730605657 .background-color-B6{background-color:#313244;} + .d2-2730605657 .background-color-AA2{background-color:#f38BA8;} + .d2-2730605657 .background-color-AA4{background-color:#45475A;} + .d2-2730605657 .background-color-AA5{background-color:#313244;} + .d2-2730605657 .background-color-AB4{background-color:#45475A;} + .d2-2730605657 .background-color-AB5{background-color:#313244;} + .d2-2730605657 .color-N1{color:#CDD6F4;} + .d2-2730605657 .color-N2{color:#BAC2DE;} + .d2-2730605657 .color-N3{color:#A6ADC8;} + .d2-2730605657 .color-N4{color:#585B70;} + .d2-2730605657 .color-N5{color:#45475A;} + .d2-2730605657 .color-N6{color:#313244;} + .d2-2730605657 .color-N7{color:#1E1E2E;} + .d2-2730605657 .color-B1{color:#CBA6f7;} + .d2-2730605657 .color-B2{color:#CBA6f7;} + .d2-2730605657 .color-B3{color:#6C7086;} + .d2-2730605657 .color-B4{color:#585B70;} + .d2-2730605657 .color-B5{color:#45475A;} + .d2-2730605657 .color-B6{color:#313244;} + .d2-2730605657 .color-AA2{color:#f38BA8;} + .d2-2730605657 .color-AA4{color:#45475A;} + .d2-2730605657 .color-AA5{color:#313244;} + .d2-2730605657 .color-AB4{color:#45475A;} + .d2-2730605657 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/d2renderers/d2svg/dark_theme/testdata/code/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/code/dark_theme.exp.svg index aafa9cf23..342e9d114 100644 --- a/d2renderers/d2svg/dark_theme/testdata/code/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/code/dark_theme.exp.svg @@ -1,34 +1,34 @@ -func main() { @@ -855,7 +855,7 @@ }func main() {   panic("TODO") }

Five is a sufficiently close approximation to infinity.

-
Don't hit me!!  I'm in the Twilight Zone!!!Don't hit me!!  I'm in the Twilight Zone!!! +Don't hit me!!  I'm in the Twilight Zone!!!Don't hit me!!  I'm in the Twilight Zone!!! diff --git a/d2renderers/d2svg/dark_theme/testdata/connection_label/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/connection_label/dark_theme.exp.svg index ac464f2aa..dad58a300 100644 --- a/d2renderers/d2svg/dark_theme/testdata/connection_label/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/connection_label/dark_theme.exp.svg @@ -1,16 +1,16 @@ -ab hello + .d2-2029734873 .fill-N1{fill:#CDD6F4;} + .d2-2029734873 .fill-N2{fill:#BAC2DE;} + .d2-2029734873 .fill-N3{fill:#A6ADC8;} + .d2-2029734873 .fill-N4{fill:#585B70;} + .d2-2029734873 .fill-N5{fill:#45475A;} + .d2-2029734873 .fill-N6{fill:#313244;} + .d2-2029734873 .fill-N7{fill:#1E1E2E;} + .d2-2029734873 .fill-B1{fill:#CBA6f7;} + .d2-2029734873 .fill-B2{fill:#CBA6f7;} + .d2-2029734873 .fill-B3{fill:#6C7086;} + .d2-2029734873 .fill-B4{fill:#585B70;} + .d2-2029734873 .fill-B5{fill:#45475A;} + .d2-2029734873 .fill-B6{fill:#313244;} + .d2-2029734873 .fill-AA2{fill:#f38BA8;} + .d2-2029734873 .fill-AA4{fill:#45475A;} + .d2-2029734873 .fill-AA5{fill:#313244;} + .d2-2029734873 .fill-AB4{fill:#45475A;} + .d2-2029734873 .fill-AB5{fill:#313244;} + .d2-2029734873 .stroke-N1{stroke:#CDD6F4;} + .d2-2029734873 .stroke-N2{stroke:#BAC2DE;} + .d2-2029734873 .stroke-N3{stroke:#A6ADC8;} + .d2-2029734873 .stroke-N4{stroke:#585B70;} + .d2-2029734873 .stroke-N5{stroke:#45475A;} + .d2-2029734873 .stroke-N6{stroke:#313244;} + .d2-2029734873 .stroke-N7{stroke:#1E1E2E;} + .d2-2029734873 .stroke-B1{stroke:#CBA6f7;} + .d2-2029734873 .stroke-B2{stroke:#CBA6f7;} + .d2-2029734873 .stroke-B3{stroke:#6C7086;} + .d2-2029734873 .stroke-B4{stroke:#585B70;} + .d2-2029734873 .stroke-B5{stroke:#45475A;} + .d2-2029734873 .stroke-B6{stroke:#313244;} + .d2-2029734873 .stroke-AA2{stroke:#f38BA8;} + .d2-2029734873 .stroke-AA4{stroke:#45475A;} + .d2-2029734873 .stroke-AA5{stroke:#313244;} + .d2-2029734873 .stroke-AB4{stroke:#45475A;} + .d2-2029734873 .stroke-AB5{stroke:#313244;} + .d2-2029734873 .background-color-N1{background-color:#CDD6F4;} + .d2-2029734873 .background-color-N2{background-color:#BAC2DE;} + .d2-2029734873 .background-color-N3{background-color:#A6ADC8;} + .d2-2029734873 .background-color-N4{background-color:#585B70;} + .d2-2029734873 .background-color-N5{background-color:#45475A;} + .d2-2029734873 .background-color-N6{background-color:#313244;} + .d2-2029734873 .background-color-N7{background-color:#1E1E2E;} + .d2-2029734873 .background-color-B1{background-color:#CBA6f7;} + .d2-2029734873 .background-color-B2{background-color:#CBA6f7;} + .d2-2029734873 .background-color-B3{background-color:#6C7086;} + .d2-2029734873 .background-color-B4{background-color:#585B70;} + .d2-2029734873 .background-color-B5{background-color:#45475A;} + .d2-2029734873 .background-color-B6{background-color:#313244;} + .d2-2029734873 .background-color-AA2{background-color:#f38BA8;} + .d2-2029734873 .background-color-AA4{background-color:#45475A;} + .d2-2029734873 .background-color-AA5{background-color:#313244;} + .d2-2029734873 .background-color-AB4{background-color:#45475A;} + .d2-2029734873 .background-color-AB5{background-color:#313244;} + .d2-2029734873 .color-N1{color:#CDD6F4;} + .d2-2029734873 .color-N2{color:#BAC2DE;} + .d2-2029734873 .color-N3{color:#A6ADC8;} + .d2-2029734873 .color-N4{color:#585B70;} + .d2-2029734873 .color-N5{color:#45475A;} + .d2-2029734873 .color-N6{color:#313244;} + .d2-2029734873 .color-N7{color:#1E1E2E;} + .d2-2029734873 .color-B1{color:#CBA6f7;} + .d2-2029734873 .color-B2{color:#CBA6f7;} + .d2-2029734873 .color-B3{color:#6C7086;} + .d2-2029734873 .color-B4{color:#585B70;} + .d2-2029734873 .color-B5{color:#45475A;} + .d2-2029734873 .color-B6{color:#313244;} + .d2-2029734873 .color-AA2{color:#f38BA8;} + .d2-2029734873 .color-AA4{color:#45475A;} + .d2-2029734873 .color-AA5{color:#313244;} + .d2-2029734873 .color-AB4{color:#45475A;} + .d2-2029734873 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>ab hello diff --git a/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg index adcf552e7..d70408a22 100644 --- a/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg @@ -1,27 +1,27 @@ -x

linux: because a PC is a terrible thing to waste

-
auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. +auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. diff --git a/d2renderers/d2svg/dark_theme/testdata/overlay/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/overlay/dark_theme.exp.svg index 47def9f3e..bf8863431 100644 --- a/d2renderers/d2svg/dark_theme/testdata/overlay/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/overlay/dark_theme.exp.svg @@ -1,9 +1,9 @@ -brightnormaldarkdarker + .d2-4290168978 .fill-N1{fill:#CDD6F4;} + .d2-4290168978 .fill-N2{fill:#BAC2DE;} + .d2-4290168978 .fill-N3{fill:#A6ADC8;} + .d2-4290168978 .fill-N4{fill:#585B70;} + .d2-4290168978 .fill-N5{fill:#45475A;} + .d2-4290168978 .fill-N6{fill:#313244;} + .d2-4290168978 .fill-N7{fill:#1E1E2E;} + .d2-4290168978 .fill-B1{fill:#CBA6f7;} + .d2-4290168978 .fill-B2{fill:#CBA6f7;} + .d2-4290168978 .fill-B3{fill:#6C7086;} + .d2-4290168978 .fill-B4{fill:#585B70;} + .d2-4290168978 .fill-B5{fill:#45475A;} + .d2-4290168978 .fill-B6{fill:#313244;} + .d2-4290168978 .fill-AA2{fill:#f38BA8;} + .d2-4290168978 .fill-AA4{fill:#45475A;} + .d2-4290168978 .fill-AA5{fill:#313244;} + .d2-4290168978 .fill-AB4{fill:#45475A;} + .d2-4290168978 .fill-AB5{fill:#313244;} + .d2-4290168978 .stroke-N1{stroke:#CDD6F4;} + .d2-4290168978 .stroke-N2{stroke:#BAC2DE;} + .d2-4290168978 .stroke-N3{stroke:#A6ADC8;} + .d2-4290168978 .stroke-N4{stroke:#585B70;} + .d2-4290168978 .stroke-N5{stroke:#45475A;} + .d2-4290168978 .stroke-N6{stroke:#313244;} + .d2-4290168978 .stroke-N7{stroke:#1E1E2E;} + .d2-4290168978 .stroke-B1{stroke:#CBA6f7;} + .d2-4290168978 .stroke-B2{stroke:#CBA6f7;} + .d2-4290168978 .stroke-B3{stroke:#6C7086;} + .d2-4290168978 .stroke-B4{stroke:#585B70;} + .d2-4290168978 .stroke-B5{stroke:#45475A;} + .d2-4290168978 .stroke-B6{stroke:#313244;} + .d2-4290168978 .stroke-AA2{stroke:#f38BA8;} + .d2-4290168978 .stroke-AA4{stroke:#45475A;} + .d2-4290168978 .stroke-AA5{stroke:#313244;} + .d2-4290168978 .stroke-AB4{stroke:#45475A;} + .d2-4290168978 .stroke-AB5{stroke:#313244;} + .d2-4290168978 .background-color-N1{background-color:#CDD6F4;} + .d2-4290168978 .background-color-N2{background-color:#BAC2DE;} + .d2-4290168978 .background-color-N3{background-color:#A6ADC8;} + .d2-4290168978 .background-color-N4{background-color:#585B70;} + .d2-4290168978 .background-color-N5{background-color:#45475A;} + .d2-4290168978 .background-color-N6{background-color:#313244;} + .d2-4290168978 .background-color-N7{background-color:#1E1E2E;} + .d2-4290168978 .background-color-B1{background-color:#CBA6f7;} + .d2-4290168978 .background-color-B2{background-color:#CBA6f7;} + .d2-4290168978 .background-color-B3{background-color:#6C7086;} + .d2-4290168978 .background-color-B4{background-color:#585B70;} + .d2-4290168978 .background-color-B5{background-color:#45475A;} + .d2-4290168978 .background-color-B6{background-color:#313244;} + .d2-4290168978 .background-color-AA2{background-color:#f38BA8;} + .d2-4290168978 .background-color-AA4{background-color:#45475A;} + .d2-4290168978 .background-color-AA5{background-color:#313244;} + .d2-4290168978 .background-color-AB4{background-color:#45475A;} + .d2-4290168978 .background-color-AB5{background-color:#313244;} + .d2-4290168978 .color-N1{color:#CDD6F4;} + .d2-4290168978 .color-N2{color:#BAC2DE;} + .d2-4290168978 .color-N3{color:#A6ADC8;} + .d2-4290168978 .color-N4{color:#585B70;} + .d2-4290168978 .color-N5{color:#45475A;} + .d2-4290168978 .color-N6{color:#313244;} + .d2-4290168978 .color-N7{color:#1E1E2E;} + .d2-4290168978 .color-B1{color:#CBA6f7;} + .d2-4290168978 .color-B2{color:#CBA6f7;} + .d2-4290168978 .color-B3{color:#6C7086;} + .d2-4290168978 .color-B4{color:#585B70;} + .d2-4290168978 .color-B5{color:#45475A;} + .d2-4290168978 .color-B6{color:#313244;} + .d2-4290168978 .color-AA2{color:#f38BA8;} + .d2-4290168978 .color-AA4{color:#45475A;} + .d2-4290168978 .color-AA5{color:#313244;} + .d2-4290168978 .color-AB4{color:#45475A;} + .d2-4290168978 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>brightnormaldarkdarker diff --git a/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg index 64dc2f60d..d18d83ac5 100644 --- a/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg @@ -1,9 +1,9 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring + .d2-2504113906 .fill-N1{fill:#CDD6F4;} + .d2-2504113906 .fill-N2{fill:#BAC2DE;} + .d2-2504113906 .fill-N3{fill:#A6ADC8;} + .d2-2504113906 .fill-N4{fill:#585B70;} + .d2-2504113906 .fill-N5{fill:#45475A;} + .d2-2504113906 .fill-N6{fill:#313244;} + .d2-2504113906 .fill-N7{fill:#1E1E2E;} + .d2-2504113906 .fill-B1{fill:#CBA6f7;} + .d2-2504113906 .fill-B2{fill:#CBA6f7;} + .d2-2504113906 .fill-B3{fill:#6C7086;} + .d2-2504113906 .fill-B4{fill:#585B70;} + .d2-2504113906 .fill-B5{fill:#45475A;} + .d2-2504113906 .fill-B6{fill:#313244;} + .d2-2504113906 .fill-AA2{fill:#f38BA8;} + .d2-2504113906 .fill-AA4{fill:#45475A;} + .d2-2504113906 .fill-AA5{fill:#313244;} + .d2-2504113906 .fill-AB4{fill:#45475A;} + .d2-2504113906 .fill-AB5{fill:#313244;} + .d2-2504113906 .stroke-N1{stroke:#CDD6F4;} + .d2-2504113906 .stroke-N2{stroke:#BAC2DE;} + .d2-2504113906 .stroke-N3{stroke:#A6ADC8;} + .d2-2504113906 .stroke-N4{stroke:#585B70;} + .d2-2504113906 .stroke-N5{stroke:#45475A;} + .d2-2504113906 .stroke-N6{stroke:#313244;} + .d2-2504113906 .stroke-N7{stroke:#1E1E2E;} + .d2-2504113906 .stroke-B1{stroke:#CBA6f7;} + .d2-2504113906 .stroke-B2{stroke:#CBA6f7;} + .d2-2504113906 .stroke-B3{stroke:#6C7086;} + .d2-2504113906 .stroke-B4{stroke:#585B70;} + .d2-2504113906 .stroke-B5{stroke:#45475A;} + .d2-2504113906 .stroke-B6{stroke:#313244;} + .d2-2504113906 .stroke-AA2{stroke:#f38BA8;} + .d2-2504113906 .stroke-AA4{stroke:#45475A;} + .d2-2504113906 .stroke-AA5{stroke:#313244;} + .d2-2504113906 .stroke-AB4{stroke:#45475A;} + .d2-2504113906 .stroke-AB5{stroke:#313244;} + .d2-2504113906 .background-color-N1{background-color:#CDD6F4;} + .d2-2504113906 .background-color-N2{background-color:#BAC2DE;} + .d2-2504113906 .background-color-N3{background-color:#A6ADC8;} + .d2-2504113906 .background-color-N4{background-color:#585B70;} + .d2-2504113906 .background-color-N5{background-color:#45475A;} + .d2-2504113906 .background-color-N6{background-color:#313244;} + .d2-2504113906 .background-color-N7{background-color:#1E1E2E;} + .d2-2504113906 .background-color-B1{background-color:#CBA6f7;} + .d2-2504113906 .background-color-B2{background-color:#CBA6f7;} + .d2-2504113906 .background-color-B3{background-color:#6C7086;} + .d2-2504113906 .background-color-B4{background-color:#585B70;} + .d2-2504113906 .background-color-B5{background-color:#45475A;} + .d2-2504113906 .background-color-B6{background-color:#313244;} + .d2-2504113906 .background-color-AA2{background-color:#f38BA8;} + .d2-2504113906 .background-color-AA4{background-color:#45475A;} + .d2-2504113906 .background-color-AA5{background-color:#313244;} + .d2-2504113906 .background-color-AB4{background-color:#45475A;} + .d2-2504113906 .background-color-AB5{background-color:#313244;} + .d2-2504113906 .color-N1{color:#CDD6F4;} + .d2-2504113906 .color-N2{color:#BAC2DE;} + .d2-2504113906 .color-N3{color:#A6ADC8;} + .d2-2504113906 .color-N4{color:#585B70;} + .d2-2504113906 .color-N5{color:#45475A;} + .d2-2504113906 .color-N6{color:#313244;} + .d2-2504113906 .color-N7{color:#1E1E2E;} + .d2-2504113906 .color-B1{color:#CBA6f7;} + .d2-2504113906 .color-B2{color:#CBA6f7;} + .d2-2504113906 .color-B3{color:#6C7086;} + .d2-2504113906 .color-B4{color:#585B70;} + .d2-2504113906 .color-B5{color:#45475A;} + .d2-2504113906 .color-B6{color:#313244;} + .d2-2504113906 .color-AA2{color:#f38BA8;} + .d2-2504113906 .color-AA4{color:#45475A;} + .d2-2504113906 .color-AA5{color:#313244;} + .d2-2504113906 .color-AB4{color:#45475A;} + .d2-2504113906 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring \ No newline at end of file diff --git a/d2renderers/d2svg/dark_theme/testdata/twitter/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/twitter/dark_theme.exp.svg index aafb4ab50..78c8ed5d8 100644 --- a/d2renderers/d2svg/dark_theme/testdata/twitter/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/twitter/dark_theme.exp.svg @@ -1,27 +1,27 @@ -People discovery serviceAd mixerOnboarding serviceTwitter Frontend WebIphoneAndroidTimelineScorerHome RankerTimeline ServiceHome mixerManhattanGizmoduckSocial graphTweety PiePrediction ServiceHome ScorerManhattanMemcacheFetchFeatureScoringPrediction Service...etc

Timeline mixer

+People discovery serviceAd mixerOnboarding serviceTwitter Frontend WebIphoneAndroidTimelineScorerHome RankerTimeline ServiceHome mixerManhattanGizmoduckSocial graphTweety PiePrediction ServiceHome ScorerManhattanMemcacheFetchFeatureScoringPrediction Service...etc

Timeline mixer

  • Inject ads, who-to-follow, onboarding
  • Conversation module
  • @@ -851,46 +851,46 @@
  • Tweat deduplication
  • Served data logging
-
GraphQLFederated Strato Column

Tweet/user content hydration, visibility filtering

-
TLS-API (being deprecated)CrMixerEarlyBirdUtagSpaceCommunities iPhone webHTTP AndroidThrift RPC Candidate FetchFeature HydrationCandidate sources - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
GraphQLFederated Strato Column

Tweet/user content hydration, visibility filtering

+
TLS-API (being deprecated)CrMixerEarlyBirdUtagSpaceCommunities iPhone webHTTP AndroidThrift RPC Candidate FetchFeature HydrationCandidate sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/d2target/d2target.go b/d2target/d2target.go index fb7cd0cf2..46e086985 100644 --- a/d2target/d2target.go +++ b/d2target/d2target.go @@ -6,6 +6,7 @@ import ( "hash/fnv" "math" "net/url" + "os" "strings" "oss.terrastruct.com/util-go/go2" @@ -38,8 +39,24 @@ const ( var BorderOffset = geo.NewVector(5, 5) +type Config struct { + Sketch *bool `json:"sketch"` + ThemeID *int64 `json:"themeID"` + DarkThemeID *int64 `json:"darkThemeID"` + Pad *int64 `json:"pad"` + Center *bool `json:"center"` + LayoutEngine *string `json:"layoutEngine"` + ThemeOverrides *ThemeOverrides `json:"themeOverrides"` +} + +type ThemeOverrides struct { + N1 *string `json:"n1"` + // TODO +} + type Diagram struct { - Name string `json:"name"` + Name string `json:"name"` + Config *Config `json:"config,omitempty"` // See docs on the same field in d2graph to understand what it means. IsFolderOnly bool `json:"isFolderOnly"` Description string `json:"description,omitempty"` @@ -56,6 +73,76 @@ type Diagram struct { Steps []*Diagram `json:"steps,omitempty"` } +// boardPath comes in the form of "x/layers/z/scenarios/a" +// or in the form of "layers/z/scenarios/a" +func (d *Diagram) GetBoard(boardPath string) *Diagram { + path := strings.Split(boardPath, string(os.PathSeparator)) + if len(path) == 0 || len(boardPath) == 0 { + return d + } + + return d.getBoard(path) +} + +func (d *Diagram) getBoard(boardPath []string) *Diagram { + if len(boardPath) == 0 { + return d + } + + head := boardPath[0] + + if head == "index" { + return d + } + + switch head { + case "layers": + if len(boardPath) < 2 { + return nil + } + for _, b := range d.Layers { + if b.Name == boardPath[1] { + return b.getBoard(boardPath[2:]) + } + } + case "scenarios": + if len(boardPath) < 2 { + return nil + } + for _, b := range d.Scenarios { + if b.Name == boardPath[1] { + return b.getBoard(boardPath[2:]) + } + } + case "steps": + if len(boardPath) < 2 { + return nil + } + for _, b := range d.Steps { + if b.Name == boardPath[1] { + return b.getBoard(boardPath[2:]) + } + } + } + + for _, b := range d.Layers { + if b.Name == head { + return b.getBoard(boardPath[2:]) + } + } + for _, b := range d.Scenarios { + if b.Name == head { + return b.getBoard(boardPath[2:]) + } + } + for _, b := range d.Steps { + if b.Name == head { + return b.getBoard(boardPath[2:]) + } + } + return nil +} + func (diagram Diagram) Bytes() ([]byte, error) { b1, err := json.Marshal(diagram.Shapes) if err != nil { @@ -65,7 +152,19 @@ func (diagram Diagram) Bytes() ([]byte, error) { if err != nil { return nil, err } - base := append(b1, b2...) + b3, err := json.Marshal(diagram.Root) + if err != nil { + return nil, err + } + base := append(append(b1, b2...), b3...) + + if diagram.Config != nil { + b, err := json.Marshal(diagram.Config) + if err != nil { + return nil, err + } + base = append(base, b...) + } for _, d := range diagram.Layers { slices, err := d.Bytes() @@ -199,11 +298,11 @@ func (diagram Diagram) BoundingBox() (topLeft, bottomRight Point) { if strings.HasPrefix(targetShape.IconPosition, "OUTSIDE_TOP") { y1 = go2.Min(y1, targetShape.Pos.Y-label.PADDING-size) } else if strings.HasPrefix(targetShape.IconPosition, "OUTSIDE_BOTTOM") { - y2 = go2.Max(y2, targetShape.Pos.Y+label.PADDING+size) + y2 = go2.Max(y2, targetShape.Pos.Y+targetShape.Height+label.PADDING+size) } else if strings.HasPrefix(targetShape.IconPosition, "OUTSIDE_LEFT") { x1 = go2.Min(x1, targetShape.Pos.X-label.PADDING-size) } else if strings.HasPrefix(targetShape.IconPosition, "OUTSIDE_RIGHT") { - x2 = go2.Max(x2, targetShape.Pos.X+label.PADDING+size) + x2 = go2.Max(x2, targetShape.Pos.X+targetShape.Width+label.PADDING+size) } } diff --git a/docs/examples/lib/1-d2lib/d2lib.go b/docs/examples/lib/1-d2lib/d2lib.go index 1a0472970..58f2ddc40 100644 --- a/docs/examples/lib/1-d2lib/d2lib.go +++ b/docs/examples/lib/1-d2lib/d2lib.go @@ -11,21 +11,24 @@ import ( "oss.terrastruct.com/d2/d2renderers/d2svg" "oss.terrastruct.com/d2/d2themes/d2themescatalog" "oss.terrastruct.com/d2/lib/textmeasure" + "oss.terrastruct.com/util-go/go2" ) // Remember to add if err != nil checks in production. func main() { ruler, _ := textmeasure.NewRuler() - defaultLayout := func(ctx context.Context, g *d2graph.Graph) error { - return d2dagrelayout.Layout(ctx, g, nil) + layoutResolver := func(engine string) (d2graph.LayoutGraph, error) { + return d2dagrelayout.DefaultLayout, nil } - diagram, _, _ := d2lib.Compile(context.Background(), "x -> y", &d2lib.CompileOptions{ - Layout: defaultLayout, - Ruler: ruler, - }) - out, _ := d2svg.Render(diagram, &d2svg.RenderOpts{ - Pad: d2svg.DEFAULT_PADDING, - ThemeID: d2themescatalog.GrapeSoda.ID, - }) + renderOpts := &d2svg.RenderOpts{ + Pad: go2.Pointer(int64(5)), + ThemeID: &d2themescatalog.GrapeSoda.ID, + } + compileOpts := &d2lib.CompileOptions{ + LayoutResolver: layoutResolver, + Ruler: ruler, + } + diagram, _, _ := d2lib.Compile(context.Background(), "x -> y", compileOpts, renderOpts) + out, _ := d2svg.Render(diagram, renderOpts) _ = ioutil.WriteFile(filepath.Join("out.svg"), out, 0600) } diff --git a/docs/examples/lib/2-d2oracle/d2oracle.go b/docs/examples/lib/2-d2oracle/d2oracle.go index 8f37024e2..b59dca1fe 100644 --- a/docs/examples/lib/2-d2oracle/d2oracle.go +++ b/docs/examples/lib/2-d2oracle/d2oracle.go @@ -5,6 +5,7 @@ import ( "fmt" "oss.terrastruct.com/d2/d2format" + "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2layouts/d2dagrelayout" "oss.terrastruct.com/d2/d2lib" "oss.terrastruct.com/d2/d2oracle" @@ -15,10 +16,14 @@ import ( func main() { // From one.go ruler, _ := textmeasure.NewRuler() - _, graph, _ := d2lib.Compile(context.Background(), "x -> y", &d2lib.CompileOptions{ - Layout: d2dagrelayout.DefaultLayout, - Ruler: ruler, - }) + layoutResolver := func(engine string) (d2graph.LayoutGraph, error) { + return d2dagrelayout.DefaultLayout, nil + } + compileOpts := &d2lib.CompileOptions{ + LayoutResolver: layoutResolver, + Ruler: ruler, + } + _, graph, _ := d2lib.Compile(context.Background(), "x -> y", compileOpts, nil) // Create a shape with the ID, "meow" graph, _, _ = d2oracle.Create(graph, nil, "meow") diff --git a/docs/examples/lib/3-lowlevel/lowlevel.go b/docs/examples/lib/3-lowlevel/lowlevel.go index 55bcea233..53f0468e7 100644 --- a/docs/examples/lib/3-lowlevel/lowlevel.go +++ b/docs/examples/lib/3-lowlevel/lowlevel.go @@ -16,15 +16,15 @@ import ( // Remember to add if err != nil checks in production. func main() { - graph, _ := d2compiler.Compile("", strings.NewReader("x -> y"), nil) + graph, config, _ := d2compiler.Compile("", strings.NewReader("x -> y"), nil) graph.ApplyTheme(d2themescatalog.NeutralDefault.ID) ruler, _ := textmeasure.NewRuler() _ = graph.SetDimensions(nil, ruler, nil) _ = d2dagrelayout.Layout(context.Background(), graph, nil) diagram, _ := d2exporter.Export(context.Background(), graph, nil) + diagram.Config = config out, _ := d2svg.Render(diagram, &d2svg.RenderOpts{ - Pad: d2svg.DEFAULT_PADDING, - ThemeID: d2themescatalog.NeutralDefault.ID, + ThemeID: &d2themescatalog.NeutralDefault.ID, }) _ = ioutil.WriteFile(filepath.Join("out.svg"), out, 0600) } diff --git a/docs/examples/wcc/wcc.d2 b/docs/examples/wcc/wcc.d2 index bd9dcdf2b..f47593792 100644 --- a/docs/examples/wcc/wcc.d2 +++ b/docs/examples/wcc/wcc.d2 @@ -34,6 +34,7 @@ layers: { link: steps.1 style.font-size: 24 } + steps: { 1: { titled: Earn pre-requisite titles (IM) @@ -149,7 +150,7 @@ layers: { best of 14 games -> tiebreaks: if needed tiebreaks.link: layers.tiebreaks - + layers: { tiebreaks: { description: |md diff --git a/e2etests-cli/main_test.go b/e2etests-cli/main_test.go index c968c6f42..d955e351f 100644 --- a/e2etests-cli/main_test.go +++ b/e2etests-cli/main_test.go @@ -74,8 +74,17 @@ func TestCLI_E2E(t *testing.T) { writeFile(t, dir, "empty-layer.d2", `layers: { x: {} }`) err := runTestMain(t, ctx, dir, env, "empty-layer.d2") assert.Success(t, err) + }, + }, + { + name: "layer-link", + run: func(t *testing.T, ctx context.Context, dir string, env *xos.Env) { + writeFile(t, dir, "test.d2", `doh: { link: layers.test2 }; layers: { test2: @test2.d2 }`) + writeFile(t, dir, "test2.d2", `x: I'm a Mac { link: https://example.com }`) + err := runTestMain(t, ctx, dir, env, "test.d2", "layer-link.svg") + assert.Success(t, err) - assert.TestdataDir(t, filepath.Join(dir, "empty-layer")) + assert.TestdataDir(t, filepath.Join(dir, "layer-link")) }, }, { @@ -111,6 +120,38 @@ func TestCLI_E2E(t *testing.T) { shape: text } +steps: { + 1: { + Approach road + } + 2: { + Approach road -> Cross road + } + 3: { + Cross road -> Make you wonder why + } +} +`) + err := runTestMain(t, ctx, dir, env, "--animate-interval=1400", "animation.d2") + assert.Success(t, err) + svg := readFile(t, dir, "animation.svg") + assert.Testdata(t, ".svg", svg) + }, + }, + { + name: "vars-animation", + run: func(t *testing.T, ctx context.Context, dir string, env *xos.Env) { + writeFile(t, dir, "animation.d2", `vars: { + d2-config: { + theme-id: 300 + } +} +Chicken's plan: { + style.font-size: 35 + near: top-center + shape: text +} + steps: { 1: { Approach road @@ -404,6 +445,17 @@ steps: { assert.Testdata(t, ".svg", svg) }, }, + { + name: "import_vars", + run: func(t *testing.T, ctx context.Context, dir string, env *xos.Env) { + writeFile(t, dir, "hello-world.d2", `vars: { d2-config: @config }; x -> y`) + writeFile(t, dir, "config.d2", `theme-id: 200`) + err := runTestMain(t, ctx, dir, env, filepath.Join(dir, "hello-world.d2")) + assert.Success(t, err) + svg := readFile(t, dir, "hello-world.svg") + assert.Testdata(t, ".svg", svg) + }, + }, { name: "import_spread_nested", run: func(t *testing.T, ctx context.Context, dir string, env *xos.Env) { @@ -449,6 +501,26 @@ steps: { }) }, }, + { + name: "vars-config", + run: func(t *testing.T, ctx context.Context, dir string, env *xos.Env) { + writeFile(t, dir, "hello-world.d2", `vars: { + d2-config: { + sketch: true + layout-engine: elk + } +} +x -> y -> a.dream +it -> was -> all -> a.dream +i used to read +`) + env.Setenv("D2_THEME", "1") + err := runTestMain(t, ctx, dir, env, "--pad=10", "hello-world.d2") + assert.Success(t, err) + svg := readFile(t, dir, "hello-world.svg") + assert.Testdata(t, ".svg", svg) + }, + }, } ctx := context.Background() diff --git a/e2etests-cli/testdata/TestCLI_E2E/abspath.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/abspath.exp.svg index b572b06c2..63f8b5d26 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/abspath.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/abspath.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-1843626214 .fill-N1{fill:#0A0F25;} + .d2-1843626214 .fill-N2{fill:#676C7E;} + .d2-1843626214 .fill-N3{fill:#9499AB;} + .d2-1843626214 .fill-N4{fill:#CFD2DD;} + .d2-1843626214 .fill-N5{fill:#DEE1EB;} + .d2-1843626214 .fill-N6{fill:#EEF1F8;} + .d2-1843626214 .fill-N7{fill:#FFFFFF;} + .d2-1843626214 .fill-B1{fill:#0D32B2;} + .d2-1843626214 .fill-B2{fill:#0D32B2;} + .d2-1843626214 .fill-B3{fill:#E3E9FD;} + .d2-1843626214 .fill-B4{fill:#E3E9FD;} + .d2-1843626214 .fill-B5{fill:#EDF0FD;} + .d2-1843626214 .fill-B6{fill:#F7F8FE;} + .d2-1843626214 .fill-AA2{fill:#4A6FF3;} + .d2-1843626214 .fill-AA4{fill:#EDF0FD;} + .d2-1843626214 .fill-AA5{fill:#F7F8FE;} + .d2-1843626214 .fill-AB4{fill:#EDF0FD;} + .d2-1843626214 .fill-AB5{fill:#F7F8FE;} + .d2-1843626214 .stroke-N1{stroke:#0A0F25;} + .d2-1843626214 .stroke-N2{stroke:#676C7E;} + .d2-1843626214 .stroke-N3{stroke:#9499AB;} + .d2-1843626214 .stroke-N4{stroke:#CFD2DD;} + .d2-1843626214 .stroke-N5{stroke:#DEE1EB;} + .d2-1843626214 .stroke-N6{stroke:#EEF1F8;} + .d2-1843626214 .stroke-N7{stroke:#FFFFFF;} + .d2-1843626214 .stroke-B1{stroke:#0D32B2;} + .d2-1843626214 .stroke-B2{stroke:#0D32B2;} + .d2-1843626214 .stroke-B3{stroke:#E3E9FD;} + .d2-1843626214 .stroke-B4{stroke:#E3E9FD;} + .d2-1843626214 .stroke-B5{stroke:#EDF0FD;} + .d2-1843626214 .stroke-B6{stroke:#F7F8FE;} + .d2-1843626214 .stroke-AA2{stroke:#4A6FF3;} + .d2-1843626214 .stroke-AA4{stroke:#EDF0FD;} + .d2-1843626214 .stroke-AA5{stroke:#F7F8FE;} + .d2-1843626214 .stroke-AB4{stroke:#EDF0FD;} + .d2-1843626214 .stroke-AB5{stroke:#F7F8FE;} + .d2-1843626214 .background-color-N1{background-color:#0A0F25;} + .d2-1843626214 .background-color-N2{background-color:#676C7E;} + .d2-1843626214 .background-color-N3{background-color:#9499AB;} + .d2-1843626214 .background-color-N4{background-color:#CFD2DD;} + .d2-1843626214 .background-color-N5{background-color:#DEE1EB;} + .d2-1843626214 .background-color-N6{background-color:#EEF1F8;} + .d2-1843626214 .background-color-N7{background-color:#FFFFFF;} + .d2-1843626214 .background-color-B1{background-color:#0D32B2;} + .d2-1843626214 .background-color-B2{background-color:#0D32B2;} + .d2-1843626214 .background-color-B3{background-color:#E3E9FD;} + .d2-1843626214 .background-color-B4{background-color:#E3E9FD;} + .d2-1843626214 .background-color-B5{background-color:#EDF0FD;} + .d2-1843626214 .background-color-B6{background-color:#F7F8FE;} + .d2-1843626214 .background-color-AA2{background-color:#4A6FF3;} + .d2-1843626214 .background-color-AA4{background-color:#EDF0FD;} + .d2-1843626214 .background-color-AA5{background-color:#F7F8FE;} + .d2-1843626214 .background-color-AB4{background-color:#EDF0FD;} + .d2-1843626214 .background-color-AB5{background-color:#F7F8FE;} + .d2-1843626214 .color-N1{color:#0A0F25;} + .d2-1843626214 .color-N2{color:#676C7E;} + .d2-1843626214 .color-N3{color:#9499AB;} + .d2-1843626214 .color-N4{color:#CFD2DD;} + .d2-1843626214 .color-N5{color:#DEE1EB;} + .d2-1843626214 .color-N6{color:#EEF1F8;} + .d2-1843626214 .color-N7{color:#FFFFFF;} + .d2-1843626214 .color-B1{color:#0D32B2;} + .d2-1843626214 .color-B2{color:#0D32B2;} + .d2-1843626214 .color-B3{color:#E3E9FD;} + .d2-1843626214 .color-B4{color:#E3E9FD;} + .d2-1843626214 .color-B5{color:#EDF0FD;} + .d2-1843626214 .color-B6{color:#F7F8FE;} + .d2-1843626214 .color-AA2{color:#4A6FF3;} + .d2-1843626214 .color-AA4{color:#EDF0FD;} + .d2-1843626214 .color-AA5{color:#F7F8FE;} + .d2-1843626214 .color-AB4{color:#EDF0FD;} + .d2-1843626214 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/animation.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/animation.exp.svg index 81d43d92a..f6216f287 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/animation.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/animation.exp.svg @@ -1,16 +1,16 @@ -Chicken's plan +}]]>Chicken's plan -Approach roadChicken's plan +Approach roadChicken's plan -Approach roadCross roadChicken's plan +Approach roadCross roadChicken's plan -Approach roadCross roadMake you wonder whyChicken's plan +Approach roadCross roadMake you wonder whyChicken's plan diff --git a/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x-y.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x-y.exp.svg index 101f09133..5d443cab8 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x-y.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x-y.exp.svg @@ -1,9 +1,9 @@ -meow + .d2-3054270525 .fill-N1{fill:#0A0F25;} + .d2-3054270525 .fill-N2{fill:#676C7E;} + .d2-3054270525 .fill-N3{fill:#9499AB;} + .d2-3054270525 .fill-N4{fill:#CFD2DD;} + .d2-3054270525 .fill-N5{fill:#DEE1EB;} + .d2-3054270525 .fill-N6{fill:#EEF1F8;} + .d2-3054270525 .fill-N7{fill:#FFFFFF;} + .d2-3054270525 .fill-B1{fill:#0D32B2;} + .d2-3054270525 .fill-B2{fill:#0D32B2;} + .d2-3054270525 .fill-B3{fill:#E3E9FD;} + .d2-3054270525 .fill-B4{fill:#E3E9FD;} + .d2-3054270525 .fill-B5{fill:#EDF0FD;} + .d2-3054270525 .fill-B6{fill:#F7F8FE;} + .d2-3054270525 .fill-AA2{fill:#4A6FF3;} + .d2-3054270525 .fill-AA4{fill:#EDF0FD;} + .d2-3054270525 .fill-AA5{fill:#F7F8FE;} + .d2-3054270525 .fill-AB4{fill:#EDF0FD;} + .d2-3054270525 .fill-AB5{fill:#F7F8FE;} + .d2-3054270525 .stroke-N1{stroke:#0A0F25;} + .d2-3054270525 .stroke-N2{stroke:#676C7E;} + .d2-3054270525 .stroke-N3{stroke:#9499AB;} + .d2-3054270525 .stroke-N4{stroke:#CFD2DD;} + .d2-3054270525 .stroke-N5{stroke:#DEE1EB;} + .d2-3054270525 .stroke-N6{stroke:#EEF1F8;} + .d2-3054270525 .stroke-N7{stroke:#FFFFFF;} + .d2-3054270525 .stroke-B1{stroke:#0D32B2;} + .d2-3054270525 .stroke-B2{stroke:#0D32B2;} + .d2-3054270525 .stroke-B3{stroke:#E3E9FD;} + .d2-3054270525 .stroke-B4{stroke:#E3E9FD;} + .d2-3054270525 .stroke-B5{stroke:#EDF0FD;} + .d2-3054270525 .stroke-B6{stroke:#F7F8FE;} + .d2-3054270525 .stroke-AA2{stroke:#4A6FF3;} + .d2-3054270525 .stroke-AA4{stroke:#EDF0FD;} + .d2-3054270525 .stroke-AA5{stroke:#F7F8FE;} + .d2-3054270525 .stroke-AB4{stroke:#EDF0FD;} + .d2-3054270525 .stroke-AB5{stroke:#F7F8FE;} + .d2-3054270525 .background-color-N1{background-color:#0A0F25;} + .d2-3054270525 .background-color-N2{background-color:#676C7E;} + .d2-3054270525 .background-color-N3{background-color:#9499AB;} + .d2-3054270525 .background-color-N4{background-color:#CFD2DD;} + .d2-3054270525 .background-color-N5{background-color:#DEE1EB;} + .d2-3054270525 .background-color-N6{background-color:#EEF1F8;} + .d2-3054270525 .background-color-N7{background-color:#FFFFFF;} + .d2-3054270525 .background-color-B1{background-color:#0D32B2;} + .d2-3054270525 .background-color-B2{background-color:#0D32B2;} + .d2-3054270525 .background-color-B3{background-color:#E3E9FD;} + .d2-3054270525 .background-color-B4{background-color:#E3E9FD;} + .d2-3054270525 .background-color-B5{background-color:#EDF0FD;} + .d2-3054270525 .background-color-B6{background-color:#F7F8FE;} + .d2-3054270525 .background-color-AA2{background-color:#4A6FF3;} + .d2-3054270525 .background-color-AA4{background-color:#EDF0FD;} + .d2-3054270525 .background-color-AA5{background-color:#F7F8FE;} + .d2-3054270525 .background-color-AB4{background-color:#EDF0FD;} + .d2-3054270525 .background-color-AB5{background-color:#F7F8FE;} + .d2-3054270525 .color-N1{color:#0A0F25;} + .d2-3054270525 .color-N2{color:#676C7E;} + .d2-3054270525 .color-N3{color:#9499AB;} + .d2-3054270525 .color-N4{color:#CFD2DD;} + .d2-3054270525 .color-N5{color:#DEE1EB;} + .d2-3054270525 .color-N6{color:#EEF1F8;} + .d2-3054270525 .color-N7{color:#FFFFFF;} + .d2-3054270525 .color-B1{color:#0D32B2;} + .d2-3054270525 .color-B2{color:#0D32B2;} + .d2-3054270525 .color-B3{color:#E3E9FD;} + .d2-3054270525 .color-B4{color:#E3E9FD;} + .d2-3054270525 .color-B5{color:#EDF0FD;} + .d2-3054270525 .color-B6{color:#F7F8FE;} + .d2-3054270525 .color-AA2{color:#4A6FF3;} + .d2-3054270525 .color-AA4{color:#EDF0FD;} + .d2-3054270525 .color-AA5{color:#F7F8FE;} + .d2-3054270525 .color-AB4{color:#EDF0FD;} + .d2-3054270525 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>meow diff --git a/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x.exp.svg index ba8abb553..2445c80cd 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world-x.exp.svg @@ -1,12 +1,12 @@ -y + .d2-1655546234 .fill-N1{fill:#0A0F25;} + .d2-1655546234 .fill-N2{fill:#676C7E;} + .d2-1655546234 .fill-N3{fill:#9499AB;} + .d2-1655546234 .fill-N4{fill:#CFD2DD;} + .d2-1655546234 .fill-N5{fill:#DEE1EB;} + .d2-1655546234 .fill-N6{fill:#EEF1F8;} + .d2-1655546234 .fill-N7{fill:#FFFFFF;} + .d2-1655546234 .fill-B1{fill:#0D32B2;} + .d2-1655546234 .fill-B2{fill:#0D32B2;} + .d2-1655546234 .fill-B3{fill:#E3E9FD;} + .d2-1655546234 .fill-B4{fill:#E3E9FD;} + .d2-1655546234 .fill-B5{fill:#EDF0FD;} + .d2-1655546234 .fill-B6{fill:#F7F8FE;} + .d2-1655546234 .fill-AA2{fill:#4A6FF3;} + .d2-1655546234 .fill-AA4{fill:#EDF0FD;} + .d2-1655546234 .fill-AA5{fill:#F7F8FE;} + .d2-1655546234 .fill-AB4{fill:#EDF0FD;} + .d2-1655546234 .fill-AB5{fill:#F7F8FE;} + .d2-1655546234 .stroke-N1{stroke:#0A0F25;} + .d2-1655546234 .stroke-N2{stroke:#676C7E;} + .d2-1655546234 .stroke-N3{stroke:#9499AB;} + .d2-1655546234 .stroke-N4{stroke:#CFD2DD;} + .d2-1655546234 .stroke-N5{stroke:#DEE1EB;} + .d2-1655546234 .stroke-N6{stroke:#EEF1F8;} + .d2-1655546234 .stroke-N7{stroke:#FFFFFF;} + .d2-1655546234 .stroke-B1{stroke:#0D32B2;} + .d2-1655546234 .stroke-B2{stroke:#0D32B2;} + .d2-1655546234 .stroke-B3{stroke:#E3E9FD;} + .d2-1655546234 .stroke-B4{stroke:#E3E9FD;} + .d2-1655546234 .stroke-B5{stroke:#EDF0FD;} + .d2-1655546234 .stroke-B6{stroke:#F7F8FE;} + .d2-1655546234 .stroke-AA2{stroke:#4A6FF3;} + .d2-1655546234 .stroke-AA4{stroke:#EDF0FD;} + .d2-1655546234 .stroke-AA5{stroke:#F7F8FE;} + .d2-1655546234 .stroke-AB4{stroke:#EDF0FD;} + .d2-1655546234 .stroke-AB5{stroke:#F7F8FE;} + .d2-1655546234 .background-color-N1{background-color:#0A0F25;} + .d2-1655546234 .background-color-N2{background-color:#676C7E;} + .d2-1655546234 .background-color-N3{background-color:#9499AB;} + .d2-1655546234 .background-color-N4{background-color:#CFD2DD;} + .d2-1655546234 .background-color-N5{background-color:#DEE1EB;} + .d2-1655546234 .background-color-N6{background-color:#EEF1F8;} + .d2-1655546234 .background-color-N7{background-color:#FFFFFF;} + .d2-1655546234 .background-color-B1{background-color:#0D32B2;} + .d2-1655546234 .background-color-B2{background-color:#0D32B2;} + .d2-1655546234 .background-color-B3{background-color:#E3E9FD;} + .d2-1655546234 .background-color-B4{background-color:#E3E9FD;} + .d2-1655546234 .background-color-B5{background-color:#EDF0FD;} + .d2-1655546234 .background-color-B6{background-color:#F7F8FE;} + .d2-1655546234 .background-color-AA2{background-color:#4A6FF3;} + .d2-1655546234 .background-color-AA4{background-color:#EDF0FD;} + .d2-1655546234 .background-color-AA5{background-color:#F7F8FE;} + .d2-1655546234 .background-color-AB4{background-color:#EDF0FD;} + .d2-1655546234 .background-color-AB5{background-color:#F7F8FE;} + .d2-1655546234 .color-N1{color:#0A0F25;} + .d2-1655546234 .color-N2{color:#676C7E;} + .d2-1655546234 .color-N3{color:#9499AB;} + .d2-1655546234 .color-N4{color:#CFD2DD;} + .d2-1655546234 .color-N5{color:#DEE1EB;} + .d2-1655546234 .color-N6{color:#EEF1F8;} + .d2-1655546234 .color-N7{color:#FFFFFF;} + .d2-1655546234 .color-B1{color:#0D32B2;} + .d2-1655546234 .color-B2{color:#0D32B2;} + .d2-1655546234 .color-B3{color:#E3E9FD;} + .d2-1655546234 .color-B4{color:#E3E9FD;} + .d2-1655546234 .color-B5{color:#EDF0FD;} + .d2-1655546234 .color-B6{color:#F7F8FE;} + .d2-1655546234 .color-AA2{color:#4A6FF3;} + .d2-1655546234 .color-AA4{color:#EDF0FD;} + .d2-1655546234 .color-AA5{color:#F7F8FE;} + .d2-1655546234 .color-AB4{color:#EDF0FD;} + .d2-1655546234 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>y @@ -104,7 +104,7 @@ - + diff --git a/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world.exp.svg index 7e4c577c7..bd0906e66 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/board_import/hello-world.exp.svg @@ -1,12 +1,12 @@ -x + .d2-3111330921 .fill-N1{fill:#0A0F25;} + .d2-3111330921 .fill-N2{fill:#676C7E;} + .d2-3111330921 .fill-N3{fill:#9499AB;} + .d2-3111330921 .fill-N4{fill:#CFD2DD;} + .d2-3111330921 .fill-N5{fill:#DEE1EB;} + .d2-3111330921 .fill-N6{fill:#EEF1F8;} + .d2-3111330921 .fill-N7{fill:#FFFFFF;} + .d2-3111330921 .fill-B1{fill:#0D32B2;} + .d2-3111330921 .fill-B2{fill:#0D32B2;} + .d2-3111330921 .fill-B3{fill:#E3E9FD;} + .d2-3111330921 .fill-B4{fill:#E3E9FD;} + .d2-3111330921 .fill-B5{fill:#EDF0FD;} + .d2-3111330921 .fill-B6{fill:#F7F8FE;} + .d2-3111330921 .fill-AA2{fill:#4A6FF3;} + .d2-3111330921 .fill-AA4{fill:#EDF0FD;} + .d2-3111330921 .fill-AA5{fill:#F7F8FE;} + .d2-3111330921 .fill-AB4{fill:#EDF0FD;} + .d2-3111330921 .fill-AB5{fill:#F7F8FE;} + .d2-3111330921 .stroke-N1{stroke:#0A0F25;} + .d2-3111330921 .stroke-N2{stroke:#676C7E;} + .d2-3111330921 .stroke-N3{stroke:#9499AB;} + .d2-3111330921 .stroke-N4{stroke:#CFD2DD;} + .d2-3111330921 .stroke-N5{stroke:#DEE1EB;} + .d2-3111330921 .stroke-N6{stroke:#EEF1F8;} + .d2-3111330921 .stroke-N7{stroke:#FFFFFF;} + .d2-3111330921 .stroke-B1{stroke:#0D32B2;} + .d2-3111330921 .stroke-B2{stroke:#0D32B2;} + .d2-3111330921 .stroke-B3{stroke:#E3E9FD;} + .d2-3111330921 .stroke-B4{stroke:#E3E9FD;} + .d2-3111330921 .stroke-B5{stroke:#EDF0FD;} + .d2-3111330921 .stroke-B6{stroke:#F7F8FE;} + .d2-3111330921 .stroke-AA2{stroke:#4A6FF3;} + .d2-3111330921 .stroke-AA4{stroke:#EDF0FD;} + .d2-3111330921 .stroke-AA5{stroke:#F7F8FE;} + .d2-3111330921 .stroke-AB4{stroke:#EDF0FD;} + .d2-3111330921 .stroke-AB5{stroke:#F7F8FE;} + .d2-3111330921 .background-color-N1{background-color:#0A0F25;} + .d2-3111330921 .background-color-N2{background-color:#676C7E;} + .d2-3111330921 .background-color-N3{background-color:#9499AB;} + .d2-3111330921 .background-color-N4{background-color:#CFD2DD;} + .d2-3111330921 .background-color-N5{background-color:#DEE1EB;} + .d2-3111330921 .background-color-N6{background-color:#EEF1F8;} + .d2-3111330921 .background-color-N7{background-color:#FFFFFF;} + .d2-3111330921 .background-color-B1{background-color:#0D32B2;} + .d2-3111330921 .background-color-B2{background-color:#0D32B2;} + .d2-3111330921 .background-color-B3{background-color:#E3E9FD;} + .d2-3111330921 .background-color-B4{background-color:#E3E9FD;} + .d2-3111330921 .background-color-B5{background-color:#EDF0FD;} + .d2-3111330921 .background-color-B6{background-color:#F7F8FE;} + .d2-3111330921 .background-color-AA2{background-color:#4A6FF3;} + .d2-3111330921 .background-color-AA4{background-color:#EDF0FD;} + .d2-3111330921 .background-color-AA5{background-color:#F7F8FE;} + .d2-3111330921 .background-color-AB4{background-color:#EDF0FD;} + .d2-3111330921 .background-color-AB5{background-color:#F7F8FE;} + .d2-3111330921 .color-N1{color:#0A0F25;} + .d2-3111330921 .color-N2{color:#676C7E;} + .d2-3111330921 .color-N3{color:#9499AB;} + .d2-3111330921 .color-N4{color:#CFD2DD;} + .d2-3111330921 .color-N5{color:#DEE1EB;} + .d2-3111330921 .color-N6{color:#EEF1F8;} + .d2-3111330921 .color-N7{color:#FFFFFF;} + .d2-3111330921 .color-B1{color:#0D32B2;} + .d2-3111330921 .color-B2{color:#0D32B2;} + .d2-3111330921 .color-B3{color:#E3E9FD;} + .d2-3111330921 .color-B4{color:#E3E9FD;} + .d2-3111330921 .color-B5{color:#EDF0FD;} + .d2-3111330921 .color-B6{color:#F7F8FE;} + .d2-3111330921 .color-AA2{color:#4A6FF3;} + .d2-3111330921 .color-AA4{color:#EDF0FD;} + .d2-3111330921 .color-AA5{color:#F7F8FE;} + .d2-3111330921 .color-AB4{color:#EDF0FD;} + .d2-3111330921 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>x @@ -104,7 +104,7 @@ - + diff --git a/e2etests-cli/testdata/TestCLI_E2E/center.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/center.exp.svg index 5bb8b29ff..f8c7e3b6a 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/center.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/center.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-1843626214 .fill-N1{fill:#0A0F25;} + .d2-1843626214 .fill-N2{fill:#676C7E;} + .d2-1843626214 .fill-N3{fill:#9499AB;} + .d2-1843626214 .fill-N4{fill:#CFD2DD;} + .d2-1843626214 .fill-N5{fill:#DEE1EB;} + .d2-1843626214 .fill-N6{fill:#EEF1F8;} + .d2-1843626214 .fill-N7{fill:#FFFFFF;} + .d2-1843626214 .fill-B1{fill:#0D32B2;} + .d2-1843626214 .fill-B2{fill:#0D32B2;} + .d2-1843626214 .fill-B3{fill:#E3E9FD;} + .d2-1843626214 .fill-B4{fill:#E3E9FD;} + .d2-1843626214 .fill-B5{fill:#EDF0FD;} + .d2-1843626214 .fill-B6{fill:#F7F8FE;} + .d2-1843626214 .fill-AA2{fill:#4A6FF3;} + .d2-1843626214 .fill-AA4{fill:#EDF0FD;} + .d2-1843626214 .fill-AA5{fill:#F7F8FE;} + .d2-1843626214 .fill-AB4{fill:#EDF0FD;} + .d2-1843626214 .fill-AB5{fill:#F7F8FE;} + .d2-1843626214 .stroke-N1{stroke:#0A0F25;} + .d2-1843626214 .stroke-N2{stroke:#676C7E;} + .d2-1843626214 .stroke-N3{stroke:#9499AB;} + .d2-1843626214 .stroke-N4{stroke:#CFD2DD;} + .d2-1843626214 .stroke-N5{stroke:#DEE1EB;} + .d2-1843626214 .stroke-N6{stroke:#EEF1F8;} + .d2-1843626214 .stroke-N7{stroke:#FFFFFF;} + .d2-1843626214 .stroke-B1{stroke:#0D32B2;} + .d2-1843626214 .stroke-B2{stroke:#0D32B2;} + .d2-1843626214 .stroke-B3{stroke:#E3E9FD;} + .d2-1843626214 .stroke-B4{stroke:#E3E9FD;} + .d2-1843626214 .stroke-B5{stroke:#EDF0FD;} + .d2-1843626214 .stroke-B6{stroke:#F7F8FE;} + .d2-1843626214 .stroke-AA2{stroke:#4A6FF3;} + .d2-1843626214 .stroke-AA4{stroke:#EDF0FD;} + .d2-1843626214 .stroke-AA5{stroke:#F7F8FE;} + .d2-1843626214 .stroke-AB4{stroke:#EDF0FD;} + .d2-1843626214 .stroke-AB5{stroke:#F7F8FE;} + .d2-1843626214 .background-color-N1{background-color:#0A0F25;} + .d2-1843626214 .background-color-N2{background-color:#676C7E;} + .d2-1843626214 .background-color-N3{background-color:#9499AB;} + .d2-1843626214 .background-color-N4{background-color:#CFD2DD;} + .d2-1843626214 .background-color-N5{background-color:#DEE1EB;} + .d2-1843626214 .background-color-N6{background-color:#EEF1F8;} + .d2-1843626214 .background-color-N7{background-color:#FFFFFF;} + .d2-1843626214 .background-color-B1{background-color:#0D32B2;} + .d2-1843626214 .background-color-B2{background-color:#0D32B2;} + .d2-1843626214 .background-color-B3{background-color:#E3E9FD;} + .d2-1843626214 .background-color-B4{background-color:#E3E9FD;} + .d2-1843626214 .background-color-B5{background-color:#EDF0FD;} + .d2-1843626214 .background-color-B6{background-color:#F7F8FE;} + .d2-1843626214 .background-color-AA2{background-color:#4A6FF3;} + .d2-1843626214 .background-color-AA4{background-color:#EDF0FD;} + .d2-1843626214 .background-color-AA5{background-color:#F7F8FE;} + .d2-1843626214 .background-color-AB4{background-color:#EDF0FD;} + .d2-1843626214 .background-color-AB5{background-color:#F7F8FE;} + .d2-1843626214 .color-N1{color:#0A0F25;} + .d2-1843626214 .color-N2{color:#676C7E;} + .d2-1843626214 .color-N3{color:#9499AB;} + .d2-1843626214 .color-N4{color:#CFD2DD;} + .d2-1843626214 .color-N5{color:#DEE1EB;} + .d2-1843626214 .color-N6{color:#EEF1F8;} + .d2-1843626214 .color-N7{color:#FFFFFF;} + .d2-1843626214 .color-B1{color:#0D32B2;} + .d2-1843626214 .color-B2{color:#0D32B2;} + .d2-1843626214 .color-B3{color:#E3E9FD;} + .d2-1843626214 .color-B4{color:#E3E9FD;} + .d2-1843626214 .color-B5{color:#EDF0FD;} + .d2-1843626214 .color-B6{color:#F7F8FE;} + .d2-1843626214 .color-AA2{color:#4A6FF3;} + .d2-1843626214 .color-AA4{color:#EDF0FD;} + .d2-1843626214 .color-AA5{color:#F7F8FE;} + .d2-1843626214 .color-AB4{color:#EDF0FD;} + .d2-1843626214 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/chain_import.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/chain_import.exp.svg index 101f09133..5d443cab8 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/chain_import.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/chain_import.exp.svg @@ -1,9 +1,9 @@ -meow + .d2-3054270525 .fill-N1{fill:#0A0F25;} + .d2-3054270525 .fill-N2{fill:#676C7E;} + .d2-3054270525 .fill-N3{fill:#9499AB;} + .d2-3054270525 .fill-N4{fill:#CFD2DD;} + .d2-3054270525 .fill-N5{fill:#DEE1EB;} + .d2-3054270525 .fill-N6{fill:#EEF1F8;} + .d2-3054270525 .fill-N7{fill:#FFFFFF;} + .d2-3054270525 .fill-B1{fill:#0D32B2;} + .d2-3054270525 .fill-B2{fill:#0D32B2;} + .d2-3054270525 .fill-B3{fill:#E3E9FD;} + .d2-3054270525 .fill-B4{fill:#E3E9FD;} + .d2-3054270525 .fill-B5{fill:#EDF0FD;} + .d2-3054270525 .fill-B6{fill:#F7F8FE;} + .d2-3054270525 .fill-AA2{fill:#4A6FF3;} + .d2-3054270525 .fill-AA4{fill:#EDF0FD;} + .d2-3054270525 .fill-AA5{fill:#F7F8FE;} + .d2-3054270525 .fill-AB4{fill:#EDF0FD;} + .d2-3054270525 .fill-AB5{fill:#F7F8FE;} + .d2-3054270525 .stroke-N1{stroke:#0A0F25;} + .d2-3054270525 .stroke-N2{stroke:#676C7E;} + .d2-3054270525 .stroke-N3{stroke:#9499AB;} + .d2-3054270525 .stroke-N4{stroke:#CFD2DD;} + .d2-3054270525 .stroke-N5{stroke:#DEE1EB;} + .d2-3054270525 .stroke-N6{stroke:#EEF1F8;} + .d2-3054270525 .stroke-N7{stroke:#FFFFFF;} + .d2-3054270525 .stroke-B1{stroke:#0D32B2;} + .d2-3054270525 .stroke-B2{stroke:#0D32B2;} + .d2-3054270525 .stroke-B3{stroke:#E3E9FD;} + .d2-3054270525 .stroke-B4{stroke:#E3E9FD;} + .d2-3054270525 .stroke-B5{stroke:#EDF0FD;} + .d2-3054270525 .stroke-B6{stroke:#F7F8FE;} + .d2-3054270525 .stroke-AA2{stroke:#4A6FF3;} + .d2-3054270525 .stroke-AA4{stroke:#EDF0FD;} + .d2-3054270525 .stroke-AA5{stroke:#F7F8FE;} + .d2-3054270525 .stroke-AB4{stroke:#EDF0FD;} + .d2-3054270525 .stroke-AB5{stroke:#F7F8FE;} + .d2-3054270525 .background-color-N1{background-color:#0A0F25;} + .d2-3054270525 .background-color-N2{background-color:#676C7E;} + .d2-3054270525 .background-color-N3{background-color:#9499AB;} + .d2-3054270525 .background-color-N4{background-color:#CFD2DD;} + .d2-3054270525 .background-color-N5{background-color:#DEE1EB;} + .d2-3054270525 .background-color-N6{background-color:#EEF1F8;} + .d2-3054270525 .background-color-N7{background-color:#FFFFFF;} + .d2-3054270525 .background-color-B1{background-color:#0D32B2;} + .d2-3054270525 .background-color-B2{background-color:#0D32B2;} + .d2-3054270525 .background-color-B3{background-color:#E3E9FD;} + .d2-3054270525 .background-color-B4{background-color:#E3E9FD;} + .d2-3054270525 .background-color-B5{background-color:#EDF0FD;} + .d2-3054270525 .background-color-B6{background-color:#F7F8FE;} + .d2-3054270525 .background-color-AA2{background-color:#4A6FF3;} + .d2-3054270525 .background-color-AA4{background-color:#EDF0FD;} + .d2-3054270525 .background-color-AA5{background-color:#F7F8FE;} + .d2-3054270525 .background-color-AB4{background-color:#EDF0FD;} + .d2-3054270525 .background-color-AB5{background-color:#F7F8FE;} + .d2-3054270525 .color-N1{color:#0A0F25;} + .d2-3054270525 .color-N2{color:#676C7E;} + .d2-3054270525 .color-N3{color:#9499AB;} + .d2-3054270525 .color-N4{color:#CFD2DD;} + .d2-3054270525 .color-N5{color:#DEE1EB;} + .d2-3054270525 .color-N6{color:#EEF1F8;} + .d2-3054270525 .color-N7{color:#FFFFFF;} + .d2-3054270525 .color-B1{color:#0D32B2;} + .d2-3054270525 .color-B2{color:#0D32B2;} + .d2-3054270525 .color-B3{color:#E3E9FD;} + .d2-3054270525 .color-B4{color:#E3E9FD;} + .d2-3054270525 .color-B5{color:#EDF0FD;} + .d2-3054270525 .color-B6{color:#F7F8FE;} + .d2-3054270525 .color-AA2{color:#4A6FF3;} + .d2-3054270525 .color-AA4{color:#EDF0FD;} + .d2-3054270525 .color-AA5{color:#F7F8FE;} + .d2-3054270525 .color-AB4{color:#EDF0FD;} + .d2-3054270525 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>meow diff --git a/e2etests-cli/testdata/TestCLI_E2E/empty-base.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/empty-base.exp.svg index 2f6518d78..ba64e310b 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/empty-base.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/empty-base.exp.svg @@ -1,9 +1,9 @@ -ab +}]]>ab -abdc +abdc -abdce +abdce diff --git a/e2etests-cli/testdata/TestCLI_E2E/empty-layer/x.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/empty-layer/x.exp.svg index a94bf5b69..790b27131 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/empty-layer/x.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/empty-layer/x.exp.svg @@ -1,4 +1,4 @@ -xy + .d2-2922829426 .fill-N1{fill:#0A0F25;} + .d2-2922829426 .fill-N2{fill:#676C7E;} + .d2-2922829426 .fill-N3{fill:#9499AB;} + .d2-2922829426 .fill-N4{fill:#CFD2DD;} + .d2-2922829426 .fill-N5{fill:#DEE1EB;} + .d2-2922829426 .fill-N6{fill:#EEF1F8;} + .d2-2922829426 .fill-N7{fill:#FFFFFF;} + .d2-2922829426 .fill-B1{fill:#0D32B2;} + .d2-2922829426 .fill-B2{fill:#0D32B2;} + .d2-2922829426 .fill-B3{fill:#E3E9FD;} + .d2-2922829426 .fill-B4{fill:#E3E9FD;} + .d2-2922829426 .fill-B5{fill:#EDF0FD;} + .d2-2922829426 .fill-B6{fill:#F7F8FE;} + .d2-2922829426 .fill-AA2{fill:#4A6FF3;} + .d2-2922829426 .fill-AA4{fill:#EDF0FD;} + .d2-2922829426 .fill-AA5{fill:#F7F8FE;} + .d2-2922829426 .fill-AB4{fill:#EDF0FD;} + .d2-2922829426 .fill-AB5{fill:#F7F8FE;} + .d2-2922829426 .stroke-N1{stroke:#0A0F25;} + .d2-2922829426 .stroke-N2{stroke:#676C7E;} + .d2-2922829426 .stroke-N3{stroke:#9499AB;} + .d2-2922829426 .stroke-N4{stroke:#CFD2DD;} + .d2-2922829426 .stroke-N5{stroke:#DEE1EB;} + .d2-2922829426 .stroke-N6{stroke:#EEF1F8;} + .d2-2922829426 .stroke-N7{stroke:#FFFFFF;} + .d2-2922829426 .stroke-B1{stroke:#0D32B2;} + .d2-2922829426 .stroke-B2{stroke:#0D32B2;} + .d2-2922829426 .stroke-B3{stroke:#E3E9FD;} + .d2-2922829426 .stroke-B4{stroke:#E3E9FD;} + .d2-2922829426 .stroke-B5{stroke:#EDF0FD;} + .d2-2922829426 .stroke-B6{stroke:#F7F8FE;} + .d2-2922829426 .stroke-AA2{stroke:#4A6FF3;} + .d2-2922829426 .stroke-AA4{stroke:#EDF0FD;} + .d2-2922829426 .stroke-AA5{stroke:#F7F8FE;} + .d2-2922829426 .stroke-AB4{stroke:#EDF0FD;} + .d2-2922829426 .stroke-AB5{stroke:#F7F8FE;} + .d2-2922829426 .background-color-N1{background-color:#0A0F25;} + .d2-2922829426 .background-color-N2{background-color:#676C7E;} + .d2-2922829426 .background-color-N3{background-color:#9499AB;} + .d2-2922829426 .background-color-N4{background-color:#CFD2DD;} + .d2-2922829426 .background-color-N5{background-color:#DEE1EB;} + .d2-2922829426 .background-color-N6{background-color:#EEF1F8;} + .d2-2922829426 .background-color-N7{background-color:#FFFFFF;} + .d2-2922829426 .background-color-B1{background-color:#0D32B2;} + .d2-2922829426 .background-color-B2{background-color:#0D32B2;} + .d2-2922829426 .background-color-B3{background-color:#E3E9FD;} + .d2-2922829426 .background-color-B4{background-color:#E3E9FD;} + .d2-2922829426 .background-color-B5{background-color:#EDF0FD;} + .d2-2922829426 .background-color-B6{background-color:#F7F8FE;} + .d2-2922829426 .background-color-AA2{background-color:#4A6FF3;} + .d2-2922829426 .background-color-AA4{background-color:#EDF0FD;} + .d2-2922829426 .background-color-AA5{background-color:#F7F8FE;} + .d2-2922829426 .background-color-AB4{background-color:#EDF0FD;} + .d2-2922829426 .background-color-AB5{background-color:#F7F8FE;} + .d2-2922829426 .color-N1{color:#0A0F25;} + .d2-2922829426 .color-N2{color:#676C7E;} + .d2-2922829426 .color-N3{color:#9499AB;} + .d2-2922829426 .color-N4{color:#CFD2DD;} + .d2-2922829426 .color-N5{color:#DEE1EB;} + .d2-2922829426 .color-N6{color:#EEF1F8;} + .d2-2922829426 .color-N7{color:#FFFFFF;} + .d2-2922829426 .color-B1{color:#0D32B2;} + .d2-2922829426 .color-B2{color:#0D32B2;} + .d2-2922829426 .color-B3{color:#E3E9FD;} + .d2-2922829426 .color-B4{color:#E3E9FD;} + .d2-2922829426 .color-B5{color:#EDF0FD;} + .d2-2922829426 .color-B6{color:#F7F8FE;} + .d2-2922829426 .color-AA2{color:#4A6FF3;} + .d2-2922829426 .color-AA4{color:#EDF0FD;} + .d2-2922829426 .color-AA5{color:#F7F8FE;} + .d2-2922829426 .color-AB4{color:#EDF0FD;} + .d2-2922829426 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/import_spread_nested.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/import_spread_nested.exp.svg index 8093d4d7e..8e0f6cfd3 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/import_spread_nested.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/import_spread_nested.exp.svg @@ -1,9 +1,9 @@ -jonjan + .d2-2494158097 .fill-N1{fill:#0A0F25;} + .d2-2494158097 .fill-N2{fill:#676C7E;} + .d2-2494158097 .fill-N3{fill:#9499AB;} + .d2-2494158097 .fill-N4{fill:#CFD2DD;} + .d2-2494158097 .fill-N5{fill:#DEE1EB;} + .d2-2494158097 .fill-N6{fill:#EEF1F8;} + .d2-2494158097 .fill-N7{fill:#FFFFFF;} + .d2-2494158097 .fill-B1{fill:#0D32B2;} + .d2-2494158097 .fill-B2{fill:#0D32B2;} + .d2-2494158097 .fill-B3{fill:#E3E9FD;} + .d2-2494158097 .fill-B4{fill:#E3E9FD;} + .d2-2494158097 .fill-B5{fill:#EDF0FD;} + .d2-2494158097 .fill-B6{fill:#F7F8FE;} + .d2-2494158097 .fill-AA2{fill:#4A6FF3;} + .d2-2494158097 .fill-AA4{fill:#EDF0FD;} + .d2-2494158097 .fill-AA5{fill:#F7F8FE;} + .d2-2494158097 .fill-AB4{fill:#EDF0FD;} + .d2-2494158097 .fill-AB5{fill:#F7F8FE;} + .d2-2494158097 .stroke-N1{stroke:#0A0F25;} + .d2-2494158097 .stroke-N2{stroke:#676C7E;} + .d2-2494158097 .stroke-N3{stroke:#9499AB;} + .d2-2494158097 .stroke-N4{stroke:#CFD2DD;} + .d2-2494158097 .stroke-N5{stroke:#DEE1EB;} + .d2-2494158097 .stroke-N6{stroke:#EEF1F8;} + .d2-2494158097 .stroke-N7{stroke:#FFFFFF;} + .d2-2494158097 .stroke-B1{stroke:#0D32B2;} + .d2-2494158097 .stroke-B2{stroke:#0D32B2;} + .d2-2494158097 .stroke-B3{stroke:#E3E9FD;} + .d2-2494158097 .stroke-B4{stroke:#E3E9FD;} + .d2-2494158097 .stroke-B5{stroke:#EDF0FD;} + .d2-2494158097 .stroke-B6{stroke:#F7F8FE;} + .d2-2494158097 .stroke-AA2{stroke:#4A6FF3;} + .d2-2494158097 .stroke-AA4{stroke:#EDF0FD;} + .d2-2494158097 .stroke-AA5{stroke:#F7F8FE;} + .d2-2494158097 .stroke-AB4{stroke:#EDF0FD;} + .d2-2494158097 .stroke-AB5{stroke:#F7F8FE;} + .d2-2494158097 .background-color-N1{background-color:#0A0F25;} + .d2-2494158097 .background-color-N2{background-color:#676C7E;} + .d2-2494158097 .background-color-N3{background-color:#9499AB;} + .d2-2494158097 .background-color-N4{background-color:#CFD2DD;} + .d2-2494158097 .background-color-N5{background-color:#DEE1EB;} + .d2-2494158097 .background-color-N6{background-color:#EEF1F8;} + .d2-2494158097 .background-color-N7{background-color:#FFFFFF;} + .d2-2494158097 .background-color-B1{background-color:#0D32B2;} + .d2-2494158097 .background-color-B2{background-color:#0D32B2;} + .d2-2494158097 .background-color-B3{background-color:#E3E9FD;} + .d2-2494158097 .background-color-B4{background-color:#E3E9FD;} + .d2-2494158097 .background-color-B5{background-color:#EDF0FD;} + .d2-2494158097 .background-color-B6{background-color:#F7F8FE;} + .d2-2494158097 .background-color-AA2{background-color:#4A6FF3;} + .d2-2494158097 .background-color-AA4{background-color:#EDF0FD;} + .d2-2494158097 .background-color-AA5{background-color:#F7F8FE;} + .d2-2494158097 .background-color-AB4{background-color:#EDF0FD;} + .d2-2494158097 .background-color-AB5{background-color:#F7F8FE;} + .d2-2494158097 .color-N1{color:#0A0F25;} + .d2-2494158097 .color-N2{color:#676C7E;} + .d2-2494158097 .color-N3{color:#9499AB;} + .d2-2494158097 .color-N4{color:#CFD2DD;} + .d2-2494158097 .color-N5{color:#DEE1EB;} + .d2-2494158097 .color-N6{color:#EEF1F8;} + .d2-2494158097 .color-N7{color:#FFFFFF;} + .d2-2494158097 .color-B1{color:#0D32B2;} + .d2-2494158097 .color-B2{color:#0D32B2;} + .d2-2494158097 .color-B3{color:#E3E9FD;} + .d2-2494158097 .color-B4{color:#E3E9FD;} + .d2-2494158097 .color-B5{color:#EDF0FD;} + .d2-2494158097 .color-B6{color:#F7F8FE;} + .d2-2494158097 .color-AA2{color:#4A6FF3;} + .d2-2494158097 .color-AA4{color:#EDF0FD;} + .d2-2494158097 .color-AA5{color:#F7F8FE;} + .d2-2494158097 .color-AB4{color:#EDF0FD;} + .d2-2494158097 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>jonjan diff --git a/e2etests-cli/testdata/TestCLI_E2E/import_vars.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/import_vars.exp.svg new file mode 100644 index 000000000..78cc87a17 --- /dev/null +++ b/e2etests-cli/testdata/TestCLI_E2E/import_vars.exp.svg @@ -0,0 +1,96 @@ +xy + + + + diff --git a/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf b/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf index 87b6e616e..a98721b30 100644 Binary files a/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf and b/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf differ diff --git a/e2etests-cli/testdata/TestCLI_E2E/layer-link/index.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/layer-link/index.exp.svg new file mode 100644 index 000000000..c884c8410 --- /dev/null +++ b/e2etests-cli/testdata/TestCLI_E2E/layer-link/index.exp.svg @@ -0,0 +1,110 @@ +doh + + + + + + + + + + + + + + + diff --git a/e2etests-cli/testdata/TestCLI_E2E/layer-link/test2.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/layer-link/test2.exp.svg new file mode 100644 index 000000000..1eba24ede --- /dev/null +++ b/e2etests-cli/testdata/TestCLI_E2E/layer-link/test2.exp.svg @@ -0,0 +1,110 @@ +I'm a Mac + + + + + + + + + + + + + + + diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/index.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/index.exp.svg index da9ffaff9..08de52c0a 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/index.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/index.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-66779799 .fill-N1{fill:#0A0F25;} + .d2-66779799 .fill-N2{fill:#676C7E;} + .d2-66779799 .fill-N3{fill:#9499AB;} + .d2-66779799 .fill-N4{fill:#CFD2DD;} + .d2-66779799 .fill-N5{fill:#DEE1EB;} + .d2-66779799 .fill-N6{fill:#EEF1F8;} + .d2-66779799 .fill-N7{fill:#FFFFFF;} + .d2-66779799 .fill-B1{fill:#0D32B2;} + .d2-66779799 .fill-B2{fill:#0D32B2;} + .d2-66779799 .fill-B3{fill:#E3E9FD;} + .d2-66779799 .fill-B4{fill:#E3E9FD;} + .d2-66779799 .fill-B5{fill:#EDF0FD;} + .d2-66779799 .fill-B6{fill:#F7F8FE;} + .d2-66779799 .fill-AA2{fill:#4A6FF3;} + .d2-66779799 .fill-AA4{fill:#EDF0FD;} + .d2-66779799 .fill-AA5{fill:#F7F8FE;} + .d2-66779799 .fill-AB4{fill:#EDF0FD;} + .d2-66779799 .fill-AB5{fill:#F7F8FE;} + .d2-66779799 .stroke-N1{stroke:#0A0F25;} + .d2-66779799 .stroke-N2{stroke:#676C7E;} + .d2-66779799 .stroke-N3{stroke:#9499AB;} + .d2-66779799 .stroke-N4{stroke:#CFD2DD;} + .d2-66779799 .stroke-N5{stroke:#DEE1EB;} + .d2-66779799 .stroke-N6{stroke:#EEF1F8;} + .d2-66779799 .stroke-N7{stroke:#FFFFFF;} + .d2-66779799 .stroke-B1{stroke:#0D32B2;} + .d2-66779799 .stroke-B2{stroke:#0D32B2;} + .d2-66779799 .stroke-B3{stroke:#E3E9FD;} + .d2-66779799 .stroke-B4{stroke:#E3E9FD;} + .d2-66779799 .stroke-B5{stroke:#EDF0FD;} + .d2-66779799 .stroke-B6{stroke:#F7F8FE;} + .d2-66779799 .stroke-AA2{stroke:#4A6FF3;} + .d2-66779799 .stroke-AA4{stroke:#EDF0FD;} + .d2-66779799 .stroke-AA5{stroke:#F7F8FE;} + .d2-66779799 .stroke-AB4{stroke:#EDF0FD;} + .d2-66779799 .stroke-AB5{stroke:#F7F8FE;} + .d2-66779799 .background-color-N1{background-color:#0A0F25;} + .d2-66779799 .background-color-N2{background-color:#676C7E;} + .d2-66779799 .background-color-N3{background-color:#9499AB;} + .d2-66779799 .background-color-N4{background-color:#CFD2DD;} + .d2-66779799 .background-color-N5{background-color:#DEE1EB;} + .d2-66779799 .background-color-N6{background-color:#EEF1F8;} + .d2-66779799 .background-color-N7{background-color:#FFFFFF;} + .d2-66779799 .background-color-B1{background-color:#0D32B2;} + .d2-66779799 .background-color-B2{background-color:#0D32B2;} + .d2-66779799 .background-color-B3{background-color:#E3E9FD;} + .d2-66779799 .background-color-B4{background-color:#E3E9FD;} + .d2-66779799 .background-color-B5{background-color:#EDF0FD;} + .d2-66779799 .background-color-B6{background-color:#F7F8FE;} + .d2-66779799 .background-color-AA2{background-color:#4A6FF3;} + .d2-66779799 .background-color-AA4{background-color:#EDF0FD;} + .d2-66779799 .background-color-AA5{background-color:#F7F8FE;} + .d2-66779799 .background-color-AB4{background-color:#EDF0FD;} + .d2-66779799 .background-color-AB5{background-color:#F7F8FE;} + .d2-66779799 .color-N1{color:#0A0F25;} + .d2-66779799 .color-N2{color:#676C7E;} + .d2-66779799 .color-N3{color:#9499AB;} + .d2-66779799 .color-N4{color:#CFD2DD;} + .d2-66779799 .color-N5{color:#DEE1EB;} + .d2-66779799 .color-N6{color:#EEF1F8;} + .d2-66779799 .color-N7{color:#FFFFFF;} + .d2-66779799 .color-B1{color:#0D32B2;} + .d2-66779799 .color-B2{color:#0D32B2;} + .d2-66779799 .color-B3{color:#E3E9FD;} + .d2-66779799 .color-B4{color:#E3E9FD;} + .d2-66779799 .color-B5{color:#EDF0FD;} + .d2-66779799 .color-B6{color:#F7F8FE;} + .d2-66779799 .color-AA2{color:#4A6FF3;} + .d2-66779799 .color-AA4{color:#EDF0FD;} + .d2-66779799 .color-AA5{color:#F7F8FE;} + .d2-66779799 .color-AB4{color:#EDF0FD;} + .d2-66779799 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/broker.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/broker.exp.svg index 8796f5570..fe76b61fd 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/broker.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/broker.exp.svg @@ -1,9 +1,9 @@ -mortgagerealtor + .d2-1726870641 .fill-N1{fill:#0A0F25;} + .d2-1726870641 .fill-N2{fill:#676C7E;} + .d2-1726870641 .fill-N3{fill:#9499AB;} + .d2-1726870641 .fill-N4{fill:#CFD2DD;} + .d2-1726870641 .fill-N5{fill:#DEE1EB;} + .d2-1726870641 .fill-N6{fill:#EEF1F8;} + .d2-1726870641 .fill-N7{fill:#FFFFFF;} + .d2-1726870641 .fill-B1{fill:#0D32B2;} + .d2-1726870641 .fill-B2{fill:#0D32B2;} + .d2-1726870641 .fill-B3{fill:#E3E9FD;} + .d2-1726870641 .fill-B4{fill:#E3E9FD;} + .d2-1726870641 .fill-B5{fill:#EDF0FD;} + .d2-1726870641 .fill-B6{fill:#F7F8FE;} + .d2-1726870641 .fill-AA2{fill:#4A6FF3;} + .d2-1726870641 .fill-AA4{fill:#EDF0FD;} + .d2-1726870641 .fill-AA5{fill:#F7F8FE;} + .d2-1726870641 .fill-AB4{fill:#EDF0FD;} + .d2-1726870641 .fill-AB5{fill:#F7F8FE;} + .d2-1726870641 .stroke-N1{stroke:#0A0F25;} + .d2-1726870641 .stroke-N2{stroke:#676C7E;} + .d2-1726870641 .stroke-N3{stroke:#9499AB;} + .d2-1726870641 .stroke-N4{stroke:#CFD2DD;} + .d2-1726870641 .stroke-N5{stroke:#DEE1EB;} + .d2-1726870641 .stroke-N6{stroke:#EEF1F8;} + .d2-1726870641 .stroke-N7{stroke:#FFFFFF;} + .d2-1726870641 .stroke-B1{stroke:#0D32B2;} + .d2-1726870641 .stroke-B2{stroke:#0D32B2;} + .d2-1726870641 .stroke-B3{stroke:#E3E9FD;} + .d2-1726870641 .stroke-B4{stroke:#E3E9FD;} + .d2-1726870641 .stroke-B5{stroke:#EDF0FD;} + .d2-1726870641 .stroke-B6{stroke:#F7F8FE;} + .d2-1726870641 .stroke-AA2{stroke:#4A6FF3;} + .d2-1726870641 .stroke-AA4{stroke:#EDF0FD;} + .d2-1726870641 .stroke-AA5{stroke:#F7F8FE;} + .d2-1726870641 .stroke-AB4{stroke:#EDF0FD;} + .d2-1726870641 .stroke-AB5{stroke:#F7F8FE;} + .d2-1726870641 .background-color-N1{background-color:#0A0F25;} + .d2-1726870641 .background-color-N2{background-color:#676C7E;} + .d2-1726870641 .background-color-N3{background-color:#9499AB;} + .d2-1726870641 .background-color-N4{background-color:#CFD2DD;} + .d2-1726870641 .background-color-N5{background-color:#DEE1EB;} + .d2-1726870641 .background-color-N6{background-color:#EEF1F8;} + .d2-1726870641 .background-color-N7{background-color:#FFFFFF;} + .d2-1726870641 .background-color-B1{background-color:#0D32B2;} + .d2-1726870641 .background-color-B2{background-color:#0D32B2;} + .d2-1726870641 .background-color-B3{background-color:#E3E9FD;} + .d2-1726870641 .background-color-B4{background-color:#E3E9FD;} + .d2-1726870641 .background-color-B5{background-color:#EDF0FD;} + .d2-1726870641 .background-color-B6{background-color:#F7F8FE;} + .d2-1726870641 .background-color-AA2{background-color:#4A6FF3;} + .d2-1726870641 .background-color-AA4{background-color:#EDF0FD;} + .d2-1726870641 .background-color-AA5{background-color:#F7F8FE;} + .d2-1726870641 .background-color-AB4{background-color:#EDF0FD;} + .d2-1726870641 .background-color-AB5{background-color:#F7F8FE;} + .d2-1726870641 .color-N1{color:#0A0F25;} + .d2-1726870641 .color-N2{color:#676C7E;} + .d2-1726870641 .color-N3{color:#9499AB;} + .d2-1726870641 .color-N4{color:#CFD2DD;} + .d2-1726870641 .color-N5{color:#DEE1EB;} + .d2-1726870641 .color-N6{color:#EEF1F8;} + .d2-1726870641 .color-N7{color:#FFFFFF;} + .d2-1726870641 .color-B1{color:#0D32B2;} + .d2-1726870641 .color-B2{color:#0D32B2;} + .d2-1726870641 .color-B3{color:#E3E9FD;} + .d2-1726870641 .color-B4{color:#E3E9FD;} + .d2-1726870641 .color-B5{color:#EDF0FD;} + .d2-1726870641 .color-B6{color:#F7F8FE;} + .d2-1726870641 .color-AA2{color:#4A6FF3;} + .d2-1726870641 .color-AA4{color:#EDF0FD;} + .d2-1726870641 .color-AA5{color:#F7F8FE;} + .d2-1726870641 .color-AB4{color:#EDF0FD;} + .d2-1726870641 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>mortgagerealtor diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/core.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/core.exp.svg index 1e6718dfa..08e4916f8 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/core.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/core.exp.svg @@ -1,9 +1,9 @@ -belieffooddiet + .d2-2725802959 .fill-N1{fill:#0A0F25;} + .d2-2725802959 .fill-N2{fill:#676C7E;} + .d2-2725802959 .fill-N3{fill:#9499AB;} + .d2-2725802959 .fill-N4{fill:#CFD2DD;} + .d2-2725802959 .fill-N5{fill:#DEE1EB;} + .d2-2725802959 .fill-N6{fill:#EEF1F8;} + .d2-2725802959 .fill-N7{fill:#FFFFFF;} + .d2-2725802959 .fill-B1{fill:#0D32B2;} + .d2-2725802959 .fill-B2{fill:#0D32B2;} + .d2-2725802959 .fill-B3{fill:#E3E9FD;} + .d2-2725802959 .fill-B4{fill:#E3E9FD;} + .d2-2725802959 .fill-B5{fill:#EDF0FD;} + .d2-2725802959 .fill-B6{fill:#F7F8FE;} + .d2-2725802959 .fill-AA2{fill:#4A6FF3;} + .d2-2725802959 .fill-AA4{fill:#EDF0FD;} + .d2-2725802959 .fill-AA5{fill:#F7F8FE;} + .d2-2725802959 .fill-AB4{fill:#EDF0FD;} + .d2-2725802959 .fill-AB5{fill:#F7F8FE;} + .d2-2725802959 .stroke-N1{stroke:#0A0F25;} + .d2-2725802959 .stroke-N2{stroke:#676C7E;} + .d2-2725802959 .stroke-N3{stroke:#9499AB;} + .d2-2725802959 .stroke-N4{stroke:#CFD2DD;} + .d2-2725802959 .stroke-N5{stroke:#DEE1EB;} + .d2-2725802959 .stroke-N6{stroke:#EEF1F8;} + .d2-2725802959 .stroke-N7{stroke:#FFFFFF;} + .d2-2725802959 .stroke-B1{stroke:#0D32B2;} + .d2-2725802959 .stroke-B2{stroke:#0D32B2;} + .d2-2725802959 .stroke-B3{stroke:#E3E9FD;} + .d2-2725802959 .stroke-B4{stroke:#E3E9FD;} + .d2-2725802959 .stroke-B5{stroke:#EDF0FD;} + .d2-2725802959 .stroke-B6{stroke:#F7F8FE;} + .d2-2725802959 .stroke-AA2{stroke:#4A6FF3;} + .d2-2725802959 .stroke-AA4{stroke:#EDF0FD;} + .d2-2725802959 .stroke-AA5{stroke:#F7F8FE;} + .d2-2725802959 .stroke-AB4{stroke:#EDF0FD;} + .d2-2725802959 .stroke-AB5{stroke:#F7F8FE;} + .d2-2725802959 .background-color-N1{background-color:#0A0F25;} + .d2-2725802959 .background-color-N2{background-color:#676C7E;} + .d2-2725802959 .background-color-N3{background-color:#9499AB;} + .d2-2725802959 .background-color-N4{background-color:#CFD2DD;} + .d2-2725802959 .background-color-N5{background-color:#DEE1EB;} + .d2-2725802959 .background-color-N6{background-color:#EEF1F8;} + .d2-2725802959 .background-color-N7{background-color:#FFFFFF;} + .d2-2725802959 .background-color-B1{background-color:#0D32B2;} + .d2-2725802959 .background-color-B2{background-color:#0D32B2;} + .d2-2725802959 .background-color-B3{background-color:#E3E9FD;} + .d2-2725802959 .background-color-B4{background-color:#E3E9FD;} + .d2-2725802959 .background-color-B5{background-color:#EDF0FD;} + .d2-2725802959 .background-color-B6{background-color:#F7F8FE;} + .d2-2725802959 .background-color-AA2{background-color:#4A6FF3;} + .d2-2725802959 .background-color-AA4{background-color:#EDF0FD;} + .d2-2725802959 .background-color-AA5{background-color:#F7F8FE;} + .d2-2725802959 .background-color-AB4{background-color:#EDF0FD;} + .d2-2725802959 .background-color-AB5{background-color:#F7F8FE;} + .d2-2725802959 .color-N1{color:#0A0F25;} + .d2-2725802959 .color-N2{color:#676C7E;} + .d2-2725802959 .color-N3{color:#9499AB;} + .d2-2725802959 .color-N4{color:#CFD2DD;} + .d2-2725802959 .color-N5{color:#DEE1EB;} + .d2-2725802959 .color-N6{color:#EEF1F8;} + .d2-2725802959 .color-N7{color:#FFFFFF;} + .d2-2725802959 .color-B1{color:#0D32B2;} + .d2-2725802959 .color-B2{color:#0D32B2;} + .d2-2725802959 .color-B3{color:#E3E9FD;} + .d2-2725802959 .color-B4{color:#E3E9FD;} + .d2-2725802959 .color-B5{color:#EDF0FD;} + .d2-2725802959 .color-B6{color:#F7F8FE;} + .d2-2725802959 .color-AA2{color:#4A6FF3;} + .d2-2725802959 .color-AA4{color:#EDF0FD;} + .d2-2725802959 .color-AA5{color:#F7F8FE;} + .d2-2725802959 .color-AB4{color:#EDF0FD;} + .d2-2725802959 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>belieffooddiet diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/stocks.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/stocks.exp.svg index f735f5d14..d92baa3b7 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/stocks.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/layers/stocks.exp.svg @@ -1,9 +1,9 @@ -TSXNYSENASDAQ + .d2-3935287890 .fill-N1{fill:#0A0F25;} + .d2-3935287890 .fill-N2{fill:#676C7E;} + .d2-3935287890 .fill-N3{fill:#9499AB;} + .d2-3935287890 .fill-N4{fill:#CFD2DD;} + .d2-3935287890 .fill-N5{fill:#DEE1EB;} + .d2-3935287890 .fill-N6{fill:#EEF1F8;} + .d2-3935287890 .fill-N7{fill:#FFFFFF;} + .d2-3935287890 .fill-B1{fill:#0D32B2;} + .d2-3935287890 .fill-B2{fill:#0D32B2;} + .d2-3935287890 .fill-B3{fill:#E3E9FD;} + .d2-3935287890 .fill-B4{fill:#E3E9FD;} + .d2-3935287890 .fill-B5{fill:#EDF0FD;} + .d2-3935287890 .fill-B6{fill:#F7F8FE;} + .d2-3935287890 .fill-AA2{fill:#4A6FF3;} + .d2-3935287890 .fill-AA4{fill:#EDF0FD;} + .d2-3935287890 .fill-AA5{fill:#F7F8FE;} + .d2-3935287890 .fill-AB4{fill:#EDF0FD;} + .d2-3935287890 .fill-AB5{fill:#F7F8FE;} + .d2-3935287890 .stroke-N1{stroke:#0A0F25;} + .d2-3935287890 .stroke-N2{stroke:#676C7E;} + .d2-3935287890 .stroke-N3{stroke:#9499AB;} + .d2-3935287890 .stroke-N4{stroke:#CFD2DD;} + .d2-3935287890 .stroke-N5{stroke:#DEE1EB;} + .d2-3935287890 .stroke-N6{stroke:#EEF1F8;} + .d2-3935287890 .stroke-N7{stroke:#FFFFFF;} + .d2-3935287890 .stroke-B1{stroke:#0D32B2;} + .d2-3935287890 .stroke-B2{stroke:#0D32B2;} + .d2-3935287890 .stroke-B3{stroke:#E3E9FD;} + .d2-3935287890 .stroke-B4{stroke:#E3E9FD;} + .d2-3935287890 .stroke-B5{stroke:#EDF0FD;} + .d2-3935287890 .stroke-B6{stroke:#F7F8FE;} + .d2-3935287890 .stroke-AA2{stroke:#4A6FF3;} + .d2-3935287890 .stroke-AA4{stroke:#EDF0FD;} + .d2-3935287890 .stroke-AA5{stroke:#F7F8FE;} + .d2-3935287890 .stroke-AB4{stroke:#EDF0FD;} + .d2-3935287890 .stroke-AB5{stroke:#F7F8FE;} + .d2-3935287890 .background-color-N1{background-color:#0A0F25;} + .d2-3935287890 .background-color-N2{background-color:#676C7E;} + .d2-3935287890 .background-color-N3{background-color:#9499AB;} + .d2-3935287890 .background-color-N4{background-color:#CFD2DD;} + .d2-3935287890 .background-color-N5{background-color:#DEE1EB;} + .d2-3935287890 .background-color-N6{background-color:#EEF1F8;} + .d2-3935287890 .background-color-N7{background-color:#FFFFFF;} + .d2-3935287890 .background-color-B1{background-color:#0D32B2;} + .d2-3935287890 .background-color-B2{background-color:#0D32B2;} + .d2-3935287890 .background-color-B3{background-color:#E3E9FD;} + .d2-3935287890 .background-color-B4{background-color:#E3E9FD;} + .d2-3935287890 .background-color-B5{background-color:#EDF0FD;} + .d2-3935287890 .background-color-B6{background-color:#F7F8FE;} + .d2-3935287890 .background-color-AA2{background-color:#4A6FF3;} + .d2-3935287890 .background-color-AA4{background-color:#EDF0FD;} + .d2-3935287890 .background-color-AA5{background-color:#F7F8FE;} + .d2-3935287890 .background-color-AB4{background-color:#EDF0FD;} + .d2-3935287890 .background-color-AB5{background-color:#F7F8FE;} + .d2-3935287890 .color-N1{color:#0A0F25;} + .d2-3935287890 .color-N2{color:#676C7E;} + .d2-3935287890 .color-N3{color:#9499AB;} + .d2-3935287890 .color-N4{color:#CFD2DD;} + .d2-3935287890 .color-N5{color:#DEE1EB;} + .d2-3935287890 .color-N6{color:#EEF1F8;} + .d2-3935287890 .color-N7{color:#FFFFFF;} + .d2-3935287890 .color-B1{color:#0D32B2;} + .d2-3935287890 .color-B2{color:#0D32B2;} + .d2-3935287890 .color-B3{color:#E3E9FD;} + .d2-3935287890 .color-B4{color:#E3E9FD;} + .d2-3935287890 .color-B5{color:#EDF0FD;} + .d2-3935287890 .color-B6{color:#F7F8FE;} + .d2-3935287890 .color-AA2{color:#4A6FF3;} + .d2-3935287890 .color-AA4{color:#EDF0FD;} + .d2-3935287890 .color-AA5{color:#F7F8FE;} + .d2-3935287890 .color-AB4{color:#EDF0FD;} + .d2-3935287890 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>TSXNYSENASDAQ diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/scenarios/why.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/scenarios/why.exp.svg index 62f45f0f8..cb74951e9 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/scenarios/why.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life/scenarios/why.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-1325376569 .fill-N1{fill:#0A0F25;} + .d2-1325376569 .fill-N2{fill:#676C7E;} + .d2-1325376569 .fill-N3{fill:#9499AB;} + .d2-1325376569 .fill-N4{fill:#CFD2DD;} + .d2-1325376569 .fill-N5{fill:#DEE1EB;} + .d2-1325376569 .fill-N6{fill:#EEF1F8;} + .d2-1325376569 .fill-N7{fill:#FFFFFF;} + .d2-1325376569 .fill-B1{fill:#0D32B2;} + .d2-1325376569 .fill-B2{fill:#0D32B2;} + .d2-1325376569 .fill-B3{fill:#E3E9FD;} + .d2-1325376569 .fill-B4{fill:#E3E9FD;} + .d2-1325376569 .fill-B5{fill:#EDF0FD;} + .d2-1325376569 .fill-B6{fill:#F7F8FE;} + .d2-1325376569 .fill-AA2{fill:#4A6FF3;} + .d2-1325376569 .fill-AA4{fill:#EDF0FD;} + .d2-1325376569 .fill-AA5{fill:#F7F8FE;} + .d2-1325376569 .fill-AB4{fill:#EDF0FD;} + .d2-1325376569 .fill-AB5{fill:#F7F8FE;} + .d2-1325376569 .stroke-N1{stroke:#0A0F25;} + .d2-1325376569 .stroke-N2{stroke:#676C7E;} + .d2-1325376569 .stroke-N3{stroke:#9499AB;} + .d2-1325376569 .stroke-N4{stroke:#CFD2DD;} + .d2-1325376569 .stroke-N5{stroke:#DEE1EB;} + .d2-1325376569 .stroke-N6{stroke:#EEF1F8;} + .d2-1325376569 .stroke-N7{stroke:#FFFFFF;} + .d2-1325376569 .stroke-B1{stroke:#0D32B2;} + .d2-1325376569 .stroke-B2{stroke:#0D32B2;} + .d2-1325376569 .stroke-B3{stroke:#E3E9FD;} + .d2-1325376569 .stroke-B4{stroke:#E3E9FD;} + .d2-1325376569 .stroke-B5{stroke:#EDF0FD;} + .d2-1325376569 .stroke-B6{stroke:#F7F8FE;} + .d2-1325376569 .stroke-AA2{stroke:#4A6FF3;} + .d2-1325376569 .stroke-AA4{stroke:#EDF0FD;} + .d2-1325376569 .stroke-AA5{stroke:#F7F8FE;} + .d2-1325376569 .stroke-AB4{stroke:#EDF0FD;} + .d2-1325376569 .stroke-AB5{stroke:#F7F8FE;} + .d2-1325376569 .background-color-N1{background-color:#0A0F25;} + .d2-1325376569 .background-color-N2{background-color:#676C7E;} + .d2-1325376569 .background-color-N3{background-color:#9499AB;} + .d2-1325376569 .background-color-N4{background-color:#CFD2DD;} + .d2-1325376569 .background-color-N5{background-color:#DEE1EB;} + .d2-1325376569 .background-color-N6{background-color:#EEF1F8;} + .d2-1325376569 .background-color-N7{background-color:#FFFFFF;} + .d2-1325376569 .background-color-B1{background-color:#0D32B2;} + .d2-1325376569 .background-color-B2{background-color:#0D32B2;} + .d2-1325376569 .background-color-B3{background-color:#E3E9FD;} + .d2-1325376569 .background-color-B4{background-color:#E3E9FD;} + .d2-1325376569 .background-color-B5{background-color:#EDF0FD;} + .d2-1325376569 .background-color-B6{background-color:#F7F8FE;} + .d2-1325376569 .background-color-AA2{background-color:#4A6FF3;} + .d2-1325376569 .background-color-AA4{background-color:#EDF0FD;} + .d2-1325376569 .background-color-AA5{background-color:#F7F8FE;} + .d2-1325376569 .background-color-AB4{background-color:#EDF0FD;} + .d2-1325376569 .background-color-AB5{background-color:#F7F8FE;} + .d2-1325376569 .color-N1{color:#0A0F25;} + .d2-1325376569 .color-N2{color:#676C7E;} + .d2-1325376569 .color-N3{color:#9499AB;} + .d2-1325376569 .color-N4{color:#CFD2DD;} + .d2-1325376569 .color-N5{color:#DEE1EB;} + .d2-1325376569 .color-N6{color:#EEF1F8;} + .d2-1325376569 .color-N7{color:#FFFFFF;} + .d2-1325376569 .color-B1{color:#0D32B2;} + .d2-1325376569 .color-B2{color:#0D32B2;} + .d2-1325376569 .color-B3{color:#E3E9FD;} + .d2-1325376569 .color-B4{color:#E3E9FD;} + .d2-1325376569 .color-B5{color:#EDF0FD;} + .d2-1325376569 .color-B6{color:#F7F8FE;} + .d2-1325376569 .color-AA2{color:#4A6FF3;} + .d2-1325376569 .color-AA4{color:#EDF0FD;} + .d2-1325376569 .color-AA5{color:#F7F8FE;} + .d2-1325376569 .color-AB4{color:#EDF0FD;} + .d2-1325376569 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/index.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/index.exp.svg index da9ffaff9..08de52c0a 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/index.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/index.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-66779799 .fill-N1{fill:#0A0F25;} + .d2-66779799 .fill-N2{fill:#676C7E;} + .d2-66779799 .fill-N3{fill:#9499AB;} + .d2-66779799 .fill-N4{fill:#CFD2DD;} + .d2-66779799 .fill-N5{fill:#DEE1EB;} + .d2-66779799 .fill-N6{fill:#EEF1F8;} + .d2-66779799 .fill-N7{fill:#FFFFFF;} + .d2-66779799 .fill-B1{fill:#0D32B2;} + .d2-66779799 .fill-B2{fill:#0D32B2;} + .d2-66779799 .fill-B3{fill:#E3E9FD;} + .d2-66779799 .fill-B4{fill:#E3E9FD;} + .d2-66779799 .fill-B5{fill:#EDF0FD;} + .d2-66779799 .fill-B6{fill:#F7F8FE;} + .d2-66779799 .fill-AA2{fill:#4A6FF3;} + .d2-66779799 .fill-AA4{fill:#EDF0FD;} + .d2-66779799 .fill-AA5{fill:#F7F8FE;} + .d2-66779799 .fill-AB4{fill:#EDF0FD;} + .d2-66779799 .fill-AB5{fill:#F7F8FE;} + .d2-66779799 .stroke-N1{stroke:#0A0F25;} + .d2-66779799 .stroke-N2{stroke:#676C7E;} + .d2-66779799 .stroke-N3{stroke:#9499AB;} + .d2-66779799 .stroke-N4{stroke:#CFD2DD;} + .d2-66779799 .stroke-N5{stroke:#DEE1EB;} + .d2-66779799 .stroke-N6{stroke:#EEF1F8;} + .d2-66779799 .stroke-N7{stroke:#FFFFFF;} + .d2-66779799 .stroke-B1{stroke:#0D32B2;} + .d2-66779799 .stroke-B2{stroke:#0D32B2;} + .d2-66779799 .stroke-B3{stroke:#E3E9FD;} + .d2-66779799 .stroke-B4{stroke:#E3E9FD;} + .d2-66779799 .stroke-B5{stroke:#EDF0FD;} + .d2-66779799 .stroke-B6{stroke:#F7F8FE;} + .d2-66779799 .stroke-AA2{stroke:#4A6FF3;} + .d2-66779799 .stroke-AA4{stroke:#EDF0FD;} + .d2-66779799 .stroke-AA5{stroke:#F7F8FE;} + .d2-66779799 .stroke-AB4{stroke:#EDF0FD;} + .d2-66779799 .stroke-AB5{stroke:#F7F8FE;} + .d2-66779799 .background-color-N1{background-color:#0A0F25;} + .d2-66779799 .background-color-N2{background-color:#676C7E;} + .d2-66779799 .background-color-N3{background-color:#9499AB;} + .d2-66779799 .background-color-N4{background-color:#CFD2DD;} + .d2-66779799 .background-color-N5{background-color:#DEE1EB;} + .d2-66779799 .background-color-N6{background-color:#EEF1F8;} + .d2-66779799 .background-color-N7{background-color:#FFFFFF;} + .d2-66779799 .background-color-B1{background-color:#0D32B2;} + .d2-66779799 .background-color-B2{background-color:#0D32B2;} + .d2-66779799 .background-color-B3{background-color:#E3E9FD;} + .d2-66779799 .background-color-B4{background-color:#E3E9FD;} + .d2-66779799 .background-color-B5{background-color:#EDF0FD;} + .d2-66779799 .background-color-B6{background-color:#F7F8FE;} + .d2-66779799 .background-color-AA2{background-color:#4A6FF3;} + .d2-66779799 .background-color-AA4{background-color:#EDF0FD;} + .d2-66779799 .background-color-AA5{background-color:#F7F8FE;} + .d2-66779799 .background-color-AB4{background-color:#EDF0FD;} + .d2-66779799 .background-color-AB5{background-color:#F7F8FE;} + .d2-66779799 .color-N1{color:#0A0F25;} + .d2-66779799 .color-N2{color:#676C7E;} + .d2-66779799 .color-N3{color:#9499AB;} + .d2-66779799 .color-N4{color:#CFD2DD;} + .d2-66779799 .color-N5{color:#DEE1EB;} + .d2-66779799 .color-N6{color:#EEF1F8;} + .d2-66779799 .color-N7{color:#FFFFFF;} + .d2-66779799 .color-B1{color:#0D32B2;} + .d2-66779799 .color-B2{color:#0D32B2;} + .d2-66779799 .color-B3{color:#E3E9FD;} + .d2-66779799 .color-B4{color:#E3E9FD;} + .d2-66779799 .color-B5{color:#EDF0FD;} + .d2-66779799 .color-B6{color:#F7F8FE;} + .d2-66779799 .color-AA2{color:#4A6FF3;} + .d2-66779799 .color-AA4{color:#EDF0FD;} + .d2-66779799 .color-AA5{color:#F7F8FE;} + .d2-66779799 .color-AB4{color:#EDF0FD;} + .d2-66779799 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/broker.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/broker.exp.svg index 8796f5570..fe76b61fd 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/broker.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/broker.exp.svg @@ -1,9 +1,9 @@ -mortgagerealtor + .d2-1726870641 .fill-N1{fill:#0A0F25;} + .d2-1726870641 .fill-N2{fill:#676C7E;} + .d2-1726870641 .fill-N3{fill:#9499AB;} + .d2-1726870641 .fill-N4{fill:#CFD2DD;} + .d2-1726870641 .fill-N5{fill:#DEE1EB;} + .d2-1726870641 .fill-N6{fill:#EEF1F8;} + .d2-1726870641 .fill-N7{fill:#FFFFFF;} + .d2-1726870641 .fill-B1{fill:#0D32B2;} + .d2-1726870641 .fill-B2{fill:#0D32B2;} + .d2-1726870641 .fill-B3{fill:#E3E9FD;} + .d2-1726870641 .fill-B4{fill:#E3E9FD;} + .d2-1726870641 .fill-B5{fill:#EDF0FD;} + .d2-1726870641 .fill-B6{fill:#F7F8FE;} + .d2-1726870641 .fill-AA2{fill:#4A6FF3;} + .d2-1726870641 .fill-AA4{fill:#EDF0FD;} + .d2-1726870641 .fill-AA5{fill:#F7F8FE;} + .d2-1726870641 .fill-AB4{fill:#EDF0FD;} + .d2-1726870641 .fill-AB5{fill:#F7F8FE;} + .d2-1726870641 .stroke-N1{stroke:#0A0F25;} + .d2-1726870641 .stroke-N2{stroke:#676C7E;} + .d2-1726870641 .stroke-N3{stroke:#9499AB;} + .d2-1726870641 .stroke-N4{stroke:#CFD2DD;} + .d2-1726870641 .stroke-N5{stroke:#DEE1EB;} + .d2-1726870641 .stroke-N6{stroke:#EEF1F8;} + .d2-1726870641 .stroke-N7{stroke:#FFFFFF;} + .d2-1726870641 .stroke-B1{stroke:#0D32B2;} + .d2-1726870641 .stroke-B2{stroke:#0D32B2;} + .d2-1726870641 .stroke-B3{stroke:#E3E9FD;} + .d2-1726870641 .stroke-B4{stroke:#E3E9FD;} + .d2-1726870641 .stroke-B5{stroke:#EDF0FD;} + .d2-1726870641 .stroke-B6{stroke:#F7F8FE;} + .d2-1726870641 .stroke-AA2{stroke:#4A6FF3;} + .d2-1726870641 .stroke-AA4{stroke:#EDF0FD;} + .d2-1726870641 .stroke-AA5{stroke:#F7F8FE;} + .d2-1726870641 .stroke-AB4{stroke:#EDF0FD;} + .d2-1726870641 .stroke-AB5{stroke:#F7F8FE;} + .d2-1726870641 .background-color-N1{background-color:#0A0F25;} + .d2-1726870641 .background-color-N2{background-color:#676C7E;} + .d2-1726870641 .background-color-N3{background-color:#9499AB;} + .d2-1726870641 .background-color-N4{background-color:#CFD2DD;} + .d2-1726870641 .background-color-N5{background-color:#DEE1EB;} + .d2-1726870641 .background-color-N6{background-color:#EEF1F8;} + .d2-1726870641 .background-color-N7{background-color:#FFFFFF;} + .d2-1726870641 .background-color-B1{background-color:#0D32B2;} + .d2-1726870641 .background-color-B2{background-color:#0D32B2;} + .d2-1726870641 .background-color-B3{background-color:#E3E9FD;} + .d2-1726870641 .background-color-B4{background-color:#E3E9FD;} + .d2-1726870641 .background-color-B5{background-color:#EDF0FD;} + .d2-1726870641 .background-color-B6{background-color:#F7F8FE;} + .d2-1726870641 .background-color-AA2{background-color:#4A6FF3;} + .d2-1726870641 .background-color-AA4{background-color:#EDF0FD;} + .d2-1726870641 .background-color-AA5{background-color:#F7F8FE;} + .d2-1726870641 .background-color-AB4{background-color:#EDF0FD;} + .d2-1726870641 .background-color-AB5{background-color:#F7F8FE;} + .d2-1726870641 .color-N1{color:#0A0F25;} + .d2-1726870641 .color-N2{color:#676C7E;} + .d2-1726870641 .color-N3{color:#9499AB;} + .d2-1726870641 .color-N4{color:#CFD2DD;} + .d2-1726870641 .color-N5{color:#DEE1EB;} + .d2-1726870641 .color-N6{color:#EEF1F8;} + .d2-1726870641 .color-N7{color:#FFFFFF;} + .d2-1726870641 .color-B1{color:#0D32B2;} + .d2-1726870641 .color-B2{color:#0D32B2;} + .d2-1726870641 .color-B3{color:#E3E9FD;} + .d2-1726870641 .color-B4{color:#E3E9FD;} + .d2-1726870641 .color-B5{color:#EDF0FD;} + .d2-1726870641 .color-B6{color:#F7F8FE;} + .d2-1726870641 .color-AA2{color:#4A6FF3;} + .d2-1726870641 .color-AA4{color:#EDF0FD;} + .d2-1726870641 .color-AA5{color:#F7F8FE;} + .d2-1726870641 .color-AB4{color:#EDF0FD;} + .d2-1726870641 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>mortgagerealtor diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/core.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/core.exp.svg index 1e6718dfa..08e4916f8 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/core.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/core.exp.svg @@ -1,9 +1,9 @@ -belieffooddiet + .d2-2725802959 .fill-N1{fill:#0A0F25;} + .d2-2725802959 .fill-N2{fill:#676C7E;} + .d2-2725802959 .fill-N3{fill:#9499AB;} + .d2-2725802959 .fill-N4{fill:#CFD2DD;} + .d2-2725802959 .fill-N5{fill:#DEE1EB;} + .d2-2725802959 .fill-N6{fill:#EEF1F8;} + .d2-2725802959 .fill-N7{fill:#FFFFFF;} + .d2-2725802959 .fill-B1{fill:#0D32B2;} + .d2-2725802959 .fill-B2{fill:#0D32B2;} + .d2-2725802959 .fill-B3{fill:#E3E9FD;} + .d2-2725802959 .fill-B4{fill:#E3E9FD;} + .d2-2725802959 .fill-B5{fill:#EDF0FD;} + .d2-2725802959 .fill-B6{fill:#F7F8FE;} + .d2-2725802959 .fill-AA2{fill:#4A6FF3;} + .d2-2725802959 .fill-AA4{fill:#EDF0FD;} + .d2-2725802959 .fill-AA5{fill:#F7F8FE;} + .d2-2725802959 .fill-AB4{fill:#EDF0FD;} + .d2-2725802959 .fill-AB5{fill:#F7F8FE;} + .d2-2725802959 .stroke-N1{stroke:#0A0F25;} + .d2-2725802959 .stroke-N2{stroke:#676C7E;} + .d2-2725802959 .stroke-N3{stroke:#9499AB;} + .d2-2725802959 .stroke-N4{stroke:#CFD2DD;} + .d2-2725802959 .stroke-N5{stroke:#DEE1EB;} + .d2-2725802959 .stroke-N6{stroke:#EEF1F8;} + .d2-2725802959 .stroke-N7{stroke:#FFFFFF;} + .d2-2725802959 .stroke-B1{stroke:#0D32B2;} + .d2-2725802959 .stroke-B2{stroke:#0D32B2;} + .d2-2725802959 .stroke-B3{stroke:#E3E9FD;} + .d2-2725802959 .stroke-B4{stroke:#E3E9FD;} + .d2-2725802959 .stroke-B5{stroke:#EDF0FD;} + .d2-2725802959 .stroke-B6{stroke:#F7F8FE;} + .d2-2725802959 .stroke-AA2{stroke:#4A6FF3;} + .d2-2725802959 .stroke-AA4{stroke:#EDF0FD;} + .d2-2725802959 .stroke-AA5{stroke:#F7F8FE;} + .d2-2725802959 .stroke-AB4{stroke:#EDF0FD;} + .d2-2725802959 .stroke-AB5{stroke:#F7F8FE;} + .d2-2725802959 .background-color-N1{background-color:#0A0F25;} + .d2-2725802959 .background-color-N2{background-color:#676C7E;} + .d2-2725802959 .background-color-N3{background-color:#9499AB;} + .d2-2725802959 .background-color-N4{background-color:#CFD2DD;} + .d2-2725802959 .background-color-N5{background-color:#DEE1EB;} + .d2-2725802959 .background-color-N6{background-color:#EEF1F8;} + .d2-2725802959 .background-color-N7{background-color:#FFFFFF;} + .d2-2725802959 .background-color-B1{background-color:#0D32B2;} + .d2-2725802959 .background-color-B2{background-color:#0D32B2;} + .d2-2725802959 .background-color-B3{background-color:#E3E9FD;} + .d2-2725802959 .background-color-B4{background-color:#E3E9FD;} + .d2-2725802959 .background-color-B5{background-color:#EDF0FD;} + .d2-2725802959 .background-color-B6{background-color:#F7F8FE;} + .d2-2725802959 .background-color-AA2{background-color:#4A6FF3;} + .d2-2725802959 .background-color-AA4{background-color:#EDF0FD;} + .d2-2725802959 .background-color-AA5{background-color:#F7F8FE;} + .d2-2725802959 .background-color-AB4{background-color:#EDF0FD;} + .d2-2725802959 .background-color-AB5{background-color:#F7F8FE;} + .d2-2725802959 .color-N1{color:#0A0F25;} + .d2-2725802959 .color-N2{color:#676C7E;} + .d2-2725802959 .color-N3{color:#9499AB;} + .d2-2725802959 .color-N4{color:#CFD2DD;} + .d2-2725802959 .color-N5{color:#DEE1EB;} + .d2-2725802959 .color-N6{color:#EEF1F8;} + .d2-2725802959 .color-N7{color:#FFFFFF;} + .d2-2725802959 .color-B1{color:#0D32B2;} + .d2-2725802959 .color-B2{color:#0D32B2;} + .d2-2725802959 .color-B3{color:#E3E9FD;} + .d2-2725802959 .color-B4{color:#E3E9FD;} + .d2-2725802959 .color-B5{color:#EDF0FD;} + .d2-2725802959 .color-B6{color:#F7F8FE;} + .d2-2725802959 .color-AA2{color:#4A6FF3;} + .d2-2725802959 .color-AA4{color:#EDF0FD;} + .d2-2725802959 .color-AA5{color:#F7F8FE;} + .d2-2725802959 .color-AB4{color:#EDF0FD;} + .d2-2725802959 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>belieffooddiet diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/stocks.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/stocks.exp.svg index f735f5d14..d92baa3b7 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/stocks.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/layers/stocks.exp.svg @@ -1,9 +1,9 @@ -TSXNYSENASDAQ + .d2-3935287890 .fill-N1{fill:#0A0F25;} + .d2-3935287890 .fill-N2{fill:#676C7E;} + .d2-3935287890 .fill-N3{fill:#9499AB;} + .d2-3935287890 .fill-N4{fill:#CFD2DD;} + .d2-3935287890 .fill-N5{fill:#DEE1EB;} + .d2-3935287890 .fill-N6{fill:#EEF1F8;} + .d2-3935287890 .fill-N7{fill:#FFFFFF;} + .d2-3935287890 .fill-B1{fill:#0D32B2;} + .d2-3935287890 .fill-B2{fill:#0D32B2;} + .d2-3935287890 .fill-B3{fill:#E3E9FD;} + .d2-3935287890 .fill-B4{fill:#E3E9FD;} + .d2-3935287890 .fill-B5{fill:#EDF0FD;} + .d2-3935287890 .fill-B6{fill:#F7F8FE;} + .d2-3935287890 .fill-AA2{fill:#4A6FF3;} + .d2-3935287890 .fill-AA4{fill:#EDF0FD;} + .d2-3935287890 .fill-AA5{fill:#F7F8FE;} + .d2-3935287890 .fill-AB4{fill:#EDF0FD;} + .d2-3935287890 .fill-AB5{fill:#F7F8FE;} + .d2-3935287890 .stroke-N1{stroke:#0A0F25;} + .d2-3935287890 .stroke-N2{stroke:#676C7E;} + .d2-3935287890 .stroke-N3{stroke:#9499AB;} + .d2-3935287890 .stroke-N4{stroke:#CFD2DD;} + .d2-3935287890 .stroke-N5{stroke:#DEE1EB;} + .d2-3935287890 .stroke-N6{stroke:#EEF1F8;} + .d2-3935287890 .stroke-N7{stroke:#FFFFFF;} + .d2-3935287890 .stroke-B1{stroke:#0D32B2;} + .d2-3935287890 .stroke-B2{stroke:#0D32B2;} + .d2-3935287890 .stroke-B3{stroke:#E3E9FD;} + .d2-3935287890 .stroke-B4{stroke:#E3E9FD;} + .d2-3935287890 .stroke-B5{stroke:#EDF0FD;} + .d2-3935287890 .stroke-B6{stroke:#F7F8FE;} + .d2-3935287890 .stroke-AA2{stroke:#4A6FF3;} + .d2-3935287890 .stroke-AA4{stroke:#EDF0FD;} + .d2-3935287890 .stroke-AA5{stroke:#F7F8FE;} + .d2-3935287890 .stroke-AB4{stroke:#EDF0FD;} + .d2-3935287890 .stroke-AB5{stroke:#F7F8FE;} + .d2-3935287890 .background-color-N1{background-color:#0A0F25;} + .d2-3935287890 .background-color-N2{background-color:#676C7E;} + .d2-3935287890 .background-color-N3{background-color:#9499AB;} + .d2-3935287890 .background-color-N4{background-color:#CFD2DD;} + .d2-3935287890 .background-color-N5{background-color:#DEE1EB;} + .d2-3935287890 .background-color-N6{background-color:#EEF1F8;} + .d2-3935287890 .background-color-N7{background-color:#FFFFFF;} + .d2-3935287890 .background-color-B1{background-color:#0D32B2;} + .d2-3935287890 .background-color-B2{background-color:#0D32B2;} + .d2-3935287890 .background-color-B3{background-color:#E3E9FD;} + .d2-3935287890 .background-color-B4{background-color:#E3E9FD;} + .d2-3935287890 .background-color-B5{background-color:#EDF0FD;} + .d2-3935287890 .background-color-B6{background-color:#F7F8FE;} + .d2-3935287890 .background-color-AA2{background-color:#4A6FF3;} + .d2-3935287890 .background-color-AA4{background-color:#EDF0FD;} + .d2-3935287890 .background-color-AA5{background-color:#F7F8FE;} + .d2-3935287890 .background-color-AB4{background-color:#EDF0FD;} + .d2-3935287890 .background-color-AB5{background-color:#F7F8FE;} + .d2-3935287890 .color-N1{color:#0A0F25;} + .d2-3935287890 .color-N2{color:#676C7E;} + .d2-3935287890 .color-N3{color:#9499AB;} + .d2-3935287890 .color-N4{color:#CFD2DD;} + .d2-3935287890 .color-N5{color:#DEE1EB;} + .d2-3935287890 .color-N6{color:#EEF1F8;} + .d2-3935287890 .color-N7{color:#FFFFFF;} + .d2-3935287890 .color-B1{color:#0D32B2;} + .d2-3935287890 .color-B2{color:#0D32B2;} + .d2-3935287890 .color-B3{color:#E3E9FD;} + .d2-3935287890 .color-B4{color:#E3E9FD;} + .d2-3935287890 .color-B5{color:#EDF0FD;} + .d2-3935287890 .color-B6{color:#F7F8FE;} + .d2-3935287890 .color-AA2{color:#4A6FF3;} + .d2-3935287890 .color-AA4{color:#EDF0FD;} + .d2-3935287890 .color-AA5{color:#F7F8FE;} + .d2-3935287890 .color-AB4{color:#EDF0FD;} + .d2-3935287890 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>TSXNYSENASDAQ diff --git a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/scenarios/why.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/scenarios/why.exp.svg index 62f45f0f8..cb74951e9 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/scenarios/why.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/multiboard/life_index_d2/scenarios/why.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-1325376569 .fill-N1{fill:#0A0F25;} + .d2-1325376569 .fill-N2{fill:#676C7E;} + .d2-1325376569 .fill-N3{fill:#9499AB;} + .d2-1325376569 .fill-N4{fill:#CFD2DD;} + .d2-1325376569 .fill-N5{fill:#DEE1EB;} + .d2-1325376569 .fill-N6{fill:#EEF1F8;} + .d2-1325376569 .fill-N7{fill:#FFFFFF;} + .d2-1325376569 .fill-B1{fill:#0D32B2;} + .d2-1325376569 .fill-B2{fill:#0D32B2;} + .d2-1325376569 .fill-B3{fill:#E3E9FD;} + .d2-1325376569 .fill-B4{fill:#E3E9FD;} + .d2-1325376569 .fill-B5{fill:#EDF0FD;} + .d2-1325376569 .fill-B6{fill:#F7F8FE;} + .d2-1325376569 .fill-AA2{fill:#4A6FF3;} + .d2-1325376569 .fill-AA4{fill:#EDF0FD;} + .d2-1325376569 .fill-AA5{fill:#F7F8FE;} + .d2-1325376569 .fill-AB4{fill:#EDF0FD;} + .d2-1325376569 .fill-AB5{fill:#F7F8FE;} + .d2-1325376569 .stroke-N1{stroke:#0A0F25;} + .d2-1325376569 .stroke-N2{stroke:#676C7E;} + .d2-1325376569 .stroke-N3{stroke:#9499AB;} + .d2-1325376569 .stroke-N4{stroke:#CFD2DD;} + .d2-1325376569 .stroke-N5{stroke:#DEE1EB;} + .d2-1325376569 .stroke-N6{stroke:#EEF1F8;} + .d2-1325376569 .stroke-N7{stroke:#FFFFFF;} + .d2-1325376569 .stroke-B1{stroke:#0D32B2;} + .d2-1325376569 .stroke-B2{stroke:#0D32B2;} + .d2-1325376569 .stroke-B3{stroke:#E3E9FD;} + .d2-1325376569 .stroke-B4{stroke:#E3E9FD;} + .d2-1325376569 .stroke-B5{stroke:#EDF0FD;} + .d2-1325376569 .stroke-B6{stroke:#F7F8FE;} + .d2-1325376569 .stroke-AA2{stroke:#4A6FF3;} + .d2-1325376569 .stroke-AA4{stroke:#EDF0FD;} + .d2-1325376569 .stroke-AA5{stroke:#F7F8FE;} + .d2-1325376569 .stroke-AB4{stroke:#EDF0FD;} + .d2-1325376569 .stroke-AB5{stroke:#F7F8FE;} + .d2-1325376569 .background-color-N1{background-color:#0A0F25;} + .d2-1325376569 .background-color-N2{background-color:#676C7E;} + .d2-1325376569 .background-color-N3{background-color:#9499AB;} + .d2-1325376569 .background-color-N4{background-color:#CFD2DD;} + .d2-1325376569 .background-color-N5{background-color:#DEE1EB;} + .d2-1325376569 .background-color-N6{background-color:#EEF1F8;} + .d2-1325376569 .background-color-N7{background-color:#FFFFFF;} + .d2-1325376569 .background-color-B1{background-color:#0D32B2;} + .d2-1325376569 .background-color-B2{background-color:#0D32B2;} + .d2-1325376569 .background-color-B3{background-color:#E3E9FD;} + .d2-1325376569 .background-color-B4{background-color:#E3E9FD;} + .d2-1325376569 .background-color-B5{background-color:#EDF0FD;} + .d2-1325376569 .background-color-B6{background-color:#F7F8FE;} + .d2-1325376569 .background-color-AA2{background-color:#4A6FF3;} + .d2-1325376569 .background-color-AA4{background-color:#EDF0FD;} + .d2-1325376569 .background-color-AA5{background-color:#F7F8FE;} + .d2-1325376569 .background-color-AB4{background-color:#EDF0FD;} + .d2-1325376569 .background-color-AB5{background-color:#F7F8FE;} + .d2-1325376569 .color-N1{color:#0A0F25;} + .d2-1325376569 .color-N2{color:#676C7E;} + .d2-1325376569 .color-N3{color:#9499AB;} + .d2-1325376569 .color-N4{color:#CFD2DD;} + .d2-1325376569 .color-N5{color:#DEE1EB;} + .d2-1325376569 .color-N6{color:#EEF1F8;} + .d2-1325376569 .color-N7{color:#FFFFFF;} + .d2-1325376569 .color-B1{color:#0D32B2;} + .d2-1325376569 .color-B2{color:#0D32B2;} + .d2-1325376569 .color-B3{color:#E3E9FD;} + .d2-1325376569 .color-B4{color:#E3E9FD;} + .d2-1325376569 .color-B5{color:#EDF0FD;} + .d2-1325376569 .color-B6{color:#F7F8FE;} + .d2-1325376569 .color-AA2{color:#4A6FF3;} + .d2-1325376569 .color-AA4{color:#EDF0FD;} + .d2-1325376569 .color-AA5{color:#F7F8FE;} + .d2-1325376569 .color-AB4{color:#EDF0FD;} + .d2-1325376569 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/stdin.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/stdin.exp.svg index b572b06c2..63f8b5d26 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/stdin.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/stdin.exp.svg @@ -1,9 +1,9 @@ -xy + .d2-1843626214 .fill-N1{fill:#0A0F25;} + .d2-1843626214 .fill-N2{fill:#676C7E;} + .d2-1843626214 .fill-N3{fill:#9499AB;} + .d2-1843626214 .fill-N4{fill:#CFD2DD;} + .d2-1843626214 .fill-N5{fill:#DEE1EB;} + .d2-1843626214 .fill-N6{fill:#EEF1F8;} + .d2-1843626214 .fill-N7{fill:#FFFFFF;} + .d2-1843626214 .fill-B1{fill:#0D32B2;} + .d2-1843626214 .fill-B2{fill:#0D32B2;} + .d2-1843626214 .fill-B3{fill:#E3E9FD;} + .d2-1843626214 .fill-B4{fill:#E3E9FD;} + .d2-1843626214 .fill-B5{fill:#EDF0FD;} + .d2-1843626214 .fill-B6{fill:#F7F8FE;} + .d2-1843626214 .fill-AA2{fill:#4A6FF3;} + .d2-1843626214 .fill-AA4{fill:#EDF0FD;} + .d2-1843626214 .fill-AA5{fill:#F7F8FE;} + .d2-1843626214 .fill-AB4{fill:#EDF0FD;} + .d2-1843626214 .fill-AB5{fill:#F7F8FE;} + .d2-1843626214 .stroke-N1{stroke:#0A0F25;} + .d2-1843626214 .stroke-N2{stroke:#676C7E;} + .d2-1843626214 .stroke-N3{stroke:#9499AB;} + .d2-1843626214 .stroke-N4{stroke:#CFD2DD;} + .d2-1843626214 .stroke-N5{stroke:#DEE1EB;} + .d2-1843626214 .stroke-N6{stroke:#EEF1F8;} + .d2-1843626214 .stroke-N7{stroke:#FFFFFF;} + .d2-1843626214 .stroke-B1{stroke:#0D32B2;} + .d2-1843626214 .stroke-B2{stroke:#0D32B2;} + .d2-1843626214 .stroke-B3{stroke:#E3E9FD;} + .d2-1843626214 .stroke-B4{stroke:#E3E9FD;} + .d2-1843626214 .stroke-B5{stroke:#EDF0FD;} + .d2-1843626214 .stroke-B6{stroke:#F7F8FE;} + .d2-1843626214 .stroke-AA2{stroke:#4A6FF3;} + .d2-1843626214 .stroke-AA4{stroke:#EDF0FD;} + .d2-1843626214 .stroke-AA5{stroke:#F7F8FE;} + .d2-1843626214 .stroke-AB4{stroke:#EDF0FD;} + .d2-1843626214 .stroke-AB5{stroke:#F7F8FE;} + .d2-1843626214 .background-color-N1{background-color:#0A0F25;} + .d2-1843626214 .background-color-N2{background-color:#676C7E;} + .d2-1843626214 .background-color-N3{background-color:#9499AB;} + .d2-1843626214 .background-color-N4{background-color:#CFD2DD;} + .d2-1843626214 .background-color-N5{background-color:#DEE1EB;} + .d2-1843626214 .background-color-N6{background-color:#EEF1F8;} + .d2-1843626214 .background-color-N7{background-color:#FFFFFF;} + .d2-1843626214 .background-color-B1{background-color:#0D32B2;} + .d2-1843626214 .background-color-B2{background-color:#0D32B2;} + .d2-1843626214 .background-color-B3{background-color:#E3E9FD;} + .d2-1843626214 .background-color-B4{background-color:#E3E9FD;} + .d2-1843626214 .background-color-B5{background-color:#EDF0FD;} + .d2-1843626214 .background-color-B6{background-color:#F7F8FE;} + .d2-1843626214 .background-color-AA2{background-color:#4A6FF3;} + .d2-1843626214 .background-color-AA4{background-color:#EDF0FD;} + .d2-1843626214 .background-color-AA5{background-color:#F7F8FE;} + .d2-1843626214 .background-color-AB4{background-color:#EDF0FD;} + .d2-1843626214 .background-color-AB5{background-color:#F7F8FE;} + .d2-1843626214 .color-N1{color:#0A0F25;} + .d2-1843626214 .color-N2{color:#676C7E;} + .d2-1843626214 .color-N3{color:#9499AB;} + .d2-1843626214 .color-N4{color:#CFD2DD;} + .d2-1843626214 .color-N5{color:#DEE1EB;} + .d2-1843626214 .color-N6{color:#EEF1F8;} + .d2-1843626214 .color-N7{color:#FFFFFF;} + .d2-1843626214 .color-B1{color:#0D32B2;} + .d2-1843626214 .color-B2{color:#0D32B2;} + .d2-1843626214 .color-B3{color:#E3E9FD;} + .d2-1843626214 .color-B4{color:#E3E9FD;} + .d2-1843626214 .color-B5{color:#EDF0FD;} + .d2-1843626214 .color-B6{color:#F7F8FE;} + .d2-1843626214 .color-AA2{color:#4A6FF3;} + .d2-1843626214 .color-AA4{color:#EDF0FD;} + .d2-1843626214 .color-AA5{color:#F7F8FE;} + .d2-1843626214 .color-AB4{color:#EDF0FD;} + .d2-1843626214 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy diff --git a/e2etests-cli/testdata/TestCLI_E2E/vars-animation.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/vars-animation.exp.svg new file mode 100644 index 000000000..8ec9e5a88 --- /dev/null +++ b/e2etests-cli/testdata/TestCLI_E2E/vars-animation.exp.svg @@ -0,0 +1,890 @@ +CHICKEN'S PLAN + + +APPROACH ROADCHICKEN'S PLAN + + + +APPROACH ROADCROSS ROADCHICKEN'S PLAN + + + + +APPROACH ROADCROSS ROADMAKE YOU WONDER WHYCHICKEN'S PLAN + + + + + + \ No newline at end of file diff --git a/e2etests-cli/testdata/TestCLI_E2E/vars-config.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/vars-config.exp.svg new file mode 100644 index 000000000..2bd8a30f4 --- /dev/null +++ b/e2etests-cli/testdata/TestCLI_E2E/vars-config.exp.svg @@ -0,0 +1,117 @@ + + + + + + + + +xyaitwasalli used to readdream + + + + + + + + + + diff --git a/e2etests-cli/testdata/TestCLI_E2E/with-font.exp.svg b/e2etests-cli/testdata/TestCLI_E2E/with-font.exp.svg index 6f99c984e..8ec1b86ca 100644 --- a/e2etests-cli/testdata/TestCLI_E2E/with-font.exp.svg +++ b/e2etests-cli/testdata/TestCLI_E2E/with-font.exp.svg @@ -1,16 +1,16 @@ -Why do computers get sick often?Because their Windows are always open! italic font + .d2-1771907023 .fill-N1{fill:#0A0F25;} + .d2-1771907023 .fill-N2{fill:#676C7E;} + .d2-1771907023 .fill-N3{fill:#9499AB;} + .d2-1771907023 .fill-N4{fill:#CFD2DD;} + .d2-1771907023 .fill-N5{fill:#DEE1EB;} + .d2-1771907023 .fill-N6{fill:#EEF1F8;} + .d2-1771907023 .fill-N7{fill:#FFFFFF;} + .d2-1771907023 .fill-B1{fill:#0D32B2;} + .d2-1771907023 .fill-B2{fill:#0D32B2;} + .d2-1771907023 .fill-B3{fill:#E3E9FD;} + .d2-1771907023 .fill-B4{fill:#E3E9FD;} + .d2-1771907023 .fill-B5{fill:#EDF0FD;} + .d2-1771907023 .fill-B6{fill:#F7F8FE;} + .d2-1771907023 .fill-AA2{fill:#4A6FF3;} + .d2-1771907023 .fill-AA4{fill:#EDF0FD;} + .d2-1771907023 .fill-AA5{fill:#F7F8FE;} + .d2-1771907023 .fill-AB4{fill:#EDF0FD;} + .d2-1771907023 .fill-AB5{fill:#F7F8FE;} + .d2-1771907023 .stroke-N1{stroke:#0A0F25;} + .d2-1771907023 .stroke-N2{stroke:#676C7E;} + .d2-1771907023 .stroke-N3{stroke:#9499AB;} + .d2-1771907023 .stroke-N4{stroke:#CFD2DD;} + .d2-1771907023 .stroke-N5{stroke:#DEE1EB;} + .d2-1771907023 .stroke-N6{stroke:#EEF1F8;} + .d2-1771907023 .stroke-N7{stroke:#FFFFFF;} + .d2-1771907023 .stroke-B1{stroke:#0D32B2;} + .d2-1771907023 .stroke-B2{stroke:#0D32B2;} + .d2-1771907023 .stroke-B3{stroke:#E3E9FD;} + .d2-1771907023 .stroke-B4{stroke:#E3E9FD;} + .d2-1771907023 .stroke-B5{stroke:#EDF0FD;} + .d2-1771907023 .stroke-B6{stroke:#F7F8FE;} + .d2-1771907023 .stroke-AA2{stroke:#4A6FF3;} + .d2-1771907023 .stroke-AA4{stroke:#EDF0FD;} + .d2-1771907023 .stroke-AA5{stroke:#F7F8FE;} + .d2-1771907023 .stroke-AB4{stroke:#EDF0FD;} + .d2-1771907023 .stroke-AB5{stroke:#F7F8FE;} + .d2-1771907023 .background-color-N1{background-color:#0A0F25;} + .d2-1771907023 .background-color-N2{background-color:#676C7E;} + .d2-1771907023 .background-color-N3{background-color:#9499AB;} + .d2-1771907023 .background-color-N4{background-color:#CFD2DD;} + .d2-1771907023 .background-color-N5{background-color:#DEE1EB;} + .d2-1771907023 .background-color-N6{background-color:#EEF1F8;} + .d2-1771907023 .background-color-N7{background-color:#FFFFFF;} + .d2-1771907023 .background-color-B1{background-color:#0D32B2;} + .d2-1771907023 .background-color-B2{background-color:#0D32B2;} + .d2-1771907023 .background-color-B3{background-color:#E3E9FD;} + .d2-1771907023 .background-color-B4{background-color:#E3E9FD;} + .d2-1771907023 .background-color-B5{background-color:#EDF0FD;} + .d2-1771907023 .background-color-B6{background-color:#F7F8FE;} + .d2-1771907023 .background-color-AA2{background-color:#4A6FF3;} + .d2-1771907023 .background-color-AA4{background-color:#EDF0FD;} + .d2-1771907023 .background-color-AA5{background-color:#F7F8FE;} + .d2-1771907023 .background-color-AB4{background-color:#EDF0FD;} + .d2-1771907023 .background-color-AB5{background-color:#F7F8FE;} + .d2-1771907023 .color-N1{color:#0A0F25;} + .d2-1771907023 .color-N2{color:#676C7E;} + .d2-1771907023 .color-N3{color:#9499AB;} + .d2-1771907023 .color-N4{color:#CFD2DD;} + .d2-1771907023 .color-N5{color:#DEE1EB;} + .d2-1771907023 .color-N6{color:#EEF1F8;} + .d2-1771907023 .color-N7{color:#FFFFFF;} + .d2-1771907023 .color-B1{color:#0D32B2;} + .d2-1771907023 .color-B2{color:#0D32B2;} + .d2-1771907023 .color-B3{color:#E3E9FD;} + .d2-1771907023 .color-B4{color:#E3E9FD;} + .d2-1771907023 .color-B5{color:#EDF0FD;} + .d2-1771907023 .color-B6{color:#F7F8FE;} + .d2-1771907023 .color-AA2{color:#4A6FF3;} + .d2-1771907023 .color-AA4{color:#EDF0FD;} + .d2-1771907023 .color-AA5{color:#F7F8FE;} + .d2-1771907023 .color-AB4{color:#EDF0FD;} + .d2-1771907023 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Why do computers get sick often?Because their Windows are always open! italic font diff --git a/e2etests/e2e_test.go b/e2etests/e2e_test.go index 64ea8bbfa..53201f8d7 100644 --- a/e2etests/e2e_test.go +++ b/e2etests/e2e_test.go @@ -15,6 +15,7 @@ import ( "oss.terrastruct.com/util-go/assert" "oss.terrastruct.com/util-go/diff" + "oss.terrastruct.com/util-go/go2" "oss.terrastruct.com/d2/d2compiler" "oss.terrastruct.com/d2/d2graph" @@ -87,7 +88,7 @@ type testCase struct { dagreFeatureError string elkFeatureError string expErr string - themeID int64 + themeID *int64 } func runa(t *testing.T, tcs []testCase) { @@ -109,7 +110,7 @@ func runa(t *testing.T, tcs []testCase) { func serde(t *testing.T, tc testCase, ruler *textmeasure.Ruler) { ctx := context.Background() ctx = log.WithTB(ctx, t, nil) - g, err := d2compiler.Compile("", strings.NewReader(tc.script), &d2compiler.CompileOptions{ + g, _, err := d2compiler.Compile("", strings.NewReader(tc.script), &d2compiler.CompileOptions{ UTF16: false, }) trequire.Nil(t, err) @@ -146,28 +147,39 @@ func run(t *testing.T, tc testCase) { layoutsTested = append(layoutsTested, "elk") } + layoutResolver := func(engine string) (d2graph.LayoutGraph, error) { + if strings.EqualFold(engine, "elk") { + return d2elklayout.DefaultLayout, nil + } + return d2dagrelayout.DefaultLayout, nil + } + for _, layoutName := range layoutsTested { - var layout func(context.Context, *d2graph.Graph) error var plugin d2plugin.Plugin if layoutName == "dagre" { - layout = d2dagrelayout.DefaultLayout plugin = &d2plugin.DagrePlugin } else if layoutName == "elk" { // If measured texts exists, we are specifically exercising text measurements, no need to run on both layouts if tc.mtexts != nil { continue } - layout = d2elklayout.DefaultLayout plugin = &d2plugin.ELKPlugin } - diagram, g, err := d2lib.Compile(ctx, tc.script, &d2lib.CompileOptions{ - Ruler: ruler, - MeasuredTexts: tc.mtexts, - Layout: layout, - ThemeID: tc.themeID, - }) + compileOpts := &d2lib.CompileOptions{ + Ruler: ruler, + MeasuredTexts: tc.mtexts, + Layout: go2.Pointer(layoutName), + LayoutResolver: layoutResolver, + } + renderOpts := &d2svg.RenderOpts{ + Pad: go2.Pointer(int64(0)), + ThemeID: tc.themeID, + // To compare deltas at a fixed scale + // Scale: go2.Pointer(1.), + } + diagram, g, err := d2lib.Compile(ctx, tc.script, compileOpts, renderOpts) if tc.expErr != "" { assert.Error(t, err) assert.ErrorString(t, err, tc.expErr) @@ -205,10 +217,6 @@ func run(t *testing.T, tc testCase) { dataPath := filepath.Join("testdata", strings.TrimPrefix(t.Name(), "TestE2E/"), layoutName) pathGotSVG := filepath.Join(dataPath, "sketch.got.svg") - renderOpts := &d2svg.RenderOpts{ - Pad: 0, - ThemeID: tc.themeID, - } if len(diagram.Layers) > 0 || len(diagram.Scenarios) > 0 || len(diagram.Steps) > 0 { masterID, err := diagram.HashID() assert.Success(t, err) diff --git a/e2etests/regression_test.go b/e2etests/regression_test.go index e66d250ed..24a0d0edd 100644 --- a/e2etests/regression_test.go +++ b/e2etests/regression_test.go @@ -648,11 +648,9 @@ group: { }, { name: "ampersand-escape", - script: `h&y: &∈ { + script: `hy: &∈ { tooltip: beans & rice } -&foo -&&bar `, }, { @@ -1038,6 +1036,7 @@ cf many required: { loadFromFile(t, "cylinder_grid_label"), loadFromFile(t, "grid_with_latex"), loadFromFile(t, "icons_on_top"), + loadFromFile(t, "dagre_disconnected_edge"), } runa(t, tcs) diff --git a/e2etests/stable_test.go b/e2etests/stable_test.go index 706fbf612..0c2ea5fca 100644 --- a/e2etests/stable_test.go +++ b/e2etests/stable_test.go @@ -221,6 +221,12 @@ committee chair -> committee: Accept appeal`, name: "mono-edge", script: `direction: right x -> y: hi { style.font: mono }`, + }, + { + name: "bold-mono", + script: `not bold mono.style.font: mono +not bold mono.style.bold: false +bold mono.style.font: mono`, }, { name: "mono-font", @@ -2013,7 +2019,7 @@ papa bear -> bear `, }, { - name: "tooltips", + name: "basic-tooltips", script: `x: { tooltip: Total abstinence is easier than perfect moderation } y: { tooltip: Gee, I feel kind of LIGHT in the head now,\nknowing I can't make my satellite dish PAYMENTS! } x -> y @@ -2760,6 +2766,25 @@ scenarios: { thunder } }`, + }, + { + name: "label-near", + script: ` +direction: right +x -> y + +x: worker { + label.near: top-center + icon: https://icons.terrastruct.com/essentials%2F005-programmer.svg + icon.near: outside-top-right +} + +y: profits { + label.near: bottom-right + icon: https://icons.terrastruct.com/essentials%2Fprofits.svg + icon.near: outside-bottom-center +} +`, }, loadFromFile(t, "arrowhead_scaling"), loadFromFile(t, "teleport_grid"), @@ -2778,10 +2803,16 @@ scenarios: { loadFromFile(t, "multiple_offset"), loadFromFile(t, "multiple_offset_left"), loadFromFile(t, "multiple_box_selection"), + loadFromFile(t, "multiple_person_label"), loadFromFile(t, "outside_bottom_labels"), loadFromFile(t, "label_positions"), loadFromFile(t, "icon_positions"), + loadFromFile(t, "centered_horizontal_connections"), loadFromFile(t, "all_shapes_link"), + loadFromFile(t, "nested_shape_labels"), + loadFromFile(t, "overlapping_child_label"), + loadFromFile(t, "dagre_spacing"), + loadFromFile(t, "dagre_spacing_right"), } runa(t, tcs) diff --git a/e2etests/testdata/files/centered_horizontal_connections.d2 b/e2etests/testdata/files/centered_horizontal_connections.d2 new file mode 100644 index 000000000..1b4e4f691 --- /dev/null +++ b/e2etests/testdata/files/centered_horizontal_connections.d2 @@ -0,0 +1,46 @@ +direction: right + +style: { + fill: transparent +} + +classes: { + rare: { + shape: image + icon: https://raw.githubusercontent.com/frederic-loui/RARE-web/automated-update/docs/img/rare.svg + width: 32 + height: 32 + } + xrd: { + shape: image + icon: https://raw.githubusercontent.com/frederic-loui/RARE-web/automated-update/docs/img/xrd.svg + width: 32 + height: 32 + } + vr-xrv9k: { + shape: image + icon: https://raw.githubusercontent.com/frederic-loui/RARE-web/automated-update/docs/img/vr-xrv9k.svg + width: 32 + height: 32 + } + linux: { + shape: image + icon: https://raw.githubusercontent.com/frederic-loui/RARE-web/automated-update/docs/img/linux.svg + width: 32 + height: 32 + } + crpd: { + shape: image + icon: https://raw.githubusercontent.com/frederic-loui/RARE-web/automated-update/docs/img/crpd.svg + width: 32 + height: 32 + } +} + +r1.class: rare +r2.class: rare + +r1 <-> r2: { + source-arrowhead.label: eth1 + target-arrowhead.label: eth1 +} diff --git a/e2etests/testdata/files/dagre_disconnected_edge.d2 b/e2etests/testdata/files/dagre_disconnected_edge.d2 new file mode 100644 index 000000000..a51b8241c --- /dev/null +++ b/e2etests/testdata/files/dagre_disconnected_edge.d2 @@ -0,0 +1,13 @@ +x -> y + +x: program { + label.near: top-center + icon: https://icons.terrastruct.com/essentials%2F005-programmer.svg + icon.near: outside-top-right +} + +y: profits { + label.near: bottom-right + icon: https://icons.terrastruct.com/essentials%2Fprofits.svg + icon.near: outside-left-center +} diff --git a/e2etests/testdata/files/dagre_spacing.d2 b/e2etests/testdata/files/dagre_spacing.d2 new file mode 100644 index 000000000..faa644ae1 --- /dev/null +++ b/e2etests/testdata/files/dagre_spacing.d2 @@ -0,0 +1,101 @@ +a: { + k.t -> f.i + f.g -> _.s.n +} +k +k.s <-> u.o +h.m.s -> a.f.g + +a.f.j -> u.s.j +u: { + c -> _.s.z.c +} + +s: { + n: { + style.stroke: red + f + } +} + +s.n -> y.r: {style.stroke-width: 8; style.stroke: red} +y.r -> a.g.i: 1\n2\n3\n4 + +s.n.class: icon +a.f.i: { + label: i\nii + class: OutsideTopCenter +} +u.s.j.class: OutsideBottomCenter +u.s: { + label: s\ns\ns\ns + class: OutsideBottomCenter +} +a.f.j.class: [icon; IconOutsideLeftTop] +u.c: { + label: cccccccccccccccccccc + class: OutsideRightMiddle +} + +classes: { + icon: { + icon: https://icons.terrastruct.com/essentials/time.svg + } + + OutsideTopLeft.label.near: outside-top-left + OutsideTopCenter.label.near: outside-top-center + OutsideTopRight.label.near: outside-top-right + + OutsideLeftTop.label.near: outside-left-top + OutsideLeftMiddle.label.near: outside-left-center + OutsideLeftBottom.label.near: outside-left-bottom + + OutsideRightTop.label.near: outside-right-top + OutsideRightMiddle.label.near: outside-right-center + OutsideRightBottom.label.near: outside-right-bottom + + OutsideBottomLeft.label.near: outside-bottom-left + OutsideBottomCenter.label.near: outside-bottom-center + OutsideBottomRight.label.near: outside-bottom-right + + InsideTopLeft.label.near: top-left + InsideTopCenter.label.near: top-center + InsideTopRight.label.near: top-right + + InsideMiddleLeft.label.near: center-left + InsideMiddleCenter.label.near: center-center + InsideMiddleRight.label.near: center-right + + InsideBottomLeft.label.near: bottom-left + InsideBottomCenter.label.near: bottom-center + InsideBottomRight.label.near: bottom-right + + # Icon positions + IconOutsideTopLeft.icon.near: outside-top-left + IconOutsideTopCenter.icon.near: outside-top-center + IconOutsideTopRight.icon.near: outside-top-right + + IconOutsideLeftTop.icon.near: outside-left-top + IconOutsideLeftMiddle.icon.near: outside-left-center + IconOutsideLeftBottom.icon.near: outside-left-bottom + + IconOutsideRightTop.icon.near: outside-right-top + IconOutsideRightMiddle.icon.near: outside-right-center + IconOutsideRightBottom.icon.near: outside-right-bottom + + IconOutsideBottomLeft.icon.near: outside-bottom-left + IconOutsideBottomCenter.icon.near: outside-bottom-center + IconOutsideBottomRight.icon.near: outside-bottom-right + + IconInsideTopLeft.icon.near: top-left + IconInsideTopCenter.icon.near: top-center + IconInsideTopRight.icon.near: top-right + + IconInsideMiddleLeft.icon.near: center-left + IconInsideMiddleCenter.icon.near: center-center + IconInsideMiddleRight.icon.near: center-right + + IconInsideBottomLeft.icon.near: bottom-left + IconInsideBottomCenter.icon.near: bottom-center + IconInsideBottomRight.icon.near: bottom-right +} diff --git a/e2etests/testdata/files/dagre_spacing_right.d2 b/e2etests/testdata/files/dagre_spacing_right.d2 new file mode 100644 index 000000000..675be5ebd --- /dev/null +++ b/e2etests/testdata/files/dagre_spacing_right.d2 @@ -0,0 +1,103 @@ +direction: right + +a: { + k.t -> f.i + f.g -> _.s.n +} +k +k.s <-> u.o +h.m.s -> a.f.g + +a.f.j -> u.s.j +u: { + c -> _.s.z.c +} + +s: { + n: { + style.stroke: red + f + } +} + +s.n -> y.r: {style.stroke-width: 8; style.stroke: red} +y.r -> a.g.i: 1\n2\n3\n4 + +s.n.class: icon +a.f.i: { + label: i\nii + class: OutsideTopCenter +} +u.s.j.class: OutsideBottomCenter +u.s: { + label: s\ns\ns\ns + class: OutsideBottomCenter +} +a.f.j.class: [icon; IconOutsideLeftTop] +u.c: { + label: cccccccccccccccccccc + class: OutsideRightMiddle +} + +classes: { + icon: { + icon: https://icons.terrastruct.com/essentials/time.svg + } + + OutsideTopLeft.label.near: outside-top-left + OutsideTopCenter.label.near: outside-top-center + OutsideTopRight.label.near: outside-top-right + + OutsideLeftTop.label.near: outside-left-top + OutsideLeftMiddle.label.near: outside-left-center + OutsideLeftBottom.label.near: outside-left-bottom + + OutsideRightTop.label.near: outside-right-top + OutsideRightMiddle.label.near: outside-right-center + OutsideRightBottom.label.near: outside-right-bottom + + OutsideBottomLeft.label.near: outside-bottom-left + OutsideBottomCenter.label.near: outside-bottom-center + OutsideBottomRight.label.near: outside-bottom-right + + InsideTopLeft.label.near: top-left + InsideTopCenter.label.near: top-center + InsideTopRight.label.near: top-right + + InsideMiddleLeft.label.near: center-left + InsideMiddleCenter.label.near: center-center + InsideMiddleRight.label.near: center-right + + InsideBottomLeft.label.near: bottom-left + InsideBottomCenter.label.near: bottom-center + InsideBottomRight.label.near: bottom-right + + # Icon positions + IconOutsideTopLeft.icon.near: outside-top-left + IconOutsideTopCenter.icon.near: outside-top-center + IconOutsideTopRight.icon.near: outside-top-right + + IconOutsideLeftTop.icon.near: outside-left-top + IconOutsideLeftMiddle.icon.near: outside-left-center + IconOutsideLeftBottom.icon.near: outside-left-bottom + + IconOutsideRightTop.icon.near: outside-right-top + IconOutsideRightMiddle.icon.near: outside-right-center + IconOutsideRightBottom.icon.near: outside-right-bottom + + IconOutsideBottomLeft.icon.near: outside-bottom-left + IconOutsideBottomCenter.icon.near: outside-bottom-center + IconOutsideBottomRight.icon.near: outside-bottom-right + + IconInsideTopLeft.icon.near: top-left + IconInsideTopCenter.icon.near: top-center + IconInsideTopRight.icon.near: top-right + + IconInsideMiddleLeft.icon.near: center-left + IconInsideMiddleCenter.icon.near: center-center + IconInsideMiddleRight.icon.near: center-right + + IconInsideBottomLeft.icon.near: bottom-left + IconInsideBottomCenter.icon.near: bottom-center + IconInsideBottomRight.icon.near: bottom-right +} diff --git a/e2etests/testdata/files/icon_positions.d2 b/e2etests/testdata/files/icon_positions.d2 index 77a3ee84a..fc020e7dd 100644 --- a/e2etests/testdata/files/icon_positions.d2 +++ b/e2etests/testdata/files/icon_positions.d2 @@ -31,7 +31,8 @@ non container: { } container: { - Default.Default.class: icon + Default.class: icon + Default.Default OutsideTopLeft.class: [icon; OutsideTopLeft] OutsideTopCenter.class: [icon; OutsideTopCenter] diff --git a/e2etests/testdata/files/multiple_person_label.d2 b/e2etests/testdata/files/multiple_person_label.d2 new file mode 100644 index 000000000..b982bb628 --- /dev/null +++ b/e2etests/testdata/files/multiple_person_label.d2 @@ -0,0 +1,4 @@ +?: "あ" { + shape: person + style.multiple: true +} diff --git a/e2etests/testdata/files/nested_shape_labels.d2 b/e2etests/testdata/files/nested_shape_labels.d2 new file mode 100644 index 000000000..d74f3b88c --- /dev/null +++ b/e2etests/testdata/files/nested_shape_labels.d2 @@ -0,0 +1,9 @@ +aa: { + shape: package + bb.shape: diamond +} + +cc: { + shape: diamond + dd.shape: circle +} diff --git a/e2etests/testdata/files/overlapping_child_label.d2 b/e2etests/testdata/files/overlapping_child_label.d2 new file mode 100644 index 000000000..c8e945e91 --- /dev/null +++ b/e2etests/testdata/files/overlapping_child_label.d2 @@ -0,0 +1,45 @@ +heyy: { + label.near: bottom-right + yo -> hey + hey.label.near: outside-bottom-right +} + +aaaa: { + label.near: top-right + icon.near: top-left + class: icon + + bbbb: { + label.near: outside-top-left + icon.near: outside-top-right + class: icon + } +} + +cccc: { + label.near: top-right + icon.near: bottom-left + class: icon + + dddd: { + label.near: outside-top-right + icon.near: outside-bottom-left + class: icon + } +} + +eeeeeeeeeeeeeeeeeee: { + label.near: center-right + icon.near: center-left + class: icon + + fffffffffff: { + label.near: outside-right-center + icon.near: outside-left-center + class: icon + } +} + +classes: { + icon.icon: https://icons.terrastruct.com/essentials/time.svg +} diff --git a/e2etests/testdata/measured/empty-class/dagre/sketch.exp.svg b/e2etests/testdata/measured/empty-class/dagre/sketch.exp.svg index 35c3bf9de..30b647fcd 100644 --- a/e2etests/testdata/measured/empty-class/dagre/sketch.exp.svg +++ b/e2etests/testdata/measured/empty-class/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - + .d2-3617998837 .fill-N1{fill:#0A0F25;} + .d2-3617998837 .fill-N2{fill:#676C7E;} + .d2-3617998837 .fill-N3{fill:#9499AB;} + .d2-3617998837 .fill-N4{fill:#CFD2DD;} + .d2-3617998837 .fill-N5{fill:#DEE1EB;} + .d2-3617998837 .fill-N6{fill:#EEF1F8;} + .d2-3617998837 .fill-N7{fill:#FFFFFF;} + .d2-3617998837 .fill-B1{fill:#0D32B2;} + .d2-3617998837 .fill-B2{fill:#0D32B2;} + .d2-3617998837 .fill-B3{fill:#E3E9FD;} + .d2-3617998837 .fill-B4{fill:#E3E9FD;} + .d2-3617998837 .fill-B5{fill:#EDF0FD;} + .d2-3617998837 .fill-B6{fill:#F7F8FE;} + .d2-3617998837 .fill-AA2{fill:#4A6FF3;} + .d2-3617998837 .fill-AA4{fill:#EDF0FD;} + .d2-3617998837 .fill-AA5{fill:#F7F8FE;} + .d2-3617998837 .fill-AB4{fill:#EDF0FD;} + .d2-3617998837 .fill-AB5{fill:#F7F8FE;} + .d2-3617998837 .stroke-N1{stroke:#0A0F25;} + .d2-3617998837 .stroke-N2{stroke:#676C7E;} + .d2-3617998837 .stroke-N3{stroke:#9499AB;} + .d2-3617998837 .stroke-N4{stroke:#CFD2DD;} + .d2-3617998837 .stroke-N5{stroke:#DEE1EB;} + .d2-3617998837 .stroke-N6{stroke:#EEF1F8;} + .d2-3617998837 .stroke-N7{stroke:#FFFFFF;} + .d2-3617998837 .stroke-B1{stroke:#0D32B2;} + .d2-3617998837 .stroke-B2{stroke:#0D32B2;} + .d2-3617998837 .stroke-B3{stroke:#E3E9FD;} + .d2-3617998837 .stroke-B4{stroke:#E3E9FD;} + .d2-3617998837 .stroke-B5{stroke:#EDF0FD;} + .d2-3617998837 .stroke-B6{stroke:#F7F8FE;} + .d2-3617998837 .stroke-AA2{stroke:#4A6FF3;} + .d2-3617998837 .stroke-AA4{stroke:#EDF0FD;} + .d2-3617998837 .stroke-AA5{stroke:#F7F8FE;} + .d2-3617998837 .stroke-AB4{stroke:#EDF0FD;} + .d2-3617998837 .stroke-AB5{stroke:#F7F8FE;} + .d2-3617998837 .background-color-N1{background-color:#0A0F25;} + .d2-3617998837 .background-color-N2{background-color:#676C7E;} + .d2-3617998837 .background-color-N3{background-color:#9499AB;} + .d2-3617998837 .background-color-N4{background-color:#CFD2DD;} + .d2-3617998837 .background-color-N5{background-color:#DEE1EB;} + .d2-3617998837 .background-color-N6{background-color:#EEF1F8;} + .d2-3617998837 .background-color-N7{background-color:#FFFFFF;} + .d2-3617998837 .background-color-B1{background-color:#0D32B2;} + .d2-3617998837 .background-color-B2{background-color:#0D32B2;} + .d2-3617998837 .background-color-B3{background-color:#E3E9FD;} + .d2-3617998837 .background-color-B4{background-color:#E3E9FD;} + .d2-3617998837 .background-color-B5{background-color:#EDF0FD;} + .d2-3617998837 .background-color-B6{background-color:#F7F8FE;} + .d2-3617998837 .background-color-AA2{background-color:#4A6FF3;} + .d2-3617998837 .background-color-AA4{background-color:#EDF0FD;} + .d2-3617998837 .background-color-AA5{background-color:#F7F8FE;} + .d2-3617998837 .background-color-AB4{background-color:#EDF0FD;} + .d2-3617998837 .background-color-AB5{background-color:#F7F8FE;} + .d2-3617998837 .color-N1{color:#0A0F25;} + .d2-3617998837 .color-N2{color:#676C7E;} + .d2-3617998837 .color-N3{color:#9499AB;} + .d2-3617998837 .color-N4{color:#CFD2DD;} + .d2-3617998837 .color-N5{color:#DEE1EB;} + .d2-3617998837 .color-N6{color:#EEF1F8;} + .d2-3617998837 .color-N7{color:#FFFFFF;} + .d2-3617998837 .color-B1{color:#0D32B2;} + .d2-3617998837 .color-B2{color:#0D32B2;} + .d2-3617998837 .color-B3{color:#E3E9FD;} + .d2-3617998837 .color-B4{color:#E3E9FD;} + .d2-3617998837 .color-B5{color:#EDF0FD;} + .d2-3617998837 .color-B6{color:#F7F8FE;} + .d2-3617998837 .color-AA2{color:#4A6FF3;} + .d2-3617998837 .color-AA4{color:#EDF0FD;} + .d2-3617998837 .color-AA5{color:#F7F8FE;} + .d2-3617998837 .color-AB4{color:#EDF0FD;} + .d2-3617998837 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/measured/empty-shape/dagre/sketch.exp.svg b/e2etests/testdata/measured/empty-shape/dagre/sketch.exp.svg index 112ab0aac..9cfd8c596 100644 --- a/e2etests/testdata/measured/empty-shape/dagre/sketch.exp.svg +++ b/e2etests/testdata/measured/empty-shape/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - + .d2-2143901571 .fill-N1{fill:#0A0F25;} + .d2-2143901571 .fill-N2{fill:#676C7E;} + .d2-2143901571 .fill-N3{fill:#9499AB;} + .d2-2143901571 .fill-N4{fill:#CFD2DD;} + .d2-2143901571 .fill-N5{fill:#DEE1EB;} + .d2-2143901571 .fill-N6{fill:#EEF1F8;} + .d2-2143901571 .fill-N7{fill:#FFFFFF;} + .d2-2143901571 .fill-B1{fill:#0D32B2;} + .d2-2143901571 .fill-B2{fill:#0D32B2;} + .d2-2143901571 .fill-B3{fill:#E3E9FD;} + .d2-2143901571 .fill-B4{fill:#E3E9FD;} + .d2-2143901571 .fill-B5{fill:#EDF0FD;} + .d2-2143901571 .fill-B6{fill:#F7F8FE;} + .d2-2143901571 .fill-AA2{fill:#4A6FF3;} + .d2-2143901571 .fill-AA4{fill:#EDF0FD;} + .d2-2143901571 .fill-AA5{fill:#F7F8FE;} + .d2-2143901571 .fill-AB4{fill:#EDF0FD;} + .d2-2143901571 .fill-AB5{fill:#F7F8FE;} + .d2-2143901571 .stroke-N1{stroke:#0A0F25;} + .d2-2143901571 .stroke-N2{stroke:#676C7E;} + .d2-2143901571 .stroke-N3{stroke:#9499AB;} + .d2-2143901571 .stroke-N4{stroke:#CFD2DD;} + .d2-2143901571 .stroke-N5{stroke:#DEE1EB;} + .d2-2143901571 .stroke-N6{stroke:#EEF1F8;} + .d2-2143901571 .stroke-N7{stroke:#FFFFFF;} + .d2-2143901571 .stroke-B1{stroke:#0D32B2;} + .d2-2143901571 .stroke-B2{stroke:#0D32B2;} + .d2-2143901571 .stroke-B3{stroke:#E3E9FD;} + .d2-2143901571 .stroke-B4{stroke:#E3E9FD;} + .d2-2143901571 .stroke-B5{stroke:#EDF0FD;} + .d2-2143901571 .stroke-B6{stroke:#F7F8FE;} + .d2-2143901571 .stroke-AA2{stroke:#4A6FF3;} + .d2-2143901571 .stroke-AA4{stroke:#EDF0FD;} + .d2-2143901571 .stroke-AA5{stroke:#F7F8FE;} + .d2-2143901571 .stroke-AB4{stroke:#EDF0FD;} + .d2-2143901571 .stroke-AB5{stroke:#F7F8FE;} + .d2-2143901571 .background-color-N1{background-color:#0A0F25;} + .d2-2143901571 .background-color-N2{background-color:#676C7E;} + .d2-2143901571 .background-color-N3{background-color:#9499AB;} + .d2-2143901571 .background-color-N4{background-color:#CFD2DD;} + .d2-2143901571 .background-color-N5{background-color:#DEE1EB;} + .d2-2143901571 .background-color-N6{background-color:#EEF1F8;} + .d2-2143901571 .background-color-N7{background-color:#FFFFFF;} + .d2-2143901571 .background-color-B1{background-color:#0D32B2;} + .d2-2143901571 .background-color-B2{background-color:#0D32B2;} + .d2-2143901571 .background-color-B3{background-color:#E3E9FD;} + .d2-2143901571 .background-color-B4{background-color:#E3E9FD;} + .d2-2143901571 .background-color-B5{background-color:#EDF0FD;} + .d2-2143901571 .background-color-B6{background-color:#F7F8FE;} + .d2-2143901571 .background-color-AA2{background-color:#4A6FF3;} + .d2-2143901571 .background-color-AA4{background-color:#EDF0FD;} + .d2-2143901571 .background-color-AA5{background-color:#F7F8FE;} + .d2-2143901571 .background-color-AB4{background-color:#EDF0FD;} + .d2-2143901571 .background-color-AB5{background-color:#F7F8FE;} + .d2-2143901571 .color-N1{color:#0A0F25;} + .d2-2143901571 .color-N2{color:#676C7E;} + .d2-2143901571 .color-N3{color:#9499AB;} + .d2-2143901571 .color-N4{color:#CFD2DD;} + .d2-2143901571 .color-N5{color:#DEE1EB;} + .d2-2143901571 .color-N6{color:#EEF1F8;} + .d2-2143901571 .color-N7{color:#FFFFFF;} + .d2-2143901571 .color-B1{color:#0D32B2;} + .d2-2143901571 .color-B2{color:#0D32B2;} + .d2-2143901571 .color-B3{color:#E3E9FD;} + .d2-2143901571 .color-B4{color:#E3E9FD;} + .d2-2143901571 .color-B5{color:#EDF0FD;} + .d2-2143901571 .color-B6{color:#F7F8FE;} + .d2-2143901571 .color-AA2{color:#4A6FF3;} + .d2-2143901571 .color-AA4{color:#EDF0FD;} + .d2-2143901571 .color-AA5{color:#F7F8FE;} + .d2-2143901571 .color-AB4{color:#EDF0FD;} + .d2-2143901571 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/measured/empty-sql_table/dagre/sketch.exp.svg b/e2etests/testdata/measured/empty-sql_table/dagre/sketch.exp.svg index de0b232fc..adfeb879a 100644 --- a/e2etests/testdata/measured/empty-sql_table/dagre/sketch.exp.svg +++ b/e2etests/testdata/measured/empty-sql_table/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - + .d2-3053928353 .fill-N1{fill:#0A0F25;} + .d2-3053928353 .fill-N2{fill:#676C7E;} + .d2-3053928353 .fill-N3{fill:#9499AB;} + .d2-3053928353 .fill-N4{fill:#CFD2DD;} + .d2-3053928353 .fill-N5{fill:#DEE1EB;} + .d2-3053928353 .fill-N6{fill:#EEF1F8;} + .d2-3053928353 .fill-N7{fill:#FFFFFF;} + .d2-3053928353 .fill-B1{fill:#0D32B2;} + .d2-3053928353 .fill-B2{fill:#0D32B2;} + .d2-3053928353 .fill-B3{fill:#E3E9FD;} + .d2-3053928353 .fill-B4{fill:#E3E9FD;} + .d2-3053928353 .fill-B5{fill:#EDF0FD;} + .d2-3053928353 .fill-B6{fill:#F7F8FE;} + .d2-3053928353 .fill-AA2{fill:#4A6FF3;} + .d2-3053928353 .fill-AA4{fill:#EDF0FD;} + .d2-3053928353 .fill-AA5{fill:#F7F8FE;} + .d2-3053928353 .fill-AB4{fill:#EDF0FD;} + .d2-3053928353 .fill-AB5{fill:#F7F8FE;} + .d2-3053928353 .stroke-N1{stroke:#0A0F25;} + .d2-3053928353 .stroke-N2{stroke:#676C7E;} + .d2-3053928353 .stroke-N3{stroke:#9499AB;} + .d2-3053928353 .stroke-N4{stroke:#CFD2DD;} + .d2-3053928353 .stroke-N5{stroke:#DEE1EB;} + .d2-3053928353 .stroke-N6{stroke:#EEF1F8;} + .d2-3053928353 .stroke-N7{stroke:#FFFFFF;} + .d2-3053928353 .stroke-B1{stroke:#0D32B2;} + .d2-3053928353 .stroke-B2{stroke:#0D32B2;} + .d2-3053928353 .stroke-B3{stroke:#E3E9FD;} + .d2-3053928353 .stroke-B4{stroke:#E3E9FD;} + .d2-3053928353 .stroke-B5{stroke:#EDF0FD;} + .d2-3053928353 .stroke-B6{stroke:#F7F8FE;} + .d2-3053928353 .stroke-AA2{stroke:#4A6FF3;} + .d2-3053928353 .stroke-AA4{stroke:#EDF0FD;} + .d2-3053928353 .stroke-AA5{stroke:#F7F8FE;} + .d2-3053928353 .stroke-AB4{stroke:#EDF0FD;} + .d2-3053928353 .stroke-AB5{stroke:#F7F8FE;} + .d2-3053928353 .background-color-N1{background-color:#0A0F25;} + .d2-3053928353 .background-color-N2{background-color:#676C7E;} + .d2-3053928353 .background-color-N3{background-color:#9499AB;} + .d2-3053928353 .background-color-N4{background-color:#CFD2DD;} + .d2-3053928353 .background-color-N5{background-color:#DEE1EB;} + .d2-3053928353 .background-color-N6{background-color:#EEF1F8;} + .d2-3053928353 .background-color-N7{background-color:#FFFFFF;} + .d2-3053928353 .background-color-B1{background-color:#0D32B2;} + .d2-3053928353 .background-color-B2{background-color:#0D32B2;} + .d2-3053928353 .background-color-B3{background-color:#E3E9FD;} + .d2-3053928353 .background-color-B4{background-color:#E3E9FD;} + .d2-3053928353 .background-color-B5{background-color:#EDF0FD;} + .d2-3053928353 .background-color-B6{background-color:#F7F8FE;} + .d2-3053928353 .background-color-AA2{background-color:#4A6FF3;} + .d2-3053928353 .background-color-AA4{background-color:#EDF0FD;} + .d2-3053928353 .background-color-AA5{background-color:#F7F8FE;} + .d2-3053928353 .background-color-AB4{background-color:#EDF0FD;} + .d2-3053928353 .background-color-AB5{background-color:#F7F8FE;} + .d2-3053928353 .color-N1{color:#0A0F25;} + .d2-3053928353 .color-N2{color:#676C7E;} + .d2-3053928353 .color-N3{color:#9499AB;} + .d2-3053928353 .color-N4{color:#CFD2DD;} + .d2-3053928353 .color-N5{color:#DEE1EB;} + .d2-3053928353 .color-N6{color:#EEF1F8;} + .d2-3053928353 .color-N7{color:#FFFFFF;} + .d2-3053928353 .color-B1{color:#0D32B2;} + .d2-3053928353 .color-B2{color:#0D32B2;} + .d2-3053928353 .color-B3{color:#E3E9FD;} + .d2-3053928353 .color-B4{color:#E3E9FD;} + .d2-3053928353 .color-B5{color:#EDF0FD;} + .d2-3053928353 .color-B6{color:#F7F8FE;} + .d2-3053928353 .color-AA2{color:#4A6FF3;} + .d2-3053928353 .color-AA4{color:#EDF0FD;} + .d2-3053928353 .color-AA5{color:#F7F8FE;} + .d2-3053928353 .color-AB4{color:#EDF0FD;} + .d2-3053928353 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/patterns/3d/dagre/board.exp.json b/e2etests/testdata/patterns/3d/dagre/board.exp.json index a07a3e175..7f4aaad05 100644 --- a/e2etests/testdata/patterns/3d/dagre/board.exp.json +++ b/e2etests/testdata/patterns/3d/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 15 + "y": 2 }, "width": 53, "height": 66, @@ -50,7 +50,7 @@ "type": "hexagon", "pos": { "x": 128, - "y": 10 + "y": 0 }, "width": 51, "height": 69, diff --git a/e2etests/testdata/patterns/3d/dagre/sketch.exp.svg b/e2etests/testdata/patterns/3d/dagre/sketch.exp.svg index 77e541a79..d5e4ea857 100644 --- a/e2etests/testdata/patterns/3d/dagre/sketch.exp.svg +++ b/e2etests/testdata/patterns/3d/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -&∈foo&bar + .d2-1658760307 .fill-N1{fill:#0A0F25;} + .d2-1658760307 .fill-N2{fill:#676C7E;} + .d2-1658760307 .fill-N3{fill:#9499AB;} + .d2-1658760307 .fill-N4{fill:#CFD2DD;} + .d2-1658760307 .fill-N5{fill:#DEE1EB;} + .d2-1658760307 .fill-N6{fill:#EEF1F8;} + .d2-1658760307 .fill-N7{fill:#FFFFFF;} + .d2-1658760307 .fill-B1{fill:#0D32B2;} + .d2-1658760307 .fill-B2{fill:#0D32B2;} + .d2-1658760307 .fill-B3{fill:#E3E9FD;} + .d2-1658760307 .fill-B4{fill:#E3E9FD;} + .d2-1658760307 .fill-B5{fill:#EDF0FD;} + .d2-1658760307 .fill-B6{fill:#F7F8FE;} + .d2-1658760307 .fill-AA2{fill:#4A6FF3;} + .d2-1658760307 .fill-AA4{fill:#EDF0FD;} + .d2-1658760307 .fill-AA5{fill:#F7F8FE;} + .d2-1658760307 .fill-AB4{fill:#EDF0FD;} + .d2-1658760307 .fill-AB5{fill:#F7F8FE;} + .d2-1658760307 .stroke-N1{stroke:#0A0F25;} + .d2-1658760307 .stroke-N2{stroke:#676C7E;} + .d2-1658760307 .stroke-N3{stroke:#9499AB;} + .d2-1658760307 .stroke-N4{stroke:#CFD2DD;} + .d2-1658760307 .stroke-N5{stroke:#DEE1EB;} + .d2-1658760307 .stroke-N6{stroke:#EEF1F8;} + .d2-1658760307 .stroke-N7{stroke:#FFFFFF;} + .d2-1658760307 .stroke-B1{stroke:#0D32B2;} + .d2-1658760307 .stroke-B2{stroke:#0D32B2;} + .d2-1658760307 .stroke-B3{stroke:#E3E9FD;} + .d2-1658760307 .stroke-B4{stroke:#E3E9FD;} + .d2-1658760307 .stroke-B5{stroke:#EDF0FD;} + .d2-1658760307 .stroke-B6{stroke:#F7F8FE;} + .d2-1658760307 .stroke-AA2{stroke:#4A6FF3;} + .d2-1658760307 .stroke-AA4{stroke:#EDF0FD;} + .d2-1658760307 .stroke-AA5{stroke:#F7F8FE;} + .d2-1658760307 .stroke-AB4{stroke:#EDF0FD;} + .d2-1658760307 .stroke-AB5{stroke:#F7F8FE;} + .d2-1658760307 .background-color-N1{background-color:#0A0F25;} + .d2-1658760307 .background-color-N2{background-color:#676C7E;} + .d2-1658760307 .background-color-N3{background-color:#9499AB;} + .d2-1658760307 .background-color-N4{background-color:#CFD2DD;} + .d2-1658760307 .background-color-N5{background-color:#DEE1EB;} + .d2-1658760307 .background-color-N6{background-color:#EEF1F8;} + .d2-1658760307 .background-color-N7{background-color:#FFFFFF;} + .d2-1658760307 .background-color-B1{background-color:#0D32B2;} + .d2-1658760307 .background-color-B2{background-color:#0D32B2;} + .d2-1658760307 .background-color-B3{background-color:#E3E9FD;} + .d2-1658760307 .background-color-B4{background-color:#E3E9FD;} + .d2-1658760307 .background-color-B5{background-color:#EDF0FD;} + .d2-1658760307 .background-color-B6{background-color:#F7F8FE;} + .d2-1658760307 .background-color-AA2{background-color:#4A6FF3;} + .d2-1658760307 .background-color-AA4{background-color:#EDF0FD;} + .d2-1658760307 .background-color-AA5{background-color:#F7F8FE;} + .d2-1658760307 .background-color-AB4{background-color:#EDF0FD;} + .d2-1658760307 .background-color-AB5{background-color:#F7F8FE;} + .d2-1658760307 .color-N1{color:#0A0F25;} + .d2-1658760307 .color-N2{color:#676C7E;} + .d2-1658760307 .color-N3{color:#9499AB;} + .d2-1658760307 .color-N4{color:#CFD2DD;} + .d2-1658760307 .color-N5{color:#DEE1EB;} + .d2-1658760307 .color-N6{color:#EEF1F8;} + .d2-1658760307 .color-N7{color:#FFFFFF;} + .d2-1658760307 .color-B1{color:#0D32B2;} + .d2-1658760307 .color-B2{color:#0D32B2;} + .d2-1658760307 .color-B3{color:#E3E9FD;} + .d2-1658760307 .color-B4{color:#E3E9FD;} + .d2-1658760307 .color-B5{color:#EDF0FD;} + .d2-1658760307 .color-B6{color:#F7F8FE;} + .d2-1658760307 .color-AA2{color:#4A6FF3;} + .d2-1658760307 .color-AA4{color:#EDF0FD;} + .d2-1658760307 .color-AA5{color:#F7F8FE;} + .d2-1658760307 .color-AB4{color:#EDF0FD;} + .d2-1658760307 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>&∈beans & ricebeans & rice @@ -105,9 +105,7 @@ -beans & rice - + + - - \ No newline at end of file diff --git a/e2etests/testdata/regression/ampersand-escape/elk/board.exp.json b/e2etests/testdata/regression/ampersand-escape/elk/board.exp.json index 29afa3817..c135331d8 100644 --- a/e2etests/testdata/regression/ampersand-escape/elk/board.exp.json +++ b/e2etests/testdata/regression/ampersand-escape/elk/board.exp.json @@ -4,7 +4,7 @@ "fontFamily": "SourceSansPro", "shapes": [ { - "id": "h&y", + "id": "hy", "type": "rectangle", "pos": { "x": 12, @@ -43,88 +43,6 @@ "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 1 - }, - { - "id": "foo", - "type": "rectangle", - "pos": { - "x": 130, - "y": 12 - }, - "width": 69, - "height": 66, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B6", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "foo", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": true, - "underline": false, - "labelWidth": 24, - "labelHeight": 21, - "labelPosition": "INSIDE_MIDDLE_CENTER", - "zIndex": 0, - "level": 1 - }, - { - "id": "\"&bar\"", - "type": "rectangle", - "pos": { - "x": 219, - "y": 12 - }, - "width": 81, - "height": 66, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B6", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "&bar", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": true, - "underline": false, - "labelWidth": 36, - "labelHeight": 21, - "labelPosition": "INSIDE_MIDDLE_CENTER", - "zIndex": 0, - "level": 1 } ], "connections": [], diff --git a/e2etests/testdata/regression/ampersand-escape/elk/sketch.exp.svg b/e2etests/testdata/regression/ampersand-escape/elk/sketch.exp.svg index f37f6bfdf..eff889432 100644 --- a/e2etests/testdata/regression/ampersand-escape/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/ampersand-escape/elk/sketch.exp.svg @@ -1,13 +1,13 @@ -&∈foo&bar + .d2-616571211 .fill-N1{fill:#0A0F25;} + .d2-616571211 .fill-N2{fill:#676C7E;} + .d2-616571211 .fill-N3{fill:#9499AB;} + .d2-616571211 .fill-N4{fill:#CFD2DD;} + .d2-616571211 .fill-N5{fill:#DEE1EB;} + .d2-616571211 .fill-N6{fill:#EEF1F8;} + .d2-616571211 .fill-N7{fill:#FFFFFF;} + .d2-616571211 .fill-B1{fill:#0D32B2;} + .d2-616571211 .fill-B2{fill:#0D32B2;} + .d2-616571211 .fill-B3{fill:#E3E9FD;} + .d2-616571211 .fill-B4{fill:#E3E9FD;} + .d2-616571211 .fill-B5{fill:#EDF0FD;} + .d2-616571211 .fill-B6{fill:#F7F8FE;} + .d2-616571211 .fill-AA2{fill:#4A6FF3;} + .d2-616571211 .fill-AA4{fill:#EDF0FD;} + .d2-616571211 .fill-AA5{fill:#F7F8FE;} + .d2-616571211 .fill-AB4{fill:#EDF0FD;} + .d2-616571211 .fill-AB5{fill:#F7F8FE;} + .d2-616571211 .stroke-N1{stroke:#0A0F25;} + .d2-616571211 .stroke-N2{stroke:#676C7E;} + .d2-616571211 .stroke-N3{stroke:#9499AB;} + .d2-616571211 .stroke-N4{stroke:#CFD2DD;} + .d2-616571211 .stroke-N5{stroke:#DEE1EB;} + .d2-616571211 .stroke-N6{stroke:#EEF1F8;} + .d2-616571211 .stroke-N7{stroke:#FFFFFF;} + .d2-616571211 .stroke-B1{stroke:#0D32B2;} + .d2-616571211 .stroke-B2{stroke:#0D32B2;} + .d2-616571211 .stroke-B3{stroke:#E3E9FD;} + .d2-616571211 .stroke-B4{stroke:#E3E9FD;} + .d2-616571211 .stroke-B5{stroke:#EDF0FD;} + .d2-616571211 .stroke-B6{stroke:#F7F8FE;} + .d2-616571211 .stroke-AA2{stroke:#4A6FF3;} + .d2-616571211 .stroke-AA4{stroke:#EDF0FD;} + .d2-616571211 .stroke-AA5{stroke:#F7F8FE;} + .d2-616571211 .stroke-AB4{stroke:#EDF0FD;} + .d2-616571211 .stroke-AB5{stroke:#F7F8FE;} + .d2-616571211 .background-color-N1{background-color:#0A0F25;} + .d2-616571211 .background-color-N2{background-color:#676C7E;} + .d2-616571211 .background-color-N3{background-color:#9499AB;} + .d2-616571211 .background-color-N4{background-color:#CFD2DD;} + .d2-616571211 .background-color-N5{background-color:#DEE1EB;} + .d2-616571211 .background-color-N6{background-color:#EEF1F8;} + .d2-616571211 .background-color-N7{background-color:#FFFFFF;} + .d2-616571211 .background-color-B1{background-color:#0D32B2;} + .d2-616571211 .background-color-B2{background-color:#0D32B2;} + .d2-616571211 .background-color-B3{background-color:#E3E9FD;} + .d2-616571211 .background-color-B4{background-color:#E3E9FD;} + .d2-616571211 .background-color-B5{background-color:#EDF0FD;} + .d2-616571211 .background-color-B6{background-color:#F7F8FE;} + .d2-616571211 .background-color-AA2{background-color:#4A6FF3;} + .d2-616571211 .background-color-AA4{background-color:#EDF0FD;} + .d2-616571211 .background-color-AA5{background-color:#F7F8FE;} + .d2-616571211 .background-color-AB4{background-color:#EDF0FD;} + .d2-616571211 .background-color-AB5{background-color:#F7F8FE;} + .d2-616571211 .color-N1{color:#0A0F25;} + .d2-616571211 .color-N2{color:#676C7E;} + .d2-616571211 .color-N3{color:#9499AB;} + .d2-616571211 .color-N4{color:#CFD2DD;} + .d2-616571211 .color-N5{color:#DEE1EB;} + .d2-616571211 .color-N6{color:#EEF1F8;} + .d2-616571211 .color-N7{color:#FFFFFF;} + .d2-616571211 .color-B1{color:#0D32B2;} + .d2-616571211 .color-B2{color:#0D32B2;} + .d2-616571211 .color-B3{color:#E3E9FD;} + .d2-616571211 .color-B4{color:#E3E9FD;} + .d2-616571211 .color-B5{color:#EDF0FD;} + .d2-616571211 .color-B6{color:#F7F8FE;} + .d2-616571211 .color-AA2{color:#4A6FF3;} + .d2-616571211 .color-AA4{color:#EDF0FD;} + .d2-616571211 .color-AA5{color:#F7F8FE;} + .d2-616571211 .color-AB4{color:#EDF0FD;} + .d2-616571211 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>&∈beans & ricebeans & rice @@ -105,9 +105,7 @@ -beans & rice - + + - - \ No newline at end of file diff --git a/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/board.exp.json b/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/board.exp.json index 947959cfa..db3d37b90 100644 --- a/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/board.exp.json +++ b/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "triangle", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 154, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 153, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -212,11 +212,11 @@ "id": "none", "type": "rectangle", "pos": { - "x": 267, - "y": 41 + "x": 277, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 307, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 307, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 421, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -377,7 +377,7 @@ "type": "rectangle", "pos": { "x": 420, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -417,11 +417,11 @@ "id": "arrow", "type": "rectangle", "pos": { - "x": 534, - "y": 41 + "x": 544, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -459,7 +459,7 @@ "type": "rectangle", "pos": { "x": 574, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -500,7 +500,7 @@ "type": "rectangle", "pos": { "x": 574, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -541,7 +541,7 @@ "type": "rectangle", "pos": { "x": 688, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -582,7 +582,7 @@ "type": "rectangle", "pos": { "x": 687, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -622,11 +622,11 @@ "id": "diamond", "type": "rectangle", "pos": { - "x": 801, - "y": 41 + "x": 811, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -664,7 +664,7 @@ "type": "rectangle", "pos": { "x": 841, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -705,7 +705,7 @@ "type": "rectangle", "pos": { "x": 841, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -746,7 +746,7 @@ "type": "rectangle", "pos": { "x": 955, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -787,7 +787,7 @@ "type": "rectangle", "pos": { "x": 954, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -827,11 +827,11 @@ "id": "filled diamond", "type": "rectangle", "pos": { - "x": 1068, - "y": 41 + "x": 1078, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -869,7 +869,7 @@ "type": "rectangle", "pos": { "x": 1108, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -910,7 +910,7 @@ "type": "rectangle", "pos": { "x": 1108, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -951,7 +951,7 @@ "type": "rectangle", "pos": { "x": 1222, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -992,7 +992,7 @@ "type": "rectangle", "pos": { "x": 1221, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -1032,11 +1032,11 @@ "id": "circle", "type": "rectangle", "pos": { - "x": 1335, - "y": 41 + "x": 1345, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1074,7 +1074,7 @@ "type": "rectangle", "pos": { "x": 1375, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1115,7 +1115,7 @@ "type": "rectangle", "pos": { "x": 1375, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -1156,7 +1156,7 @@ "type": "rectangle", "pos": { "x": 1489, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1197,7 +1197,7 @@ "type": "rectangle", "pos": { "x": 1488, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -1237,11 +1237,11 @@ "id": "filled circle", "type": "rectangle", "pos": { - "x": 1602, - "y": 41 + "x": 1612, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1279,7 +1279,7 @@ "type": "rectangle", "pos": { "x": 1642, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1320,7 +1320,7 @@ "type": "rectangle", "pos": { "x": 1642, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -1361,7 +1361,7 @@ "type": "rectangle", "pos": { "x": 1756, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1402,7 +1402,7 @@ "type": "rectangle", "pos": { "x": 1755, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -1442,11 +1442,11 @@ "id": "cf one", "type": "rectangle", "pos": { - "x": 1869, - "y": 41 + "x": 1879, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1484,7 +1484,7 @@ "type": "rectangle", "pos": { "x": 1909, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1525,7 +1525,7 @@ "type": "rectangle", "pos": { "x": 1909, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -1566,7 +1566,7 @@ "type": "rectangle", "pos": { "x": 2023, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1607,7 +1607,7 @@ "type": "rectangle", "pos": { "x": 2022, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -1647,11 +1647,11 @@ "id": "cf one required", "type": "rectangle", "pos": { - "x": 2136, - "y": 41 + "x": 2146, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1689,7 +1689,7 @@ "type": "rectangle", "pos": { "x": 2176, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1730,7 +1730,7 @@ "type": "rectangle", "pos": { "x": 2176, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -1771,7 +1771,7 @@ "type": "rectangle", "pos": { "x": 2290, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1812,7 +1812,7 @@ "type": "rectangle", "pos": { "x": 2289, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -1852,11 +1852,11 @@ "id": "cf many", "type": "rectangle", "pos": { - "x": 2403, - "y": 41 + "x": 2413, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1894,7 +1894,7 @@ "type": "rectangle", "pos": { "x": 2443, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -1935,7 +1935,7 @@ "type": "rectangle", "pos": { "x": 2443, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -1976,7 +1976,7 @@ "type": "rectangle", "pos": { "x": 2557, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -2017,7 +2017,7 @@ "type": "rectangle", "pos": { "x": 2556, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -2057,11 +2057,11 @@ "id": "cf many required", "type": "rectangle", "pos": { - "x": 2670, - "y": 41 + "x": 2680, + "y": 20 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2099,7 +2099,7 @@ "type": "rectangle", "pos": { "x": 2710, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -2140,7 +2140,7 @@ "type": "rectangle", "pos": { "x": 2710, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -2181,7 +2181,7 @@ "type": "rectangle", "pos": { "x": 2824, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -2222,7 +2222,7 @@ "type": "rectangle", "pos": { "x": 2823, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -2310,19 +2310,19 @@ "route": [ { "x": 66.5, - "y": 136.5 + "y": 116 }, { "x": 66.5, - "y": 176.5 + "y": 156 }, { "x": 66.5, - "y": 196.5 + "y": 176 }, { "x": 66.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2381,19 +2381,19 @@ "route": [ { "x": 180, - "y": 136.5 + "y": 116 }, { "x": 180, - "y": 176.5 + "y": 156 }, { "x": 180, - "y": 196.5 + "y": 176 }, { "x": 180, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2452,19 +2452,19 @@ "route": [ { "x": 333.5, - "y": 136.5 + "y": 116 }, { "x": 333.5, - "y": 176.5 + "y": 156 }, { "x": 333.5, - "y": 196.5 + "y": 176 }, { "x": 333.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2523,19 +2523,19 @@ "route": [ { "x": 447, - "y": 136.5 + "y": 116 }, { "x": 447, - "y": 176.5 + "y": 156 }, { "x": 447, - "y": 196.5 + "y": 176 }, { "x": 447, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2594,19 +2594,19 @@ "route": [ { "x": 600.5, - "y": 136.5 + "y": 116 }, { "x": 600.5, - "y": 176.5 + "y": 156 }, { "x": 600.5, - "y": 196.5 + "y": 176 }, { "x": 600.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2665,19 +2665,19 @@ "route": [ { "x": 714, - "y": 136.5 + "y": 116 }, { "x": 714, - "y": 176.5 + "y": 156 }, { "x": 714, - "y": 196.5 + "y": 176 }, { "x": 714, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2736,19 +2736,19 @@ "route": [ { "x": 867.5, - "y": 136.5 + "y": 116 }, { "x": 867.5, - "y": 176.5 + "y": 156 }, { "x": 867.5, - "y": 196.5 + "y": 176 }, { "x": 867.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2807,19 +2807,19 @@ "route": [ { "x": 981, - "y": 136.5 + "y": 116 }, { "x": 981, - "y": 176.5 + "y": 156 }, { "x": 981, - "y": 196.5 + "y": 176 }, { "x": 981, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2878,19 +2878,19 @@ "route": [ { "x": 1134.5, - "y": 136.5 + "y": 116 }, { "x": 1134.5, - "y": 176.5 + "y": 156 }, { "x": 1134.5, - "y": 196.5 + "y": 176 }, { "x": 1134.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -2949,19 +2949,19 @@ "route": [ { "x": 1248, - "y": 136.5 + "y": 116 }, { "x": 1248, - "y": 176.5 + "y": 156 }, { "x": 1248, - "y": 196.5 + "y": 176 }, { "x": 1248, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3020,19 +3020,19 @@ "route": [ { "x": 1401.5, - "y": 136.5 + "y": 116 }, { "x": 1401.5, - "y": 176.5 + "y": 156 }, { "x": 1401.5, - "y": 196.5 + "y": 176 }, { "x": 1401.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3091,19 +3091,19 @@ "route": [ { "x": 1515, - "y": 136.5 + "y": 116 }, { "x": 1515, - "y": 176.5 + "y": 156 }, { "x": 1515, - "y": 196.5 + "y": 176 }, { "x": 1515, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3162,19 +3162,19 @@ "route": [ { "x": 1668.5, - "y": 136.5 + "y": 116 }, { "x": 1668.5, - "y": 176.5 + "y": 156 }, { "x": 1668.5, - "y": 196.5 + "y": 176 }, { "x": 1668.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3233,19 +3233,19 @@ "route": [ { "x": 1782, - "y": 136.5 + "y": 116 }, { "x": 1782, - "y": 176.5 + "y": 156 }, { "x": 1782, - "y": 196.5 + "y": 176 }, { "x": 1782, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3304,19 +3304,19 @@ "route": [ { "x": 1935.5, - "y": 136.5 + "y": 116 }, { "x": 1935.5, - "y": 176.5 + "y": 156 }, { "x": 1935.5, - "y": 196.5 + "y": 176 }, { "x": 1935.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3375,19 +3375,19 @@ "route": [ { "x": 2049, - "y": 136.5 + "y": 116 }, { "x": 2049, - "y": 176.5 + "y": 156 }, { "x": 2049, - "y": 196.5 + "y": 176 }, { "x": 2049, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3446,19 +3446,19 @@ "route": [ { "x": 2202.5, - "y": 136.5 + "y": 116 }, { "x": 2202.5, - "y": 176.5 + "y": 156 }, { "x": 2202.5, - "y": 196.5 + "y": 176 }, { "x": 2202.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3517,19 +3517,19 @@ "route": [ { "x": 2316, - "y": 136.5 + "y": 116 }, { "x": 2316, - "y": 176.5 + "y": 156 }, { "x": 2316, - "y": 196.5 + "y": 176 }, { "x": 2316, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3588,19 +3588,19 @@ "route": [ { "x": 2469.5, - "y": 136.5 + "y": 116 }, { "x": 2469.5, - "y": 176.5 + "y": 156 }, { "x": 2469.5, - "y": 196.5 + "y": 176 }, { "x": 2469.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3659,19 +3659,19 @@ "route": [ { "x": 2583, - "y": 136.5 + "y": 116 }, { "x": 2583, - "y": 176.5 + "y": 156 }, { "x": 2583, - "y": 196.5 + "y": 176 }, { "x": 2583, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3730,19 +3730,19 @@ "route": [ { "x": 2736.5, - "y": 136.5 + "y": 116 }, { "x": 2736.5, - "y": 176.5 + "y": 156 }, { "x": 2736.5, - "y": 196.5 + "y": 176 }, { "x": 2736.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -3801,19 +3801,19 @@ "route": [ { "x": 2850, - "y": 136.5 + "y": 116 }, { "x": 2850, - "y": 176.5 + "y": 156 }, { "x": 2850, - "y": 196.5 + "y": 176 }, { "x": 2850, - "y": 236.5 + "y": 216 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/sketch.exp.svg b/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/sketch.exp.svg index 7aa75b6a5..79f19b5b3 100644 --- a/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/arrowhead_sizes_with_labels/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -trianglenonearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many requiredabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd 11 111111 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-3069999377 .fill-N1{fill:#0A0F25;} + .d2-3069999377 .fill-N2{fill:#676C7E;} + .d2-3069999377 .fill-N3{fill:#9499AB;} + .d2-3069999377 .fill-N4{fill:#CFD2DD;} + .d2-3069999377 .fill-N5{fill:#DEE1EB;} + .d2-3069999377 .fill-N6{fill:#EEF1F8;} + .d2-3069999377 .fill-N7{fill:#FFFFFF;} + .d2-3069999377 .fill-B1{fill:#0D32B2;} + .d2-3069999377 .fill-B2{fill:#0D32B2;} + .d2-3069999377 .fill-B3{fill:#E3E9FD;} + .d2-3069999377 .fill-B4{fill:#E3E9FD;} + .d2-3069999377 .fill-B5{fill:#EDF0FD;} + .d2-3069999377 .fill-B6{fill:#F7F8FE;} + .d2-3069999377 .fill-AA2{fill:#4A6FF3;} + .d2-3069999377 .fill-AA4{fill:#EDF0FD;} + .d2-3069999377 .fill-AA5{fill:#F7F8FE;} + .d2-3069999377 .fill-AB4{fill:#EDF0FD;} + .d2-3069999377 .fill-AB5{fill:#F7F8FE;} + .d2-3069999377 .stroke-N1{stroke:#0A0F25;} + .d2-3069999377 .stroke-N2{stroke:#676C7E;} + .d2-3069999377 .stroke-N3{stroke:#9499AB;} + .d2-3069999377 .stroke-N4{stroke:#CFD2DD;} + .d2-3069999377 .stroke-N5{stroke:#DEE1EB;} + .d2-3069999377 .stroke-N6{stroke:#EEF1F8;} + .d2-3069999377 .stroke-N7{stroke:#FFFFFF;} + .d2-3069999377 .stroke-B1{stroke:#0D32B2;} + .d2-3069999377 .stroke-B2{stroke:#0D32B2;} + .d2-3069999377 .stroke-B3{stroke:#E3E9FD;} + .d2-3069999377 .stroke-B4{stroke:#E3E9FD;} + .d2-3069999377 .stroke-B5{stroke:#EDF0FD;} + .d2-3069999377 .stroke-B6{stroke:#F7F8FE;} + .d2-3069999377 .stroke-AA2{stroke:#4A6FF3;} + .d2-3069999377 .stroke-AA4{stroke:#EDF0FD;} + .d2-3069999377 .stroke-AA5{stroke:#F7F8FE;} + .d2-3069999377 .stroke-AB4{stroke:#EDF0FD;} + .d2-3069999377 .stroke-AB5{stroke:#F7F8FE;} + .d2-3069999377 .background-color-N1{background-color:#0A0F25;} + .d2-3069999377 .background-color-N2{background-color:#676C7E;} + .d2-3069999377 .background-color-N3{background-color:#9499AB;} + .d2-3069999377 .background-color-N4{background-color:#CFD2DD;} + .d2-3069999377 .background-color-N5{background-color:#DEE1EB;} + .d2-3069999377 .background-color-N6{background-color:#EEF1F8;} + .d2-3069999377 .background-color-N7{background-color:#FFFFFF;} + .d2-3069999377 .background-color-B1{background-color:#0D32B2;} + .d2-3069999377 .background-color-B2{background-color:#0D32B2;} + .d2-3069999377 .background-color-B3{background-color:#E3E9FD;} + .d2-3069999377 .background-color-B4{background-color:#E3E9FD;} + .d2-3069999377 .background-color-B5{background-color:#EDF0FD;} + .d2-3069999377 .background-color-B6{background-color:#F7F8FE;} + .d2-3069999377 .background-color-AA2{background-color:#4A6FF3;} + .d2-3069999377 .background-color-AA4{background-color:#EDF0FD;} + .d2-3069999377 .background-color-AA5{background-color:#F7F8FE;} + .d2-3069999377 .background-color-AB4{background-color:#EDF0FD;} + .d2-3069999377 .background-color-AB5{background-color:#F7F8FE;} + .d2-3069999377 .color-N1{color:#0A0F25;} + .d2-3069999377 .color-N2{color:#676C7E;} + .d2-3069999377 .color-N3{color:#9499AB;} + .d2-3069999377 .color-N4{color:#CFD2DD;} + .d2-3069999377 .color-N5{color:#DEE1EB;} + .d2-3069999377 .color-N6{color:#EEF1F8;} + .d2-3069999377 .color-N7{color:#FFFFFF;} + .d2-3069999377 .color-B1{color:#0D32B2;} + .d2-3069999377 .color-B2{color:#0D32B2;} + .d2-3069999377 .color-B3{color:#E3E9FD;} + .d2-3069999377 .color-B4{color:#E3E9FD;} + .d2-3069999377 .color-B5{color:#EDF0FD;} + .d2-3069999377 .color-B6{color:#F7F8FE;} + .d2-3069999377 .color-AA2{color:#4A6FF3;} + .d2-3069999377 .color-AA4{color:#EDF0FD;} + .d2-3069999377 .color-AA5{color:#F7F8FE;} + .d2-3069999377 .color-AB4{color:#EDF0FD;} + .d2-3069999377 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>trianglenonearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many requiredabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd 11 111111 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/arrowhead_sizes_with_labels/elk/sketch.exp.svg b/e2etests/testdata/regression/arrowhead_sizes_with_labels/elk/sketch.exp.svg index 50dec30ab..e5cd22f40 100644 --- a/e2etests/testdata/regression/arrowhead_sizes_with_labels/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/arrowhead_sizes_with_labels/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -trianglenonearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many requiredabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd 11 111111 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 + .d2-2455158177 .fill-N1{fill:#0A0F25;} + .d2-2455158177 .fill-N2{fill:#676C7E;} + .d2-2455158177 .fill-N3{fill:#9499AB;} + .d2-2455158177 .fill-N4{fill:#CFD2DD;} + .d2-2455158177 .fill-N5{fill:#DEE1EB;} + .d2-2455158177 .fill-N6{fill:#EEF1F8;} + .d2-2455158177 .fill-N7{fill:#FFFFFF;} + .d2-2455158177 .fill-B1{fill:#0D32B2;} + .d2-2455158177 .fill-B2{fill:#0D32B2;} + .d2-2455158177 .fill-B3{fill:#E3E9FD;} + .d2-2455158177 .fill-B4{fill:#E3E9FD;} + .d2-2455158177 .fill-B5{fill:#EDF0FD;} + .d2-2455158177 .fill-B6{fill:#F7F8FE;} + .d2-2455158177 .fill-AA2{fill:#4A6FF3;} + .d2-2455158177 .fill-AA4{fill:#EDF0FD;} + .d2-2455158177 .fill-AA5{fill:#F7F8FE;} + .d2-2455158177 .fill-AB4{fill:#EDF0FD;} + .d2-2455158177 .fill-AB5{fill:#F7F8FE;} + .d2-2455158177 .stroke-N1{stroke:#0A0F25;} + .d2-2455158177 .stroke-N2{stroke:#676C7E;} + .d2-2455158177 .stroke-N3{stroke:#9499AB;} + .d2-2455158177 .stroke-N4{stroke:#CFD2DD;} + .d2-2455158177 .stroke-N5{stroke:#DEE1EB;} + .d2-2455158177 .stroke-N6{stroke:#EEF1F8;} + .d2-2455158177 .stroke-N7{stroke:#FFFFFF;} + .d2-2455158177 .stroke-B1{stroke:#0D32B2;} + .d2-2455158177 .stroke-B2{stroke:#0D32B2;} + .d2-2455158177 .stroke-B3{stroke:#E3E9FD;} + .d2-2455158177 .stroke-B4{stroke:#E3E9FD;} + .d2-2455158177 .stroke-B5{stroke:#EDF0FD;} + .d2-2455158177 .stroke-B6{stroke:#F7F8FE;} + .d2-2455158177 .stroke-AA2{stroke:#4A6FF3;} + .d2-2455158177 .stroke-AA4{stroke:#EDF0FD;} + .d2-2455158177 .stroke-AA5{stroke:#F7F8FE;} + .d2-2455158177 .stroke-AB4{stroke:#EDF0FD;} + .d2-2455158177 .stroke-AB5{stroke:#F7F8FE;} + .d2-2455158177 .background-color-N1{background-color:#0A0F25;} + .d2-2455158177 .background-color-N2{background-color:#676C7E;} + .d2-2455158177 .background-color-N3{background-color:#9499AB;} + .d2-2455158177 .background-color-N4{background-color:#CFD2DD;} + .d2-2455158177 .background-color-N5{background-color:#DEE1EB;} + .d2-2455158177 .background-color-N6{background-color:#EEF1F8;} + .d2-2455158177 .background-color-N7{background-color:#FFFFFF;} + .d2-2455158177 .background-color-B1{background-color:#0D32B2;} + .d2-2455158177 .background-color-B2{background-color:#0D32B2;} + .d2-2455158177 .background-color-B3{background-color:#E3E9FD;} + .d2-2455158177 .background-color-B4{background-color:#E3E9FD;} + .d2-2455158177 .background-color-B5{background-color:#EDF0FD;} + .d2-2455158177 .background-color-B6{background-color:#F7F8FE;} + .d2-2455158177 .background-color-AA2{background-color:#4A6FF3;} + .d2-2455158177 .background-color-AA4{background-color:#EDF0FD;} + .d2-2455158177 .background-color-AA5{background-color:#F7F8FE;} + .d2-2455158177 .background-color-AB4{background-color:#EDF0FD;} + .d2-2455158177 .background-color-AB5{background-color:#F7F8FE;} + .d2-2455158177 .color-N1{color:#0A0F25;} + .d2-2455158177 .color-N2{color:#676C7E;} + .d2-2455158177 .color-N3{color:#9499AB;} + .d2-2455158177 .color-N4{color:#CFD2DD;} + .d2-2455158177 .color-N5{color:#DEE1EB;} + .d2-2455158177 .color-N6{color:#EEF1F8;} + .d2-2455158177 .color-N7{color:#FFFFFF;} + .d2-2455158177 .color-B1{color:#0D32B2;} + .d2-2455158177 .color-B2{color:#0D32B2;} + .d2-2455158177 .color-B3{color:#E3E9FD;} + .d2-2455158177 .color-B4{color:#E3E9FD;} + .d2-2455158177 .color-B5{color:#EDF0FD;} + .d2-2455158177 .color-B6{color:#F7F8FE;} + .d2-2455158177 .color-AA2{color:#4A6FF3;} + .d2-2455158177 .color-AA4{color:#EDF0FD;} + .d2-2455158177 .color-AA5{color:#F7F8FE;} + .d2-2455158177 .color-AB4{color:#EDF0FD;} + .d2-2455158177 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>trianglenonearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many requiredabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd 11 111111 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 diff --git a/e2etests/testdata/regression/bold_edge_label/dagre/board.exp.json b/e2etests/testdata/regression/bold_edge_label/dagre/board.exp.json index fe29298b1..8d006d204 100644 --- a/e2etests/testdata/regression/bold_edge_label/dagre/board.exp.json +++ b/e2etests/testdata/regression/bold_edge_label/dagre/board.exp.json @@ -153,11 +153,11 @@ "labelPercentage": 0, "route": [ { - "x": 53, + "x": 52.5, "y": 33 }, { - "x": 105.4000015258789, + "x": 105.30000305175781, "y": 33 }, { @@ -200,11 +200,11 @@ "labelPercentage": 0, "route": [ { - "x": 238, + "x": 237.5, "y": 33 }, { - "x": 291.20001220703125, + "x": 291.1000061035156, "y": 33 }, { diff --git a/e2etests/testdata/regression/bold_edge_label/dagre/sketch.exp.svg b/e2etests/testdata/regression/bold_edge_label/dagre/sketch.exp.svg index 20116a72b..9771c22b5 100644 --- a/e2etests/testdata/regression/bold_edge_label/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/bold_edge_label/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -xyz syncsync + .d2-3295824007 .fill-N1{fill:#0A0F25;} + .d2-3295824007 .fill-N2{fill:#676C7E;} + .d2-3295824007 .fill-N3{fill:#9499AB;} + .d2-3295824007 .fill-N4{fill:#CFD2DD;} + .d2-3295824007 .fill-N5{fill:#DEE1EB;} + .d2-3295824007 .fill-N6{fill:#EEF1F8;} + .d2-3295824007 .fill-N7{fill:#FFFFFF;} + .d2-3295824007 .fill-B1{fill:#0D32B2;} + .d2-3295824007 .fill-B2{fill:#0D32B2;} + .d2-3295824007 .fill-B3{fill:#E3E9FD;} + .d2-3295824007 .fill-B4{fill:#E3E9FD;} + .d2-3295824007 .fill-B5{fill:#EDF0FD;} + .d2-3295824007 .fill-B6{fill:#F7F8FE;} + .d2-3295824007 .fill-AA2{fill:#4A6FF3;} + .d2-3295824007 .fill-AA4{fill:#EDF0FD;} + .d2-3295824007 .fill-AA5{fill:#F7F8FE;} + .d2-3295824007 .fill-AB4{fill:#EDF0FD;} + .d2-3295824007 .fill-AB5{fill:#F7F8FE;} + .d2-3295824007 .stroke-N1{stroke:#0A0F25;} + .d2-3295824007 .stroke-N2{stroke:#676C7E;} + .d2-3295824007 .stroke-N3{stroke:#9499AB;} + .d2-3295824007 .stroke-N4{stroke:#CFD2DD;} + .d2-3295824007 .stroke-N5{stroke:#DEE1EB;} + .d2-3295824007 .stroke-N6{stroke:#EEF1F8;} + .d2-3295824007 .stroke-N7{stroke:#FFFFFF;} + .d2-3295824007 .stroke-B1{stroke:#0D32B2;} + .d2-3295824007 .stroke-B2{stroke:#0D32B2;} + .d2-3295824007 .stroke-B3{stroke:#E3E9FD;} + .d2-3295824007 .stroke-B4{stroke:#E3E9FD;} + .d2-3295824007 .stroke-B5{stroke:#EDF0FD;} + .d2-3295824007 .stroke-B6{stroke:#F7F8FE;} + .d2-3295824007 .stroke-AA2{stroke:#4A6FF3;} + .d2-3295824007 .stroke-AA4{stroke:#EDF0FD;} + .d2-3295824007 .stroke-AA5{stroke:#F7F8FE;} + .d2-3295824007 .stroke-AB4{stroke:#EDF0FD;} + .d2-3295824007 .stroke-AB5{stroke:#F7F8FE;} + .d2-3295824007 .background-color-N1{background-color:#0A0F25;} + .d2-3295824007 .background-color-N2{background-color:#676C7E;} + .d2-3295824007 .background-color-N3{background-color:#9499AB;} + .d2-3295824007 .background-color-N4{background-color:#CFD2DD;} + .d2-3295824007 .background-color-N5{background-color:#DEE1EB;} + .d2-3295824007 .background-color-N6{background-color:#EEF1F8;} + .d2-3295824007 .background-color-N7{background-color:#FFFFFF;} + .d2-3295824007 .background-color-B1{background-color:#0D32B2;} + .d2-3295824007 .background-color-B2{background-color:#0D32B2;} + .d2-3295824007 .background-color-B3{background-color:#E3E9FD;} + .d2-3295824007 .background-color-B4{background-color:#E3E9FD;} + .d2-3295824007 .background-color-B5{background-color:#EDF0FD;} + .d2-3295824007 .background-color-B6{background-color:#F7F8FE;} + .d2-3295824007 .background-color-AA2{background-color:#4A6FF3;} + .d2-3295824007 .background-color-AA4{background-color:#EDF0FD;} + .d2-3295824007 .background-color-AA5{background-color:#F7F8FE;} + .d2-3295824007 .background-color-AB4{background-color:#EDF0FD;} + .d2-3295824007 .background-color-AB5{background-color:#F7F8FE;} + .d2-3295824007 .color-N1{color:#0A0F25;} + .d2-3295824007 .color-N2{color:#676C7E;} + .d2-3295824007 .color-N3{color:#9499AB;} + .d2-3295824007 .color-N4{color:#CFD2DD;} + .d2-3295824007 .color-N5{color:#DEE1EB;} + .d2-3295824007 .color-N6{color:#EEF1F8;} + .d2-3295824007 .color-N7{color:#FFFFFF;} + .d2-3295824007 .color-B1{color:#0D32B2;} + .d2-3295824007 .color-B2{color:#0D32B2;} + .d2-3295824007 .color-B3{color:#E3E9FD;} + .d2-3295824007 .color-B4{color:#E3E9FD;} + .d2-3295824007 .color-B5{color:#EDF0FD;} + .d2-3295824007 .color-B6{color:#F7F8FE;} + .d2-3295824007 .color-AA2{color:#4A6FF3;} + .d2-3295824007 .color-AA4{color:#EDF0FD;} + .d2-3295824007 .color-AA5{color:#F7F8FE;} + .d2-3295824007 .color-AB4{color:#EDF0FD;} + .d2-3295824007 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyz syncsync diff --git a/e2etests/testdata/regression/bold_edge_label/elk/sketch.exp.svg b/e2etests/testdata/regression/bold_edge_label/elk/sketch.exp.svg index cf8db8c9b..d63de3aa3 100644 --- a/e2etests/testdata/regression/bold_edge_label/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/bold_edge_label/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -xyz syncsync + .d2-1721623843 .fill-N1{fill:#0A0F25;} + .d2-1721623843 .fill-N2{fill:#676C7E;} + .d2-1721623843 .fill-N3{fill:#9499AB;} + .d2-1721623843 .fill-N4{fill:#CFD2DD;} + .d2-1721623843 .fill-N5{fill:#DEE1EB;} + .d2-1721623843 .fill-N6{fill:#EEF1F8;} + .d2-1721623843 .fill-N7{fill:#FFFFFF;} + .d2-1721623843 .fill-B1{fill:#0D32B2;} + .d2-1721623843 .fill-B2{fill:#0D32B2;} + .d2-1721623843 .fill-B3{fill:#E3E9FD;} + .d2-1721623843 .fill-B4{fill:#E3E9FD;} + .d2-1721623843 .fill-B5{fill:#EDF0FD;} + .d2-1721623843 .fill-B6{fill:#F7F8FE;} + .d2-1721623843 .fill-AA2{fill:#4A6FF3;} + .d2-1721623843 .fill-AA4{fill:#EDF0FD;} + .d2-1721623843 .fill-AA5{fill:#F7F8FE;} + .d2-1721623843 .fill-AB4{fill:#EDF0FD;} + .d2-1721623843 .fill-AB5{fill:#F7F8FE;} + .d2-1721623843 .stroke-N1{stroke:#0A0F25;} + .d2-1721623843 .stroke-N2{stroke:#676C7E;} + .d2-1721623843 .stroke-N3{stroke:#9499AB;} + .d2-1721623843 .stroke-N4{stroke:#CFD2DD;} + .d2-1721623843 .stroke-N5{stroke:#DEE1EB;} + .d2-1721623843 .stroke-N6{stroke:#EEF1F8;} + .d2-1721623843 .stroke-N7{stroke:#FFFFFF;} + .d2-1721623843 .stroke-B1{stroke:#0D32B2;} + .d2-1721623843 .stroke-B2{stroke:#0D32B2;} + .d2-1721623843 .stroke-B3{stroke:#E3E9FD;} + .d2-1721623843 .stroke-B4{stroke:#E3E9FD;} + .d2-1721623843 .stroke-B5{stroke:#EDF0FD;} + .d2-1721623843 .stroke-B6{stroke:#F7F8FE;} + .d2-1721623843 .stroke-AA2{stroke:#4A6FF3;} + .d2-1721623843 .stroke-AA4{stroke:#EDF0FD;} + .d2-1721623843 .stroke-AA5{stroke:#F7F8FE;} + .d2-1721623843 .stroke-AB4{stroke:#EDF0FD;} + .d2-1721623843 .stroke-AB5{stroke:#F7F8FE;} + .d2-1721623843 .background-color-N1{background-color:#0A0F25;} + .d2-1721623843 .background-color-N2{background-color:#676C7E;} + .d2-1721623843 .background-color-N3{background-color:#9499AB;} + .d2-1721623843 .background-color-N4{background-color:#CFD2DD;} + .d2-1721623843 .background-color-N5{background-color:#DEE1EB;} + .d2-1721623843 .background-color-N6{background-color:#EEF1F8;} + .d2-1721623843 .background-color-N7{background-color:#FFFFFF;} + .d2-1721623843 .background-color-B1{background-color:#0D32B2;} + .d2-1721623843 .background-color-B2{background-color:#0D32B2;} + .d2-1721623843 .background-color-B3{background-color:#E3E9FD;} + .d2-1721623843 .background-color-B4{background-color:#E3E9FD;} + .d2-1721623843 .background-color-B5{background-color:#EDF0FD;} + .d2-1721623843 .background-color-B6{background-color:#F7F8FE;} + .d2-1721623843 .background-color-AA2{background-color:#4A6FF3;} + .d2-1721623843 .background-color-AA4{background-color:#EDF0FD;} + .d2-1721623843 .background-color-AA5{background-color:#F7F8FE;} + .d2-1721623843 .background-color-AB4{background-color:#EDF0FD;} + .d2-1721623843 .background-color-AB5{background-color:#F7F8FE;} + .d2-1721623843 .color-N1{color:#0A0F25;} + .d2-1721623843 .color-N2{color:#676C7E;} + .d2-1721623843 .color-N3{color:#9499AB;} + .d2-1721623843 .color-N4{color:#CFD2DD;} + .d2-1721623843 .color-N5{color:#DEE1EB;} + .d2-1721623843 .color-N6{color:#EEF1F8;} + .d2-1721623843 .color-N7{color:#FFFFFF;} + .d2-1721623843 .color-B1{color:#0D32B2;} + .d2-1721623843 .color-B2{color:#0D32B2;} + .d2-1721623843 .color-B3{color:#E3E9FD;} + .d2-1721623843 .color-B4{color:#E3E9FD;} + .d2-1721623843 .color-B5{color:#EDF0FD;} + .d2-1721623843 .color-B6{color:#F7F8FE;} + .d2-1721623843 .color-AA2{color:#4A6FF3;} + .d2-1721623843 .color-AA4{color:#EDF0FD;} + .d2-1721623843 .color-AA5{color:#F7F8FE;} + .d2-1721623843 .color-AB4{color:#EDF0FD;} + .d2-1721623843 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyz syncsync diff --git a/e2etests/testdata/regression/class_font_style_sequence/dagre/sketch.exp.svg b/e2etests/testdata/regression/class_font_style_sequence/dagre/sketch.exp.svg index 3a388bcbf..802d9d632 100644 --- a/e2etests/testdata/regression/class_font_style_sequence/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/class_font_style_sequence/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -a + .d2-965117370 .fill-N1{fill:#0A0F25;} + .d2-965117370 .fill-N2{fill:#676C7E;} + .d2-965117370 .fill-N3{fill:#9499AB;} + .d2-965117370 .fill-N4{fill:#CFD2DD;} + .d2-965117370 .fill-N5{fill:#DEE1EB;} + .d2-965117370 .fill-N6{fill:#EEF1F8;} + .d2-965117370 .fill-N7{fill:#FFFFFF;} + .d2-965117370 .fill-B1{fill:#0D32B2;} + .d2-965117370 .fill-B2{fill:#0D32B2;} + .d2-965117370 .fill-B3{fill:#E3E9FD;} + .d2-965117370 .fill-B4{fill:#E3E9FD;} + .d2-965117370 .fill-B5{fill:#EDF0FD;} + .d2-965117370 .fill-B6{fill:#F7F8FE;} + .d2-965117370 .fill-AA2{fill:#4A6FF3;} + .d2-965117370 .fill-AA4{fill:#EDF0FD;} + .d2-965117370 .fill-AA5{fill:#F7F8FE;} + .d2-965117370 .fill-AB4{fill:#EDF0FD;} + .d2-965117370 .fill-AB5{fill:#F7F8FE;} + .d2-965117370 .stroke-N1{stroke:#0A0F25;} + .d2-965117370 .stroke-N2{stroke:#676C7E;} + .d2-965117370 .stroke-N3{stroke:#9499AB;} + .d2-965117370 .stroke-N4{stroke:#CFD2DD;} + .d2-965117370 .stroke-N5{stroke:#DEE1EB;} + .d2-965117370 .stroke-N6{stroke:#EEF1F8;} + .d2-965117370 .stroke-N7{stroke:#FFFFFF;} + .d2-965117370 .stroke-B1{stroke:#0D32B2;} + .d2-965117370 .stroke-B2{stroke:#0D32B2;} + .d2-965117370 .stroke-B3{stroke:#E3E9FD;} + .d2-965117370 .stroke-B4{stroke:#E3E9FD;} + .d2-965117370 .stroke-B5{stroke:#EDF0FD;} + .d2-965117370 .stroke-B6{stroke:#F7F8FE;} + .d2-965117370 .stroke-AA2{stroke:#4A6FF3;} + .d2-965117370 .stroke-AA4{stroke:#EDF0FD;} + .d2-965117370 .stroke-AA5{stroke:#F7F8FE;} + .d2-965117370 .stroke-AB4{stroke:#EDF0FD;} + .d2-965117370 .stroke-AB5{stroke:#F7F8FE;} + .d2-965117370 .background-color-N1{background-color:#0A0F25;} + .d2-965117370 .background-color-N2{background-color:#676C7E;} + .d2-965117370 .background-color-N3{background-color:#9499AB;} + .d2-965117370 .background-color-N4{background-color:#CFD2DD;} + .d2-965117370 .background-color-N5{background-color:#DEE1EB;} + .d2-965117370 .background-color-N6{background-color:#EEF1F8;} + .d2-965117370 .background-color-N7{background-color:#FFFFFF;} + .d2-965117370 .background-color-B1{background-color:#0D32B2;} + .d2-965117370 .background-color-B2{background-color:#0D32B2;} + .d2-965117370 .background-color-B3{background-color:#E3E9FD;} + .d2-965117370 .background-color-B4{background-color:#E3E9FD;} + .d2-965117370 .background-color-B5{background-color:#EDF0FD;} + .d2-965117370 .background-color-B6{background-color:#F7F8FE;} + .d2-965117370 .background-color-AA2{background-color:#4A6FF3;} + .d2-965117370 .background-color-AA4{background-color:#EDF0FD;} + .d2-965117370 .background-color-AA5{background-color:#F7F8FE;} + .d2-965117370 .background-color-AB4{background-color:#EDF0FD;} + .d2-965117370 .background-color-AB5{background-color:#F7F8FE;} + .d2-965117370 .color-N1{color:#0A0F25;} + .d2-965117370 .color-N2{color:#676C7E;} + .d2-965117370 .color-N3{color:#9499AB;} + .d2-965117370 .color-N4{color:#CFD2DD;} + .d2-965117370 .color-N5{color:#DEE1EB;} + .d2-965117370 .color-N6{color:#EEF1F8;} + .d2-965117370 .color-N7{color:#FFFFFF;} + .d2-965117370 .color-B1{color:#0D32B2;} + .d2-965117370 .color-B2{color:#0D32B2;} + .d2-965117370 .color-B3{color:#E3E9FD;} + .d2-965117370 .color-B4{color:#E3E9FD;} + .d2-965117370 .color-B5{color:#EDF0FD;} + .d2-965117370 .color-B6{color:#F7F8FE;} + .d2-965117370 .color-AA2{color:#4A6FF3;} + .d2-965117370 .color-AA4{color:#EDF0FD;} + .d2-965117370 .color-AA5{color:#F7F8FE;} + .d2-965117370 .color-AB4{color:#EDF0FD;} + .d2-965117370 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a \ No newline at end of file diff --git a/e2etests/testdata/regression/class_font_style_sequence/elk/sketch.exp.svg b/e2etests/testdata/regression/class_font_style_sequence/elk/sketch.exp.svg index 3a388bcbf..802d9d632 100644 --- a/e2etests/testdata/regression/class_font_style_sequence/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/class_font_style_sequence/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -a + .d2-965117370 .fill-N1{fill:#0A0F25;} + .d2-965117370 .fill-N2{fill:#676C7E;} + .d2-965117370 .fill-N3{fill:#9499AB;} + .d2-965117370 .fill-N4{fill:#CFD2DD;} + .d2-965117370 .fill-N5{fill:#DEE1EB;} + .d2-965117370 .fill-N6{fill:#EEF1F8;} + .d2-965117370 .fill-N7{fill:#FFFFFF;} + .d2-965117370 .fill-B1{fill:#0D32B2;} + .d2-965117370 .fill-B2{fill:#0D32B2;} + .d2-965117370 .fill-B3{fill:#E3E9FD;} + .d2-965117370 .fill-B4{fill:#E3E9FD;} + .d2-965117370 .fill-B5{fill:#EDF0FD;} + .d2-965117370 .fill-B6{fill:#F7F8FE;} + .d2-965117370 .fill-AA2{fill:#4A6FF3;} + .d2-965117370 .fill-AA4{fill:#EDF0FD;} + .d2-965117370 .fill-AA5{fill:#F7F8FE;} + .d2-965117370 .fill-AB4{fill:#EDF0FD;} + .d2-965117370 .fill-AB5{fill:#F7F8FE;} + .d2-965117370 .stroke-N1{stroke:#0A0F25;} + .d2-965117370 .stroke-N2{stroke:#676C7E;} + .d2-965117370 .stroke-N3{stroke:#9499AB;} + .d2-965117370 .stroke-N4{stroke:#CFD2DD;} + .d2-965117370 .stroke-N5{stroke:#DEE1EB;} + .d2-965117370 .stroke-N6{stroke:#EEF1F8;} + .d2-965117370 .stroke-N7{stroke:#FFFFFF;} + .d2-965117370 .stroke-B1{stroke:#0D32B2;} + .d2-965117370 .stroke-B2{stroke:#0D32B2;} + .d2-965117370 .stroke-B3{stroke:#E3E9FD;} + .d2-965117370 .stroke-B4{stroke:#E3E9FD;} + .d2-965117370 .stroke-B5{stroke:#EDF0FD;} + .d2-965117370 .stroke-B6{stroke:#F7F8FE;} + .d2-965117370 .stroke-AA2{stroke:#4A6FF3;} + .d2-965117370 .stroke-AA4{stroke:#EDF0FD;} + .d2-965117370 .stroke-AA5{stroke:#F7F8FE;} + .d2-965117370 .stroke-AB4{stroke:#EDF0FD;} + .d2-965117370 .stroke-AB5{stroke:#F7F8FE;} + .d2-965117370 .background-color-N1{background-color:#0A0F25;} + .d2-965117370 .background-color-N2{background-color:#676C7E;} + .d2-965117370 .background-color-N3{background-color:#9499AB;} + .d2-965117370 .background-color-N4{background-color:#CFD2DD;} + .d2-965117370 .background-color-N5{background-color:#DEE1EB;} + .d2-965117370 .background-color-N6{background-color:#EEF1F8;} + .d2-965117370 .background-color-N7{background-color:#FFFFFF;} + .d2-965117370 .background-color-B1{background-color:#0D32B2;} + .d2-965117370 .background-color-B2{background-color:#0D32B2;} + .d2-965117370 .background-color-B3{background-color:#E3E9FD;} + .d2-965117370 .background-color-B4{background-color:#E3E9FD;} + .d2-965117370 .background-color-B5{background-color:#EDF0FD;} + .d2-965117370 .background-color-B6{background-color:#F7F8FE;} + .d2-965117370 .background-color-AA2{background-color:#4A6FF3;} + .d2-965117370 .background-color-AA4{background-color:#EDF0FD;} + .d2-965117370 .background-color-AA5{background-color:#F7F8FE;} + .d2-965117370 .background-color-AB4{background-color:#EDF0FD;} + .d2-965117370 .background-color-AB5{background-color:#F7F8FE;} + .d2-965117370 .color-N1{color:#0A0F25;} + .d2-965117370 .color-N2{color:#676C7E;} + .d2-965117370 .color-N3{color:#9499AB;} + .d2-965117370 .color-N4{color:#CFD2DD;} + .d2-965117370 .color-N5{color:#DEE1EB;} + .d2-965117370 .color-N6{color:#EEF1F8;} + .d2-965117370 .color-N7{color:#FFFFFF;} + .d2-965117370 .color-B1{color:#0D32B2;} + .d2-965117370 .color-B2{color:#0D32B2;} + .d2-965117370 .color-B3{color:#E3E9FD;} + .d2-965117370 .color-B4{color:#E3E9FD;} + .d2-965117370 .color-B5{color:#EDF0FD;} + .d2-965117370 .color-B6{color:#F7F8FE;} + .d2-965117370 .color-AA2{color:#4A6FF3;} + .d2-965117370 .color-AA4{color:#EDF0FD;} + .d2-965117370 .color-AA5{color:#F7F8FE;} + .d2-965117370 .color-AB4{color:#EDF0FD;} + .d2-965117370 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a \ No newline at end of file diff --git a/e2etests/testdata/regression/code_leading_newlines/dagre/sketch.exp.svg b/e2etests/testdata/regression/code_leading_newlines/dagre/sketch.exp.svg index 0272c2eec..d9153c45e 100644 --- a/e2etests/testdata/regression/code_leading_newlines/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/code_leading_newlines/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ - + .d2-1174935043 .fill-N1{fill:#0A0F25;} + .d2-1174935043 .fill-N2{fill:#676C7E;} + .d2-1174935043 .fill-N3{fill:#9499AB;} + .d2-1174935043 .fill-N4{fill:#CFD2DD;} + .d2-1174935043 .fill-N5{fill:#DEE1EB;} + .d2-1174935043 .fill-N6{fill:#EEF1F8;} + .d2-1174935043 .fill-N7{fill:#FFFFFF;} + .d2-1174935043 .fill-B1{fill:#0D32B2;} + .d2-1174935043 .fill-B2{fill:#0D32B2;} + .d2-1174935043 .fill-B3{fill:#E3E9FD;} + .d2-1174935043 .fill-B4{fill:#E3E9FD;} + .d2-1174935043 .fill-B5{fill:#EDF0FD;} + .d2-1174935043 .fill-B6{fill:#F7F8FE;} + .d2-1174935043 .fill-AA2{fill:#4A6FF3;} + .d2-1174935043 .fill-AA4{fill:#EDF0FD;} + .d2-1174935043 .fill-AA5{fill:#F7F8FE;} + .d2-1174935043 .fill-AB4{fill:#EDF0FD;} + .d2-1174935043 .fill-AB5{fill:#F7F8FE;} + .d2-1174935043 .stroke-N1{stroke:#0A0F25;} + .d2-1174935043 .stroke-N2{stroke:#676C7E;} + .d2-1174935043 .stroke-N3{stroke:#9499AB;} + .d2-1174935043 .stroke-N4{stroke:#CFD2DD;} + .d2-1174935043 .stroke-N5{stroke:#DEE1EB;} + .d2-1174935043 .stroke-N6{stroke:#EEF1F8;} + .d2-1174935043 .stroke-N7{stroke:#FFFFFF;} + .d2-1174935043 .stroke-B1{stroke:#0D32B2;} + .d2-1174935043 .stroke-B2{stroke:#0D32B2;} + .d2-1174935043 .stroke-B3{stroke:#E3E9FD;} + .d2-1174935043 .stroke-B4{stroke:#E3E9FD;} + .d2-1174935043 .stroke-B5{stroke:#EDF0FD;} + .d2-1174935043 .stroke-B6{stroke:#F7F8FE;} + .d2-1174935043 .stroke-AA2{stroke:#4A6FF3;} + .d2-1174935043 .stroke-AA4{stroke:#EDF0FD;} + .d2-1174935043 .stroke-AA5{stroke:#F7F8FE;} + .d2-1174935043 .stroke-AB4{stroke:#EDF0FD;} + .d2-1174935043 .stroke-AB5{stroke:#F7F8FE;} + .d2-1174935043 .background-color-N1{background-color:#0A0F25;} + .d2-1174935043 .background-color-N2{background-color:#676C7E;} + .d2-1174935043 .background-color-N3{background-color:#9499AB;} + .d2-1174935043 .background-color-N4{background-color:#CFD2DD;} + .d2-1174935043 .background-color-N5{background-color:#DEE1EB;} + .d2-1174935043 .background-color-N6{background-color:#EEF1F8;} + .d2-1174935043 .background-color-N7{background-color:#FFFFFF;} + .d2-1174935043 .background-color-B1{background-color:#0D32B2;} + .d2-1174935043 .background-color-B2{background-color:#0D32B2;} + .d2-1174935043 .background-color-B3{background-color:#E3E9FD;} + .d2-1174935043 .background-color-B4{background-color:#E3E9FD;} + .d2-1174935043 .background-color-B5{background-color:#EDF0FD;} + .d2-1174935043 .background-color-B6{background-color:#F7F8FE;} + .d2-1174935043 .background-color-AA2{background-color:#4A6FF3;} + .d2-1174935043 .background-color-AA4{background-color:#EDF0FD;} + .d2-1174935043 .background-color-AA5{background-color:#F7F8FE;} + .d2-1174935043 .background-color-AB4{background-color:#EDF0FD;} + .d2-1174935043 .background-color-AB5{background-color:#F7F8FE;} + .d2-1174935043 .color-N1{color:#0A0F25;} + .d2-1174935043 .color-N2{color:#676C7E;} + .d2-1174935043 .color-N3{color:#9499AB;} + .d2-1174935043 .color-N4{color:#CFD2DD;} + .d2-1174935043 .color-N5{color:#DEE1EB;} + .d2-1174935043 .color-N6{color:#EEF1F8;} + .d2-1174935043 .color-N7{color:#FFFFFF;} + .d2-1174935043 .color-B1{color:#0D32B2;} + .d2-1174935043 .color-B2{color:#0D32B2;} + .d2-1174935043 .color-B3{color:#E3E9FD;} + .d2-1174935043 .color-B4{color:#E3E9FD;} + .d2-1174935043 .color-B5{color:#EDF0FD;} + .d2-1174935043 .color-B6{color:#F7F8FE;} + .d2-1174935043 .color-AA2{color:#4A6FF3;} + .d2-1174935043 .color-AA4{color:#EDF0FD;} + .d2-1174935043 .color-AA5{color:#F7F8FE;} + .d2-1174935043 .color-AB4{color:#EDF0FD;} + .d2-1174935043 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -159,7 +159,7 @@ # 2 leading def hello(): -  print "world" +  print "world" diff --git a/e2etests/testdata/regression/code_leading_newlines/elk/sketch.exp.svg b/e2etests/testdata/regression/code_leading_newlines/elk/sketch.exp.svg index 27a59f9fc..fed659fad 100644 --- a/e2etests/testdata/regression/code_leading_newlines/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/code_leading_newlines/elk/sketch.exp.svg @@ -1,23 +1,23 @@ - + .d2-2028186600 .fill-N1{fill:#0A0F25;} + .d2-2028186600 .fill-N2{fill:#676C7E;} + .d2-2028186600 .fill-N3{fill:#9499AB;} + .d2-2028186600 .fill-N4{fill:#CFD2DD;} + .d2-2028186600 .fill-N5{fill:#DEE1EB;} + .d2-2028186600 .fill-N6{fill:#EEF1F8;} + .d2-2028186600 .fill-N7{fill:#FFFFFF;} + .d2-2028186600 .fill-B1{fill:#0D32B2;} + .d2-2028186600 .fill-B2{fill:#0D32B2;} + .d2-2028186600 .fill-B3{fill:#E3E9FD;} + .d2-2028186600 .fill-B4{fill:#E3E9FD;} + .d2-2028186600 .fill-B5{fill:#EDF0FD;} + .d2-2028186600 .fill-B6{fill:#F7F8FE;} + .d2-2028186600 .fill-AA2{fill:#4A6FF3;} + .d2-2028186600 .fill-AA4{fill:#EDF0FD;} + .d2-2028186600 .fill-AA5{fill:#F7F8FE;} + .d2-2028186600 .fill-AB4{fill:#EDF0FD;} + .d2-2028186600 .fill-AB5{fill:#F7F8FE;} + .d2-2028186600 .stroke-N1{stroke:#0A0F25;} + .d2-2028186600 .stroke-N2{stroke:#676C7E;} + .d2-2028186600 .stroke-N3{stroke:#9499AB;} + .d2-2028186600 .stroke-N4{stroke:#CFD2DD;} + .d2-2028186600 .stroke-N5{stroke:#DEE1EB;} + .d2-2028186600 .stroke-N6{stroke:#EEF1F8;} + .d2-2028186600 .stroke-N7{stroke:#FFFFFF;} + .d2-2028186600 .stroke-B1{stroke:#0D32B2;} + .d2-2028186600 .stroke-B2{stroke:#0D32B2;} + .d2-2028186600 .stroke-B3{stroke:#E3E9FD;} + .d2-2028186600 .stroke-B4{stroke:#E3E9FD;} + .d2-2028186600 .stroke-B5{stroke:#EDF0FD;} + .d2-2028186600 .stroke-B6{stroke:#F7F8FE;} + .d2-2028186600 .stroke-AA2{stroke:#4A6FF3;} + .d2-2028186600 .stroke-AA4{stroke:#EDF0FD;} + .d2-2028186600 .stroke-AA5{stroke:#F7F8FE;} + .d2-2028186600 .stroke-AB4{stroke:#EDF0FD;} + .d2-2028186600 .stroke-AB5{stroke:#F7F8FE;} + .d2-2028186600 .background-color-N1{background-color:#0A0F25;} + .d2-2028186600 .background-color-N2{background-color:#676C7E;} + .d2-2028186600 .background-color-N3{background-color:#9499AB;} + .d2-2028186600 .background-color-N4{background-color:#CFD2DD;} + .d2-2028186600 .background-color-N5{background-color:#DEE1EB;} + .d2-2028186600 .background-color-N6{background-color:#EEF1F8;} + .d2-2028186600 .background-color-N7{background-color:#FFFFFF;} + .d2-2028186600 .background-color-B1{background-color:#0D32B2;} + .d2-2028186600 .background-color-B2{background-color:#0D32B2;} + .d2-2028186600 .background-color-B3{background-color:#E3E9FD;} + .d2-2028186600 .background-color-B4{background-color:#E3E9FD;} + .d2-2028186600 .background-color-B5{background-color:#EDF0FD;} + .d2-2028186600 .background-color-B6{background-color:#F7F8FE;} + .d2-2028186600 .background-color-AA2{background-color:#4A6FF3;} + .d2-2028186600 .background-color-AA4{background-color:#EDF0FD;} + .d2-2028186600 .background-color-AA5{background-color:#F7F8FE;} + .d2-2028186600 .background-color-AB4{background-color:#EDF0FD;} + .d2-2028186600 .background-color-AB5{background-color:#F7F8FE;} + .d2-2028186600 .color-N1{color:#0A0F25;} + .d2-2028186600 .color-N2{color:#676C7E;} + .d2-2028186600 .color-N3{color:#9499AB;} + .d2-2028186600 .color-N4{color:#CFD2DD;} + .d2-2028186600 .color-N5{color:#DEE1EB;} + .d2-2028186600 .color-N6{color:#EEF1F8;} + .d2-2028186600 .color-N7{color:#FFFFFF;} + .d2-2028186600 .color-B1{color:#0D32B2;} + .d2-2028186600 .color-B2{color:#0D32B2;} + .d2-2028186600 .color-B3{color:#E3E9FD;} + .d2-2028186600 .color-B4{color:#E3E9FD;} + .d2-2028186600 .color-B5{color:#EDF0FD;} + .d2-2028186600 .color-B6{color:#F7F8FE;} + .d2-2028186600 .color-AA2{color:#4A6FF3;} + .d2-2028186600 .color-AA4{color:#EDF0FD;} + .d2-2028186600 .color-AA5{color:#F7F8FE;} + .d2-2028186600 .color-AB4{color:#EDF0FD;} + .d2-2028186600 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -159,7 +159,7 @@ # 2 leading def hello(): -  print "world" +  print "world" diff --git a/e2etests/testdata/regression/code_leading_trailing_newlines/dagre/sketch.exp.svg b/e2etests/testdata/regression/code_leading_trailing_newlines/dagre/sketch.exp.svg index aa621fc45..599518cf7 100644 --- a/e2etests/testdata/regression/code_leading_trailing_newlines/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/code_leading_trailing_newlines/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ - + .d2-3795367203 .fill-N1{fill:#0A0F25;} + .d2-3795367203 .fill-N2{fill:#676C7E;} + .d2-3795367203 .fill-N3{fill:#9499AB;} + .d2-3795367203 .fill-N4{fill:#CFD2DD;} + .d2-3795367203 .fill-N5{fill:#DEE1EB;} + .d2-3795367203 .fill-N6{fill:#EEF1F8;} + .d2-3795367203 .fill-N7{fill:#FFFFFF;} + .d2-3795367203 .fill-B1{fill:#0D32B2;} + .d2-3795367203 .fill-B2{fill:#0D32B2;} + .d2-3795367203 .fill-B3{fill:#E3E9FD;} + .d2-3795367203 .fill-B4{fill:#E3E9FD;} + .d2-3795367203 .fill-B5{fill:#EDF0FD;} + .d2-3795367203 .fill-B6{fill:#F7F8FE;} + .d2-3795367203 .fill-AA2{fill:#4A6FF3;} + .d2-3795367203 .fill-AA4{fill:#EDF0FD;} + .d2-3795367203 .fill-AA5{fill:#F7F8FE;} + .d2-3795367203 .fill-AB4{fill:#EDF0FD;} + .d2-3795367203 .fill-AB5{fill:#F7F8FE;} + .d2-3795367203 .stroke-N1{stroke:#0A0F25;} + .d2-3795367203 .stroke-N2{stroke:#676C7E;} + .d2-3795367203 .stroke-N3{stroke:#9499AB;} + .d2-3795367203 .stroke-N4{stroke:#CFD2DD;} + .d2-3795367203 .stroke-N5{stroke:#DEE1EB;} + .d2-3795367203 .stroke-N6{stroke:#EEF1F8;} + .d2-3795367203 .stroke-N7{stroke:#FFFFFF;} + .d2-3795367203 .stroke-B1{stroke:#0D32B2;} + .d2-3795367203 .stroke-B2{stroke:#0D32B2;} + .d2-3795367203 .stroke-B3{stroke:#E3E9FD;} + .d2-3795367203 .stroke-B4{stroke:#E3E9FD;} + .d2-3795367203 .stroke-B5{stroke:#EDF0FD;} + .d2-3795367203 .stroke-B6{stroke:#F7F8FE;} + .d2-3795367203 .stroke-AA2{stroke:#4A6FF3;} + .d2-3795367203 .stroke-AA4{stroke:#EDF0FD;} + .d2-3795367203 .stroke-AA5{stroke:#F7F8FE;} + .d2-3795367203 .stroke-AB4{stroke:#EDF0FD;} + .d2-3795367203 .stroke-AB5{stroke:#F7F8FE;} + .d2-3795367203 .background-color-N1{background-color:#0A0F25;} + .d2-3795367203 .background-color-N2{background-color:#676C7E;} + .d2-3795367203 .background-color-N3{background-color:#9499AB;} + .d2-3795367203 .background-color-N4{background-color:#CFD2DD;} + .d2-3795367203 .background-color-N5{background-color:#DEE1EB;} + .d2-3795367203 .background-color-N6{background-color:#EEF1F8;} + .d2-3795367203 .background-color-N7{background-color:#FFFFFF;} + .d2-3795367203 .background-color-B1{background-color:#0D32B2;} + .d2-3795367203 .background-color-B2{background-color:#0D32B2;} + .d2-3795367203 .background-color-B3{background-color:#E3E9FD;} + .d2-3795367203 .background-color-B4{background-color:#E3E9FD;} + .d2-3795367203 .background-color-B5{background-color:#EDF0FD;} + .d2-3795367203 .background-color-B6{background-color:#F7F8FE;} + .d2-3795367203 .background-color-AA2{background-color:#4A6FF3;} + .d2-3795367203 .background-color-AA4{background-color:#EDF0FD;} + .d2-3795367203 .background-color-AA5{background-color:#F7F8FE;} + .d2-3795367203 .background-color-AB4{background-color:#EDF0FD;} + .d2-3795367203 .background-color-AB5{background-color:#F7F8FE;} + .d2-3795367203 .color-N1{color:#0A0F25;} + .d2-3795367203 .color-N2{color:#676C7E;} + .d2-3795367203 .color-N3{color:#9499AB;} + .d2-3795367203 .color-N4{color:#CFD2DD;} + .d2-3795367203 .color-N5{color:#DEE1EB;} + .d2-3795367203 .color-N6{color:#EEF1F8;} + .d2-3795367203 .color-N7{color:#FFFFFF;} + .d2-3795367203 .color-B1{color:#0D32B2;} + .d2-3795367203 .color-B2{color:#0D32B2;} + .d2-3795367203 .color-B3{color:#E3E9FD;} + .d2-3795367203 .color-B4{color:#E3E9FD;} + .d2-3795367203 .color-B5{color:#EDF0FD;} + .d2-3795367203 .color-B6{color:#F7F8FE;} + .d2-3795367203 .color-AA2{color:#4A6FF3;} + .d2-3795367203 .color-AA4{color:#EDF0FD;} + .d2-3795367203 .color-AA5{color:#F7F8FE;} + .d2-3795367203 .color-AB4{color:#EDF0FD;} + .d2-3795367203 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> # 2 leading, 2 trailing def hello(): @@ -137,7 +137,7 @@   print "world" - + diff --git a/e2etests/testdata/regression/code_leading_trailing_newlines/elk/sketch.exp.svg b/e2etests/testdata/regression/code_leading_trailing_newlines/elk/sketch.exp.svg index 557f1bc14..884966592 100644 --- a/e2etests/testdata/regression/code_leading_trailing_newlines/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/code_leading_trailing_newlines/elk/sketch.exp.svg @@ -1,23 +1,23 @@ - + .d2-1582537308 .fill-N1{fill:#0A0F25;} + .d2-1582537308 .fill-N2{fill:#676C7E;} + .d2-1582537308 .fill-N3{fill:#9499AB;} + .d2-1582537308 .fill-N4{fill:#CFD2DD;} + .d2-1582537308 .fill-N5{fill:#DEE1EB;} + .d2-1582537308 .fill-N6{fill:#EEF1F8;} + .d2-1582537308 .fill-N7{fill:#FFFFFF;} + .d2-1582537308 .fill-B1{fill:#0D32B2;} + .d2-1582537308 .fill-B2{fill:#0D32B2;} + .d2-1582537308 .fill-B3{fill:#E3E9FD;} + .d2-1582537308 .fill-B4{fill:#E3E9FD;} + .d2-1582537308 .fill-B5{fill:#EDF0FD;} + .d2-1582537308 .fill-B6{fill:#F7F8FE;} + .d2-1582537308 .fill-AA2{fill:#4A6FF3;} + .d2-1582537308 .fill-AA4{fill:#EDF0FD;} + .d2-1582537308 .fill-AA5{fill:#F7F8FE;} + .d2-1582537308 .fill-AB4{fill:#EDF0FD;} + .d2-1582537308 .fill-AB5{fill:#F7F8FE;} + .d2-1582537308 .stroke-N1{stroke:#0A0F25;} + .d2-1582537308 .stroke-N2{stroke:#676C7E;} + .d2-1582537308 .stroke-N3{stroke:#9499AB;} + .d2-1582537308 .stroke-N4{stroke:#CFD2DD;} + .d2-1582537308 .stroke-N5{stroke:#DEE1EB;} + .d2-1582537308 .stroke-N6{stroke:#EEF1F8;} + .d2-1582537308 .stroke-N7{stroke:#FFFFFF;} + .d2-1582537308 .stroke-B1{stroke:#0D32B2;} + .d2-1582537308 .stroke-B2{stroke:#0D32B2;} + .d2-1582537308 .stroke-B3{stroke:#E3E9FD;} + .d2-1582537308 .stroke-B4{stroke:#E3E9FD;} + .d2-1582537308 .stroke-B5{stroke:#EDF0FD;} + .d2-1582537308 .stroke-B6{stroke:#F7F8FE;} + .d2-1582537308 .stroke-AA2{stroke:#4A6FF3;} + .d2-1582537308 .stroke-AA4{stroke:#EDF0FD;} + .d2-1582537308 .stroke-AA5{stroke:#F7F8FE;} + .d2-1582537308 .stroke-AB4{stroke:#EDF0FD;} + .d2-1582537308 .stroke-AB5{stroke:#F7F8FE;} + .d2-1582537308 .background-color-N1{background-color:#0A0F25;} + .d2-1582537308 .background-color-N2{background-color:#676C7E;} + .d2-1582537308 .background-color-N3{background-color:#9499AB;} + .d2-1582537308 .background-color-N4{background-color:#CFD2DD;} + .d2-1582537308 .background-color-N5{background-color:#DEE1EB;} + .d2-1582537308 .background-color-N6{background-color:#EEF1F8;} + .d2-1582537308 .background-color-N7{background-color:#FFFFFF;} + .d2-1582537308 .background-color-B1{background-color:#0D32B2;} + .d2-1582537308 .background-color-B2{background-color:#0D32B2;} + .d2-1582537308 .background-color-B3{background-color:#E3E9FD;} + .d2-1582537308 .background-color-B4{background-color:#E3E9FD;} + .d2-1582537308 .background-color-B5{background-color:#EDF0FD;} + .d2-1582537308 .background-color-B6{background-color:#F7F8FE;} + .d2-1582537308 .background-color-AA2{background-color:#4A6FF3;} + .d2-1582537308 .background-color-AA4{background-color:#EDF0FD;} + .d2-1582537308 .background-color-AA5{background-color:#F7F8FE;} + .d2-1582537308 .background-color-AB4{background-color:#EDF0FD;} + .d2-1582537308 .background-color-AB5{background-color:#F7F8FE;} + .d2-1582537308 .color-N1{color:#0A0F25;} + .d2-1582537308 .color-N2{color:#676C7E;} + .d2-1582537308 .color-N3{color:#9499AB;} + .d2-1582537308 .color-N4{color:#CFD2DD;} + .d2-1582537308 .color-N5{color:#DEE1EB;} + .d2-1582537308 .color-N6{color:#EEF1F8;} + .d2-1582537308 .color-N7{color:#FFFFFF;} + .d2-1582537308 .color-B1{color:#0D32B2;} + .d2-1582537308 .color-B2{color:#0D32B2;} + .d2-1582537308 .color-B3{color:#E3E9FD;} + .d2-1582537308 .color-B4{color:#E3E9FD;} + .d2-1582537308 .color-B5{color:#EDF0FD;} + .d2-1582537308 .color-B6{color:#F7F8FE;} + .d2-1582537308 .color-AA2{color:#4A6FF3;} + .d2-1582537308 .color-AA4{color:#EDF0FD;} + .d2-1582537308 .color-AA5{color:#F7F8FE;} + .d2-1582537308 .color-AB4{color:#EDF0FD;} + .d2-1582537308 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> # 2 leading, 2 trailing def hello(): @@ -137,7 +137,7 @@   print "world" - + diff --git a/e2etests/testdata/regression/code_trailing_newlines/dagre/sketch.exp.svg b/e2etests/testdata/regression/code_trailing_newlines/dagre/sketch.exp.svg index 2e25e1154..1b16da8d0 100644 --- a/e2etests/testdata/regression/code_trailing_newlines/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/code_trailing_newlines/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -def hello(): + .d2-3532429885 .fill-N1{fill:#0A0F25;} + .d2-3532429885 .fill-N2{fill:#676C7E;} + .d2-3532429885 .fill-N3{fill:#9499AB;} + .d2-3532429885 .fill-N4{fill:#CFD2DD;} + .d2-3532429885 .fill-N5{fill:#DEE1EB;} + .d2-3532429885 .fill-N6{fill:#EEF1F8;} + .d2-3532429885 .fill-N7{fill:#FFFFFF;} + .d2-3532429885 .fill-B1{fill:#0D32B2;} + .d2-3532429885 .fill-B2{fill:#0D32B2;} + .d2-3532429885 .fill-B3{fill:#E3E9FD;} + .d2-3532429885 .fill-B4{fill:#E3E9FD;} + .d2-3532429885 .fill-B5{fill:#EDF0FD;} + .d2-3532429885 .fill-B6{fill:#F7F8FE;} + .d2-3532429885 .fill-AA2{fill:#4A6FF3;} + .d2-3532429885 .fill-AA4{fill:#EDF0FD;} + .d2-3532429885 .fill-AA5{fill:#F7F8FE;} + .d2-3532429885 .fill-AB4{fill:#EDF0FD;} + .d2-3532429885 .fill-AB5{fill:#F7F8FE;} + .d2-3532429885 .stroke-N1{stroke:#0A0F25;} + .d2-3532429885 .stroke-N2{stroke:#676C7E;} + .d2-3532429885 .stroke-N3{stroke:#9499AB;} + .d2-3532429885 .stroke-N4{stroke:#CFD2DD;} + .d2-3532429885 .stroke-N5{stroke:#DEE1EB;} + .d2-3532429885 .stroke-N6{stroke:#EEF1F8;} + .d2-3532429885 .stroke-N7{stroke:#FFFFFF;} + .d2-3532429885 .stroke-B1{stroke:#0D32B2;} + .d2-3532429885 .stroke-B2{stroke:#0D32B2;} + .d2-3532429885 .stroke-B3{stroke:#E3E9FD;} + .d2-3532429885 .stroke-B4{stroke:#E3E9FD;} + .d2-3532429885 .stroke-B5{stroke:#EDF0FD;} + .d2-3532429885 .stroke-B6{stroke:#F7F8FE;} + .d2-3532429885 .stroke-AA2{stroke:#4A6FF3;} + .d2-3532429885 .stroke-AA4{stroke:#EDF0FD;} + .d2-3532429885 .stroke-AA5{stroke:#F7F8FE;} + .d2-3532429885 .stroke-AB4{stroke:#EDF0FD;} + .d2-3532429885 .stroke-AB5{stroke:#F7F8FE;} + .d2-3532429885 .background-color-N1{background-color:#0A0F25;} + .d2-3532429885 .background-color-N2{background-color:#676C7E;} + .d2-3532429885 .background-color-N3{background-color:#9499AB;} + .d2-3532429885 .background-color-N4{background-color:#CFD2DD;} + .d2-3532429885 .background-color-N5{background-color:#DEE1EB;} + .d2-3532429885 .background-color-N6{background-color:#EEF1F8;} + .d2-3532429885 .background-color-N7{background-color:#FFFFFF;} + .d2-3532429885 .background-color-B1{background-color:#0D32B2;} + .d2-3532429885 .background-color-B2{background-color:#0D32B2;} + .d2-3532429885 .background-color-B3{background-color:#E3E9FD;} + .d2-3532429885 .background-color-B4{background-color:#E3E9FD;} + .d2-3532429885 .background-color-B5{background-color:#EDF0FD;} + .d2-3532429885 .background-color-B6{background-color:#F7F8FE;} + .d2-3532429885 .background-color-AA2{background-color:#4A6FF3;} + .d2-3532429885 .background-color-AA4{background-color:#EDF0FD;} + .d2-3532429885 .background-color-AA5{background-color:#F7F8FE;} + .d2-3532429885 .background-color-AB4{background-color:#EDF0FD;} + .d2-3532429885 .background-color-AB5{background-color:#F7F8FE;} + .d2-3532429885 .color-N1{color:#0A0F25;} + .d2-3532429885 .color-N2{color:#676C7E;} + .d2-3532429885 .color-N3{color:#9499AB;} + .d2-3532429885 .color-N4{color:#CFD2DD;} + .d2-3532429885 .color-N5{color:#DEE1EB;} + .d2-3532429885 .color-N6{color:#EEF1F8;} + .d2-3532429885 .color-N7{color:#FFFFFF;} + .d2-3532429885 .color-B1{color:#0D32B2;} + .d2-3532429885 .color-B2{color:#0D32B2;} + .d2-3532429885 .color-B3{color:#E3E9FD;} + .d2-3532429885 .color-B4{color:#E3E9FD;} + .d2-3532429885 .color-B5{color:#EDF0FD;} + .d2-3532429885 .color-B6{color:#F7F8FE;} + .d2-3532429885 .color-AA2{color:#4A6FF3;} + .d2-3532429885 .color-AA4{color:#EDF0FD;} + .d2-3532429885 .color-AA5{color:#F7F8FE;} + .d2-3532429885 .color-AB4{color:#EDF0FD;} + .d2-3532429885 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>def hello():   print "world" @@ -159,7 +159,7 @@   print "world" # 1 trailing -# 2 trailing +# 2 trailing diff --git a/e2etests/testdata/regression/code_trailing_newlines/elk/sketch.exp.svg b/e2etests/testdata/regression/code_trailing_newlines/elk/sketch.exp.svg index 1703eb59e..85bc05f38 100644 --- a/e2etests/testdata/regression/code_trailing_newlines/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/code_trailing_newlines/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -def hello(): + .d2-2388562350 .fill-N1{fill:#0A0F25;} + .d2-2388562350 .fill-N2{fill:#676C7E;} + .d2-2388562350 .fill-N3{fill:#9499AB;} + .d2-2388562350 .fill-N4{fill:#CFD2DD;} + .d2-2388562350 .fill-N5{fill:#DEE1EB;} + .d2-2388562350 .fill-N6{fill:#EEF1F8;} + .d2-2388562350 .fill-N7{fill:#FFFFFF;} + .d2-2388562350 .fill-B1{fill:#0D32B2;} + .d2-2388562350 .fill-B2{fill:#0D32B2;} + .d2-2388562350 .fill-B3{fill:#E3E9FD;} + .d2-2388562350 .fill-B4{fill:#E3E9FD;} + .d2-2388562350 .fill-B5{fill:#EDF0FD;} + .d2-2388562350 .fill-B6{fill:#F7F8FE;} + .d2-2388562350 .fill-AA2{fill:#4A6FF3;} + .d2-2388562350 .fill-AA4{fill:#EDF0FD;} + .d2-2388562350 .fill-AA5{fill:#F7F8FE;} + .d2-2388562350 .fill-AB4{fill:#EDF0FD;} + .d2-2388562350 .fill-AB5{fill:#F7F8FE;} + .d2-2388562350 .stroke-N1{stroke:#0A0F25;} + .d2-2388562350 .stroke-N2{stroke:#676C7E;} + .d2-2388562350 .stroke-N3{stroke:#9499AB;} + .d2-2388562350 .stroke-N4{stroke:#CFD2DD;} + .d2-2388562350 .stroke-N5{stroke:#DEE1EB;} + .d2-2388562350 .stroke-N6{stroke:#EEF1F8;} + .d2-2388562350 .stroke-N7{stroke:#FFFFFF;} + .d2-2388562350 .stroke-B1{stroke:#0D32B2;} + .d2-2388562350 .stroke-B2{stroke:#0D32B2;} + .d2-2388562350 .stroke-B3{stroke:#E3E9FD;} + .d2-2388562350 .stroke-B4{stroke:#E3E9FD;} + .d2-2388562350 .stroke-B5{stroke:#EDF0FD;} + .d2-2388562350 .stroke-B6{stroke:#F7F8FE;} + .d2-2388562350 .stroke-AA2{stroke:#4A6FF3;} + .d2-2388562350 .stroke-AA4{stroke:#EDF0FD;} + .d2-2388562350 .stroke-AA5{stroke:#F7F8FE;} + .d2-2388562350 .stroke-AB4{stroke:#EDF0FD;} + .d2-2388562350 .stroke-AB5{stroke:#F7F8FE;} + .d2-2388562350 .background-color-N1{background-color:#0A0F25;} + .d2-2388562350 .background-color-N2{background-color:#676C7E;} + .d2-2388562350 .background-color-N3{background-color:#9499AB;} + .d2-2388562350 .background-color-N4{background-color:#CFD2DD;} + .d2-2388562350 .background-color-N5{background-color:#DEE1EB;} + .d2-2388562350 .background-color-N6{background-color:#EEF1F8;} + .d2-2388562350 .background-color-N7{background-color:#FFFFFF;} + .d2-2388562350 .background-color-B1{background-color:#0D32B2;} + .d2-2388562350 .background-color-B2{background-color:#0D32B2;} + .d2-2388562350 .background-color-B3{background-color:#E3E9FD;} + .d2-2388562350 .background-color-B4{background-color:#E3E9FD;} + .d2-2388562350 .background-color-B5{background-color:#EDF0FD;} + .d2-2388562350 .background-color-B6{background-color:#F7F8FE;} + .d2-2388562350 .background-color-AA2{background-color:#4A6FF3;} + .d2-2388562350 .background-color-AA4{background-color:#EDF0FD;} + .d2-2388562350 .background-color-AA5{background-color:#F7F8FE;} + .d2-2388562350 .background-color-AB4{background-color:#EDF0FD;} + .d2-2388562350 .background-color-AB5{background-color:#F7F8FE;} + .d2-2388562350 .color-N1{color:#0A0F25;} + .d2-2388562350 .color-N2{color:#676C7E;} + .d2-2388562350 .color-N3{color:#9499AB;} + .d2-2388562350 .color-N4{color:#CFD2DD;} + .d2-2388562350 .color-N5{color:#DEE1EB;} + .d2-2388562350 .color-N6{color:#EEF1F8;} + .d2-2388562350 .color-N7{color:#FFFFFF;} + .d2-2388562350 .color-B1{color:#0D32B2;} + .d2-2388562350 .color-B2{color:#0D32B2;} + .d2-2388562350 .color-B3{color:#E3E9FD;} + .d2-2388562350 .color-B4{color:#E3E9FD;} + .d2-2388562350 .color-B5{color:#EDF0FD;} + .d2-2388562350 .color-B6{color:#F7F8FE;} + .d2-2388562350 .color-AA2{color:#4A6FF3;} + .d2-2388562350 .color-AA4{color:#EDF0FD;} + .d2-2388562350 .color-AA5{color:#F7F8FE;} + .d2-2388562350 .color-AB4{color:#EDF0FD;} + .d2-2388562350 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>def hello():   print "world" @@ -159,7 +159,7 @@   print "world" # 1 trailing -# 2 trailing +# 2 trailing diff --git a/e2etests/testdata/regression/cylinder_grid_label/dagre/sketch.exp.svg b/e2etests/testdata/regression/cylinder_grid_label/dagre/sketch.exp.svg index 39dec2559..3dc05ae94 100644 --- a/e2etests/testdata/regression/cylinder_grid_label/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/cylinder_grid_label/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -container title is hiddenfirstsecond + .d2-804052265 .fill-N1{fill:#0A0F25;} + .d2-804052265 .fill-N2{fill:#676C7E;} + .d2-804052265 .fill-N3{fill:#9499AB;} + .d2-804052265 .fill-N4{fill:#CFD2DD;} + .d2-804052265 .fill-N5{fill:#DEE1EB;} + .d2-804052265 .fill-N6{fill:#EEF1F8;} + .d2-804052265 .fill-N7{fill:#FFFFFF;} + .d2-804052265 .fill-B1{fill:#0D32B2;} + .d2-804052265 .fill-B2{fill:#0D32B2;} + .d2-804052265 .fill-B3{fill:#E3E9FD;} + .d2-804052265 .fill-B4{fill:#E3E9FD;} + .d2-804052265 .fill-B5{fill:#EDF0FD;} + .d2-804052265 .fill-B6{fill:#F7F8FE;} + .d2-804052265 .fill-AA2{fill:#4A6FF3;} + .d2-804052265 .fill-AA4{fill:#EDF0FD;} + .d2-804052265 .fill-AA5{fill:#F7F8FE;} + .d2-804052265 .fill-AB4{fill:#EDF0FD;} + .d2-804052265 .fill-AB5{fill:#F7F8FE;} + .d2-804052265 .stroke-N1{stroke:#0A0F25;} + .d2-804052265 .stroke-N2{stroke:#676C7E;} + .d2-804052265 .stroke-N3{stroke:#9499AB;} + .d2-804052265 .stroke-N4{stroke:#CFD2DD;} + .d2-804052265 .stroke-N5{stroke:#DEE1EB;} + .d2-804052265 .stroke-N6{stroke:#EEF1F8;} + .d2-804052265 .stroke-N7{stroke:#FFFFFF;} + .d2-804052265 .stroke-B1{stroke:#0D32B2;} + .d2-804052265 .stroke-B2{stroke:#0D32B2;} + .d2-804052265 .stroke-B3{stroke:#E3E9FD;} + .d2-804052265 .stroke-B4{stroke:#E3E9FD;} + .d2-804052265 .stroke-B5{stroke:#EDF0FD;} + .d2-804052265 .stroke-B6{stroke:#F7F8FE;} + .d2-804052265 .stroke-AA2{stroke:#4A6FF3;} + .d2-804052265 .stroke-AA4{stroke:#EDF0FD;} + .d2-804052265 .stroke-AA5{stroke:#F7F8FE;} + .d2-804052265 .stroke-AB4{stroke:#EDF0FD;} + .d2-804052265 .stroke-AB5{stroke:#F7F8FE;} + .d2-804052265 .background-color-N1{background-color:#0A0F25;} + .d2-804052265 .background-color-N2{background-color:#676C7E;} + .d2-804052265 .background-color-N3{background-color:#9499AB;} + .d2-804052265 .background-color-N4{background-color:#CFD2DD;} + .d2-804052265 .background-color-N5{background-color:#DEE1EB;} + .d2-804052265 .background-color-N6{background-color:#EEF1F8;} + .d2-804052265 .background-color-N7{background-color:#FFFFFF;} + .d2-804052265 .background-color-B1{background-color:#0D32B2;} + .d2-804052265 .background-color-B2{background-color:#0D32B2;} + .d2-804052265 .background-color-B3{background-color:#E3E9FD;} + .d2-804052265 .background-color-B4{background-color:#E3E9FD;} + .d2-804052265 .background-color-B5{background-color:#EDF0FD;} + .d2-804052265 .background-color-B6{background-color:#F7F8FE;} + .d2-804052265 .background-color-AA2{background-color:#4A6FF3;} + .d2-804052265 .background-color-AA4{background-color:#EDF0FD;} + .d2-804052265 .background-color-AA5{background-color:#F7F8FE;} + .d2-804052265 .background-color-AB4{background-color:#EDF0FD;} + .d2-804052265 .background-color-AB5{background-color:#F7F8FE;} + .d2-804052265 .color-N1{color:#0A0F25;} + .d2-804052265 .color-N2{color:#676C7E;} + .d2-804052265 .color-N3{color:#9499AB;} + .d2-804052265 .color-N4{color:#CFD2DD;} + .d2-804052265 .color-N5{color:#DEE1EB;} + .d2-804052265 .color-N6{color:#EEF1F8;} + .d2-804052265 .color-N7{color:#FFFFFF;} + .d2-804052265 .color-B1{color:#0D32B2;} + .d2-804052265 .color-B2{color:#0D32B2;} + .d2-804052265 .color-B3{color:#E3E9FD;} + .d2-804052265 .color-B4{color:#E3E9FD;} + .d2-804052265 .color-B5{color:#EDF0FD;} + .d2-804052265 .color-B6{color:#F7F8FE;} + .d2-804052265 .color-AA2{color:#4A6FF3;} + .d2-804052265 .color-AA4{color:#EDF0FD;} + .d2-804052265 .color-AA5{color:#F7F8FE;} + .d2-804052265 .color-AB4{color:#EDF0FD;} + .d2-804052265 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>container title is hiddenfirstsecond diff --git a/e2etests/testdata/regression/cylinder_grid_label/elk/sketch.exp.svg b/e2etests/testdata/regression/cylinder_grid_label/elk/sketch.exp.svg index bbe171e8e..bf2d7f19f 100644 --- a/e2etests/testdata/regression/cylinder_grid_label/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/cylinder_grid_label/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -container title is hiddenfirstsecond + .d2-165715486 .fill-N1{fill:#0A0F25;} + .d2-165715486 .fill-N2{fill:#676C7E;} + .d2-165715486 .fill-N3{fill:#9499AB;} + .d2-165715486 .fill-N4{fill:#CFD2DD;} + .d2-165715486 .fill-N5{fill:#DEE1EB;} + .d2-165715486 .fill-N6{fill:#EEF1F8;} + .d2-165715486 .fill-N7{fill:#FFFFFF;} + .d2-165715486 .fill-B1{fill:#0D32B2;} + .d2-165715486 .fill-B2{fill:#0D32B2;} + .d2-165715486 .fill-B3{fill:#E3E9FD;} + .d2-165715486 .fill-B4{fill:#E3E9FD;} + .d2-165715486 .fill-B5{fill:#EDF0FD;} + .d2-165715486 .fill-B6{fill:#F7F8FE;} + .d2-165715486 .fill-AA2{fill:#4A6FF3;} + .d2-165715486 .fill-AA4{fill:#EDF0FD;} + .d2-165715486 .fill-AA5{fill:#F7F8FE;} + .d2-165715486 .fill-AB4{fill:#EDF0FD;} + .d2-165715486 .fill-AB5{fill:#F7F8FE;} + .d2-165715486 .stroke-N1{stroke:#0A0F25;} + .d2-165715486 .stroke-N2{stroke:#676C7E;} + .d2-165715486 .stroke-N3{stroke:#9499AB;} + .d2-165715486 .stroke-N4{stroke:#CFD2DD;} + .d2-165715486 .stroke-N5{stroke:#DEE1EB;} + .d2-165715486 .stroke-N6{stroke:#EEF1F8;} + .d2-165715486 .stroke-N7{stroke:#FFFFFF;} + .d2-165715486 .stroke-B1{stroke:#0D32B2;} + .d2-165715486 .stroke-B2{stroke:#0D32B2;} + .d2-165715486 .stroke-B3{stroke:#E3E9FD;} + .d2-165715486 .stroke-B4{stroke:#E3E9FD;} + .d2-165715486 .stroke-B5{stroke:#EDF0FD;} + .d2-165715486 .stroke-B6{stroke:#F7F8FE;} + .d2-165715486 .stroke-AA2{stroke:#4A6FF3;} + .d2-165715486 .stroke-AA4{stroke:#EDF0FD;} + .d2-165715486 .stroke-AA5{stroke:#F7F8FE;} + .d2-165715486 .stroke-AB4{stroke:#EDF0FD;} + .d2-165715486 .stroke-AB5{stroke:#F7F8FE;} + .d2-165715486 .background-color-N1{background-color:#0A0F25;} + .d2-165715486 .background-color-N2{background-color:#676C7E;} + .d2-165715486 .background-color-N3{background-color:#9499AB;} + .d2-165715486 .background-color-N4{background-color:#CFD2DD;} + .d2-165715486 .background-color-N5{background-color:#DEE1EB;} + .d2-165715486 .background-color-N6{background-color:#EEF1F8;} + .d2-165715486 .background-color-N7{background-color:#FFFFFF;} + .d2-165715486 .background-color-B1{background-color:#0D32B2;} + .d2-165715486 .background-color-B2{background-color:#0D32B2;} + .d2-165715486 .background-color-B3{background-color:#E3E9FD;} + .d2-165715486 .background-color-B4{background-color:#E3E9FD;} + .d2-165715486 .background-color-B5{background-color:#EDF0FD;} + .d2-165715486 .background-color-B6{background-color:#F7F8FE;} + .d2-165715486 .background-color-AA2{background-color:#4A6FF3;} + .d2-165715486 .background-color-AA4{background-color:#EDF0FD;} + .d2-165715486 .background-color-AA5{background-color:#F7F8FE;} + .d2-165715486 .background-color-AB4{background-color:#EDF0FD;} + .d2-165715486 .background-color-AB5{background-color:#F7F8FE;} + .d2-165715486 .color-N1{color:#0A0F25;} + .d2-165715486 .color-N2{color:#676C7E;} + .d2-165715486 .color-N3{color:#9499AB;} + .d2-165715486 .color-N4{color:#CFD2DD;} + .d2-165715486 .color-N5{color:#DEE1EB;} + .d2-165715486 .color-N6{color:#EEF1F8;} + .d2-165715486 .color-N7{color:#FFFFFF;} + .d2-165715486 .color-B1{color:#0D32B2;} + .d2-165715486 .color-B2{color:#0D32B2;} + .d2-165715486 .color-B3{color:#E3E9FD;} + .d2-165715486 .color-B4{color:#E3E9FD;} + .d2-165715486 .color-B5{color:#EDF0FD;} + .d2-165715486 .color-B6{color:#F7F8FE;} + .d2-165715486 .color-AA2{color:#4A6FF3;} + .d2-165715486 .color-AA4{color:#EDF0FD;} + .d2-165715486 .color-AA5{color:#F7F8FE;} + .d2-165715486 .color-AB4{color:#EDF0FD;} + .d2-165715486 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>container title is hiddenfirstsecond diff --git a/e2etests/testdata/regression/dagre-disconnect/dagre/board.exp.json b/e2etests/testdata/regression/dagre-disconnect/dagre/board.exp.json index f4db0058c..ea2e876a1 100644 --- a/e2etests/testdata/regression/dagre-disconnect/dagre/board.exp.json +++ b/e2etests/testdata/regression/dagre-disconnect/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 41 + "y": 38 }, "width": 394, - "height": 1830, + "height": 1784, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,11 +48,11 @@ "id": "a.k", "type": "rectangle", "pos": { - "x": 20, - "y": 111 + "x": 30, + "y": 79 }, - "width": 131, - "height": 139, + "width": 111, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 147 + "y": 109 }, "width": 51, "height": 66, @@ -130,11 +130,11 @@ "id": "a.f", "type": "rectangle", "pos": { - "x": 21, - "y": 504 + "x": 31, + "y": 472 }, - "width": 353, - "height": 139, + "width": 333, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 540 + "y": 502 }, "width": 49, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 170, - "y": 540 + "y": 502 }, "width": 54, "height": 66, @@ -254,10 +254,10 @@ "type": "rectangle", "pos": { "x": 565, - "y": 827 + "y": 824 }, "width": 259, - "height": 636, + "height": 590, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -294,11 +294,11 @@ "id": "s.n", "type": "rectangle", "pos": { - "x": 585, - "y": 897 + "x": 595, + "y": 865 }, - "width": 131, - "height": 139, + "width": 111, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -335,11 +335,11 @@ "id": "k", "type": "rectangle", "pos": { - "x": 1108, - "y": 434 + "x": 1118, + "y": 472 }, - "width": 132, - "height": 243, + "width": 112, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -377,7 +377,7 @@ "type": "rectangle", "pos": { "x": 1148, - "y": 522 + "y": 502 }, "width": 52, "height": 66, @@ -418,10 +418,10 @@ "type": "rectangle", "pos": { "x": 844, - "y": 827 + "y": 824 }, - "width": 397, - "height": 243, + "width": 387, + "height": 197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -459,7 +459,7 @@ "type": "rectangle", "pos": { "x": 1147, - "y": 915 + "y": 895 }, "width": 54, "height": 66, @@ -500,10 +500,10 @@ "type": "rectangle", "pos": { "x": 741, - "y": 41 + "y": 38 }, "width": 172, - "height": 243, + "height": 197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -540,11 +540,11 @@ "id": "h.m", "type": "rectangle", "pos": { - "x": 761, - "y": 111 + "x": 771, + "y": 79 }, - "width": 132, - "height": 139, + "width": 112, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -582,7 +582,7 @@ "type": "rectangle", "pos": { "x": 801, - "y": 147 + "y": 109 }, "width": 52, "height": 66, @@ -623,7 +623,7 @@ "type": "rectangle", "pos": { "x": 284, - "y": 540 + "y": 502 }, "width": 50, "height": 66, @@ -663,11 +663,11 @@ "id": "u.s", "type": "rectangle", "pos": { - "x": 864, - "y": 897 + "x": 874, + "y": 865 }, - "width": 130, - "height": 139, + "width": 110, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -705,7 +705,7 @@ "type": "rectangle", "pos": { "x": 904, - "y": 933 + "y": 895 }, "width": 50, "height": 66, @@ -746,7 +746,7 @@ "type": "rectangle", "pos": { "x": 1034, - "y": 915 + "y": 895 }, "width": 53, "height": 66, @@ -786,11 +786,11 @@ "id": "s.z", "type": "rectangle", "pos": { - "x": 671, - "y": 1290 + "x": 681, + "y": 1258 }, - "width": 133, - "height": 139, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -828,7 +828,7 @@ "type": "rectangle", "pos": { "x": 711, - "y": 1326 + "y": 1288 }, "width": 53, "height": 66, @@ -869,7 +869,7 @@ "type": "rectangle", "pos": { "x": 625, - "y": 933 + "y": 895 }, "width": 51, "height": 66, @@ -909,11 +909,11 @@ "id": "y", "type": "rectangle", "pos": { - "x": 414, - "y": 1220 + "x": 424, + "y": 1258 }, - "width": 131, - "height": 243, + "width": 111, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -951,7 +951,7 @@ "type": "rectangle", "pos": { "x": 454, - "y": 1308 + "y": 1288 }, "width": 51, "height": 66, @@ -991,11 +991,11 @@ "id": "a.g", "type": "rectangle", "pos": { - "x": 133, - "y": 1697 + "x": 143, + "y": 1666 }, - "width": 129, - "height": 139, + "width": 109, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1033,7 +1033,7 @@ "type": "rectangle", "pos": { "x": 173, - "y": 1734 + "y": 1696 }, "width": 49, "height": 66, @@ -1097,55 +1097,55 @@ "route": [ { "x": 85.5, - "y": 213.5 + "y": 174.5 }, { "x": 85.5, - "y": 242.6999969482422 + "y": 218.5 }, { "x": 85.5, - "y": 260.89898681640625 + "y": 240.39999389648438 }, { "x": 85.5, - "y": 277.25 + "y": 256.75 }, { "x": 85.5, - "y": 293.6000061035156 + "y": 273.1000061035156 }, { "x": 85.5, - "y": 315.3999938964844 + "y": 294.8999938964844 }, { "x": 85.5, - "y": 331.75 + "y": 311.25 }, { "x": 85.5, - "y": 348.1000061035156 + "y": 327.6000061035156 }, { "x": 85.5, - "y": 369.8999938964844 + "y": 349.3999938964844 }, { "x": 85.5, - "y": 386.25 + "y": 365.75 }, { "x": 85.5, - "y": 402.6000061035156 + "y": 382.1000061035156 }, { "x": 85.5, - "y": 482.6000061035156 + "y": 458.5 }, { "x": 85.5, - "y": 541 + "y": 502.5 } ], "isCurve": true, @@ -1180,11 +1180,11 @@ "route": [ { "x": 197, - "y": 606.5 + "y": 567.5 }, { "x": 197, - "y": 619.2999877929688 + "y": 611.5 }, { "x": 197, @@ -1223,12 +1223,12 @@ "y": 775.0999755859375 }, { - "x": 274.6000061035156, - "y": 866.7999877929688 + "x": 276.6000061035156, + "y": 855.5 }, { - "x": 585, - "y": 972 + "x": 595, + "y": 915.5 } ], "isCurve": true, @@ -1263,11 +1263,11 @@ "route": [ { "x": 1173.5, - "y": 588.5 + "y": 567.5 }, { "x": 1173.5, - "y": 615.7000122070312 + "y": 611.5 }, { "x": 1173.5, @@ -1307,11 +1307,11 @@ }, { "x": 1173.5, - "y": 855.5999755859375 + "y": 851.5 }, { "x": 1173.5, - "y": 916 + "y": 895.5 } ], "isCurve": true, @@ -1346,11 +1346,11 @@ "route": [ { "x": 827.25, - "y": 213.5 + "y": 174.5 }, { "x": 827.25, - "y": 226.3000030517578 + "y": 218.5 }, { "x": 827.25, @@ -1390,11 +1390,11 @@ }, { "x": 197, - "y": 466.20001220703125 + "y": 458.5 }, { "x": 197, - "y": 541 + "y": 502.5 } ], "isCurve": true, @@ -1429,11 +1429,11 @@ "route": [ { "x": 309, - "y": 606.5 + "y": 567.5 }, { "x": 309, - "y": 619.2999877929688 + "y": 611.5 }, { "x": 309, @@ -1473,11 +1473,11 @@ }, { "x": 427.8999938964844, - "y": 864.9929809570312 + "y": 857.2930297851562 }, { "x": 903.5, - "y": 962.968017578125 + "y": 924.468017578125 } ], "isCurve": true, @@ -1512,11 +1512,11 @@ "route": [ { "x": 1060, - "y": 981.5 + "y": 960.5 }, { "x": 1060, - "y": 1008.7000122070312 + "y": 1004.5 }, { "x": 1060, @@ -1556,11 +1556,11 @@ }, { "x": 737, - "y": 1252.199951171875 + "y": 1244.5 }, { "x": 737, - "y": 1327 + "y": 1288.5 } ], "isCurve": true, @@ -1595,11 +1595,11 @@ "route": [ { "x": 650.5, - "y": 1037 + "y": 991.5 }, { "x": 650.5, - "y": 1063.4000244140625 + "y": 1054.300048828125 }, { "x": 650.5, @@ -1627,11 +1627,11 @@ }, { "x": 621.2999877929688, - "y": 1252.4000244140625 + "y": 1248.300048828125 }, { "x": 504.5, - "y": 1328 + "y": 1307.5 } ], "isCurve": true, @@ -1666,11 +1666,11 @@ "route": [ { "x": 479.5, - "y": 1374.5 + "y": 1353.5 }, { "x": 479.5, - "y": 1401.699951171875 + "y": 1397.5 }, { "x": 479.5, @@ -1698,11 +1698,11 @@ }, { "x": 197, - "y": 1659.5999755859375 + "y": 1651.9000244140625 }, { "x": 197, - "y": 1734 + "y": 1695.5 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/dagre-disconnect/dagre/sketch.exp.svg b/e2etests/testdata/regression/dagre-disconnect/dagre/sketch.exp.svg index 4bb381897..e4ff7867f 100644 --- a/e2etests/testdata/regression/dagre-disconnect/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre-disconnect/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -askuhykfnsomsczrgtigsjjcfi 1234 - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-870597429 .fill-N1{fill:#0A0F25;} + .d2-870597429 .fill-N2{fill:#676C7E;} + .d2-870597429 .fill-N3{fill:#9499AB;} + .d2-870597429 .fill-N4{fill:#CFD2DD;} + .d2-870597429 .fill-N5{fill:#DEE1EB;} + .d2-870597429 .fill-N6{fill:#EEF1F8;} + .d2-870597429 .fill-N7{fill:#FFFFFF;} + .d2-870597429 .fill-B1{fill:#0D32B2;} + .d2-870597429 .fill-B2{fill:#0D32B2;} + .d2-870597429 .fill-B3{fill:#E3E9FD;} + .d2-870597429 .fill-B4{fill:#E3E9FD;} + .d2-870597429 .fill-B5{fill:#EDF0FD;} + .d2-870597429 .fill-B6{fill:#F7F8FE;} + .d2-870597429 .fill-AA2{fill:#4A6FF3;} + .d2-870597429 .fill-AA4{fill:#EDF0FD;} + .d2-870597429 .fill-AA5{fill:#F7F8FE;} + .d2-870597429 .fill-AB4{fill:#EDF0FD;} + .d2-870597429 .fill-AB5{fill:#F7F8FE;} + .d2-870597429 .stroke-N1{stroke:#0A0F25;} + .d2-870597429 .stroke-N2{stroke:#676C7E;} + .d2-870597429 .stroke-N3{stroke:#9499AB;} + .d2-870597429 .stroke-N4{stroke:#CFD2DD;} + .d2-870597429 .stroke-N5{stroke:#DEE1EB;} + .d2-870597429 .stroke-N6{stroke:#EEF1F8;} + .d2-870597429 .stroke-N7{stroke:#FFFFFF;} + .d2-870597429 .stroke-B1{stroke:#0D32B2;} + .d2-870597429 .stroke-B2{stroke:#0D32B2;} + .d2-870597429 .stroke-B3{stroke:#E3E9FD;} + .d2-870597429 .stroke-B4{stroke:#E3E9FD;} + .d2-870597429 .stroke-B5{stroke:#EDF0FD;} + .d2-870597429 .stroke-B6{stroke:#F7F8FE;} + .d2-870597429 .stroke-AA2{stroke:#4A6FF3;} + .d2-870597429 .stroke-AA4{stroke:#EDF0FD;} + .d2-870597429 .stroke-AA5{stroke:#F7F8FE;} + .d2-870597429 .stroke-AB4{stroke:#EDF0FD;} + .d2-870597429 .stroke-AB5{stroke:#F7F8FE;} + .d2-870597429 .background-color-N1{background-color:#0A0F25;} + .d2-870597429 .background-color-N2{background-color:#676C7E;} + .d2-870597429 .background-color-N3{background-color:#9499AB;} + .d2-870597429 .background-color-N4{background-color:#CFD2DD;} + .d2-870597429 .background-color-N5{background-color:#DEE1EB;} + .d2-870597429 .background-color-N6{background-color:#EEF1F8;} + .d2-870597429 .background-color-N7{background-color:#FFFFFF;} + .d2-870597429 .background-color-B1{background-color:#0D32B2;} + .d2-870597429 .background-color-B2{background-color:#0D32B2;} + .d2-870597429 .background-color-B3{background-color:#E3E9FD;} + .d2-870597429 .background-color-B4{background-color:#E3E9FD;} + .d2-870597429 .background-color-B5{background-color:#EDF0FD;} + .d2-870597429 .background-color-B6{background-color:#F7F8FE;} + .d2-870597429 .background-color-AA2{background-color:#4A6FF3;} + .d2-870597429 .background-color-AA4{background-color:#EDF0FD;} + .d2-870597429 .background-color-AA5{background-color:#F7F8FE;} + .d2-870597429 .background-color-AB4{background-color:#EDF0FD;} + .d2-870597429 .background-color-AB5{background-color:#F7F8FE;} + .d2-870597429 .color-N1{color:#0A0F25;} + .d2-870597429 .color-N2{color:#676C7E;} + .d2-870597429 .color-N3{color:#9499AB;} + .d2-870597429 .color-N4{color:#CFD2DD;} + .d2-870597429 .color-N5{color:#DEE1EB;} + .d2-870597429 .color-N6{color:#EEF1F8;} + .d2-870597429 .color-N7{color:#FFFFFF;} + .d2-870597429 .color-B1{color:#0D32B2;} + .d2-870597429 .color-B2{color:#0D32B2;} + .d2-870597429 .color-B3{color:#E3E9FD;} + .d2-870597429 .color-B4{color:#E3E9FD;} + .d2-870597429 .color-B5{color:#EDF0FD;} + .d2-870597429 .color-B6{color:#F7F8FE;} + .d2-870597429 .color-AA2{color:#4A6FF3;} + .d2-870597429 .color-AA4{color:#EDF0FD;} + .d2-870597429 .color-AA5{color:#F7F8FE;} + .d2-870597429 .color-AB4{color:#EDF0FD;} + .d2-870597429 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>askuhykfnsomsczrgtigsjjcfi 1234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/dagre-disconnect/elk/board.exp.json b/e2etests/testdata/regression/dagre-disconnect/elk/board.exp.json index 7c812c6fd..b5a1bf653 100644 --- a/e2etests/testdata/regression/dagre-disconnect/elk/board.exp.json +++ b/e2etests/testdata/regression/dagre-disconnect/elk/board.exp.json @@ -1163,7 +1163,7 @@ }, { "x": 413.75, - "y": 1453.5 + "y": 1454 } ], "animated": false, @@ -1365,7 +1365,7 @@ "route": [ { "x": 413.75, - "y": 1619.5 + "y": 1619 }, { "x": 413.75, diff --git a/e2etests/testdata/regression/dagre-disconnect/elk/sketch.exp.svg b/e2etests/testdata/regression/dagre-disconnect/elk/sketch.exp.svg index b57b2f821..ae9205e0b 100644 --- a/e2etests/testdata/regression/dagre-disconnect/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre-disconnect/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -askuhykfnsomsczrgtigsjjcfi 1234 + .d2-1904899960 .fill-N1{fill:#0A0F25;} + .d2-1904899960 .fill-N2{fill:#676C7E;} + .d2-1904899960 .fill-N3{fill:#9499AB;} + .d2-1904899960 .fill-N4{fill:#CFD2DD;} + .d2-1904899960 .fill-N5{fill:#DEE1EB;} + .d2-1904899960 .fill-N6{fill:#EEF1F8;} + .d2-1904899960 .fill-N7{fill:#FFFFFF;} + .d2-1904899960 .fill-B1{fill:#0D32B2;} + .d2-1904899960 .fill-B2{fill:#0D32B2;} + .d2-1904899960 .fill-B3{fill:#E3E9FD;} + .d2-1904899960 .fill-B4{fill:#E3E9FD;} + .d2-1904899960 .fill-B5{fill:#EDF0FD;} + .d2-1904899960 .fill-B6{fill:#F7F8FE;} + .d2-1904899960 .fill-AA2{fill:#4A6FF3;} + .d2-1904899960 .fill-AA4{fill:#EDF0FD;} + .d2-1904899960 .fill-AA5{fill:#F7F8FE;} + .d2-1904899960 .fill-AB4{fill:#EDF0FD;} + .d2-1904899960 .fill-AB5{fill:#F7F8FE;} + .d2-1904899960 .stroke-N1{stroke:#0A0F25;} + .d2-1904899960 .stroke-N2{stroke:#676C7E;} + .d2-1904899960 .stroke-N3{stroke:#9499AB;} + .d2-1904899960 .stroke-N4{stroke:#CFD2DD;} + .d2-1904899960 .stroke-N5{stroke:#DEE1EB;} + .d2-1904899960 .stroke-N6{stroke:#EEF1F8;} + .d2-1904899960 .stroke-N7{stroke:#FFFFFF;} + .d2-1904899960 .stroke-B1{stroke:#0D32B2;} + .d2-1904899960 .stroke-B2{stroke:#0D32B2;} + .d2-1904899960 .stroke-B3{stroke:#E3E9FD;} + .d2-1904899960 .stroke-B4{stroke:#E3E9FD;} + .d2-1904899960 .stroke-B5{stroke:#EDF0FD;} + .d2-1904899960 .stroke-B6{stroke:#F7F8FE;} + .d2-1904899960 .stroke-AA2{stroke:#4A6FF3;} + .d2-1904899960 .stroke-AA4{stroke:#EDF0FD;} + .d2-1904899960 .stroke-AA5{stroke:#F7F8FE;} + .d2-1904899960 .stroke-AB4{stroke:#EDF0FD;} + .d2-1904899960 .stroke-AB5{stroke:#F7F8FE;} + .d2-1904899960 .background-color-N1{background-color:#0A0F25;} + .d2-1904899960 .background-color-N2{background-color:#676C7E;} + .d2-1904899960 .background-color-N3{background-color:#9499AB;} + .d2-1904899960 .background-color-N4{background-color:#CFD2DD;} + .d2-1904899960 .background-color-N5{background-color:#DEE1EB;} + .d2-1904899960 .background-color-N6{background-color:#EEF1F8;} + .d2-1904899960 .background-color-N7{background-color:#FFFFFF;} + .d2-1904899960 .background-color-B1{background-color:#0D32B2;} + .d2-1904899960 .background-color-B2{background-color:#0D32B2;} + .d2-1904899960 .background-color-B3{background-color:#E3E9FD;} + .d2-1904899960 .background-color-B4{background-color:#E3E9FD;} + .d2-1904899960 .background-color-B5{background-color:#EDF0FD;} + .d2-1904899960 .background-color-B6{background-color:#F7F8FE;} + .d2-1904899960 .background-color-AA2{background-color:#4A6FF3;} + .d2-1904899960 .background-color-AA4{background-color:#EDF0FD;} + .d2-1904899960 .background-color-AA5{background-color:#F7F8FE;} + .d2-1904899960 .background-color-AB4{background-color:#EDF0FD;} + .d2-1904899960 .background-color-AB5{background-color:#F7F8FE;} + .d2-1904899960 .color-N1{color:#0A0F25;} + .d2-1904899960 .color-N2{color:#676C7E;} + .d2-1904899960 .color-N3{color:#9499AB;} + .d2-1904899960 .color-N4{color:#CFD2DD;} + .d2-1904899960 .color-N5{color:#DEE1EB;} + .d2-1904899960 .color-N6{color:#EEF1F8;} + .d2-1904899960 .color-N7{color:#FFFFFF;} + .d2-1904899960 .color-B1{color:#0D32B2;} + .d2-1904899960 .color-B2{color:#0D32B2;} + .d2-1904899960 .color-B3{color:#E3E9FD;} + .d2-1904899960 .color-B4{color:#E3E9FD;} + .d2-1904899960 .color-B5{color:#EDF0FD;} + .d2-1904899960 .color-B6{color:#F7F8FE;} + .d2-1904899960 .color-AA2{color:#4A6FF3;} + .d2-1904899960 .color-AA4{color:#EDF0FD;} + .d2-1904899960 .color-AA5{color:#F7F8FE;} + .d2-1904899960 .color-AB4{color:#EDF0FD;} + .d2-1904899960 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>askuhykfnsomsczrgtigsjjcfi 1234 diff --git a/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/board.exp.json b/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/board.exp.json index 933a2048f..4b5bdb62f 100644 --- a/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/board.exp.json +++ b/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "a", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 7, + "y": 25 }, - "width": 358, - "height": 487, + "width": 343, + "height": 454, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 75 + "y": 55 }, "width": 53, "height": 66, @@ -89,11 +89,11 @@ "id": "a.c", "type": "rectangle", "pos": { - "x": 23, - "y": 355 + "x": 37, + "y": 323 }, - "width": 299, - "height": 139, + "width": 283, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 153, - "y": 75 + "y": 55 }, "width": 52, "height": 66, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 265, - "y": 75 + "y": 55 }, "width": 53, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 152, - "y": 391 + "y": 353 }, "width": 54, "height": 66, @@ -277,19 +277,19 @@ "route": [ { "x": 66.5, - "y": 142 + "y": 121.5 }, { "x": 66.5, - "y": 212.39999389648438 + "y": 191.89999389648438 }, { "x": 66.69999694824219, - "y": 326.3999938964844 + "y": 303.5 }, { "x": 67.5, - "y": 356 + "y": 323.5 } ], "isCurve": true, @@ -324,19 +324,19 @@ "route": [ { "x": 179, - "y": 142 + "y": 121.5 }, { "x": 179, - "y": 212.39999389648438 + "y": 191.89999389648438 }, { "x": 179, - "y": 248 + "y": 225.10000610351562 }, { "x": 179, - "y": 320 + "y": 287.5 } ], "isCurve": true, @@ -371,19 +371,19 @@ "route": [ { "x": 291.5, - "y": 142 + "y": 121.5 }, { "x": 291.5, - "y": 212.39999389648438 + "y": 191.89999389648438 }, { "x": 291.29998779296875, - "y": 326.3999938964844 + "y": 303.5 }, { "x": 290.5, - "y": 356 + "y": 323.5 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/sketch.exp.svg b/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/sketch.exp.svg index dd3533724..7b728c060 100644 --- a/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre_broken_arrowhead/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -abc12d line 1line 2line 3line 4 - - - - - - - - + .d2-991260467 .fill-N1{fill:#0A0F25;} + .d2-991260467 .fill-N2{fill:#676C7E;} + .d2-991260467 .fill-N3{fill:#9499AB;} + .d2-991260467 .fill-N4{fill:#CFD2DD;} + .d2-991260467 .fill-N5{fill:#DEE1EB;} + .d2-991260467 .fill-N6{fill:#EEF1F8;} + .d2-991260467 .fill-N7{fill:#FFFFFF;} + .d2-991260467 .fill-B1{fill:#0D32B2;} + .d2-991260467 .fill-B2{fill:#0D32B2;} + .d2-991260467 .fill-B3{fill:#E3E9FD;} + .d2-991260467 .fill-B4{fill:#E3E9FD;} + .d2-991260467 .fill-B5{fill:#EDF0FD;} + .d2-991260467 .fill-B6{fill:#F7F8FE;} + .d2-991260467 .fill-AA2{fill:#4A6FF3;} + .d2-991260467 .fill-AA4{fill:#EDF0FD;} + .d2-991260467 .fill-AA5{fill:#F7F8FE;} + .d2-991260467 .fill-AB4{fill:#EDF0FD;} + .d2-991260467 .fill-AB5{fill:#F7F8FE;} + .d2-991260467 .stroke-N1{stroke:#0A0F25;} + .d2-991260467 .stroke-N2{stroke:#676C7E;} + .d2-991260467 .stroke-N3{stroke:#9499AB;} + .d2-991260467 .stroke-N4{stroke:#CFD2DD;} + .d2-991260467 .stroke-N5{stroke:#DEE1EB;} + .d2-991260467 .stroke-N6{stroke:#EEF1F8;} + .d2-991260467 .stroke-N7{stroke:#FFFFFF;} + .d2-991260467 .stroke-B1{stroke:#0D32B2;} + .d2-991260467 .stroke-B2{stroke:#0D32B2;} + .d2-991260467 .stroke-B3{stroke:#E3E9FD;} + .d2-991260467 .stroke-B4{stroke:#E3E9FD;} + .d2-991260467 .stroke-B5{stroke:#EDF0FD;} + .d2-991260467 .stroke-B6{stroke:#F7F8FE;} + .d2-991260467 .stroke-AA2{stroke:#4A6FF3;} + .d2-991260467 .stroke-AA4{stroke:#EDF0FD;} + .d2-991260467 .stroke-AA5{stroke:#F7F8FE;} + .d2-991260467 .stroke-AB4{stroke:#EDF0FD;} + .d2-991260467 .stroke-AB5{stroke:#F7F8FE;} + .d2-991260467 .background-color-N1{background-color:#0A0F25;} + .d2-991260467 .background-color-N2{background-color:#676C7E;} + .d2-991260467 .background-color-N3{background-color:#9499AB;} + .d2-991260467 .background-color-N4{background-color:#CFD2DD;} + .d2-991260467 .background-color-N5{background-color:#DEE1EB;} + .d2-991260467 .background-color-N6{background-color:#EEF1F8;} + .d2-991260467 .background-color-N7{background-color:#FFFFFF;} + .d2-991260467 .background-color-B1{background-color:#0D32B2;} + .d2-991260467 .background-color-B2{background-color:#0D32B2;} + .d2-991260467 .background-color-B3{background-color:#E3E9FD;} + .d2-991260467 .background-color-B4{background-color:#E3E9FD;} + .d2-991260467 .background-color-B5{background-color:#EDF0FD;} + .d2-991260467 .background-color-B6{background-color:#F7F8FE;} + .d2-991260467 .background-color-AA2{background-color:#4A6FF3;} + .d2-991260467 .background-color-AA4{background-color:#EDF0FD;} + .d2-991260467 .background-color-AA5{background-color:#F7F8FE;} + .d2-991260467 .background-color-AB4{background-color:#EDF0FD;} + .d2-991260467 .background-color-AB5{background-color:#F7F8FE;} + .d2-991260467 .color-N1{color:#0A0F25;} + .d2-991260467 .color-N2{color:#676C7E;} + .d2-991260467 .color-N3{color:#9499AB;} + .d2-991260467 .color-N4{color:#CFD2DD;} + .d2-991260467 .color-N5{color:#DEE1EB;} + .d2-991260467 .color-N6{color:#EEF1F8;} + .d2-991260467 .color-N7{color:#FFFFFF;} + .d2-991260467 .color-B1{color:#0D32B2;} + .d2-991260467 .color-B2{color:#0D32B2;} + .d2-991260467 .color-B3{color:#E3E9FD;} + .d2-991260467 .color-B4{color:#E3E9FD;} + .d2-991260467 .color-B5{color:#EDF0FD;} + .d2-991260467 .color-B6{color:#F7F8FE;} + .d2-991260467 .color-AA2{color:#4A6FF3;} + .d2-991260467 .color-AA4{color:#EDF0FD;} + .d2-991260467 .color-AA5{color:#F7F8FE;} + .d2-991260467 .color-AB4{color:#EDF0FD;} + .d2-991260467 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc12d line 1line 2line 3line 4 + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/dagre_broken_arrowhead/elk/sketch.exp.svg b/e2etests/testdata/regression/dagre_broken_arrowhead/elk/sketch.exp.svg index e6b63d66d..9dbde40b0 100644 --- a/e2etests/testdata/regression/dagre_broken_arrowhead/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre_broken_arrowhead/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -abc12d line 1line 2line 3line 4 + .d2-3319507261 .fill-N1{fill:#0A0F25;} + .d2-3319507261 .fill-N2{fill:#676C7E;} + .d2-3319507261 .fill-N3{fill:#9499AB;} + .d2-3319507261 .fill-N4{fill:#CFD2DD;} + .d2-3319507261 .fill-N5{fill:#DEE1EB;} + .d2-3319507261 .fill-N6{fill:#EEF1F8;} + .d2-3319507261 .fill-N7{fill:#FFFFFF;} + .d2-3319507261 .fill-B1{fill:#0D32B2;} + .d2-3319507261 .fill-B2{fill:#0D32B2;} + .d2-3319507261 .fill-B3{fill:#E3E9FD;} + .d2-3319507261 .fill-B4{fill:#E3E9FD;} + .d2-3319507261 .fill-B5{fill:#EDF0FD;} + .d2-3319507261 .fill-B6{fill:#F7F8FE;} + .d2-3319507261 .fill-AA2{fill:#4A6FF3;} + .d2-3319507261 .fill-AA4{fill:#EDF0FD;} + .d2-3319507261 .fill-AA5{fill:#F7F8FE;} + .d2-3319507261 .fill-AB4{fill:#EDF0FD;} + .d2-3319507261 .fill-AB5{fill:#F7F8FE;} + .d2-3319507261 .stroke-N1{stroke:#0A0F25;} + .d2-3319507261 .stroke-N2{stroke:#676C7E;} + .d2-3319507261 .stroke-N3{stroke:#9499AB;} + .d2-3319507261 .stroke-N4{stroke:#CFD2DD;} + .d2-3319507261 .stroke-N5{stroke:#DEE1EB;} + .d2-3319507261 .stroke-N6{stroke:#EEF1F8;} + .d2-3319507261 .stroke-N7{stroke:#FFFFFF;} + .d2-3319507261 .stroke-B1{stroke:#0D32B2;} + .d2-3319507261 .stroke-B2{stroke:#0D32B2;} + .d2-3319507261 .stroke-B3{stroke:#E3E9FD;} + .d2-3319507261 .stroke-B4{stroke:#E3E9FD;} + .d2-3319507261 .stroke-B5{stroke:#EDF0FD;} + .d2-3319507261 .stroke-B6{stroke:#F7F8FE;} + .d2-3319507261 .stroke-AA2{stroke:#4A6FF3;} + .d2-3319507261 .stroke-AA4{stroke:#EDF0FD;} + .d2-3319507261 .stroke-AA5{stroke:#F7F8FE;} + .d2-3319507261 .stroke-AB4{stroke:#EDF0FD;} + .d2-3319507261 .stroke-AB5{stroke:#F7F8FE;} + .d2-3319507261 .background-color-N1{background-color:#0A0F25;} + .d2-3319507261 .background-color-N2{background-color:#676C7E;} + .d2-3319507261 .background-color-N3{background-color:#9499AB;} + .d2-3319507261 .background-color-N4{background-color:#CFD2DD;} + .d2-3319507261 .background-color-N5{background-color:#DEE1EB;} + .d2-3319507261 .background-color-N6{background-color:#EEF1F8;} + .d2-3319507261 .background-color-N7{background-color:#FFFFFF;} + .d2-3319507261 .background-color-B1{background-color:#0D32B2;} + .d2-3319507261 .background-color-B2{background-color:#0D32B2;} + .d2-3319507261 .background-color-B3{background-color:#E3E9FD;} + .d2-3319507261 .background-color-B4{background-color:#E3E9FD;} + .d2-3319507261 .background-color-B5{background-color:#EDF0FD;} + .d2-3319507261 .background-color-B6{background-color:#F7F8FE;} + .d2-3319507261 .background-color-AA2{background-color:#4A6FF3;} + .d2-3319507261 .background-color-AA4{background-color:#EDF0FD;} + .d2-3319507261 .background-color-AA5{background-color:#F7F8FE;} + .d2-3319507261 .background-color-AB4{background-color:#EDF0FD;} + .d2-3319507261 .background-color-AB5{background-color:#F7F8FE;} + .d2-3319507261 .color-N1{color:#0A0F25;} + .d2-3319507261 .color-N2{color:#676C7E;} + .d2-3319507261 .color-N3{color:#9499AB;} + .d2-3319507261 .color-N4{color:#CFD2DD;} + .d2-3319507261 .color-N5{color:#DEE1EB;} + .d2-3319507261 .color-N6{color:#EEF1F8;} + .d2-3319507261 .color-N7{color:#FFFFFF;} + .d2-3319507261 .color-B1{color:#0D32B2;} + .d2-3319507261 .color-B2{color:#0D32B2;} + .d2-3319507261 .color-B3{color:#E3E9FD;} + .d2-3319507261 .color-B4{color:#E3E9FD;} + .d2-3319507261 .color-B5{color:#EDF0FD;} + .d2-3319507261 .color-B6{color:#F7F8FE;} + .d2-3319507261 .color-AA2{color:#4A6FF3;} + .d2-3319507261 .color-AA4{color:#EDF0FD;} + .d2-3319507261 .color-AA5{color:#F7F8FE;} + .d2-3319507261 .color-AB4{color:#EDF0FD;} + .d2-3319507261 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc12d line 1line 2line 3line 4 diff --git a/e2etests/testdata/regression/dagre_disconnected_edge/dagre/board.exp.json b/e2etests/testdata/regression/dagre_disconnected_edge/dagre/board.exp.json new file mode 100644 index 000000000..f74f94ee7 --- /dev/null +++ b/e2etests/testdata/regression/dagre_disconnected_edge/dagre/board.exp.json @@ -0,0 +1,202 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "x", + "type": "rectangle", + "pos": { + "x": 74, + "y": 0 + }, + "width": 131, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/005-programmer.svg", + "RawPath": "/essentials%2F005-programmer.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_RIGHT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "program", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 60, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 81, + "y": 192 + }, + "width": 118, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/profits.svg", + "RawPath": "/essentials%2Fprofits.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_MIDDLE", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "profits", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 47, + "labelHeight": 21, + "labelPosition": "INSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(x -> y)[0]", + "src": "x", + "srcArrow": "none", + "dst": "y", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 139.5, + "y": 92 + }, + { + "x": 139.5, + "y": 132 + }, + { + "x": 139.5, + "y": 152 + }, + { + "x": 139.5, + "y": 192 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/regression/dagre_disconnected_edge/dagre/sketch.exp.svg b/e2etests/testdata/regression/dagre_disconnected_edge/dagre/sketch.exp.svg new file mode 100644 index 000000000..1e3dad003 --- /dev/null +++ b/e2etests/testdata/regression/dagre_disconnected_edge/dagre/sketch.exp.svg @@ -0,0 +1,96 @@ +programprofits + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/dagre_disconnected_edge/elk/board.exp.json b/e2etests/testdata/regression/dagre_disconnected_edge/elk/board.exp.json new file mode 100644 index 000000000..4630de718 --- /dev/null +++ b/e2etests/testdata/regression/dagre_disconnected_edge/elk/board.exp.json @@ -0,0 +1,193 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "x", + "type": "rectangle", + "pos": { + "x": 40, + "y": 12 + }, + "width": 131, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/005-programmer.svg", + "RawPath": "/essentials%2F005-programmer.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_RIGHT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "program", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 60, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 81, + "y": 200 + }, + "width": 118, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/profits.svg", + "RawPath": "/essentials%2Fprofits.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_MIDDLE", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "profits", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 47, + "labelHeight": 21, + "labelPosition": "INSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(x -> y)[0]", + "src": "x", + "srcArrow": "none", + "dst": "y", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 105.5, + "y": 130 + }, + { + "x": 105.5, + "y": 200 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/regression/dagre_disconnected_edge/elk/sketch.exp.svg b/e2etests/testdata/regression/dagre_disconnected_edge/elk/sketch.exp.svg new file mode 100644 index 000000000..02c46b745 --- /dev/null +++ b/e2etests/testdata/regression/dagre_disconnected_edge/elk/sketch.exp.svg @@ -0,0 +1,96 @@ +programprofits + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/board.exp.json b/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/board.exp.json index cf8775f3e..31bf03db6 100644 --- a/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/board.exp.json +++ b/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "build_workflow", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 75, + "y": 56 }, - "width": 2328, - "height": 117, + "width": 2179, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 105, - "y": 61 + "y": 86 }, "width": 270, "height": 77, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 638, - "y": 61 + "y": 86 }, "width": 209, "height": 77, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 1194, - "y": 61 + "y": 86 }, "width": 71, "height": 77, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 1593, - "y": 61 + "y": 86 }, "width": 158, "height": 77, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 2129, - "y": 61 + "y": 86 }, "width": 95, "height": 77, @@ -277,19 +277,19 @@ "route": [ { "x": 375.5, - "y": 99.5 + "y": 124.5 }, { "x": 479.8999938964844, - "y": 99.5 + "y": 124.5 }, { "x": 532.2999877929688, - "y": 99.5 + "y": 124.5 }, { "x": 637.5, - "y": 99.5 + "y": 124.5 } ], "isCurve": true, @@ -323,20 +323,20 @@ "labelPercentage": 0, "route": [ { - "x": 846.5, - "y": 99.5 + "x": 847, + "y": 124.5 }, { - "x": 985.2999877929688, - "y": 99.5 + "x": 985.4000244140625, + "y": 124.5 }, { "x": 1054.699951171875, - "y": 99.5 + "y": 124.5 }, { "x": 1193.5, - "y": 99.5 + "y": 124.5 } ], "isCurve": true, @@ -371,19 +371,19 @@ "route": [ { "x": 1265.5, - "y": 99.5 + "y": 124.5 }, { "x": 1395.9000244140625, - "y": 99.5 + "y": 124.5 }, { "x": 1461.300048828125, - "y": 99.5 + "y": 124.5 }, { "x": 1592.5, - "y": 99.5 + "y": 124.5 } ], "isCurve": true, @@ -418,19 +418,19 @@ "route": [ { "x": 1751.5, - "y": 99.5 + "y": 124.5 }, { "x": 1901.9000244140625, - "y": 99.5 + "y": 124.5 }, { "x": 1977.300048828125, - "y": 99.5 + "y": 124.5 }, { "x": 2128.5, - "y": 99.5 + "y": 124.5 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/sketch.exp.svg b/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/sketch.exp.svg index 702eadc48..92317dd50 100644 --- a/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -lambda-build.yamlPush to main branchGitHub ActionsS3TerraformAWS TriggersBuilds zip & pushes it Pulls zip to deployChanges the live lambdas - - - - - - - - - - - + .d2-586779041 .fill-N1{fill:#0A0F25;} + .d2-586779041 .fill-N2{fill:#676C7E;} + .d2-586779041 .fill-N3{fill:#9499AB;} + .d2-586779041 .fill-N4{fill:#CFD2DD;} + .d2-586779041 .fill-N5{fill:#DEE1EB;} + .d2-586779041 .fill-N6{fill:#EEF1F8;} + .d2-586779041 .fill-N7{fill:#FFFFFF;} + .d2-586779041 .fill-B1{fill:#0D32B2;} + .d2-586779041 .fill-B2{fill:#0D32B2;} + .d2-586779041 .fill-B3{fill:#E3E9FD;} + .d2-586779041 .fill-B4{fill:#E3E9FD;} + .d2-586779041 .fill-B5{fill:#EDF0FD;} + .d2-586779041 .fill-B6{fill:#F7F8FE;} + .d2-586779041 .fill-AA2{fill:#4A6FF3;} + .d2-586779041 .fill-AA4{fill:#EDF0FD;} + .d2-586779041 .fill-AA5{fill:#F7F8FE;} + .d2-586779041 .fill-AB4{fill:#EDF0FD;} + .d2-586779041 .fill-AB5{fill:#F7F8FE;} + .d2-586779041 .stroke-N1{stroke:#0A0F25;} + .d2-586779041 .stroke-N2{stroke:#676C7E;} + .d2-586779041 .stroke-N3{stroke:#9499AB;} + .d2-586779041 .stroke-N4{stroke:#CFD2DD;} + .d2-586779041 .stroke-N5{stroke:#DEE1EB;} + .d2-586779041 .stroke-N6{stroke:#EEF1F8;} + .d2-586779041 .stroke-N7{stroke:#FFFFFF;} + .d2-586779041 .stroke-B1{stroke:#0D32B2;} + .d2-586779041 .stroke-B2{stroke:#0D32B2;} + .d2-586779041 .stroke-B3{stroke:#E3E9FD;} + .d2-586779041 .stroke-B4{stroke:#E3E9FD;} + .d2-586779041 .stroke-B5{stroke:#EDF0FD;} + .d2-586779041 .stroke-B6{stroke:#F7F8FE;} + .d2-586779041 .stroke-AA2{stroke:#4A6FF3;} + .d2-586779041 .stroke-AA4{stroke:#EDF0FD;} + .d2-586779041 .stroke-AA5{stroke:#F7F8FE;} + .d2-586779041 .stroke-AB4{stroke:#EDF0FD;} + .d2-586779041 .stroke-AB5{stroke:#F7F8FE;} + .d2-586779041 .background-color-N1{background-color:#0A0F25;} + .d2-586779041 .background-color-N2{background-color:#676C7E;} + .d2-586779041 .background-color-N3{background-color:#9499AB;} + .d2-586779041 .background-color-N4{background-color:#CFD2DD;} + .d2-586779041 .background-color-N5{background-color:#DEE1EB;} + .d2-586779041 .background-color-N6{background-color:#EEF1F8;} + .d2-586779041 .background-color-N7{background-color:#FFFFFF;} + .d2-586779041 .background-color-B1{background-color:#0D32B2;} + .d2-586779041 .background-color-B2{background-color:#0D32B2;} + .d2-586779041 .background-color-B3{background-color:#E3E9FD;} + .d2-586779041 .background-color-B4{background-color:#E3E9FD;} + .d2-586779041 .background-color-B5{background-color:#EDF0FD;} + .d2-586779041 .background-color-B6{background-color:#F7F8FE;} + .d2-586779041 .background-color-AA2{background-color:#4A6FF3;} + .d2-586779041 .background-color-AA4{background-color:#EDF0FD;} + .d2-586779041 .background-color-AA5{background-color:#F7F8FE;} + .d2-586779041 .background-color-AB4{background-color:#EDF0FD;} + .d2-586779041 .background-color-AB5{background-color:#F7F8FE;} + .d2-586779041 .color-N1{color:#0A0F25;} + .d2-586779041 .color-N2{color:#676C7E;} + .d2-586779041 .color-N3{color:#9499AB;} + .d2-586779041 .color-N4{color:#CFD2DD;} + .d2-586779041 .color-N5{color:#DEE1EB;} + .d2-586779041 .color-N6{color:#EEF1F8;} + .d2-586779041 .color-N7{color:#FFFFFF;} + .d2-586779041 .color-B1{color:#0D32B2;} + .d2-586779041 .color-B2{color:#0D32B2;} + .d2-586779041 .color-B3{color:#E3E9FD;} + .d2-586779041 .color-B4{color:#E3E9FD;} + .d2-586779041 .color-B5{color:#EDF0FD;} + .d2-586779041 .color-B6{color:#F7F8FE;} + .d2-586779041 .color-AA2{color:#4A6FF3;} + .d2-586779041 .color-AA4{color:#EDF0FD;} + .d2-586779041 .color-AA5{color:#F7F8FE;} + .d2-586779041 .color-AB4{color:#EDF0FD;} + .d2-586779041 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>lambda-build.yamlPush to main branchGitHub ActionsS3TerraformAWS TriggersBuilds zip & pushes it Pulls zip to deployChanges the live lambdas + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/dagre_edge_label_spacing/elk/sketch.exp.svg b/e2etests/testdata/regression/dagre_edge_label_spacing/elk/sketch.exp.svg index e57e12963..62daa3520 100644 --- a/e2etests/testdata/regression/dagre_edge_label_spacing/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre_edge_label_spacing/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -lambda-build.yamlPush to main branchGitHub ActionsS3TerraformAWS TriggersBuilds zip & pushes it Pulls zip to deployChanges the live lambdas + .d2-2111939939 .fill-N1{fill:#0A0F25;} + .d2-2111939939 .fill-N2{fill:#676C7E;} + .d2-2111939939 .fill-N3{fill:#9499AB;} + .d2-2111939939 .fill-N4{fill:#CFD2DD;} + .d2-2111939939 .fill-N5{fill:#DEE1EB;} + .d2-2111939939 .fill-N6{fill:#EEF1F8;} + .d2-2111939939 .fill-N7{fill:#FFFFFF;} + .d2-2111939939 .fill-B1{fill:#0D32B2;} + .d2-2111939939 .fill-B2{fill:#0D32B2;} + .d2-2111939939 .fill-B3{fill:#E3E9FD;} + .d2-2111939939 .fill-B4{fill:#E3E9FD;} + .d2-2111939939 .fill-B5{fill:#EDF0FD;} + .d2-2111939939 .fill-B6{fill:#F7F8FE;} + .d2-2111939939 .fill-AA2{fill:#4A6FF3;} + .d2-2111939939 .fill-AA4{fill:#EDF0FD;} + .d2-2111939939 .fill-AA5{fill:#F7F8FE;} + .d2-2111939939 .fill-AB4{fill:#EDF0FD;} + .d2-2111939939 .fill-AB5{fill:#F7F8FE;} + .d2-2111939939 .stroke-N1{stroke:#0A0F25;} + .d2-2111939939 .stroke-N2{stroke:#676C7E;} + .d2-2111939939 .stroke-N3{stroke:#9499AB;} + .d2-2111939939 .stroke-N4{stroke:#CFD2DD;} + .d2-2111939939 .stroke-N5{stroke:#DEE1EB;} + .d2-2111939939 .stroke-N6{stroke:#EEF1F8;} + .d2-2111939939 .stroke-N7{stroke:#FFFFFF;} + .d2-2111939939 .stroke-B1{stroke:#0D32B2;} + .d2-2111939939 .stroke-B2{stroke:#0D32B2;} + .d2-2111939939 .stroke-B3{stroke:#E3E9FD;} + .d2-2111939939 .stroke-B4{stroke:#E3E9FD;} + .d2-2111939939 .stroke-B5{stroke:#EDF0FD;} + .d2-2111939939 .stroke-B6{stroke:#F7F8FE;} + .d2-2111939939 .stroke-AA2{stroke:#4A6FF3;} + .d2-2111939939 .stroke-AA4{stroke:#EDF0FD;} + .d2-2111939939 .stroke-AA5{stroke:#F7F8FE;} + .d2-2111939939 .stroke-AB4{stroke:#EDF0FD;} + .d2-2111939939 .stroke-AB5{stroke:#F7F8FE;} + .d2-2111939939 .background-color-N1{background-color:#0A0F25;} + .d2-2111939939 .background-color-N2{background-color:#676C7E;} + .d2-2111939939 .background-color-N3{background-color:#9499AB;} + .d2-2111939939 .background-color-N4{background-color:#CFD2DD;} + .d2-2111939939 .background-color-N5{background-color:#DEE1EB;} + .d2-2111939939 .background-color-N6{background-color:#EEF1F8;} + .d2-2111939939 .background-color-N7{background-color:#FFFFFF;} + .d2-2111939939 .background-color-B1{background-color:#0D32B2;} + .d2-2111939939 .background-color-B2{background-color:#0D32B2;} + .d2-2111939939 .background-color-B3{background-color:#E3E9FD;} + .d2-2111939939 .background-color-B4{background-color:#E3E9FD;} + .d2-2111939939 .background-color-B5{background-color:#EDF0FD;} + .d2-2111939939 .background-color-B6{background-color:#F7F8FE;} + .d2-2111939939 .background-color-AA2{background-color:#4A6FF3;} + .d2-2111939939 .background-color-AA4{background-color:#EDF0FD;} + .d2-2111939939 .background-color-AA5{background-color:#F7F8FE;} + .d2-2111939939 .background-color-AB4{background-color:#EDF0FD;} + .d2-2111939939 .background-color-AB5{background-color:#F7F8FE;} + .d2-2111939939 .color-N1{color:#0A0F25;} + .d2-2111939939 .color-N2{color:#676C7E;} + .d2-2111939939 .color-N3{color:#9499AB;} + .d2-2111939939 .color-N4{color:#CFD2DD;} + .d2-2111939939 .color-N5{color:#DEE1EB;} + .d2-2111939939 .color-N6{color:#EEF1F8;} + .d2-2111939939 .color-N7{color:#FFFFFF;} + .d2-2111939939 .color-B1{color:#0D32B2;} + .d2-2111939939 .color-B2{color:#0D32B2;} + .d2-2111939939 .color-B3{color:#E3E9FD;} + .d2-2111939939 .color-B4{color:#E3E9FD;} + .d2-2111939939 .color-B5{color:#EDF0FD;} + .d2-2111939939 .color-B6{color:#F7F8FE;} + .d2-2111939939 .color-AA2{color:#4A6FF3;} + .d2-2111939939 .color-AA4{color:#EDF0FD;} + .d2-2111939939 .color-AA5{color:#F7F8FE;} + .d2-2111939939 .color-AB4{color:#EDF0FD;} + .d2-2111939939 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>lambda-build.yamlPush to main branchGitHub ActionsS3TerraformAWS TriggersBuilds zip & pushes it Pulls zip to deployChanges the live lambdas diff --git a/e2etests/testdata/regression/dagre_special_ids/dagre/sketch.exp.svg b/e2etests/testdata/regression/dagre_special_ids/dagre/sketch.exp.svg index aefc7f638..bc9f05cba 100644 --- a/e2etests/testdata/regression/dagre_special_ids/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre_special_ids/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ninetynineeighty eightseventy sevena\yodetherea\"odea\node + .d2-1607318345 .fill-N1{fill:#0A0F25;} + .d2-1607318345 .fill-N2{fill:#676C7E;} + .d2-1607318345 .fill-N3{fill:#9499AB;} + .d2-1607318345 .fill-N4{fill:#CFD2DD;} + .d2-1607318345 .fill-N5{fill:#DEE1EB;} + .d2-1607318345 .fill-N6{fill:#EEF1F8;} + .d2-1607318345 .fill-N7{fill:#FFFFFF;} + .d2-1607318345 .fill-B1{fill:#0D32B2;} + .d2-1607318345 .fill-B2{fill:#0D32B2;} + .d2-1607318345 .fill-B3{fill:#E3E9FD;} + .d2-1607318345 .fill-B4{fill:#E3E9FD;} + .d2-1607318345 .fill-B5{fill:#EDF0FD;} + .d2-1607318345 .fill-B6{fill:#F7F8FE;} + .d2-1607318345 .fill-AA2{fill:#4A6FF3;} + .d2-1607318345 .fill-AA4{fill:#EDF0FD;} + .d2-1607318345 .fill-AA5{fill:#F7F8FE;} + .d2-1607318345 .fill-AB4{fill:#EDF0FD;} + .d2-1607318345 .fill-AB5{fill:#F7F8FE;} + .d2-1607318345 .stroke-N1{stroke:#0A0F25;} + .d2-1607318345 .stroke-N2{stroke:#676C7E;} + .d2-1607318345 .stroke-N3{stroke:#9499AB;} + .d2-1607318345 .stroke-N4{stroke:#CFD2DD;} + .d2-1607318345 .stroke-N5{stroke:#DEE1EB;} + .d2-1607318345 .stroke-N6{stroke:#EEF1F8;} + .d2-1607318345 .stroke-N7{stroke:#FFFFFF;} + .d2-1607318345 .stroke-B1{stroke:#0D32B2;} + .d2-1607318345 .stroke-B2{stroke:#0D32B2;} + .d2-1607318345 .stroke-B3{stroke:#E3E9FD;} + .d2-1607318345 .stroke-B4{stroke:#E3E9FD;} + .d2-1607318345 .stroke-B5{stroke:#EDF0FD;} + .d2-1607318345 .stroke-B6{stroke:#F7F8FE;} + .d2-1607318345 .stroke-AA2{stroke:#4A6FF3;} + .d2-1607318345 .stroke-AA4{stroke:#EDF0FD;} + .d2-1607318345 .stroke-AA5{stroke:#F7F8FE;} + .d2-1607318345 .stroke-AB4{stroke:#EDF0FD;} + .d2-1607318345 .stroke-AB5{stroke:#F7F8FE;} + .d2-1607318345 .background-color-N1{background-color:#0A0F25;} + .d2-1607318345 .background-color-N2{background-color:#676C7E;} + .d2-1607318345 .background-color-N3{background-color:#9499AB;} + .d2-1607318345 .background-color-N4{background-color:#CFD2DD;} + .d2-1607318345 .background-color-N5{background-color:#DEE1EB;} + .d2-1607318345 .background-color-N6{background-color:#EEF1F8;} + .d2-1607318345 .background-color-N7{background-color:#FFFFFF;} + .d2-1607318345 .background-color-B1{background-color:#0D32B2;} + .d2-1607318345 .background-color-B2{background-color:#0D32B2;} + .d2-1607318345 .background-color-B3{background-color:#E3E9FD;} + .d2-1607318345 .background-color-B4{background-color:#E3E9FD;} + .d2-1607318345 .background-color-B5{background-color:#EDF0FD;} + .d2-1607318345 .background-color-B6{background-color:#F7F8FE;} + .d2-1607318345 .background-color-AA2{background-color:#4A6FF3;} + .d2-1607318345 .background-color-AA4{background-color:#EDF0FD;} + .d2-1607318345 .background-color-AA5{background-color:#F7F8FE;} + .d2-1607318345 .background-color-AB4{background-color:#EDF0FD;} + .d2-1607318345 .background-color-AB5{background-color:#F7F8FE;} + .d2-1607318345 .color-N1{color:#0A0F25;} + .d2-1607318345 .color-N2{color:#676C7E;} + .d2-1607318345 .color-N3{color:#9499AB;} + .d2-1607318345 .color-N4{color:#CFD2DD;} + .d2-1607318345 .color-N5{color:#DEE1EB;} + .d2-1607318345 .color-N6{color:#EEF1F8;} + .d2-1607318345 .color-N7{color:#FFFFFF;} + .d2-1607318345 .color-B1{color:#0D32B2;} + .d2-1607318345 .color-B2{color:#0D32B2;} + .d2-1607318345 .color-B3{color:#E3E9FD;} + .d2-1607318345 .color-B4{color:#E3E9FD;} + .d2-1607318345 .color-B5{color:#EDF0FD;} + .d2-1607318345 .color-B6{color:#F7F8FE;} + .d2-1607318345 .color-AA2{color:#4A6FF3;} + .d2-1607318345 .color-AA4{color:#EDF0FD;} + .d2-1607318345 .color-AA5{color:#F7F8FE;} + .d2-1607318345 .color-AB4{color:#EDF0FD;} + .d2-1607318345 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ninetynineeighty eightseventy sevena\yodetherea\"odea\node diff --git a/e2etests/testdata/regression/dagre_special_ids/elk/sketch.exp.svg b/e2etests/testdata/regression/dagre_special_ids/elk/sketch.exp.svg index a9821796d..43a2b5306 100644 --- a/e2etests/testdata/regression/dagre_special_ids/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/dagre_special_ids/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ninetynineeighty eightseventy sevena\yodetherea\"odea\node + .d2-679618464 .fill-N1{fill:#0A0F25;} + .d2-679618464 .fill-N2{fill:#676C7E;} + .d2-679618464 .fill-N3{fill:#9499AB;} + .d2-679618464 .fill-N4{fill:#CFD2DD;} + .d2-679618464 .fill-N5{fill:#DEE1EB;} + .d2-679618464 .fill-N6{fill:#EEF1F8;} + .d2-679618464 .fill-N7{fill:#FFFFFF;} + .d2-679618464 .fill-B1{fill:#0D32B2;} + .d2-679618464 .fill-B2{fill:#0D32B2;} + .d2-679618464 .fill-B3{fill:#E3E9FD;} + .d2-679618464 .fill-B4{fill:#E3E9FD;} + .d2-679618464 .fill-B5{fill:#EDF0FD;} + .d2-679618464 .fill-B6{fill:#F7F8FE;} + .d2-679618464 .fill-AA2{fill:#4A6FF3;} + .d2-679618464 .fill-AA4{fill:#EDF0FD;} + .d2-679618464 .fill-AA5{fill:#F7F8FE;} + .d2-679618464 .fill-AB4{fill:#EDF0FD;} + .d2-679618464 .fill-AB5{fill:#F7F8FE;} + .d2-679618464 .stroke-N1{stroke:#0A0F25;} + .d2-679618464 .stroke-N2{stroke:#676C7E;} + .d2-679618464 .stroke-N3{stroke:#9499AB;} + .d2-679618464 .stroke-N4{stroke:#CFD2DD;} + .d2-679618464 .stroke-N5{stroke:#DEE1EB;} + .d2-679618464 .stroke-N6{stroke:#EEF1F8;} + .d2-679618464 .stroke-N7{stroke:#FFFFFF;} + .d2-679618464 .stroke-B1{stroke:#0D32B2;} + .d2-679618464 .stroke-B2{stroke:#0D32B2;} + .d2-679618464 .stroke-B3{stroke:#E3E9FD;} + .d2-679618464 .stroke-B4{stroke:#E3E9FD;} + .d2-679618464 .stroke-B5{stroke:#EDF0FD;} + .d2-679618464 .stroke-B6{stroke:#F7F8FE;} + .d2-679618464 .stroke-AA2{stroke:#4A6FF3;} + .d2-679618464 .stroke-AA4{stroke:#EDF0FD;} + .d2-679618464 .stroke-AA5{stroke:#F7F8FE;} + .d2-679618464 .stroke-AB4{stroke:#EDF0FD;} + .d2-679618464 .stroke-AB5{stroke:#F7F8FE;} + .d2-679618464 .background-color-N1{background-color:#0A0F25;} + .d2-679618464 .background-color-N2{background-color:#676C7E;} + .d2-679618464 .background-color-N3{background-color:#9499AB;} + .d2-679618464 .background-color-N4{background-color:#CFD2DD;} + .d2-679618464 .background-color-N5{background-color:#DEE1EB;} + .d2-679618464 .background-color-N6{background-color:#EEF1F8;} + .d2-679618464 .background-color-N7{background-color:#FFFFFF;} + .d2-679618464 .background-color-B1{background-color:#0D32B2;} + .d2-679618464 .background-color-B2{background-color:#0D32B2;} + .d2-679618464 .background-color-B3{background-color:#E3E9FD;} + .d2-679618464 .background-color-B4{background-color:#E3E9FD;} + .d2-679618464 .background-color-B5{background-color:#EDF0FD;} + .d2-679618464 .background-color-B6{background-color:#F7F8FE;} + .d2-679618464 .background-color-AA2{background-color:#4A6FF3;} + .d2-679618464 .background-color-AA4{background-color:#EDF0FD;} + .d2-679618464 .background-color-AA5{background-color:#F7F8FE;} + .d2-679618464 .background-color-AB4{background-color:#EDF0FD;} + .d2-679618464 .background-color-AB5{background-color:#F7F8FE;} + .d2-679618464 .color-N1{color:#0A0F25;} + .d2-679618464 .color-N2{color:#676C7E;} + .d2-679618464 .color-N3{color:#9499AB;} + .d2-679618464 .color-N4{color:#CFD2DD;} + .d2-679618464 .color-N5{color:#DEE1EB;} + .d2-679618464 .color-N6{color:#EEF1F8;} + .d2-679618464 .color-N7{color:#FFFFFF;} + .d2-679618464 .color-B1{color:#0D32B2;} + .d2-679618464 .color-B2{color:#0D32B2;} + .d2-679618464 .color-B3{color:#E3E9FD;} + .d2-679618464 .color-B4{color:#E3E9FD;} + .d2-679618464 .color-B5{color:#EDF0FD;} + .d2-679618464 .color-B6{color:#F7F8FE;} + .d2-679618464 .color-AA2{color:#4A6FF3;} + .d2-679618464 .color-AA4{color:#EDF0FD;} + .d2-679618464 .color-AA5{color:#F7F8FE;} + .d2-679618464 .color-AB4{color:#EDF0FD;} + .d2-679618464 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ninetynineeighty eightseventy sevena\yodetherea\"odea\node diff --git a/e2etests/testdata/regression/elk_alignment/dagre/board.exp.json b/e2etests/testdata/regression/elk_alignment/dagre/board.exp.json index 04ce3f321..0bd9461d5 100644 --- a/e2etests/testdata/regression/elk_alignment/dagre/board.exp.json +++ b/e2etests/testdata/regression/elk_alignment/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "build_workflow", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 43 }, - "width": 350, - "height": 1331, + "width": 330, + "height": 1286, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 93 + "y": 73 }, "width": 270, "height": 77, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 71, - "y": 342 + "y": 322 }, "width": 209, "height": 77, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 140, - "y": 671 + "y": 651 }, "width": 71, "height": 77, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 96, - "y": 993 + "y": 973 }, "width": 158, "height": 77, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 128, - "y": 1242 + "y": 1222 }, "width": 95, "height": 77, @@ -253,11 +253,11 @@ "id": "deploy_workflow", "type": "rectangle", "pos": { - "x": 370, - "y": 41 + "x": 380, + "y": 43 }, - "width": 291, - "height": 760, + "width": 271, + "height": 715, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 410, - "y": 93 + "y": 73 }, "width": 211, "height": 77, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 411, - "y": 342 + "y": 322 }, "width": 209, "height": 77, @@ -377,7 +377,7 @@ "type": "rectangle", "pos": { "x": 468, - "y": 671 + "y": 651 }, "width": 95, "height": 77, @@ -418,10 +418,10 @@ "type": "rectangle", "pos": { "x": 681, - "y": 41 + "y": 43 }, "width": 573, - "height": 760, + "height": 715, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -459,7 +459,7 @@ "type": "rectangle", "pos": { "x": 879, - "y": 93 + "y": 73 }, "width": 178, "height": 77, @@ -500,7 +500,7 @@ "type": "rectangle", "pos": { "x": 863, - "y": 342 + "y": 322 }, "width": 209, "height": 77, @@ -541,7 +541,7 @@ "type": "rectangle", "pos": { "x": 920, - "y": 671 + "y": 651 }, "width": 95, "height": 77, @@ -605,19 +605,19 @@ "route": [ { "x": 175, - "y": 170.5 + "y": 150 }, { "x": 175, - "y": 239.3000030517578 + "y": 218.8000030517578 }, { "x": 175, - "y": 273.70001220703125 + "y": 253.1999969482422 }, { "x": 175, - "y": 342.5 + "y": 322 } ], "isCurve": true, @@ -652,19 +652,19 @@ "route": [ { "x": 175, - "y": 419.5 + "y": 399 }, { "x": 175, - "y": 520.2990112304688 + "y": 499.79998779296875 }, { "x": 175, - "y": 570.7000122070312 + "y": 550.2000122070312 }, { "x": 175, - "y": 671.5 + "y": 651 } ], "isCurve": true, @@ -699,19 +699,19 @@ "route": [ { "x": 175, - "y": 748.5 + "y": 728 }, { "x": 175, - "y": 806.9000244140625 + "y": 786.4000244140625 }, { "x": 175, - "y": 924.7000122070312 + "y": 904.2000122070312 }, { "x": 175, - "y": 993.5 + "y": 973 } ], "isCurve": true, @@ -746,19 +746,19 @@ "route": [ { "x": 175, - "y": 1070.5 + "y": 1050 }, { "x": 175, - "y": 1139.300048828125 + "y": 1118.800048828125 }, { "x": 175, - "y": 1173.699951171875 + "y": 1153.199951171875 }, { "x": 175, - "y": 1242.5 + "y": 1222 } ], "isCurve": true, @@ -793,19 +793,19 @@ "route": [ { "x": 515.5, - "y": 170.5 + "y": 150 }, { "x": 515.5, - "y": 239.3000030517578 + "y": 218.8000030517578 }, { "x": 515.5, - "y": 273.70001220703125 + "y": 253.1999969482422 }, { "x": 515.5, - "y": 342.5 + "y": 322 } ], "isCurve": true, @@ -840,19 +840,19 @@ "route": [ { "x": 515.5, - "y": 419.5 + "y": 399 }, { "x": 515.5, - "y": 520.2990112304688 + "y": 499.79998779296875 }, { "x": 515.5, - "y": 570.7000122070312 + "y": 550.2000122070312 }, { "x": 515.5, - "y": 671.5 + "y": 651 } ], "isCurve": true, @@ -887,19 +887,19 @@ "route": [ { "x": 967.5, - "y": 170.5 + "y": 150 }, { "x": 967.5, - "y": 239.3000030517578 + "y": 218.8000030517578 }, { "x": 967.5, - "y": 273.70001220703125 + "y": 253.1999969482422 }, { "x": 967.5, - "y": 342.5 + "y": 322 } ], "isCurve": true, @@ -934,19 +934,19 @@ "route": [ { "x": 967.5, - "y": 419.5 + "y": 399 }, { "x": 967.5, - "y": 520.2990112304688 + "y": 499.79998779296875 }, { "x": 967.5, - "y": 570.7000122070312 + "y": 550.2000122070312 }, { "x": 967.5, - "y": 671.5 + "y": 651 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/elk_alignment/dagre/sketch.exp.svg b/e2etests/testdata/regression/elk_alignment/dagre/sketch.exp.svg index 8db5f0b7e..5d10e7ca7 100644 --- a/e2etests/testdata/regression/elk_alignment/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_alignment/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -lambda-build.yamllambda-deploy.yamlapollo-deploy.yamlPush to main branchGitHub ActionsS3TerraformAWSManual TriggerGitHub ActionsAWSApollo RepoGitHub ActionsAWS TriggersBuilds zip and pushes it Pulls zip to deployChanges live lambdasLaunchesBuilds zippushes them to S3. Deploys lambdasusing TerraformTriggered manually/push to master test test test test test test testtest - - - - - - - - - - - - - - - - - - - - - - - + .d2-2496202090 .fill-N1{fill:#0A0F25;} + .d2-2496202090 .fill-N2{fill:#676C7E;} + .d2-2496202090 .fill-N3{fill:#9499AB;} + .d2-2496202090 .fill-N4{fill:#CFD2DD;} + .d2-2496202090 .fill-N5{fill:#DEE1EB;} + .d2-2496202090 .fill-N6{fill:#EEF1F8;} + .d2-2496202090 .fill-N7{fill:#FFFFFF;} + .d2-2496202090 .fill-B1{fill:#0D32B2;} + .d2-2496202090 .fill-B2{fill:#0D32B2;} + .d2-2496202090 .fill-B3{fill:#E3E9FD;} + .d2-2496202090 .fill-B4{fill:#E3E9FD;} + .d2-2496202090 .fill-B5{fill:#EDF0FD;} + .d2-2496202090 .fill-B6{fill:#F7F8FE;} + .d2-2496202090 .fill-AA2{fill:#4A6FF3;} + .d2-2496202090 .fill-AA4{fill:#EDF0FD;} + .d2-2496202090 .fill-AA5{fill:#F7F8FE;} + .d2-2496202090 .fill-AB4{fill:#EDF0FD;} + .d2-2496202090 .fill-AB5{fill:#F7F8FE;} + .d2-2496202090 .stroke-N1{stroke:#0A0F25;} + .d2-2496202090 .stroke-N2{stroke:#676C7E;} + .d2-2496202090 .stroke-N3{stroke:#9499AB;} + .d2-2496202090 .stroke-N4{stroke:#CFD2DD;} + .d2-2496202090 .stroke-N5{stroke:#DEE1EB;} + .d2-2496202090 .stroke-N6{stroke:#EEF1F8;} + .d2-2496202090 .stroke-N7{stroke:#FFFFFF;} + .d2-2496202090 .stroke-B1{stroke:#0D32B2;} + .d2-2496202090 .stroke-B2{stroke:#0D32B2;} + .d2-2496202090 .stroke-B3{stroke:#E3E9FD;} + .d2-2496202090 .stroke-B4{stroke:#E3E9FD;} + .d2-2496202090 .stroke-B5{stroke:#EDF0FD;} + .d2-2496202090 .stroke-B6{stroke:#F7F8FE;} + .d2-2496202090 .stroke-AA2{stroke:#4A6FF3;} + .d2-2496202090 .stroke-AA4{stroke:#EDF0FD;} + .d2-2496202090 .stroke-AA5{stroke:#F7F8FE;} + .d2-2496202090 .stroke-AB4{stroke:#EDF0FD;} + .d2-2496202090 .stroke-AB5{stroke:#F7F8FE;} + .d2-2496202090 .background-color-N1{background-color:#0A0F25;} + .d2-2496202090 .background-color-N2{background-color:#676C7E;} + .d2-2496202090 .background-color-N3{background-color:#9499AB;} + .d2-2496202090 .background-color-N4{background-color:#CFD2DD;} + .d2-2496202090 .background-color-N5{background-color:#DEE1EB;} + .d2-2496202090 .background-color-N6{background-color:#EEF1F8;} + .d2-2496202090 .background-color-N7{background-color:#FFFFFF;} + .d2-2496202090 .background-color-B1{background-color:#0D32B2;} + .d2-2496202090 .background-color-B2{background-color:#0D32B2;} + .d2-2496202090 .background-color-B3{background-color:#E3E9FD;} + .d2-2496202090 .background-color-B4{background-color:#E3E9FD;} + .d2-2496202090 .background-color-B5{background-color:#EDF0FD;} + .d2-2496202090 .background-color-B6{background-color:#F7F8FE;} + .d2-2496202090 .background-color-AA2{background-color:#4A6FF3;} + .d2-2496202090 .background-color-AA4{background-color:#EDF0FD;} + .d2-2496202090 .background-color-AA5{background-color:#F7F8FE;} + .d2-2496202090 .background-color-AB4{background-color:#EDF0FD;} + .d2-2496202090 .background-color-AB5{background-color:#F7F8FE;} + .d2-2496202090 .color-N1{color:#0A0F25;} + .d2-2496202090 .color-N2{color:#676C7E;} + .d2-2496202090 .color-N3{color:#9499AB;} + .d2-2496202090 .color-N4{color:#CFD2DD;} + .d2-2496202090 .color-N5{color:#DEE1EB;} + .d2-2496202090 .color-N6{color:#EEF1F8;} + .d2-2496202090 .color-N7{color:#FFFFFF;} + .d2-2496202090 .color-B1{color:#0D32B2;} + .d2-2496202090 .color-B2{color:#0D32B2;} + .d2-2496202090 .color-B3{color:#E3E9FD;} + .d2-2496202090 .color-B4{color:#E3E9FD;} + .d2-2496202090 .color-B5{color:#EDF0FD;} + .d2-2496202090 .color-B6{color:#F7F8FE;} + .d2-2496202090 .color-AA2{color:#4A6FF3;} + .d2-2496202090 .color-AA4{color:#EDF0FD;} + .d2-2496202090 .color-AA5{color:#F7F8FE;} + .d2-2496202090 .color-AB4{color:#EDF0FD;} + .d2-2496202090 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>lambda-build.yamllambda-deploy.yamlapollo-deploy.yamlPush to main branchGitHub ActionsS3TerraformAWSManual TriggerGitHub ActionsAWSApollo RepoGitHub ActionsAWS TriggersBuilds zip and pushes it Pulls zip to deployChanges live lambdasLaunchesBuilds zippushes them to S3. Deploys lambdasusing TerraformTriggered manually/push to master test test test test test test testtest + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg b/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg index 1e77a082f..64da47e60 100644 --- a/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -lambda-build.yamllambda-deploy.yamlapollo-deploy.yamlPush to main branchGitHub ActionsS3TerraformAWSManual TriggerGitHub ActionsAWSApollo RepoGitHub ActionsAWS TriggersBuilds zip and pushes it Pulls zip to deployChanges live lambdasLaunchesBuilds zippushes them to S3. Deploys lambdasusing TerraformTriggered manually/push to master test test test test test test testtest + .d2-4227073958 .fill-N1{fill:#0A0F25;} + .d2-4227073958 .fill-N2{fill:#676C7E;} + .d2-4227073958 .fill-N3{fill:#9499AB;} + .d2-4227073958 .fill-N4{fill:#CFD2DD;} + .d2-4227073958 .fill-N5{fill:#DEE1EB;} + .d2-4227073958 .fill-N6{fill:#EEF1F8;} + .d2-4227073958 .fill-N7{fill:#FFFFFF;} + .d2-4227073958 .fill-B1{fill:#0D32B2;} + .d2-4227073958 .fill-B2{fill:#0D32B2;} + .d2-4227073958 .fill-B3{fill:#E3E9FD;} + .d2-4227073958 .fill-B4{fill:#E3E9FD;} + .d2-4227073958 .fill-B5{fill:#EDF0FD;} + .d2-4227073958 .fill-B6{fill:#F7F8FE;} + .d2-4227073958 .fill-AA2{fill:#4A6FF3;} + .d2-4227073958 .fill-AA4{fill:#EDF0FD;} + .d2-4227073958 .fill-AA5{fill:#F7F8FE;} + .d2-4227073958 .fill-AB4{fill:#EDF0FD;} + .d2-4227073958 .fill-AB5{fill:#F7F8FE;} + .d2-4227073958 .stroke-N1{stroke:#0A0F25;} + .d2-4227073958 .stroke-N2{stroke:#676C7E;} + .d2-4227073958 .stroke-N3{stroke:#9499AB;} + .d2-4227073958 .stroke-N4{stroke:#CFD2DD;} + .d2-4227073958 .stroke-N5{stroke:#DEE1EB;} + .d2-4227073958 .stroke-N6{stroke:#EEF1F8;} + .d2-4227073958 .stroke-N7{stroke:#FFFFFF;} + .d2-4227073958 .stroke-B1{stroke:#0D32B2;} + .d2-4227073958 .stroke-B2{stroke:#0D32B2;} + .d2-4227073958 .stroke-B3{stroke:#E3E9FD;} + .d2-4227073958 .stroke-B4{stroke:#E3E9FD;} + .d2-4227073958 .stroke-B5{stroke:#EDF0FD;} + .d2-4227073958 .stroke-B6{stroke:#F7F8FE;} + .d2-4227073958 .stroke-AA2{stroke:#4A6FF3;} + .d2-4227073958 .stroke-AA4{stroke:#EDF0FD;} + .d2-4227073958 .stroke-AA5{stroke:#F7F8FE;} + .d2-4227073958 .stroke-AB4{stroke:#EDF0FD;} + .d2-4227073958 .stroke-AB5{stroke:#F7F8FE;} + .d2-4227073958 .background-color-N1{background-color:#0A0F25;} + .d2-4227073958 .background-color-N2{background-color:#676C7E;} + .d2-4227073958 .background-color-N3{background-color:#9499AB;} + .d2-4227073958 .background-color-N4{background-color:#CFD2DD;} + .d2-4227073958 .background-color-N5{background-color:#DEE1EB;} + .d2-4227073958 .background-color-N6{background-color:#EEF1F8;} + .d2-4227073958 .background-color-N7{background-color:#FFFFFF;} + .d2-4227073958 .background-color-B1{background-color:#0D32B2;} + .d2-4227073958 .background-color-B2{background-color:#0D32B2;} + .d2-4227073958 .background-color-B3{background-color:#E3E9FD;} + .d2-4227073958 .background-color-B4{background-color:#E3E9FD;} + .d2-4227073958 .background-color-B5{background-color:#EDF0FD;} + .d2-4227073958 .background-color-B6{background-color:#F7F8FE;} + .d2-4227073958 .background-color-AA2{background-color:#4A6FF3;} + .d2-4227073958 .background-color-AA4{background-color:#EDF0FD;} + .d2-4227073958 .background-color-AA5{background-color:#F7F8FE;} + .d2-4227073958 .background-color-AB4{background-color:#EDF0FD;} + .d2-4227073958 .background-color-AB5{background-color:#F7F8FE;} + .d2-4227073958 .color-N1{color:#0A0F25;} + .d2-4227073958 .color-N2{color:#676C7E;} + .d2-4227073958 .color-N3{color:#9499AB;} + .d2-4227073958 .color-N4{color:#CFD2DD;} + .d2-4227073958 .color-N5{color:#DEE1EB;} + .d2-4227073958 .color-N6{color:#EEF1F8;} + .d2-4227073958 .color-N7{color:#FFFFFF;} + .d2-4227073958 .color-B1{color:#0D32B2;} + .d2-4227073958 .color-B2{color:#0D32B2;} + .d2-4227073958 .color-B3{color:#E3E9FD;} + .d2-4227073958 .color-B4{color:#E3E9FD;} + .d2-4227073958 .color-B5{color:#EDF0FD;} + .d2-4227073958 .color-B6{color:#F7F8FE;} + .d2-4227073958 .color-AA2{color:#4A6FF3;} + .d2-4227073958 .color-AA4{color:#EDF0FD;} + .d2-4227073958 .color-AA5{color:#F7F8FE;} + .d2-4227073958 .color-AB4{color:#EDF0FD;} + .d2-4227073958 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>lambda-build.yamllambda-deploy.yamlapollo-deploy.yamlPush to main branchGitHub ActionsS3TerraformAWSManual TriggerGitHub ActionsAWSApollo RepoGitHub ActionsAWS TriggersBuilds zip and pushes it Pulls zip to deployChanges live lambdasLaunchesBuilds zippushes them to S3. Deploys lambdasusing TerraformTriggered manually/push to master test test test test test test testtest diff --git a/e2etests/testdata/regression/elk_img_empty_label_panic/dagre/sketch.exp.svg b/e2etests/testdata/regression/elk_img_empty_label_panic/dagre/sketch.exp.svg index c55600cfe..3eb7e0a39 100644 --- a/e2etests/testdata/regression/elk_img_empty_label_panic/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_img_empty_label_panic/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - + .d2-2684491004 .fill-N1{fill:#0A0F25;} + .d2-2684491004 .fill-N2{fill:#676C7E;} + .d2-2684491004 .fill-N3{fill:#9499AB;} + .d2-2684491004 .fill-N4{fill:#CFD2DD;} + .d2-2684491004 .fill-N5{fill:#DEE1EB;} + .d2-2684491004 .fill-N6{fill:#EEF1F8;} + .d2-2684491004 .fill-N7{fill:#FFFFFF;} + .d2-2684491004 .fill-B1{fill:#0D32B2;} + .d2-2684491004 .fill-B2{fill:#0D32B2;} + .d2-2684491004 .fill-B3{fill:#E3E9FD;} + .d2-2684491004 .fill-B4{fill:#E3E9FD;} + .d2-2684491004 .fill-B5{fill:#EDF0FD;} + .d2-2684491004 .fill-B6{fill:#F7F8FE;} + .d2-2684491004 .fill-AA2{fill:#4A6FF3;} + .d2-2684491004 .fill-AA4{fill:#EDF0FD;} + .d2-2684491004 .fill-AA5{fill:#F7F8FE;} + .d2-2684491004 .fill-AB4{fill:#EDF0FD;} + .d2-2684491004 .fill-AB5{fill:#F7F8FE;} + .d2-2684491004 .stroke-N1{stroke:#0A0F25;} + .d2-2684491004 .stroke-N2{stroke:#676C7E;} + .d2-2684491004 .stroke-N3{stroke:#9499AB;} + .d2-2684491004 .stroke-N4{stroke:#CFD2DD;} + .d2-2684491004 .stroke-N5{stroke:#DEE1EB;} + .d2-2684491004 .stroke-N6{stroke:#EEF1F8;} + .d2-2684491004 .stroke-N7{stroke:#FFFFFF;} + .d2-2684491004 .stroke-B1{stroke:#0D32B2;} + .d2-2684491004 .stroke-B2{stroke:#0D32B2;} + .d2-2684491004 .stroke-B3{stroke:#E3E9FD;} + .d2-2684491004 .stroke-B4{stroke:#E3E9FD;} + .d2-2684491004 .stroke-B5{stroke:#EDF0FD;} + .d2-2684491004 .stroke-B6{stroke:#F7F8FE;} + .d2-2684491004 .stroke-AA2{stroke:#4A6FF3;} + .d2-2684491004 .stroke-AA4{stroke:#EDF0FD;} + .d2-2684491004 .stroke-AA5{stroke:#F7F8FE;} + .d2-2684491004 .stroke-AB4{stroke:#EDF0FD;} + .d2-2684491004 .stroke-AB5{stroke:#F7F8FE;} + .d2-2684491004 .background-color-N1{background-color:#0A0F25;} + .d2-2684491004 .background-color-N2{background-color:#676C7E;} + .d2-2684491004 .background-color-N3{background-color:#9499AB;} + .d2-2684491004 .background-color-N4{background-color:#CFD2DD;} + .d2-2684491004 .background-color-N5{background-color:#DEE1EB;} + .d2-2684491004 .background-color-N6{background-color:#EEF1F8;} + .d2-2684491004 .background-color-N7{background-color:#FFFFFF;} + .d2-2684491004 .background-color-B1{background-color:#0D32B2;} + .d2-2684491004 .background-color-B2{background-color:#0D32B2;} + .d2-2684491004 .background-color-B3{background-color:#E3E9FD;} + .d2-2684491004 .background-color-B4{background-color:#E3E9FD;} + .d2-2684491004 .background-color-B5{background-color:#EDF0FD;} + .d2-2684491004 .background-color-B6{background-color:#F7F8FE;} + .d2-2684491004 .background-color-AA2{background-color:#4A6FF3;} + .d2-2684491004 .background-color-AA4{background-color:#EDF0FD;} + .d2-2684491004 .background-color-AA5{background-color:#F7F8FE;} + .d2-2684491004 .background-color-AB4{background-color:#EDF0FD;} + .d2-2684491004 .background-color-AB5{background-color:#F7F8FE;} + .d2-2684491004 .color-N1{color:#0A0F25;} + .d2-2684491004 .color-N2{color:#676C7E;} + .d2-2684491004 .color-N3{color:#9499AB;} + .d2-2684491004 .color-N4{color:#CFD2DD;} + .d2-2684491004 .color-N5{color:#DEE1EB;} + .d2-2684491004 .color-N6{color:#EEF1F8;} + .d2-2684491004 .color-N7{color:#FFFFFF;} + .d2-2684491004 .color-B1{color:#0D32B2;} + .d2-2684491004 .color-B2{color:#0D32B2;} + .d2-2684491004 .color-B3{color:#E3E9FD;} + .d2-2684491004 .color-B4{color:#E3E9FD;} + .d2-2684491004 .color-B5{color:#EDF0FD;} + .d2-2684491004 .color-B6{color:#F7F8FE;} + .d2-2684491004 .color-AA2{color:#4A6FF3;} + .d2-2684491004 .color-AA4{color:#EDF0FD;} + .d2-2684491004 .color-AA5{color:#F7F8FE;} + .d2-2684491004 .color-AB4{color:#EDF0FD;} + .d2-2684491004 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/regression/elk_img_empty_label_panic/elk/board.exp.json b/e2etests/testdata/regression/elk_img_empty_label_panic/elk/board.exp.json index 15b658c79..f4fb7592e 100644 --- a/e2etests/testdata/regression/elk_img_empty_label_panic/elk/board.exp.json +++ b/e2etests/testdata/regression/elk_img_empty_label_panic/elk/board.exp.json @@ -11,7 +11,7 @@ "y": 12 }, "width": 128, - "height": 128, + "height": 123, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, diff --git a/e2etests/testdata/regression/elk_img_empty_label_panic/elk/sketch.exp.svg b/e2etests/testdata/regression/elk_img_empty_label_panic/elk/sketch.exp.svg index 0959d98a3..ee47804de 100644 --- a/e2etests/testdata/regression/elk_img_empty_label_panic/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_img_empty_label_panic/elk/sketch.exp.svg @@ -1,4 +1,4 @@ - - + .d2-2231164388 .fill-N1{fill:#0A0F25;} + .d2-2231164388 .fill-N2{fill:#676C7E;} + .d2-2231164388 .fill-N3{fill:#9499AB;} + .d2-2231164388 .fill-N4{fill:#CFD2DD;} + .d2-2231164388 .fill-N5{fill:#DEE1EB;} + .d2-2231164388 .fill-N6{fill:#EEF1F8;} + .d2-2231164388 .fill-N7{fill:#FFFFFF;} + .d2-2231164388 .fill-B1{fill:#0D32B2;} + .d2-2231164388 .fill-B2{fill:#0D32B2;} + .d2-2231164388 .fill-B3{fill:#E3E9FD;} + .d2-2231164388 .fill-B4{fill:#E3E9FD;} + .d2-2231164388 .fill-B5{fill:#EDF0FD;} + .d2-2231164388 .fill-B6{fill:#F7F8FE;} + .d2-2231164388 .fill-AA2{fill:#4A6FF3;} + .d2-2231164388 .fill-AA4{fill:#EDF0FD;} + .d2-2231164388 .fill-AA5{fill:#F7F8FE;} + .d2-2231164388 .fill-AB4{fill:#EDF0FD;} + .d2-2231164388 .fill-AB5{fill:#F7F8FE;} + .d2-2231164388 .stroke-N1{stroke:#0A0F25;} + .d2-2231164388 .stroke-N2{stroke:#676C7E;} + .d2-2231164388 .stroke-N3{stroke:#9499AB;} + .d2-2231164388 .stroke-N4{stroke:#CFD2DD;} + .d2-2231164388 .stroke-N5{stroke:#DEE1EB;} + .d2-2231164388 .stroke-N6{stroke:#EEF1F8;} + .d2-2231164388 .stroke-N7{stroke:#FFFFFF;} + .d2-2231164388 .stroke-B1{stroke:#0D32B2;} + .d2-2231164388 .stroke-B2{stroke:#0D32B2;} + .d2-2231164388 .stroke-B3{stroke:#E3E9FD;} + .d2-2231164388 .stroke-B4{stroke:#E3E9FD;} + .d2-2231164388 .stroke-B5{stroke:#EDF0FD;} + .d2-2231164388 .stroke-B6{stroke:#F7F8FE;} + .d2-2231164388 .stroke-AA2{stroke:#4A6FF3;} + .d2-2231164388 .stroke-AA4{stroke:#EDF0FD;} + .d2-2231164388 .stroke-AA5{stroke:#F7F8FE;} + .d2-2231164388 .stroke-AB4{stroke:#EDF0FD;} + .d2-2231164388 .stroke-AB5{stroke:#F7F8FE;} + .d2-2231164388 .background-color-N1{background-color:#0A0F25;} + .d2-2231164388 .background-color-N2{background-color:#676C7E;} + .d2-2231164388 .background-color-N3{background-color:#9499AB;} + .d2-2231164388 .background-color-N4{background-color:#CFD2DD;} + .d2-2231164388 .background-color-N5{background-color:#DEE1EB;} + .d2-2231164388 .background-color-N6{background-color:#EEF1F8;} + .d2-2231164388 .background-color-N7{background-color:#FFFFFF;} + .d2-2231164388 .background-color-B1{background-color:#0D32B2;} + .d2-2231164388 .background-color-B2{background-color:#0D32B2;} + .d2-2231164388 .background-color-B3{background-color:#E3E9FD;} + .d2-2231164388 .background-color-B4{background-color:#E3E9FD;} + .d2-2231164388 .background-color-B5{background-color:#EDF0FD;} + .d2-2231164388 .background-color-B6{background-color:#F7F8FE;} + .d2-2231164388 .background-color-AA2{background-color:#4A6FF3;} + .d2-2231164388 .background-color-AA4{background-color:#EDF0FD;} + .d2-2231164388 .background-color-AA5{background-color:#F7F8FE;} + .d2-2231164388 .background-color-AB4{background-color:#EDF0FD;} + .d2-2231164388 .background-color-AB5{background-color:#F7F8FE;} + .d2-2231164388 .color-N1{color:#0A0F25;} + .d2-2231164388 .color-N2{color:#676C7E;} + .d2-2231164388 .color-N3{color:#9499AB;} + .d2-2231164388 .color-N4{color:#CFD2DD;} + .d2-2231164388 .color-N5{color:#DEE1EB;} + .d2-2231164388 .color-N6{color:#EEF1F8;} + .d2-2231164388 .color-N7{color:#FFFFFF;} + .d2-2231164388 .color-B1{color:#0D32B2;} + .d2-2231164388 .color-B2{color:#0D32B2;} + .d2-2231164388 .color-B3{color:#E3E9FD;} + .d2-2231164388 .color-B4{color:#E3E9FD;} + .d2-2231164388 .color-B5{color:#EDF0FD;} + .d2-2231164388 .color-B6{color:#F7F8FE;} + .d2-2231164388 .color-AA2{color:#4A6FF3;} + .d2-2231164388 .color-AA4{color:#EDF0FD;} + .d2-2231164388 .color-AA5{color:#F7F8FE;} + .d2-2231164388 .color-AB4{color:#EDF0FD;} + .d2-2231164388 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> + \ No newline at end of file diff --git a/e2etests/testdata/regression/elk_loop_panic/dagre/board.exp.json b/e2etests/testdata/regression/elk_loop_panic/dagre/board.exp.json index 26c6671e4..c31719ee2 100644 --- a/e2etests/testdata/regression/elk_loop_panic/dagre/board.exp.json +++ b/e2etests/testdata/regression/elk_loop_panic/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "x", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 266, - "height": 125, + "width": 246, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 173, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -153,56 +153,56 @@ "labelPercentage": 0, "route": [ { - "x": 93, - "y": 87.0510025024414 + "x": 92.66600036621094, + "y": 67 }, { - "x": 114.33300018310547, - "y": 73.80999755859375 + "x": 114.26599884033203, + "y": 53.400001525878906 }, { "x": 121, - "y": 70.5 + "y": 50 }, { "x": 123, - "y": 70.5 + "y": 50 }, { "x": 125, - "y": 70.5 + "y": 50 }, { "x": 127.66600036621094, - "y": 77.0999984741211 + "y": 56.599998474121094 }, { "x": 129.66600036621094, - "y": 87 + "y": 66.5 }, { "x": 131.66600036621094, - "y": 96.9000015258789 + "y": 76.4000015258789 }, { "x": 131.66600036621094, - "y": 110.0999984741211 + "y": 89.5999984741211 }, { "x": 129.66600036621094, - "y": 120 + "y": 99.5 }, { "x": 127.66600036621094, - "y": 129.89999389648438 + "y": 109.4000015258789 }, { - "x": 114.33300018310547, - "y": 133.18899536132812 + "x": 114.26599884033203, + "y": 112.5999984741211 }, { - "x": 93, - "y": 119.947998046875 + "x": 92.66600036621094, + "y": 99 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/elk_loop_panic/dagre/sketch.exp.svg b/e2etests/testdata/regression/elk_loop_panic/dagre/sketch.exp.svg index f39aabdea..a1065e79a 100644 --- a/e2etests/testdata/regression/elk_loop_panic/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_loop_panic/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -xab - - - - + .d2-3696763502 .fill-N1{fill:#0A0F25;} + .d2-3696763502 .fill-N2{fill:#676C7E;} + .d2-3696763502 .fill-N3{fill:#9499AB;} + .d2-3696763502 .fill-N4{fill:#CFD2DD;} + .d2-3696763502 .fill-N5{fill:#DEE1EB;} + .d2-3696763502 .fill-N6{fill:#EEF1F8;} + .d2-3696763502 .fill-N7{fill:#FFFFFF;} + .d2-3696763502 .fill-B1{fill:#0D32B2;} + .d2-3696763502 .fill-B2{fill:#0D32B2;} + .d2-3696763502 .fill-B3{fill:#E3E9FD;} + .d2-3696763502 .fill-B4{fill:#E3E9FD;} + .d2-3696763502 .fill-B5{fill:#EDF0FD;} + .d2-3696763502 .fill-B6{fill:#F7F8FE;} + .d2-3696763502 .fill-AA2{fill:#4A6FF3;} + .d2-3696763502 .fill-AA4{fill:#EDF0FD;} + .d2-3696763502 .fill-AA5{fill:#F7F8FE;} + .d2-3696763502 .fill-AB4{fill:#EDF0FD;} + .d2-3696763502 .fill-AB5{fill:#F7F8FE;} + .d2-3696763502 .stroke-N1{stroke:#0A0F25;} + .d2-3696763502 .stroke-N2{stroke:#676C7E;} + .d2-3696763502 .stroke-N3{stroke:#9499AB;} + .d2-3696763502 .stroke-N4{stroke:#CFD2DD;} + .d2-3696763502 .stroke-N5{stroke:#DEE1EB;} + .d2-3696763502 .stroke-N6{stroke:#EEF1F8;} + .d2-3696763502 .stroke-N7{stroke:#FFFFFF;} + .d2-3696763502 .stroke-B1{stroke:#0D32B2;} + .d2-3696763502 .stroke-B2{stroke:#0D32B2;} + .d2-3696763502 .stroke-B3{stroke:#E3E9FD;} + .d2-3696763502 .stroke-B4{stroke:#E3E9FD;} + .d2-3696763502 .stroke-B5{stroke:#EDF0FD;} + .d2-3696763502 .stroke-B6{stroke:#F7F8FE;} + .d2-3696763502 .stroke-AA2{stroke:#4A6FF3;} + .d2-3696763502 .stroke-AA4{stroke:#EDF0FD;} + .d2-3696763502 .stroke-AA5{stroke:#F7F8FE;} + .d2-3696763502 .stroke-AB4{stroke:#EDF0FD;} + .d2-3696763502 .stroke-AB5{stroke:#F7F8FE;} + .d2-3696763502 .background-color-N1{background-color:#0A0F25;} + .d2-3696763502 .background-color-N2{background-color:#676C7E;} + .d2-3696763502 .background-color-N3{background-color:#9499AB;} + .d2-3696763502 .background-color-N4{background-color:#CFD2DD;} + .d2-3696763502 .background-color-N5{background-color:#DEE1EB;} + .d2-3696763502 .background-color-N6{background-color:#EEF1F8;} + .d2-3696763502 .background-color-N7{background-color:#FFFFFF;} + .d2-3696763502 .background-color-B1{background-color:#0D32B2;} + .d2-3696763502 .background-color-B2{background-color:#0D32B2;} + .d2-3696763502 .background-color-B3{background-color:#E3E9FD;} + .d2-3696763502 .background-color-B4{background-color:#E3E9FD;} + .d2-3696763502 .background-color-B5{background-color:#EDF0FD;} + .d2-3696763502 .background-color-B6{background-color:#F7F8FE;} + .d2-3696763502 .background-color-AA2{background-color:#4A6FF3;} + .d2-3696763502 .background-color-AA4{background-color:#EDF0FD;} + .d2-3696763502 .background-color-AA5{background-color:#F7F8FE;} + .d2-3696763502 .background-color-AB4{background-color:#EDF0FD;} + .d2-3696763502 .background-color-AB5{background-color:#F7F8FE;} + .d2-3696763502 .color-N1{color:#0A0F25;} + .d2-3696763502 .color-N2{color:#676C7E;} + .d2-3696763502 .color-N3{color:#9499AB;} + .d2-3696763502 .color-N4{color:#CFD2DD;} + .d2-3696763502 .color-N5{color:#DEE1EB;} + .d2-3696763502 .color-N6{color:#EEF1F8;} + .d2-3696763502 .color-N7{color:#FFFFFF;} + .d2-3696763502 .color-B1{color:#0D32B2;} + .d2-3696763502 .color-B2{color:#0D32B2;} + .d2-3696763502 .color-B3{color:#E3E9FD;} + .d2-3696763502 .color-B4{color:#E3E9FD;} + .d2-3696763502 .color-B5{color:#EDF0FD;} + .d2-3696763502 .color-B6{color:#F7F8FE;} + .d2-3696763502 .color-AA2{color:#4A6FF3;} + .d2-3696763502 .color-AA4{color:#EDF0FD;} + .d2-3696763502 .color-AA5{color:#F7F8FE;} + .d2-3696763502 .color-AB4{color:#EDF0FD;} + .d2-3696763502 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xab + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/elk_loop_panic/elk/sketch.exp.svg b/e2etests/testdata/regression/elk_loop_panic/elk/sketch.exp.svg index a0f7e4271..17b0218e8 100644 --- a/e2etests/testdata/regression/elk_loop_panic/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_loop_panic/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -xab + .d2-3690897739 .fill-N1{fill:#0A0F25;} + .d2-3690897739 .fill-N2{fill:#676C7E;} + .d2-3690897739 .fill-N3{fill:#9499AB;} + .d2-3690897739 .fill-N4{fill:#CFD2DD;} + .d2-3690897739 .fill-N5{fill:#DEE1EB;} + .d2-3690897739 .fill-N6{fill:#EEF1F8;} + .d2-3690897739 .fill-N7{fill:#FFFFFF;} + .d2-3690897739 .fill-B1{fill:#0D32B2;} + .d2-3690897739 .fill-B2{fill:#0D32B2;} + .d2-3690897739 .fill-B3{fill:#E3E9FD;} + .d2-3690897739 .fill-B4{fill:#E3E9FD;} + .d2-3690897739 .fill-B5{fill:#EDF0FD;} + .d2-3690897739 .fill-B6{fill:#F7F8FE;} + .d2-3690897739 .fill-AA2{fill:#4A6FF3;} + .d2-3690897739 .fill-AA4{fill:#EDF0FD;} + .d2-3690897739 .fill-AA5{fill:#F7F8FE;} + .d2-3690897739 .fill-AB4{fill:#EDF0FD;} + .d2-3690897739 .fill-AB5{fill:#F7F8FE;} + .d2-3690897739 .stroke-N1{stroke:#0A0F25;} + .d2-3690897739 .stroke-N2{stroke:#676C7E;} + .d2-3690897739 .stroke-N3{stroke:#9499AB;} + .d2-3690897739 .stroke-N4{stroke:#CFD2DD;} + .d2-3690897739 .stroke-N5{stroke:#DEE1EB;} + .d2-3690897739 .stroke-N6{stroke:#EEF1F8;} + .d2-3690897739 .stroke-N7{stroke:#FFFFFF;} + .d2-3690897739 .stroke-B1{stroke:#0D32B2;} + .d2-3690897739 .stroke-B2{stroke:#0D32B2;} + .d2-3690897739 .stroke-B3{stroke:#E3E9FD;} + .d2-3690897739 .stroke-B4{stroke:#E3E9FD;} + .d2-3690897739 .stroke-B5{stroke:#EDF0FD;} + .d2-3690897739 .stroke-B6{stroke:#F7F8FE;} + .d2-3690897739 .stroke-AA2{stroke:#4A6FF3;} + .d2-3690897739 .stroke-AA4{stroke:#EDF0FD;} + .d2-3690897739 .stroke-AA5{stroke:#F7F8FE;} + .d2-3690897739 .stroke-AB4{stroke:#EDF0FD;} + .d2-3690897739 .stroke-AB5{stroke:#F7F8FE;} + .d2-3690897739 .background-color-N1{background-color:#0A0F25;} + .d2-3690897739 .background-color-N2{background-color:#676C7E;} + .d2-3690897739 .background-color-N3{background-color:#9499AB;} + .d2-3690897739 .background-color-N4{background-color:#CFD2DD;} + .d2-3690897739 .background-color-N5{background-color:#DEE1EB;} + .d2-3690897739 .background-color-N6{background-color:#EEF1F8;} + .d2-3690897739 .background-color-N7{background-color:#FFFFFF;} + .d2-3690897739 .background-color-B1{background-color:#0D32B2;} + .d2-3690897739 .background-color-B2{background-color:#0D32B2;} + .d2-3690897739 .background-color-B3{background-color:#E3E9FD;} + .d2-3690897739 .background-color-B4{background-color:#E3E9FD;} + .d2-3690897739 .background-color-B5{background-color:#EDF0FD;} + .d2-3690897739 .background-color-B6{background-color:#F7F8FE;} + .d2-3690897739 .background-color-AA2{background-color:#4A6FF3;} + .d2-3690897739 .background-color-AA4{background-color:#EDF0FD;} + .d2-3690897739 .background-color-AA5{background-color:#F7F8FE;} + .d2-3690897739 .background-color-AB4{background-color:#EDF0FD;} + .d2-3690897739 .background-color-AB5{background-color:#F7F8FE;} + .d2-3690897739 .color-N1{color:#0A0F25;} + .d2-3690897739 .color-N2{color:#676C7E;} + .d2-3690897739 .color-N3{color:#9499AB;} + .d2-3690897739 .color-N4{color:#CFD2DD;} + .d2-3690897739 .color-N5{color:#DEE1EB;} + .d2-3690897739 .color-N6{color:#EEF1F8;} + .d2-3690897739 .color-N7{color:#FFFFFF;} + .d2-3690897739 .color-B1{color:#0D32B2;} + .d2-3690897739 .color-B2{color:#0D32B2;} + .d2-3690897739 .color-B3{color:#E3E9FD;} + .d2-3690897739 .color-B4{color:#E3E9FD;} + .d2-3690897739 .color-B5{color:#EDF0FD;} + .d2-3690897739 .color-B6{color:#F7F8FE;} + .d2-3690897739 .color-AA2{color:#4A6FF3;} + .d2-3690897739 .color-AA4{color:#EDF0FD;} + .d2-3690897739 .color-AA5{color:#F7F8FE;} + .d2-3690897739 .color-AB4{color:#EDF0FD;} + .d2-3690897739 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xab diff --git a/e2etests/testdata/regression/elk_order/dagre/sketch.exp.svg b/e2etests/testdata/regression/elk_order/dagre/sketch.exp.svg index 2c8ea9f7a..897f8d876 100644 --- a/e2etests/testdata/regression/elk_order/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_order/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -

Oldest message

@@ -841,7 +841,7 @@

Last message

Next message will be
inserted here

-
M0M1M2M3M4M5M6 +
M0M1M2M3M4M5M6 diff --git a/e2etests/testdata/regression/elk_order/elk/sketch.exp.svg b/e2etests/testdata/regression/elk_order/elk/sketch.exp.svg index 3581bdc27..3da4cc14c 100644 --- a/e2etests/testdata/regression/elk_order/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_order/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -

Oldest message

@@ -841,7 +841,7 @@

Last message

Next message will be
inserted here

-
M0M1M2M3M4M5M6 +
M0M1M2M3M4M5M6 diff --git a/e2etests/testdata/regression/empty_class_height/dagre/sketch.exp.svg b/e2etests/testdata/regression/empty_class_height/dagre/sketch.exp.svg index d1676e1cf..6b1c1e68e 100644 --- a/e2etests/testdata/regression/empty_class_height/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/empty_class_height/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -class with rows-numint-timeoutintclass without rows + .d2-39546754 .fill-N1{fill:#0A0F25;} + .d2-39546754 .fill-N2{fill:#676C7E;} + .d2-39546754 .fill-N3{fill:#9499AB;} + .d2-39546754 .fill-N4{fill:#CFD2DD;} + .d2-39546754 .fill-N5{fill:#DEE1EB;} + .d2-39546754 .fill-N6{fill:#EEF1F8;} + .d2-39546754 .fill-N7{fill:#FFFFFF;} + .d2-39546754 .fill-B1{fill:#0D32B2;} + .d2-39546754 .fill-B2{fill:#0D32B2;} + .d2-39546754 .fill-B3{fill:#E3E9FD;} + .d2-39546754 .fill-B4{fill:#E3E9FD;} + .d2-39546754 .fill-B5{fill:#EDF0FD;} + .d2-39546754 .fill-B6{fill:#F7F8FE;} + .d2-39546754 .fill-AA2{fill:#4A6FF3;} + .d2-39546754 .fill-AA4{fill:#EDF0FD;} + .d2-39546754 .fill-AA5{fill:#F7F8FE;} + .d2-39546754 .fill-AB4{fill:#EDF0FD;} + .d2-39546754 .fill-AB5{fill:#F7F8FE;} + .d2-39546754 .stroke-N1{stroke:#0A0F25;} + .d2-39546754 .stroke-N2{stroke:#676C7E;} + .d2-39546754 .stroke-N3{stroke:#9499AB;} + .d2-39546754 .stroke-N4{stroke:#CFD2DD;} + .d2-39546754 .stroke-N5{stroke:#DEE1EB;} + .d2-39546754 .stroke-N6{stroke:#EEF1F8;} + .d2-39546754 .stroke-N7{stroke:#FFFFFF;} + .d2-39546754 .stroke-B1{stroke:#0D32B2;} + .d2-39546754 .stroke-B2{stroke:#0D32B2;} + .d2-39546754 .stroke-B3{stroke:#E3E9FD;} + .d2-39546754 .stroke-B4{stroke:#E3E9FD;} + .d2-39546754 .stroke-B5{stroke:#EDF0FD;} + .d2-39546754 .stroke-B6{stroke:#F7F8FE;} + .d2-39546754 .stroke-AA2{stroke:#4A6FF3;} + .d2-39546754 .stroke-AA4{stroke:#EDF0FD;} + .d2-39546754 .stroke-AA5{stroke:#F7F8FE;} + .d2-39546754 .stroke-AB4{stroke:#EDF0FD;} + .d2-39546754 .stroke-AB5{stroke:#F7F8FE;} + .d2-39546754 .background-color-N1{background-color:#0A0F25;} + .d2-39546754 .background-color-N2{background-color:#676C7E;} + .d2-39546754 .background-color-N3{background-color:#9499AB;} + .d2-39546754 .background-color-N4{background-color:#CFD2DD;} + .d2-39546754 .background-color-N5{background-color:#DEE1EB;} + .d2-39546754 .background-color-N6{background-color:#EEF1F8;} + .d2-39546754 .background-color-N7{background-color:#FFFFFF;} + .d2-39546754 .background-color-B1{background-color:#0D32B2;} + .d2-39546754 .background-color-B2{background-color:#0D32B2;} + .d2-39546754 .background-color-B3{background-color:#E3E9FD;} + .d2-39546754 .background-color-B4{background-color:#E3E9FD;} + .d2-39546754 .background-color-B5{background-color:#EDF0FD;} + .d2-39546754 .background-color-B6{background-color:#F7F8FE;} + .d2-39546754 .background-color-AA2{background-color:#4A6FF3;} + .d2-39546754 .background-color-AA4{background-color:#EDF0FD;} + .d2-39546754 .background-color-AA5{background-color:#F7F8FE;} + .d2-39546754 .background-color-AB4{background-color:#EDF0FD;} + .d2-39546754 .background-color-AB5{background-color:#F7F8FE;} + .d2-39546754 .color-N1{color:#0A0F25;} + .d2-39546754 .color-N2{color:#676C7E;} + .d2-39546754 .color-N3{color:#9499AB;} + .d2-39546754 .color-N4{color:#CFD2DD;} + .d2-39546754 .color-N5{color:#DEE1EB;} + .d2-39546754 .color-N6{color:#EEF1F8;} + .d2-39546754 .color-N7{color:#FFFFFF;} + .d2-39546754 .color-B1{color:#0D32B2;} + .d2-39546754 .color-B2{color:#0D32B2;} + .d2-39546754 .color-B3{color:#E3E9FD;} + .d2-39546754 .color-B4{color:#E3E9FD;} + .d2-39546754 .color-B5{color:#EDF0FD;} + .d2-39546754 .color-B6{color:#F7F8FE;} + .d2-39546754 .color-AA2{color:#4A6FF3;} + .d2-39546754 .color-AA4{color:#EDF0FD;} + .d2-39546754 .color-AA5{color:#F7F8FE;} + .d2-39546754 .color-AB4{color:#EDF0FD;} + .d2-39546754 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>class with rows-numint-timeoutintclass without rows \ No newline at end of file diff --git a/e2etests/testdata/regression/empty_class_height/elk/sketch.exp.svg b/e2etests/testdata/regression/empty_class_height/elk/sketch.exp.svg index f83b5ca09..f67fc5c8e 100644 --- a/e2etests/testdata/regression/empty_class_height/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/empty_class_height/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -class with rows-numint-timeoutintclass without rows + .d2-817380429 .fill-N1{fill:#0A0F25;} + .d2-817380429 .fill-N2{fill:#676C7E;} + .d2-817380429 .fill-N3{fill:#9499AB;} + .d2-817380429 .fill-N4{fill:#CFD2DD;} + .d2-817380429 .fill-N5{fill:#DEE1EB;} + .d2-817380429 .fill-N6{fill:#EEF1F8;} + .d2-817380429 .fill-N7{fill:#FFFFFF;} + .d2-817380429 .fill-B1{fill:#0D32B2;} + .d2-817380429 .fill-B2{fill:#0D32B2;} + .d2-817380429 .fill-B3{fill:#E3E9FD;} + .d2-817380429 .fill-B4{fill:#E3E9FD;} + .d2-817380429 .fill-B5{fill:#EDF0FD;} + .d2-817380429 .fill-B6{fill:#F7F8FE;} + .d2-817380429 .fill-AA2{fill:#4A6FF3;} + .d2-817380429 .fill-AA4{fill:#EDF0FD;} + .d2-817380429 .fill-AA5{fill:#F7F8FE;} + .d2-817380429 .fill-AB4{fill:#EDF0FD;} + .d2-817380429 .fill-AB5{fill:#F7F8FE;} + .d2-817380429 .stroke-N1{stroke:#0A0F25;} + .d2-817380429 .stroke-N2{stroke:#676C7E;} + .d2-817380429 .stroke-N3{stroke:#9499AB;} + .d2-817380429 .stroke-N4{stroke:#CFD2DD;} + .d2-817380429 .stroke-N5{stroke:#DEE1EB;} + .d2-817380429 .stroke-N6{stroke:#EEF1F8;} + .d2-817380429 .stroke-N7{stroke:#FFFFFF;} + .d2-817380429 .stroke-B1{stroke:#0D32B2;} + .d2-817380429 .stroke-B2{stroke:#0D32B2;} + .d2-817380429 .stroke-B3{stroke:#E3E9FD;} + .d2-817380429 .stroke-B4{stroke:#E3E9FD;} + .d2-817380429 .stroke-B5{stroke:#EDF0FD;} + .d2-817380429 .stroke-B6{stroke:#F7F8FE;} + .d2-817380429 .stroke-AA2{stroke:#4A6FF3;} + .d2-817380429 .stroke-AA4{stroke:#EDF0FD;} + .d2-817380429 .stroke-AA5{stroke:#F7F8FE;} + .d2-817380429 .stroke-AB4{stroke:#EDF0FD;} + .d2-817380429 .stroke-AB5{stroke:#F7F8FE;} + .d2-817380429 .background-color-N1{background-color:#0A0F25;} + .d2-817380429 .background-color-N2{background-color:#676C7E;} + .d2-817380429 .background-color-N3{background-color:#9499AB;} + .d2-817380429 .background-color-N4{background-color:#CFD2DD;} + .d2-817380429 .background-color-N5{background-color:#DEE1EB;} + .d2-817380429 .background-color-N6{background-color:#EEF1F8;} + .d2-817380429 .background-color-N7{background-color:#FFFFFF;} + .d2-817380429 .background-color-B1{background-color:#0D32B2;} + .d2-817380429 .background-color-B2{background-color:#0D32B2;} + .d2-817380429 .background-color-B3{background-color:#E3E9FD;} + .d2-817380429 .background-color-B4{background-color:#E3E9FD;} + .d2-817380429 .background-color-B5{background-color:#EDF0FD;} + .d2-817380429 .background-color-B6{background-color:#F7F8FE;} + .d2-817380429 .background-color-AA2{background-color:#4A6FF3;} + .d2-817380429 .background-color-AA4{background-color:#EDF0FD;} + .d2-817380429 .background-color-AA5{background-color:#F7F8FE;} + .d2-817380429 .background-color-AB4{background-color:#EDF0FD;} + .d2-817380429 .background-color-AB5{background-color:#F7F8FE;} + .d2-817380429 .color-N1{color:#0A0F25;} + .d2-817380429 .color-N2{color:#676C7E;} + .d2-817380429 .color-N3{color:#9499AB;} + .d2-817380429 .color-N4{color:#CFD2DD;} + .d2-817380429 .color-N5{color:#DEE1EB;} + .d2-817380429 .color-N6{color:#EEF1F8;} + .d2-817380429 .color-N7{color:#FFFFFF;} + .d2-817380429 .color-B1{color:#0D32B2;} + .d2-817380429 .color-B2{color:#0D32B2;} + .d2-817380429 .color-B3{color:#E3E9FD;} + .d2-817380429 .color-B4{color:#E3E9FD;} + .d2-817380429 .color-B5{color:#EDF0FD;} + .d2-817380429 .color-B6{color:#F7F8FE;} + .d2-817380429 .color-AA2{color:#4A6FF3;} + .d2-817380429 .color-AA4{color:#EDF0FD;} + .d2-817380429 .color-AA5{color:#F7F8FE;} + .d2-817380429 .color-AB4{color:#EDF0FD;} + .d2-817380429 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>class with rows-numint-timeoutintclass without rows \ No newline at end of file diff --git a/e2etests/testdata/regression/empty_sequence/dagre/sketch.exp.svg b/e2etests/testdata/regression/empty_sequence/dagre/sketch.exp.svg index ad76ac440..8c0522b09 100644 --- a/e2etests/testdata/regression/empty_sequence/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/empty_sequence/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -hellogoodbye + .d2-3421221401 .fill-N1{fill:#0A0F25;} + .d2-3421221401 .fill-N2{fill:#676C7E;} + .d2-3421221401 .fill-N3{fill:#9499AB;} + .d2-3421221401 .fill-N4{fill:#CFD2DD;} + .d2-3421221401 .fill-N5{fill:#DEE1EB;} + .d2-3421221401 .fill-N6{fill:#EEF1F8;} + .d2-3421221401 .fill-N7{fill:#FFFFFF;} + .d2-3421221401 .fill-B1{fill:#0D32B2;} + .d2-3421221401 .fill-B2{fill:#0D32B2;} + .d2-3421221401 .fill-B3{fill:#E3E9FD;} + .d2-3421221401 .fill-B4{fill:#E3E9FD;} + .d2-3421221401 .fill-B5{fill:#EDF0FD;} + .d2-3421221401 .fill-B6{fill:#F7F8FE;} + .d2-3421221401 .fill-AA2{fill:#4A6FF3;} + .d2-3421221401 .fill-AA4{fill:#EDF0FD;} + .d2-3421221401 .fill-AA5{fill:#F7F8FE;} + .d2-3421221401 .fill-AB4{fill:#EDF0FD;} + .d2-3421221401 .fill-AB5{fill:#F7F8FE;} + .d2-3421221401 .stroke-N1{stroke:#0A0F25;} + .d2-3421221401 .stroke-N2{stroke:#676C7E;} + .d2-3421221401 .stroke-N3{stroke:#9499AB;} + .d2-3421221401 .stroke-N4{stroke:#CFD2DD;} + .d2-3421221401 .stroke-N5{stroke:#DEE1EB;} + .d2-3421221401 .stroke-N6{stroke:#EEF1F8;} + .d2-3421221401 .stroke-N7{stroke:#FFFFFF;} + .d2-3421221401 .stroke-B1{stroke:#0D32B2;} + .d2-3421221401 .stroke-B2{stroke:#0D32B2;} + .d2-3421221401 .stroke-B3{stroke:#E3E9FD;} + .d2-3421221401 .stroke-B4{stroke:#E3E9FD;} + .d2-3421221401 .stroke-B5{stroke:#EDF0FD;} + .d2-3421221401 .stroke-B6{stroke:#F7F8FE;} + .d2-3421221401 .stroke-AA2{stroke:#4A6FF3;} + .d2-3421221401 .stroke-AA4{stroke:#EDF0FD;} + .d2-3421221401 .stroke-AA5{stroke:#F7F8FE;} + .d2-3421221401 .stroke-AB4{stroke:#EDF0FD;} + .d2-3421221401 .stroke-AB5{stroke:#F7F8FE;} + .d2-3421221401 .background-color-N1{background-color:#0A0F25;} + .d2-3421221401 .background-color-N2{background-color:#676C7E;} + .d2-3421221401 .background-color-N3{background-color:#9499AB;} + .d2-3421221401 .background-color-N4{background-color:#CFD2DD;} + .d2-3421221401 .background-color-N5{background-color:#DEE1EB;} + .d2-3421221401 .background-color-N6{background-color:#EEF1F8;} + .d2-3421221401 .background-color-N7{background-color:#FFFFFF;} + .d2-3421221401 .background-color-B1{background-color:#0D32B2;} + .d2-3421221401 .background-color-B2{background-color:#0D32B2;} + .d2-3421221401 .background-color-B3{background-color:#E3E9FD;} + .d2-3421221401 .background-color-B4{background-color:#E3E9FD;} + .d2-3421221401 .background-color-B5{background-color:#EDF0FD;} + .d2-3421221401 .background-color-B6{background-color:#F7F8FE;} + .d2-3421221401 .background-color-AA2{background-color:#4A6FF3;} + .d2-3421221401 .background-color-AA4{background-color:#EDF0FD;} + .d2-3421221401 .background-color-AA5{background-color:#F7F8FE;} + .d2-3421221401 .background-color-AB4{background-color:#EDF0FD;} + .d2-3421221401 .background-color-AB5{background-color:#F7F8FE;} + .d2-3421221401 .color-N1{color:#0A0F25;} + .d2-3421221401 .color-N2{color:#676C7E;} + .d2-3421221401 .color-N3{color:#9499AB;} + .d2-3421221401 .color-N4{color:#CFD2DD;} + .d2-3421221401 .color-N5{color:#DEE1EB;} + .d2-3421221401 .color-N6{color:#EEF1F8;} + .d2-3421221401 .color-N7{color:#FFFFFF;} + .d2-3421221401 .color-B1{color:#0D32B2;} + .d2-3421221401 .color-B2{color:#0D32B2;} + .d2-3421221401 .color-B3{color:#E3E9FD;} + .d2-3421221401 .color-B4{color:#E3E9FD;} + .d2-3421221401 .color-B5{color:#EDF0FD;} + .d2-3421221401 .color-B6{color:#F7F8FE;} + .d2-3421221401 .color-AA2{color:#4A6FF3;} + .d2-3421221401 .color-AA4{color:#EDF0FD;} + .d2-3421221401 .color-AA5{color:#F7F8FE;} + .d2-3421221401 .color-AB4{color:#EDF0FD;} + .d2-3421221401 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>hellogoodbye diff --git a/e2etests/testdata/regression/empty_sequence/elk/sketch.exp.svg b/e2etests/testdata/regression/empty_sequence/elk/sketch.exp.svg index 6c305f6b8..73d62a6f4 100644 --- a/e2etests/testdata/regression/empty_sequence/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/empty_sequence/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -hellogoodbye + .d2-4171250924 .fill-N1{fill:#0A0F25;} + .d2-4171250924 .fill-N2{fill:#676C7E;} + .d2-4171250924 .fill-N3{fill:#9499AB;} + .d2-4171250924 .fill-N4{fill:#CFD2DD;} + .d2-4171250924 .fill-N5{fill:#DEE1EB;} + .d2-4171250924 .fill-N6{fill:#EEF1F8;} + .d2-4171250924 .fill-N7{fill:#FFFFFF;} + .d2-4171250924 .fill-B1{fill:#0D32B2;} + .d2-4171250924 .fill-B2{fill:#0D32B2;} + .d2-4171250924 .fill-B3{fill:#E3E9FD;} + .d2-4171250924 .fill-B4{fill:#E3E9FD;} + .d2-4171250924 .fill-B5{fill:#EDF0FD;} + .d2-4171250924 .fill-B6{fill:#F7F8FE;} + .d2-4171250924 .fill-AA2{fill:#4A6FF3;} + .d2-4171250924 .fill-AA4{fill:#EDF0FD;} + .d2-4171250924 .fill-AA5{fill:#F7F8FE;} + .d2-4171250924 .fill-AB4{fill:#EDF0FD;} + .d2-4171250924 .fill-AB5{fill:#F7F8FE;} + .d2-4171250924 .stroke-N1{stroke:#0A0F25;} + .d2-4171250924 .stroke-N2{stroke:#676C7E;} + .d2-4171250924 .stroke-N3{stroke:#9499AB;} + .d2-4171250924 .stroke-N4{stroke:#CFD2DD;} + .d2-4171250924 .stroke-N5{stroke:#DEE1EB;} + .d2-4171250924 .stroke-N6{stroke:#EEF1F8;} + .d2-4171250924 .stroke-N7{stroke:#FFFFFF;} + .d2-4171250924 .stroke-B1{stroke:#0D32B2;} + .d2-4171250924 .stroke-B2{stroke:#0D32B2;} + .d2-4171250924 .stroke-B3{stroke:#E3E9FD;} + .d2-4171250924 .stroke-B4{stroke:#E3E9FD;} + .d2-4171250924 .stroke-B5{stroke:#EDF0FD;} + .d2-4171250924 .stroke-B6{stroke:#F7F8FE;} + .d2-4171250924 .stroke-AA2{stroke:#4A6FF3;} + .d2-4171250924 .stroke-AA4{stroke:#EDF0FD;} + .d2-4171250924 .stroke-AA5{stroke:#F7F8FE;} + .d2-4171250924 .stroke-AB4{stroke:#EDF0FD;} + .d2-4171250924 .stroke-AB5{stroke:#F7F8FE;} + .d2-4171250924 .background-color-N1{background-color:#0A0F25;} + .d2-4171250924 .background-color-N2{background-color:#676C7E;} + .d2-4171250924 .background-color-N3{background-color:#9499AB;} + .d2-4171250924 .background-color-N4{background-color:#CFD2DD;} + .d2-4171250924 .background-color-N5{background-color:#DEE1EB;} + .d2-4171250924 .background-color-N6{background-color:#EEF1F8;} + .d2-4171250924 .background-color-N7{background-color:#FFFFFF;} + .d2-4171250924 .background-color-B1{background-color:#0D32B2;} + .d2-4171250924 .background-color-B2{background-color:#0D32B2;} + .d2-4171250924 .background-color-B3{background-color:#E3E9FD;} + .d2-4171250924 .background-color-B4{background-color:#E3E9FD;} + .d2-4171250924 .background-color-B5{background-color:#EDF0FD;} + .d2-4171250924 .background-color-B6{background-color:#F7F8FE;} + .d2-4171250924 .background-color-AA2{background-color:#4A6FF3;} + .d2-4171250924 .background-color-AA4{background-color:#EDF0FD;} + .d2-4171250924 .background-color-AA5{background-color:#F7F8FE;} + .d2-4171250924 .background-color-AB4{background-color:#EDF0FD;} + .d2-4171250924 .background-color-AB5{background-color:#F7F8FE;} + .d2-4171250924 .color-N1{color:#0A0F25;} + .d2-4171250924 .color-N2{color:#676C7E;} + .d2-4171250924 .color-N3{color:#9499AB;} + .d2-4171250924 .color-N4{color:#CFD2DD;} + .d2-4171250924 .color-N5{color:#DEE1EB;} + .d2-4171250924 .color-N6{color:#EEF1F8;} + .d2-4171250924 .color-N7{color:#FFFFFF;} + .d2-4171250924 .color-B1{color:#0D32B2;} + .d2-4171250924 .color-B2{color:#0D32B2;} + .d2-4171250924 .color-B3{color:#E3E9FD;} + .d2-4171250924 .color-B4{color:#E3E9FD;} + .d2-4171250924 .color-B5{color:#EDF0FD;} + .d2-4171250924 .color-B6{color:#F7F8FE;} + .d2-4171250924 .color-AA2{color:#4A6FF3;} + .d2-4171250924 .color-AA4{color:#EDF0FD;} + .d2-4171250924 .color-AA5{color:#F7F8FE;} + .d2-4171250924 .color-AB4{color:#EDF0FD;} + .d2-4171250924 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>hellogoodbye diff --git a/e2etests/testdata/regression/grid_in_constant_near/dagre/sketch.exp.svg b/e2etests/testdata/regression/grid_in_constant_near/dagre/sketch.exp.svg index 4905480ba..4365ec26c 100644 --- a/e2etests/testdata/regression/grid_in_constant_near/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_in_constant_near/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abcxyz + .d2-1778933596 .fill-N1{fill:#0A0F25;} + .d2-1778933596 .fill-N2{fill:#676C7E;} + .d2-1778933596 .fill-N3{fill:#9499AB;} + .d2-1778933596 .fill-N4{fill:#CFD2DD;} + .d2-1778933596 .fill-N5{fill:#DEE1EB;} + .d2-1778933596 .fill-N6{fill:#EEF1F8;} + .d2-1778933596 .fill-N7{fill:#FFFFFF;} + .d2-1778933596 .fill-B1{fill:#0D32B2;} + .d2-1778933596 .fill-B2{fill:#0D32B2;} + .d2-1778933596 .fill-B3{fill:#E3E9FD;} + .d2-1778933596 .fill-B4{fill:#E3E9FD;} + .d2-1778933596 .fill-B5{fill:#EDF0FD;} + .d2-1778933596 .fill-B6{fill:#F7F8FE;} + .d2-1778933596 .fill-AA2{fill:#4A6FF3;} + .d2-1778933596 .fill-AA4{fill:#EDF0FD;} + .d2-1778933596 .fill-AA5{fill:#F7F8FE;} + .d2-1778933596 .fill-AB4{fill:#EDF0FD;} + .d2-1778933596 .fill-AB5{fill:#F7F8FE;} + .d2-1778933596 .stroke-N1{stroke:#0A0F25;} + .d2-1778933596 .stroke-N2{stroke:#676C7E;} + .d2-1778933596 .stroke-N3{stroke:#9499AB;} + .d2-1778933596 .stroke-N4{stroke:#CFD2DD;} + .d2-1778933596 .stroke-N5{stroke:#DEE1EB;} + .d2-1778933596 .stroke-N6{stroke:#EEF1F8;} + .d2-1778933596 .stroke-N7{stroke:#FFFFFF;} + .d2-1778933596 .stroke-B1{stroke:#0D32B2;} + .d2-1778933596 .stroke-B2{stroke:#0D32B2;} + .d2-1778933596 .stroke-B3{stroke:#E3E9FD;} + .d2-1778933596 .stroke-B4{stroke:#E3E9FD;} + .d2-1778933596 .stroke-B5{stroke:#EDF0FD;} + .d2-1778933596 .stroke-B6{stroke:#F7F8FE;} + .d2-1778933596 .stroke-AA2{stroke:#4A6FF3;} + .d2-1778933596 .stroke-AA4{stroke:#EDF0FD;} + .d2-1778933596 .stroke-AA5{stroke:#F7F8FE;} + .d2-1778933596 .stroke-AB4{stroke:#EDF0FD;} + .d2-1778933596 .stroke-AB5{stroke:#F7F8FE;} + .d2-1778933596 .background-color-N1{background-color:#0A0F25;} + .d2-1778933596 .background-color-N2{background-color:#676C7E;} + .d2-1778933596 .background-color-N3{background-color:#9499AB;} + .d2-1778933596 .background-color-N4{background-color:#CFD2DD;} + .d2-1778933596 .background-color-N5{background-color:#DEE1EB;} + .d2-1778933596 .background-color-N6{background-color:#EEF1F8;} + .d2-1778933596 .background-color-N7{background-color:#FFFFFF;} + .d2-1778933596 .background-color-B1{background-color:#0D32B2;} + .d2-1778933596 .background-color-B2{background-color:#0D32B2;} + .d2-1778933596 .background-color-B3{background-color:#E3E9FD;} + .d2-1778933596 .background-color-B4{background-color:#E3E9FD;} + .d2-1778933596 .background-color-B5{background-color:#EDF0FD;} + .d2-1778933596 .background-color-B6{background-color:#F7F8FE;} + .d2-1778933596 .background-color-AA2{background-color:#4A6FF3;} + .d2-1778933596 .background-color-AA4{background-color:#EDF0FD;} + .d2-1778933596 .background-color-AA5{background-color:#F7F8FE;} + .d2-1778933596 .background-color-AB4{background-color:#EDF0FD;} + .d2-1778933596 .background-color-AB5{background-color:#F7F8FE;} + .d2-1778933596 .color-N1{color:#0A0F25;} + .d2-1778933596 .color-N2{color:#676C7E;} + .d2-1778933596 .color-N3{color:#9499AB;} + .d2-1778933596 .color-N4{color:#CFD2DD;} + .d2-1778933596 .color-N5{color:#DEE1EB;} + .d2-1778933596 .color-N6{color:#EEF1F8;} + .d2-1778933596 .color-N7{color:#FFFFFF;} + .d2-1778933596 .color-B1{color:#0D32B2;} + .d2-1778933596 .color-B2{color:#0D32B2;} + .d2-1778933596 .color-B3{color:#E3E9FD;} + .d2-1778933596 .color-B4{color:#E3E9FD;} + .d2-1778933596 .color-B5{color:#EDF0FD;} + .d2-1778933596 .color-B6{color:#F7F8FE;} + .d2-1778933596 .color-AA2{color:#4A6FF3;} + .d2-1778933596 .color-AA4{color:#EDF0FD;} + .d2-1778933596 .color-AA5{color:#F7F8FE;} + .d2-1778933596 .color-AB4{color:#EDF0FD;} + .d2-1778933596 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcxyz diff --git a/e2etests/testdata/regression/grid_in_constant_near/elk/sketch.exp.svg b/e2etests/testdata/regression/grid_in_constant_near/elk/sketch.exp.svg index fdb8d54c2..9d2200a2b 100644 --- a/e2etests/testdata/regression/grid_in_constant_near/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_in_constant_near/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abcxyz + .d2-980958901 .fill-N1{fill:#0A0F25;} + .d2-980958901 .fill-N2{fill:#676C7E;} + .d2-980958901 .fill-N3{fill:#9499AB;} + .d2-980958901 .fill-N4{fill:#CFD2DD;} + .d2-980958901 .fill-N5{fill:#DEE1EB;} + .d2-980958901 .fill-N6{fill:#EEF1F8;} + .d2-980958901 .fill-N7{fill:#FFFFFF;} + .d2-980958901 .fill-B1{fill:#0D32B2;} + .d2-980958901 .fill-B2{fill:#0D32B2;} + .d2-980958901 .fill-B3{fill:#E3E9FD;} + .d2-980958901 .fill-B4{fill:#E3E9FD;} + .d2-980958901 .fill-B5{fill:#EDF0FD;} + .d2-980958901 .fill-B6{fill:#F7F8FE;} + .d2-980958901 .fill-AA2{fill:#4A6FF3;} + .d2-980958901 .fill-AA4{fill:#EDF0FD;} + .d2-980958901 .fill-AA5{fill:#F7F8FE;} + .d2-980958901 .fill-AB4{fill:#EDF0FD;} + .d2-980958901 .fill-AB5{fill:#F7F8FE;} + .d2-980958901 .stroke-N1{stroke:#0A0F25;} + .d2-980958901 .stroke-N2{stroke:#676C7E;} + .d2-980958901 .stroke-N3{stroke:#9499AB;} + .d2-980958901 .stroke-N4{stroke:#CFD2DD;} + .d2-980958901 .stroke-N5{stroke:#DEE1EB;} + .d2-980958901 .stroke-N6{stroke:#EEF1F8;} + .d2-980958901 .stroke-N7{stroke:#FFFFFF;} + .d2-980958901 .stroke-B1{stroke:#0D32B2;} + .d2-980958901 .stroke-B2{stroke:#0D32B2;} + .d2-980958901 .stroke-B3{stroke:#E3E9FD;} + .d2-980958901 .stroke-B4{stroke:#E3E9FD;} + .d2-980958901 .stroke-B5{stroke:#EDF0FD;} + .d2-980958901 .stroke-B6{stroke:#F7F8FE;} + .d2-980958901 .stroke-AA2{stroke:#4A6FF3;} + .d2-980958901 .stroke-AA4{stroke:#EDF0FD;} + .d2-980958901 .stroke-AA5{stroke:#F7F8FE;} + .d2-980958901 .stroke-AB4{stroke:#EDF0FD;} + .d2-980958901 .stroke-AB5{stroke:#F7F8FE;} + .d2-980958901 .background-color-N1{background-color:#0A0F25;} + .d2-980958901 .background-color-N2{background-color:#676C7E;} + .d2-980958901 .background-color-N3{background-color:#9499AB;} + .d2-980958901 .background-color-N4{background-color:#CFD2DD;} + .d2-980958901 .background-color-N5{background-color:#DEE1EB;} + .d2-980958901 .background-color-N6{background-color:#EEF1F8;} + .d2-980958901 .background-color-N7{background-color:#FFFFFF;} + .d2-980958901 .background-color-B1{background-color:#0D32B2;} + .d2-980958901 .background-color-B2{background-color:#0D32B2;} + .d2-980958901 .background-color-B3{background-color:#E3E9FD;} + .d2-980958901 .background-color-B4{background-color:#E3E9FD;} + .d2-980958901 .background-color-B5{background-color:#EDF0FD;} + .d2-980958901 .background-color-B6{background-color:#F7F8FE;} + .d2-980958901 .background-color-AA2{background-color:#4A6FF3;} + .d2-980958901 .background-color-AA4{background-color:#EDF0FD;} + .d2-980958901 .background-color-AA5{background-color:#F7F8FE;} + .d2-980958901 .background-color-AB4{background-color:#EDF0FD;} + .d2-980958901 .background-color-AB5{background-color:#F7F8FE;} + .d2-980958901 .color-N1{color:#0A0F25;} + .d2-980958901 .color-N2{color:#676C7E;} + .d2-980958901 .color-N3{color:#9499AB;} + .d2-980958901 .color-N4{color:#CFD2DD;} + .d2-980958901 .color-N5{color:#DEE1EB;} + .d2-980958901 .color-N6{color:#EEF1F8;} + .d2-980958901 .color-N7{color:#FFFFFF;} + .d2-980958901 .color-B1{color:#0D32B2;} + .d2-980958901 .color-B2{color:#0D32B2;} + .d2-980958901 .color-B3{color:#E3E9FD;} + .d2-980958901 .color-B4{color:#E3E9FD;} + .d2-980958901 .color-B5{color:#EDF0FD;} + .d2-980958901 .color-B6{color:#F7F8FE;} + .d2-980958901 .color-AA2{color:#4A6FF3;} + .d2-980958901 .color-AA4{color:#EDF0FD;} + .d2-980958901 .color-AA5{color:#F7F8FE;} + .d2-980958901 .color-AB4{color:#EDF0FD;} + .d2-980958901 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcxyz diff --git a/e2etests/testdata/regression/grid_oom/dagre/sketch.exp.svg b/e2etests/testdata/regression/grid_oom/dagre/sketch.exp.svg index b499ca5f4..821672833 100644 --- a/e2etests/testdata/regression/grid_oom/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_oom/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1-----------------26+1----------------+2------------------------------27+1-----------------28+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------29+1--------------------------------30+1-------------------+2---------------------------------------------+3--------------------------------31+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------32+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------33+1------------------------+2----------------------34+1----------------+2------------------------------35+1----------------36+1-----------------37+1----------------+2---------------------------+3-----------------------------+4------------------------38+1-----------------39+1-----------------40+1-----------------41+1-----------------42+1-----------------43+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------44+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------45+1-----------------46+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------47+1-----------------48+1-------------------------------+2------------------------------+3--------------------------------------------+4--------------------------------------------------------------------49+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------50+1--------------+2-----------------------+3-------------+4------------------------+5------------------------+6-------------------------------+7--------------------------51+1----------------+2------------------------------52+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------53+1----------------+2------------------------------54+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------55+1----------------------------------------------56+1----------------+2------------------------------57+1-----------------58+1-----------------59+1-----------+2--------------------------------------------60+1-----------------61+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------62+1------------------------+2----------------------63+1-----------------64+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------65+1-------------+2--------------------------+3-------------+4-------------+5--------------------------+6-----------------------+7---------------------------------+8----------------------------66+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------67+1----------------+2------------------------------+3-----------------------------+4-------------------------------+5---------------------------68+1----------------------------------------+2-----------------------+3-------------------------------------+4-----------------------69+1---------------------------+2------------------------------+3--------------------------------+4--------------------------------------------------------------------+5------------------------------70+1--------------------+2--------------------------+3---------------------+4-------------------------------+5-------------------------71+1------------------------------+2------------------------72+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------73+1----------------+2---------------------------74+1----------------+2------------------------+3--------------------------+4----------------------75+1----------------+2---------------------------76+1----------------+2---------------------------+3-----------------------------+4------------------------77+1----------------+2------------------------------+3--------------------------78+1----------------+2------------------------------+3-----------------------------+4------------------------79+1----------------------+2--------------------------------+3--------------------------------+4-------------------------------------------+5-------------------------+6----------------------------+7---------------------------+8----------------------------------------+9-----------------------------+10-----------------------------+11----------------------80+1--------------------------------+2----------------------------------+3------------------------+4-------------------------+5------------------------------+6------------------------------+7----------------------+8--------------------------+9----------------------+10-----------------------+11-------------------------+12----------------------------------81+1----------------+2------------------------------82+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------83+1--------------+2-----------------------+3------------------------84+1----------------+2------------------------------85+1-----------------------+2------------------------+3--------------------------------+4---------------------------------+5-----------------------------+6-----------------------------86+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------87+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------88+1--------------------------------89+1-------------+2--------------------------+3-------------+4-------------+5-----------------------------+6-----------------------+7---------------------------------+8----------------------------90+1----------------+2---------------------------91+1------------+2----------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------92+1----------------+2------------------------------93+1------------------------------+2------------------------94+1----------------------+2-------------------------------------------+3-----------------------------+4-----------------------------+5-----------------------------+6--------------------------95+1----------------+2---------------------------+3-----------------------------+4------------------------96+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------97+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------98+1----------------+2---------------------------99+1-----------------100+1-------------------+2--------------+3-------------------------101+1------------+2-------------------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------102+1----------------+2------------------------------103+1----------------+2------------------------------+3-----------------------+4---------------------------------104+1-------------------+2---------------------------------------------+3------------------------105+1----------------+2------------------------------106+1-----------------107+1----------------+2------------------------------108+1----------------+2------------------------------+3-----------------------------+4------------------------109+1-----------------110+1----------------+2------------------------------+3--------------------------111+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------112+1----------------+2------------------------------113+1-----------------114+1-----------------115+1----------------116+1----------------+2------------------------------+3-----------------------------+4------------------------117+1----------------118+1-----------------119+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------120+1-----------------121+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------122+1----------------+2------------------------------+3---------------------------------123+1-------------------+2--------------+3-------------------------124+1-----------------125+1----------------+2------------------------------+3----------------------+4--------------------------------126+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------127+1--------------------------------128+1----------------+2------------------------------+3-----------------------+4-------------------------129+1----------------+2---------------------------+3-----------------------------+4------------------------130+1----------------+2------------------------------131+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------132+1-----------------------+2----------------+3------------------------------+4----------------------+5--------------------------+6-----------------------------+7---------------------------+8--------------------------+9----------------------+10---------------------------+11--------------------------------+12------------------------------+13-------------------------+14--------------------------+15---------------------------------+16-------------------------------+17--------------------------+18--------------------------------+19------------------------+20-----------------------------+21-----------------------------+22---------------------------------+23----------------------------+24-----------------------------+25-----------------------+26------------------------------+27-------------------------+28-------------------------+29---------------------------------+30--------------------------+31---------------------------+32---------------------------+33------------------------+34---------------------------+35----------------------+36--------------------------+37---------------------------+38----------------------------------+39--------------------------+40-----------------------+41----------------------------+42---------------------------+43--------------------------+44---------------------------+45----------------------------------+46--------------------------+47--------------------------+48--------------------------133+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------134+1--------------------+2---------------135+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------136+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------137+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------138+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------139+1--------------+2-----------------------+3------------------------140+1--------------------+2--------------------+3-----------------------+4-------------------------------------141+1-------------------------+2------------------------142+1-----------------143+1----------------+2---------------------------+3-----------------------------+4------------------------144+1----------------------+2------------------------+3--------------------------------------+4----------------------------------145+1---------------------------+2------------------------------+3--------------------------------------------+4------------------------+5-------------------------------+6---------------------------------------------+7--------------------------------------------+8-------------------------------146+1--------------------------+2----------------+3------------------------------+4----------------------------+5-------------------------------+6----------------------------+7------------------------+8------------------------+9---------------------------+10------------------------+11----------------------------------+12-------------------------+13------------------------+14--------------------------+15-----------------------------+16----------------------------+17-----------------------------+18---------------------------------+19--------------------------+20---------------------+21-------------------------------+22-------------------------------+23------------------------------+24---------------------------+25--------------------------+26---------------------------------+27------------------------+28--------------------------+29--------------------------+30--------------------------+31--------------------------+32----------------------------+33----------------------+34--------------------------+35----------------------+36--------------------------+37---------------------------+38--------------------------+39----------------------+40-----------------------+41-----------------------------+42-----------------------------+43--------------------------+44-------------------------+45------------------------------+46---------------------------------+47--------------------------+48--------------------------147+1-----------------------------+2--------------------+3---------------148+1--------------------+2--------------------+3-----------------------+4-------------------------------------149+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------150+1---------------------------------------+2--------------------+3-------------------------------------+4-----------------------151+1------------------------------+2------------------------152+1--------------------------------153+1-----------------154+1----------------------+2-----------------------+3-------------------------------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------155+1------------------------156+1---------------- + .d2-541041613 .fill-N1{fill:#0A0F25;} + .d2-541041613 .fill-N2{fill:#676C7E;} + .d2-541041613 .fill-N3{fill:#9499AB;} + .d2-541041613 .fill-N4{fill:#CFD2DD;} + .d2-541041613 .fill-N5{fill:#DEE1EB;} + .d2-541041613 .fill-N6{fill:#EEF1F8;} + .d2-541041613 .fill-N7{fill:#FFFFFF;} + .d2-541041613 .fill-B1{fill:#0D32B2;} + .d2-541041613 .fill-B2{fill:#0D32B2;} + .d2-541041613 .fill-B3{fill:#E3E9FD;} + .d2-541041613 .fill-B4{fill:#E3E9FD;} + .d2-541041613 .fill-B5{fill:#EDF0FD;} + .d2-541041613 .fill-B6{fill:#F7F8FE;} + .d2-541041613 .fill-AA2{fill:#4A6FF3;} + .d2-541041613 .fill-AA4{fill:#EDF0FD;} + .d2-541041613 .fill-AA5{fill:#F7F8FE;} + .d2-541041613 .fill-AB4{fill:#EDF0FD;} + .d2-541041613 .fill-AB5{fill:#F7F8FE;} + .d2-541041613 .stroke-N1{stroke:#0A0F25;} + .d2-541041613 .stroke-N2{stroke:#676C7E;} + .d2-541041613 .stroke-N3{stroke:#9499AB;} + .d2-541041613 .stroke-N4{stroke:#CFD2DD;} + .d2-541041613 .stroke-N5{stroke:#DEE1EB;} + .d2-541041613 .stroke-N6{stroke:#EEF1F8;} + .d2-541041613 .stroke-N7{stroke:#FFFFFF;} + .d2-541041613 .stroke-B1{stroke:#0D32B2;} + .d2-541041613 .stroke-B2{stroke:#0D32B2;} + .d2-541041613 .stroke-B3{stroke:#E3E9FD;} + .d2-541041613 .stroke-B4{stroke:#E3E9FD;} + .d2-541041613 .stroke-B5{stroke:#EDF0FD;} + .d2-541041613 .stroke-B6{stroke:#F7F8FE;} + .d2-541041613 .stroke-AA2{stroke:#4A6FF3;} + .d2-541041613 .stroke-AA4{stroke:#EDF0FD;} + .d2-541041613 .stroke-AA5{stroke:#F7F8FE;} + .d2-541041613 .stroke-AB4{stroke:#EDF0FD;} + .d2-541041613 .stroke-AB5{stroke:#F7F8FE;} + .d2-541041613 .background-color-N1{background-color:#0A0F25;} + .d2-541041613 .background-color-N2{background-color:#676C7E;} + .d2-541041613 .background-color-N3{background-color:#9499AB;} + .d2-541041613 .background-color-N4{background-color:#CFD2DD;} + .d2-541041613 .background-color-N5{background-color:#DEE1EB;} + .d2-541041613 .background-color-N6{background-color:#EEF1F8;} + .d2-541041613 .background-color-N7{background-color:#FFFFFF;} + .d2-541041613 .background-color-B1{background-color:#0D32B2;} + .d2-541041613 .background-color-B2{background-color:#0D32B2;} + .d2-541041613 .background-color-B3{background-color:#E3E9FD;} + .d2-541041613 .background-color-B4{background-color:#E3E9FD;} + .d2-541041613 .background-color-B5{background-color:#EDF0FD;} + .d2-541041613 .background-color-B6{background-color:#F7F8FE;} + .d2-541041613 .background-color-AA2{background-color:#4A6FF3;} + .d2-541041613 .background-color-AA4{background-color:#EDF0FD;} + .d2-541041613 .background-color-AA5{background-color:#F7F8FE;} + .d2-541041613 .background-color-AB4{background-color:#EDF0FD;} + .d2-541041613 .background-color-AB5{background-color:#F7F8FE;} + .d2-541041613 .color-N1{color:#0A0F25;} + .d2-541041613 .color-N2{color:#676C7E;} + .d2-541041613 .color-N3{color:#9499AB;} + .d2-541041613 .color-N4{color:#CFD2DD;} + .d2-541041613 .color-N5{color:#DEE1EB;} + .d2-541041613 .color-N6{color:#EEF1F8;} + .d2-541041613 .color-N7{color:#FFFFFF;} + .d2-541041613 .color-B1{color:#0D32B2;} + .d2-541041613 .color-B2{color:#0D32B2;} + .d2-541041613 .color-B3{color:#E3E9FD;} + .d2-541041613 .color-B4{color:#E3E9FD;} + .d2-541041613 .color-B5{color:#EDF0FD;} + .d2-541041613 .color-B6{color:#F7F8FE;} + .d2-541041613 .color-AA2{color:#4A6FF3;} + .d2-541041613 .color-AA4{color:#EDF0FD;} + .d2-541041613 .color-AA5{color:#F7F8FE;} + .d2-541041613 .color-AB4{color:#EDF0FD;} + .d2-541041613 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1-----------------26+1----------------+2------------------------------27+1-----------------28+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------29+1--------------------------------30+1-------------------+2---------------------------------------------+3--------------------------------31+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------32+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------33+1------------------------+2----------------------34+1----------------+2------------------------------35+1----------------36+1-----------------37+1----------------+2---------------------------+3-----------------------------+4------------------------38+1-----------------39+1-----------------40+1-----------------41+1-----------------42+1-----------------43+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------44+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------45+1-----------------46+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------47+1-----------------48+1-------------------------------+2------------------------------+3--------------------------------------------+4--------------------------------------------------------------------49+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------50+1--------------+2-----------------------+3-------------+4------------------------+5------------------------+6-------------------------------+7--------------------------51+1----------------+2------------------------------52+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------53+1----------------+2------------------------------54+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------55+1----------------------------------------------56+1----------------+2------------------------------57+1-----------------58+1-----------------59+1-----------+2--------------------------------------------60+1-----------------61+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------62+1------------------------+2----------------------63+1-----------------64+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------65+1-------------+2--------------------------+3-------------+4-------------+5--------------------------+6-----------------------+7---------------------------------+8----------------------------66+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------67+1----------------+2------------------------------+3-----------------------------+4-------------------------------+5---------------------------68+1----------------------------------------+2-----------------------+3-------------------------------------+4-----------------------69+1---------------------------+2------------------------------+3--------------------------------+4--------------------------------------------------------------------+5------------------------------70+1--------------------+2--------------------------+3---------------------+4-------------------------------+5-------------------------71+1------------------------------+2------------------------72+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------73+1----------------+2---------------------------74+1----------------+2------------------------+3--------------------------+4----------------------75+1----------------+2---------------------------76+1----------------+2---------------------------+3-----------------------------+4------------------------77+1----------------+2------------------------------+3--------------------------78+1----------------+2------------------------------+3-----------------------------+4------------------------79+1----------------------+2--------------------------------+3--------------------------------+4-------------------------------------------+5-------------------------+6----------------------------+7---------------------------+8----------------------------------------+9-----------------------------+10-----------------------------+11----------------------80+1--------------------------------+2----------------------------------+3------------------------+4-------------------------+5------------------------------+6------------------------------+7----------------------+8--------------------------+9----------------------+10-----------------------+11-------------------------+12----------------------------------81+1----------------+2------------------------------82+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------83+1--------------+2-----------------------+3------------------------84+1----------------+2------------------------------85+1-----------------------+2------------------------+3--------------------------------+4---------------------------------+5-----------------------------+6-----------------------------86+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------87+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------88+1--------------------------------89+1-------------+2--------------------------+3-------------+4-------------+5-----------------------------+6-----------------------+7---------------------------------+8----------------------------90+1----------------+2---------------------------91+1------------+2----------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------92+1----------------+2------------------------------93+1------------------------------+2------------------------94+1----------------------+2-------------------------------------------+3-----------------------------+4-----------------------------+5-----------------------------+6--------------------------95+1----------------+2---------------------------+3-----------------------------+4------------------------96+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------97+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------98+1----------------+2---------------------------99+1-----------------100+1-------------------+2--------------+3-------------------------101+1------------+2-------------------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------102+1----------------+2------------------------------103+1----------------+2------------------------------+3-----------------------+4---------------------------------104+1-------------------+2---------------------------------------------+3------------------------105+1----------------+2------------------------------106+1-----------------107+1----------------+2------------------------------108+1----------------+2------------------------------+3-----------------------------+4------------------------109+1-----------------110+1----------------+2------------------------------+3--------------------------111+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------112+1----------------+2------------------------------113+1-----------------114+1-----------------115+1----------------116+1----------------+2------------------------------+3-----------------------------+4------------------------117+1----------------118+1-----------------119+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------120+1-----------------121+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------122+1----------------+2------------------------------+3---------------------------------123+1-------------------+2--------------+3-------------------------124+1-----------------125+1----------------+2------------------------------+3----------------------+4--------------------------------126+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------127+1--------------------------------128+1----------------+2------------------------------+3-----------------------+4-------------------------129+1----------------+2---------------------------+3-----------------------------+4------------------------130+1----------------+2------------------------------131+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------132+1-----------------------+2----------------+3------------------------------+4----------------------+5--------------------------+6-----------------------------+7---------------------------+8--------------------------+9----------------------+10---------------------------+11--------------------------------+12------------------------------+13-------------------------+14--------------------------+15---------------------------------+16-------------------------------+17--------------------------+18--------------------------------+19------------------------+20-----------------------------+21-----------------------------+22---------------------------------+23----------------------------+24-----------------------------+25-----------------------+26------------------------------+27-------------------------+28-------------------------+29---------------------------------+30--------------------------+31---------------------------+32---------------------------+33------------------------+34---------------------------+35----------------------+36--------------------------+37---------------------------+38----------------------------------+39--------------------------+40-----------------------+41----------------------------+42---------------------------+43--------------------------+44---------------------------+45----------------------------------+46--------------------------+47--------------------------+48--------------------------133+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------134+1--------------------+2---------------135+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------136+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------137+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------138+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------139+1--------------+2-----------------------+3------------------------140+1--------------------+2--------------------+3-----------------------+4-------------------------------------141+1-------------------------+2------------------------142+1-----------------143+1----------------+2---------------------------+3-----------------------------+4------------------------144+1----------------------+2------------------------+3--------------------------------------+4----------------------------------145+1---------------------------+2------------------------------+3--------------------------------------------+4------------------------+5-------------------------------+6---------------------------------------------+7--------------------------------------------+8-------------------------------146+1--------------------------+2----------------+3------------------------------+4----------------------------+5-------------------------------+6----------------------------+7------------------------+8------------------------+9---------------------------+10------------------------+11----------------------------------+12-------------------------+13------------------------+14--------------------------+15-----------------------------+16----------------------------+17-----------------------------+18---------------------------------+19--------------------------+20---------------------+21-------------------------------+22-------------------------------+23------------------------------+24---------------------------+25--------------------------+26---------------------------------+27------------------------+28--------------------------+29--------------------------+30--------------------------+31--------------------------+32----------------------------+33----------------------+34--------------------------+35----------------------+36--------------------------+37---------------------------+38--------------------------+39----------------------+40-----------------------+41-----------------------------+42-----------------------------+43--------------------------+44-------------------------+45------------------------------+46---------------------------------+47--------------------------+48--------------------------147+1-----------------------------+2--------------------+3---------------148+1--------------------+2--------------------+3-----------------------+4-------------------------------------149+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------150+1---------------------------------------+2--------------------+3-------------------------------------+4-----------------------151+1------------------------------+2------------------------152+1--------------------------------153+1-----------------154+1----------------------+2-----------------------+3-------------------------------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------155+1------------------------156+1---------------- \ No newline at end of file diff --git a/e2etests/testdata/regression/grid_oom/elk/sketch.exp.svg b/e2etests/testdata/regression/grid_oom/elk/sketch.exp.svg index b499ca5f4..821672833 100644 --- a/e2etests/testdata/regression/grid_oom/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_oom/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1-----------------26+1----------------+2------------------------------27+1-----------------28+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------29+1--------------------------------30+1-------------------+2---------------------------------------------+3--------------------------------31+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------32+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------33+1------------------------+2----------------------34+1----------------+2------------------------------35+1----------------36+1-----------------37+1----------------+2---------------------------+3-----------------------------+4------------------------38+1-----------------39+1-----------------40+1-----------------41+1-----------------42+1-----------------43+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------44+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------45+1-----------------46+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------47+1-----------------48+1-------------------------------+2------------------------------+3--------------------------------------------+4--------------------------------------------------------------------49+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------50+1--------------+2-----------------------+3-------------+4------------------------+5------------------------+6-------------------------------+7--------------------------51+1----------------+2------------------------------52+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------53+1----------------+2------------------------------54+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------55+1----------------------------------------------56+1----------------+2------------------------------57+1-----------------58+1-----------------59+1-----------+2--------------------------------------------60+1-----------------61+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------62+1------------------------+2----------------------63+1-----------------64+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------65+1-------------+2--------------------------+3-------------+4-------------+5--------------------------+6-----------------------+7---------------------------------+8----------------------------66+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------67+1----------------+2------------------------------+3-----------------------------+4-------------------------------+5---------------------------68+1----------------------------------------+2-----------------------+3-------------------------------------+4-----------------------69+1---------------------------+2------------------------------+3--------------------------------+4--------------------------------------------------------------------+5------------------------------70+1--------------------+2--------------------------+3---------------------+4-------------------------------+5-------------------------71+1------------------------------+2------------------------72+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------73+1----------------+2---------------------------74+1----------------+2------------------------+3--------------------------+4----------------------75+1----------------+2---------------------------76+1----------------+2---------------------------+3-----------------------------+4------------------------77+1----------------+2------------------------------+3--------------------------78+1----------------+2------------------------------+3-----------------------------+4------------------------79+1----------------------+2--------------------------------+3--------------------------------+4-------------------------------------------+5-------------------------+6----------------------------+7---------------------------+8----------------------------------------+9-----------------------------+10-----------------------------+11----------------------80+1--------------------------------+2----------------------------------+3------------------------+4-------------------------+5------------------------------+6------------------------------+7----------------------+8--------------------------+9----------------------+10-----------------------+11-------------------------+12----------------------------------81+1----------------+2------------------------------82+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------83+1--------------+2-----------------------+3------------------------84+1----------------+2------------------------------85+1-----------------------+2------------------------+3--------------------------------+4---------------------------------+5-----------------------------+6-----------------------------86+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------87+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------88+1--------------------------------89+1-------------+2--------------------------+3-------------+4-------------+5-----------------------------+6-----------------------+7---------------------------------+8----------------------------90+1----------------+2---------------------------91+1------------+2----------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------92+1----------------+2------------------------------93+1------------------------------+2------------------------94+1----------------------+2-------------------------------------------+3-----------------------------+4-----------------------------+5-----------------------------+6--------------------------95+1----------------+2---------------------------+3-----------------------------+4------------------------96+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------97+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------98+1----------------+2---------------------------99+1-----------------100+1-------------------+2--------------+3-------------------------101+1------------+2-------------------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------102+1----------------+2------------------------------103+1----------------+2------------------------------+3-----------------------+4---------------------------------104+1-------------------+2---------------------------------------------+3------------------------105+1----------------+2------------------------------106+1-----------------107+1----------------+2------------------------------108+1----------------+2------------------------------+3-----------------------------+4------------------------109+1-----------------110+1----------------+2------------------------------+3--------------------------111+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------112+1----------------+2------------------------------113+1-----------------114+1-----------------115+1----------------116+1----------------+2------------------------------+3-----------------------------+4------------------------117+1----------------118+1-----------------119+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------120+1-----------------121+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------122+1----------------+2------------------------------+3---------------------------------123+1-------------------+2--------------+3-------------------------124+1-----------------125+1----------------+2------------------------------+3----------------------+4--------------------------------126+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------127+1--------------------------------128+1----------------+2------------------------------+3-----------------------+4-------------------------129+1----------------+2---------------------------+3-----------------------------+4------------------------130+1----------------+2------------------------------131+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------132+1-----------------------+2----------------+3------------------------------+4----------------------+5--------------------------+6-----------------------------+7---------------------------+8--------------------------+9----------------------+10---------------------------+11--------------------------------+12------------------------------+13-------------------------+14--------------------------+15---------------------------------+16-------------------------------+17--------------------------+18--------------------------------+19------------------------+20-----------------------------+21-----------------------------+22---------------------------------+23----------------------------+24-----------------------------+25-----------------------+26------------------------------+27-------------------------+28-------------------------+29---------------------------------+30--------------------------+31---------------------------+32---------------------------+33------------------------+34---------------------------+35----------------------+36--------------------------+37---------------------------+38----------------------------------+39--------------------------+40-----------------------+41----------------------------+42---------------------------+43--------------------------+44---------------------------+45----------------------------------+46--------------------------+47--------------------------+48--------------------------133+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------134+1--------------------+2---------------135+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------136+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------137+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------138+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------139+1--------------+2-----------------------+3------------------------140+1--------------------+2--------------------+3-----------------------+4-------------------------------------141+1-------------------------+2------------------------142+1-----------------143+1----------------+2---------------------------+3-----------------------------+4------------------------144+1----------------------+2------------------------+3--------------------------------------+4----------------------------------145+1---------------------------+2------------------------------+3--------------------------------------------+4------------------------+5-------------------------------+6---------------------------------------------+7--------------------------------------------+8-------------------------------146+1--------------------------+2----------------+3------------------------------+4----------------------------+5-------------------------------+6----------------------------+7------------------------+8------------------------+9---------------------------+10------------------------+11----------------------------------+12-------------------------+13------------------------+14--------------------------+15-----------------------------+16----------------------------+17-----------------------------+18---------------------------------+19--------------------------+20---------------------+21-------------------------------+22-------------------------------+23------------------------------+24---------------------------+25--------------------------+26---------------------------------+27------------------------+28--------------------------+29--------------------------+30--------------------------+31--------------------------+32----------------------------+33----------------------+34--------------------------+35----------------------+36--------------------------+37---------------------------+38--------------------------+39----------------------+40-----------------------+41-----------------------------+42-----------------------------+43--------------------------+44-------------------------+45------------------------------+46---------------------------------+47--------------------------+48--------------------------147+1-----------------------------+2--------------------+3---------------148+1--------------------+2--------------------+3-----------------------+4-------------------------------------149+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------150+1---------------------------------------+2--------------------+3-------------------------------------+4-----------------------151+1------------------------------+2------------------------152+1--------------------------------153+1-----------------154+1----------------------+2-----------------------+3-------------------------------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------155+1------------------------156+1---------------- + .d2-541041613 .fill-N1{fill:#0A0F25;} + .d2-541041613 .fill-N2{fill:#676C7E;} + .d2-541041613 .fill-N3{fill:#9499AB;} + .d2-541041613 .fill-N4{fill:#CFD2DD;} + .d2-541041613 .fill-N5{fill:#DEE1EB;} + .d2-541041613 .fill-N6{fill:#EEF1F8;} + .d2-541041613 .fill-N7{fill:#FFFFFF;} + .d2-541041613 .fill-B1{fill:#0D32B2;} + .d2-541041613 .fill-B2{fill:#0D32B2;} + .d2-541041613 .fill-B3{fill:#E3E9FD;} + .d2-541041613 .fill-B4{fill:#E3E9FD;} + .d2-541041613 .fill-B5{fill:#EDF0FD;} + .d2-541041613 .fill-B6{fill:#F7F8FE;} + .d2-541041613 .fill-AA2{fill:#4A6FF3;} + .d2-541041613 .fill-AA4{fill:#EDF0FD;} + .d2-541041613 .fill-AA5{fill:#F7F8FE;} + .d2-541041613 .fill-AB4{fill:#EDF0FD;} + .d2-541041613 .fill-AB5{fill:#F7F8FE;} + .d2-541041613 .stroke-N1{stroke:#0A0F25;} + .d2-541041613 .stroke-N2{stroke:#676C7E;} + .d2-541041613 .stroke-N3{stroke:#9499AB;} + .d2-541041613 .stroke-N4{stroke:#CFD2DD;} + .d2-541041613 .stroke-N5{stroke:#DEE1EB;} + .d2-541041613 .stroke-N6{stroke:#EEF1F8;} + .d2-541041613 .stroke-N7{stroke:#FFFFFF;} + .d2-541041613 .stroke-B1{stroke:#0D32B2;} + .d2-541041613 .stroke-B2{stroke:#0D32B2;} + .d2-541041613 .stroke-B3{stroke:#E3E9FD;} + .d2-541041613 .stroke-B4{stroke:#E3E9FD;} + .d2-541041613 .stroke-B5{stroke:#EDF0FD;} + .d2-541041613 .stroke-B6{stroke:#F7F8FE;} + .d2-541041613 .stroke-AA2{stroke:#4A6FF3;} + .d2-541041613 .stroke-AA4{stroke:#EDF0FD;} + .d2-541041613 .stroke-AA5{stroke:#F7F8FE;} + .d2-541041613 .stroke-AB4{stroke:#EDF0FD;} + .d2-541041613 .stroke-AB5{stroke:#F7F8FE;} + .d2-541041613 .background-color-N1{background-color:#0A0F25;} + .d2-541041613 .background-color-N2{background-color:#676C7E;} + .d2-541041613 .background-color-N3{background-color:#9499AB;} + .d2-541041613 .background-color-N4{background-color:#CFD2DD;} + .d2-541041613 .background-color-N5{background-color:#DEE1EB;} + .d2-541041613 .background-color-N6{background-color:#EEF1F8;} + .d2-541041613 .background-color-N7{background-color:#FFFFFF;} + .d2-541041613 .background-color-B1{background-color:#0D32B2;} + .d2-541041613 .background-color-B2{background-color:#0D32B2;} + .d2-541041613 .background-color-B3{background-color:#E3E9FD;} + .d2-541041613 .background-color-B4{background-color:#E3E9FD;} + .d2-541041613 .background-color-B5{background-color:#EDF0FD;} + .d2-541041613 .background-color-B6{background-color:#F7F8FE;} + .d2-541041613 .background-color-AA2{background-color:#4A6FF3;} + .d2-541041613 .background-color-AA4{background-color:#EDF0FD;} + .d2-541041613 .background-color-AA5{background-color:#F7F8FE;} + .d2-541041613 .background-color-AB4{background-color:#EDF0FD;} + .d2-541041613 .background-color-AB5{background-color:#F7F8FE;} + .d2-541041613 .color-N1{color:#0A0F25;} + .d2-541041613 .color-N2{color:#676C7E;} + .d2-541041613 .color-N3{color:#9499AB;} + .d2-541041613 .color-N4{color:#CFD2DD;} + .d2-541041613 .color-N5{color:#DEE1EB;} + .d2-541041613 .color-N6{color:#EEF1F8;} + .d2-541041613 .color-N7{color:#FFFFFF;} + .d2-541041613 .color-B1{color:#0D32B2;} + .d2-541041613 .color-B2{color:#0D32B2;} + .d2-541041613 .color-B3{color:#E3E9FD;} + .d2-541041613 .color-B4{color:#E3E9FD;} + .d2-541041613 .color-B5{color:#EDF0FD;} + .d2-541041613 .color-B6{color:#F7F8FE;} + .d2-541041613 .color-AA2{color:#4A6FF3;} + .d2-541041613 .color-AA4{color:#EDF0FD;} + .d2-541041613 .color-AA5{color:#F7F8FE;} + .d2-541041613 .color-AB4{color:#EDF0FD;} + .d2-541041613 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1-----------------26+1----------------+2------------------------------27+1-----------------28+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------29+1--------------------------------30+1-------------------+2---------------------------------------------+3--------------------------------31+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------32+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------33+1------------------------+2----------------------34+1----------------+2------------------------------35+1----------------36+1-----------------37+1----------------+2---------------------------+3-----------------------------+4------------------------38+1-----------------39+1-----------------40+1-----------------41+1-----------------42+1-----------------43+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------44+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------45+1-----------------46+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------47+1-----------------48+1-------------------------------+2------------------------------+3--------------------------------------------+4--------------------------------------------------------------------49+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------50+1--------------+2-----------------------+3-------------+4------------------------+5------------------------+6-------------------------------+7--------------------------51+1----------------+2------------------------------52+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------53+1----------------+2------------------------------54+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------55+1----------------------------------------------56+1----------------+2------------------------------57+1-----------------58+1-----------------59+1-----------+2--------------------------------------------60+1-----------------61+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------62+1------------------------+2----------------------63+1-----------------64+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------65+1-------------+2--------------------------+3-------------+4-------------+5--------------------------+6-----------------------+7---------------------------------+8----------------------------66+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------67+1----------------+2------------------------------+3-----------------------------+4-------------------------------+5---------------------------68+1----------------------------------------+2-----------------------+3-------------------------------------+4-----------------------69+1---------------------------+2------------------------------+3--------------------------------+4--------------------------------------------------------------------+5------------------------------70+1--------------------+2--------------------------+3---------------------+4-------------------------------+5-------------------------71+1------------------------------+2------------------------72+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------73+1----------------+2---------------------------74+1----------------+2------------------------+3--------------------------+4----------------------75+1----------------+2---------------------------76+1----------------+2---------------------------+3-----------------------------+4------------------------77+1----------------+2------------------------------+3--------------------------78+1----------------+2------------------------------+3-----------------------------+4------------------------79+1----------------------+2--------------------------------+3--------------------------------+4-------------------------------------------+5-------------------------+6----------------------------+7---------------------------+8----------------------------------------+9-----------------------------+10-----------------------------+11----------------------80+1--------------------------------+2----------------------------------+3------------------------+4-------------------------+5------------------------------+6------------------------------+7----------------------+8--------------------------+9----------------------+10-----------------------+11-------------------------+12----------------------------------81+1----------------+2------------------------------82+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------83+1--------------+2-----------------------+3------------------------84+1----------------+2------------------------------85+1-----------------------+2------------------------+3--------------------------------+4---------------------------------+5-----------------------------+6-----------------------------86+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------87+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------88+1--------------------------------89+1-------------+2--------------------------+3-------------+4-------------+5-----------------------------+6-----------------------+7---------------------------------+8----------------------------90+1----------------+2---------------------------91+1------------+2----------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------92+1----------------+2------------------------------93+1------------------------------+2------------------------94+1----------------------+2-------------------------------------------+3-----------------------------+4-----------------------------+5-----------------------------+6--------------------------95+1----------------+2---------------------------+3-----------------------------+4------------------------96+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------97+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------98+1----------------+2---------------------------99+1-----------------100+1-------------------+2--------------+3-------------------------101+1------------+2-------------------------------------+3-------------+4-----------------------------+5--------------------------+6-------------+7-------------+8--------------------------+9----------------------------102+1----------------+2------------------------------103+1----------------+2------------------------------+3-----------------------+4---------------------------------104+1-------------------+2---------------------------------------------+3------------------------105+1----------------+2------------------------------106+1-----------------107+1----------------+2------------------------------108+1----------------+2------------------------------+3-----------------------------+4------------------------109+1-----------------110+1----------------+2------------------------------+3--------------------------111+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------112+1----------------+2------------------------------113+1-----------------114+1-----------------115+1----------------116+1----------------+2------------------------------+3-----------------------------+4------------------------117+1----------------118+1-----------------119+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------120+1-----------------121+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------122+1----------------+2------------------------------+3---------------------------------123+1-------------------+2--------------+3-------------------------124+1-----------------125+1----------------+2------------------------------+3----------------------+4--------------------------------126+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------127+1--------------------------------128+1----------------+2------------------------------+3-----------------------+4-------------------------129+1----------------+2---------------------------+3-----------------------------+4------------------------130+1----------------+2------------------------------131+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------132+1-----------------------+2----------------+3------------------------------+4----------------------+5--------------------------+6-----------------------------+7---------------------------+8--------------------------+9----------------------+10---------------------------+11--------------------------------+12------------------------------+13-------------------------+14--------------------------+15---------------------------------+16-------------------------------+17--------------------------+18--------------------------------+19------------------------+20-----------------------------+21-----------------------------+22---------------------------------+23----------------------------+24-----------------------------+25-----------------------+26------------------------------+27-------------------------+28-------------------------+29---------------------------------+30--------------------------+31---------------------------+32---------------------------+33------------------------+34---------------------------+35----------------------+36--------------------------+37---------------------------+38----------------------------------+39--------------------------+40-----------------------+41----------------------------+42---------------------------+43--------------------------+44---------------------------+45----------------------------------+46--------------------------+47--------------------------+48--------------------------133+1--------------+2--------------------+3-------------------------+4----------------------+5-------------------------134+1--------------------+2---------------135+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------136+1----------------------------------------+2--------------------+3-----------------------+4-------------------------------------137+1---------------------------------------+2--------------------+3-----------------------+4-------------------------------------138+1---------------------------------------+2-----------------------+3-----------------------+4-------------------------------------139+1--------------+2-----------------------+3------------------------140+1--------------------+2--------------------+3-----------------------+4-------------------------------------141+1-------------------------+2------------------------142+1-----------------143+1----------------+2---------------------------+3-----------------------------+4------------------------144+1----------------------+2------------------------+3--------------------------------------+4----------------------------------145+1---------------------------+2------------------------------+3--------------------------------------------+4------------------------+5-------------------------------+6---------------------------------------------+7--------------------------------------------+8-------------------------------146+1--------------------------+2----------------+3------------------------------+4----------------------------+5-------------------------------+6----------------------------+7------------------------+8------------------------+9---------------------------+10------------------------+11----------------------------------+12-------------------------+13------------------------+14--------------------------+15-----------------------------+16----------------------------+17-----------------------------+18---------------------------------+19--------------------------+20---------------------+21-------------------------------+22-------------------------------+23------------------------------+24---------------------------+25--------------------------+26---------------------------------+27------------------------+28--------------------------+29--------------------------+30--------------------------+31--------------------------+32----------------------------+33----------------------+34--------------------------+35----------------------+36--------------------------+37---------------------------+38--------------------------+39----------------------+40-----------------------+41-----------------------------+42-----------------------------+43--------------------------+44-------------------------+45------------------------------+46---------------------------------+47--------------------------+48--------------------------147+1-----------------------------+2--------------------+3---------------148+1--------------------+2--------------------+3-----------------------+4-------------------------------------149+1----------------------------------------+2-----------------------+3-----------------------+4-------------------------------------150+1---------------------------------------+2--------------------+3-------------------------------------+4-----------------------151+1------------------------------+2------------------------152+1--------------------------------153+1-----------------154+1----------------------+2-----------------------+3-------------------------------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------155+1------------------------156+1---------------- \ No newline at end of file diff --git a/e2etests/testdata/regression/grid_panic/dagre/sketch.exp.svg b/e2etests/testdata/regression/grid_panic/dagre/sketch.exp.svg index 6ae5935a9..cf7edb7b3 100644 --- a/e2etests/testdata/regression/grid_panic/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_panic/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -2 rows 1 obj3 rows 2 obj4 columns 2 objoneonetwoonetwo + .d2-1953358309 .fill-N1{fill:#0A0F25;} + .d2-1953358309 .fill-N2{fill:#676C7E;} + .d2-1953358309 .fill-N3{fill:#9499AB;} + .d2-1953358309 .fill-N4{fill:#CFD2DD;} + .d2-1953358309 .fill-N5{fill:#DEE1EB;} + .d2-1953358309 .fill-N6{fill:#EEF1F8;} + .d2-1953358309 .fill-N7{fill:#FFFFFF;} + .d2-1953358309 .fill-B1{fill:#0D32B2;} + .d2-1953358309 .fill-B2{fill:#0D32B2;} + .d2-1953358309 .fill-B3{fill:#E3E9FD;} + .d2-1953358309 .fill-B4{fill:#E3E9FD;} + .d2-1953358309 .fill-B5{fill:#EDF0FD;} + .d2-1953358309 .fill-B6{fill:#F7F8FE;} + .d2-1953358309 .fill-AA2{fill:#4A6FF3;} + .d2-1953358309 .fill-AA4{fill:#EDF0FD;} + .d2-1953358309 .fill-AA5{fill:#F7F8FE;} + .d2-1953358309 .fill-AB4{fill:#EDF0FD;} + .d2-1953358309 .fill-AB5{fill:#F7F8FE;} + .d2-1953358309 .stroke-N1{stroke:#0A0F25;} + .d2-1953358309 .stroke-N2{stroke:#676C7E;} + .d2-1953358309 .stroke-N3{stroke:#9499AB;} + .d2-1953358309 .stroke-N4{stroke:#CFD2DD;} + .d2-1953358309 .stroke-N5{stroke:#DEE1EB;} + .d2-1953358309 .stroke-N6{stroke:#EEF1F8;} + .d2-1953358309 .stroke-N7{stroke:#FFFFFF;} + .d2-1953358309 .stroke-B1{stroke:#0D32B2;} + .d2-1953358309 .stroke-B2{stroke:#0D32B2;} + .d2-1953358309 .stroke-B3{stroke:#E3E9FD;} + .d2-1953358309 .stroke-B4{stroke:#E3E9FD;} + .d2-1953358309 .stroke-B5{stroke:#EDF0FD;} + .d2-1953358309 .stroke-B6{stroke:#F7F8FE;} + .d2-1953358309 .stroke-AA2{stroke:#4A6FF3;} + .d2-1953358309 .stroke-AA4{stroke:#EDF0FD;} + .d2-1953358309 .stroke-AA5{stroke:#F7F8FE;} + .d2-1953358309 .stroke-AB4{stroke:#EDF0FD;} + .d2-1953358309 .stroke-AB5{stroke:#F7F8FE;} + .d2-1953358309 .background-color-N1{background-color:#0A0F25;} + .d2-1953358309 .background-color-N2{background-color:#676C7E;} + .d2-1953358309 .background-color-N3{background-color:#9499AB;} + .d2-1953358309 .background-color-N4{background-color:#CFD2DD;} + .d2-1953358309 .background-color-N5{background-color:#DEE1EB;} + .d2-1953358309 .background-color-N6{background-color:#EEF1F8;} + .d2-1953358309 .background-color-N7{background-color:#FFFFFF;} + .d2-1953358309 .background-color-B1{background-color:#0D32B2;} + .d2-1953358309 .background-color-B2{background-color:#0D32B2;} + .d2-1953358309 .background-color-B3{background-color:#E3E9FD;} + .d2-1953358309 .background-color-B4{background-color:#E3E9FD;} + .d2-1953358309 .background-color-B5{background-color:#EDF0FD;} + .d2-1953358309 .background-color-B6{background-color:#F7F8FE;} + .d2-1953358309 .background-color-AA2{background-color:#4A6FF3;} + .d2-1953358309 .background-color-AA4{background-color:#EDF0FD;} + .d2-1953358309 .background-color-AA5{background-color:#F7F8FE;} + .d2-1953358309 .background-color-AB4{background-color:#EDF0FD;} + .d2-1953358309 .background-color-AB5{background-color:#F7F8FE;} + .d2-1953358309 .color-N1{color:#0A0F25;} + .d2-1953358309 .color-N2{color:#676C7E;} + .d2-1953358309 .color-N3{color:#9499AB;} + .d2-1953358309 .color-N4{color:#CFD2DD;} + .d2-1953358309 .color-N5{color:#DEE1EB;} + .d2-1953358309 .color-N6{color:#EEF1F8;} + .d2-1953358309 .color-N7{color:#FFFFFF;} + .d2-1953358309 .color-B1{color:#0D32B2;} + .d2-1953358309 .color-B2{color:#0D32B2;} + .d2-1953358309 .color-B3{color:#E3E9FD;} + .d2-1953358309 .color-B4{color:#E3E9FD;} + .d2-1953358309 .color-B5{color:#EDF0FD;} + .d2-1953358309 .color-B6{color:#F7F8FE;} + .d2-1953358309 .color-AA2{color:#4A6FF3;} + .d2-1953358309 .color-AA4{color:#EDF0FD;} + .d2-1953358309 .color-AA5{color:#F7F8FE;} + .d2-1953358309 .color-AB4{color:#EDF0FD;} + .d2-1953358309 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>2 rows 1 obj3 rows 2 obj4 columns 2 objoneonetwoonetwo diff --git a/e2etests/testdata/regression/grid_panic/elk/sketch.exp.svg b/e2etests/testdata/regression/grid_panic/elk/sketch.exp.svg index a7631c80c..8edecdd59 100644 --- a/e2etests/testdata/regression/grid_panic/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_panic/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -2 rows 1 obj3 rows 2 obj4 columns 2 objoneonetwoonetwo + .d2-600570647 .fill-N1{fill:#0A0F25;} + .d2-600570647 .fill-N2{fill:#676C7E;} + .d2-600570647 .fill-N3{fill:#9499AB;} + .d2-600570647 .fill-N4{fill:#CFD2DD;} + .d2-600570647 .fill-N5{fill:#DEE1EB;} + .d2-600570647 .fill-N6{fill:#EEF1F8;} + .d2-600570647 .fill-N7{fill:#FFFFFF;} + .d2-600570647 .fill-B1{fill:#0D32B2;} + .d2-600570647 .fill-B2{fill:#0D32B2;} + .d2-600570647 .fill-B3{fill:#E3E9FD;} + .d2-600570647 .fill-B4{fill:#E3E9FD;} + .d2-600570647 .fill-B5{fill:#EDF0FD;} + .d2-600570647 .fill-B6{fill:#F7F8FE;} + .d2-600570647 .fill-AA2{fill:#4A6FF3;} + .d2-600570647 .fill-AA4{fill:#EDF0FD;} + .d2-600570647 .fill-AA5{fill:#F7F8FE;} + .d2-600570647 .fill-AB4{fill:#EDF0FD;} + .d2-600570647 .fill-AB5{fill:#F7F8FE;} + .d2-600570647 .stroke-N1{stroke:#0A0F25;} + .d2-600570647 .stroke-N2{stroke:#676C7E;} + .d2-600570647 .stroke-N3{stroke:#9499AB;} + .d2-600570647 .stroke-N4{stroke:#CFD2DD;} + .d2-600570647 .stroke-N5{stroke:#DEE1EB;} + .d2-600570647 .stroke-N6{stroke:#EEF1F8;} + .d2-600570647 .stroke-N7{stroke:#FFFFFF;} + .d2-600570647 .stroke-B1{stroke:#0D32B2;} + .d2-600570647 .stroke-B2{stroke:#0D32B2;} + .d2-600570647 .stroke-B3{stroke:#E3E9FD;} + .d2-600570647 .stroke-B4{stroke:#E3E9FD;} + .d2-600570647 .stroke-B5{stroke:#EDF0FD;} + .d2-600570647 .stroke-B6{stroke:#F7F8FE;} + .d2-600570647 .stroke-AA2{stroke:#4A6FF3;} + .d2-600570647 .stroke-AA4{stroke:#EDF0FD;} + .d2-600570647 .stroke-AA5{stroke:#F7F8FE;} + .d2-600570647 .stroke-AB4{stroke:#EDF0FD;} + .d2-600570647 .stroke-AB5{stroke:#F7F8FE;} + .d2-600570647 .background-color-N1{background-color:#0A0F25;} + .d2-600570647 .background-color-N2{background-color:#676C7E;} + .d2-600570647 .background-color-N3{background-color:#9499AB;} + .d2-600570647 .background-color-N4{background-color:#CFD2DD;} + .d2-600570647 .background-color-N5{background-color:#DEE1EB;} + .d2-600570647 .background-color-N6{background-color:#EEF1F8;} + .d2-600570647 .background-color-N7{background-color:#FFFFFF;} + .d2-600570647 .background-color-B1{background-color:#0D32B2;} + .d2-600570647 .background-color-B2{background-color:#0D32B2;} + .d2-600570647 .background-color-B3{background-color:#E3E9FD;} + .d2-600570647 .background-color-B4{background-color:#E3E9FD;} + .d2-600570647 .background-color-B5{background-color:#EDF0FD;} + .d2-600570647 .background-color-B6{background-color:#F7F8FE;} + .d2-600570647 .background-color-AA2{background-color:#4A6FF3;} + .d2-600570647 .background-color-AA4{background-color:#EDF0FD;} + .d2-600570647 .background-color-AA5{background-color:#F7F8FE;} + .d2-600570647 .background-color-AB4{background-color:#EDF0FD;} + .d2-600570647 .background-color-AB5{background-color:#F7F8FE;} + .d2-600570647 .color-N1{color:#0A0F25;} + .d2-600570647 .color-N2{color:#676C7E;} + .d2-600570647 .color-N3{color:#9499AB;} + .d2-600570647 .color-N4{color:#CFD2DD;} + .d2-600570647 .color-N5{color:#DEE1EB;} + .d2-600570647 .color-N6{color:#EEF1F8;} + .d2-600570647 .color-N7{color:#FFFFFF;} + .d2-600570647 .color-B1{color:#0D32B2;} + .d2-600570647 .color-B2{color:#0D32B2;} + .d2-600570647 .color-B3{color:#E3E9FD;} + .d2-600570647 .color-B4{color:#E3E9FD;} + .d2-600570647 .color-B5{color:#EDF0FD;} + .d2-600570647 .color-B6{color:#F7F8FE;} + .d2-600570647 .color-AA2{color:#4A6FF3;} + .d2-600570647 .color-AA4{color:#EDF0FD;} + .d2-600570647 .color-AA5{color:#F7F8FE;} + .d2-600570647 .color-AB4{color:#EDF0FD;} + .d2-600570647 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>2 rows 1 obj3 rows 2 obj4 columns 2 objoneonetwoonetwo diff --git a/e2etests/testdata/regression/grid_with_latex/dagre/sketch.exp.svg b/e2etests/testdata/regression/grid_with_latex/dagre/sketch.exp.svg index e5e9cbafc..6bb8ad904 100644 --- a/e2etests/testdata/regression/grid_with_latex/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_with_latex/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -xyzabab +xyzabab diff --git a/e2etests/testdata/regression/grid_with_latex/elk/sketch.exp.svg b/e2etests/testdata/regression/grid_with_latex/elk/sketch.exp.svg index 37b86d119..44f378124 100644 --- a/e2etests/testdata/regression/grid_with_latex/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/grid_with_latex/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -xyzabab +xyzabab diff --git a/e2etests/testdata/regression/hex-fill/dagre/sketch.exp.svg b/e2etests/testdata/regression/hex-fill/dagre/sketch.exp.svg index 30e0e551b..f7e900a62 100644 --- a/e2etests/testdata/regression/hex-fill/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/hex-fill/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -x + .d2-2828774672 .fill-N1{fill:#0A0F25;} + .d2-2828774672 .fill-N2{fill:#676C7E;} + .d2-2828774672 .fill-N3{fill:#9499AB;} + .d2-2828774672 .fill-N4{fill:#CFD2DD;} + .d2-2828774672 .fill-N5{fill:#DEE1EB;} + .d2-2828774672 .fill-N6{fill:#EEF1F8;} + .d2-2828774672 .fill-N7{fill:#FFFFFF;} + .d2-2828774672 .fill-B1{fill:#0D32B2;} + .d2-2828774672 .fill-B2{fill:#0D32B2;} + .d2-2828774672 .fill-B3{fill:#E3E9FD;} + .d2-2828774672 .fill-B4{fill:#E3E9FD;} + .d2-2828774672 .fill-B5{fill:#EDF0FD;} + .d2-2828774672 .fill-B6{fill:#F7F8FE;} + .d2-2828774672 .fill-AA2{fill:#4A6FF3;} + .d2-2828774672 .fill-AA4{fill:#EDF0FD;} + .d2-2828774672 .fill-AA5{fill:#F7F8FE;} + .d2-2828774672 .fill-AB4{fill:#EDF0FD;} + .d2-2828774672 .fill-AB5{fill:#F7F8FE;} + .d2-2828774672 .stroke-N1{stroke:#0A0F25;} + .d2-2828774672 .stroke-N2{stroke:#676C7E;} + .d2-2828774672 .stroke-N3{stroke:#9499AB;} + .d2-2828774672 .stroke-N4{stroke:#CFD2DD;} + .d2-2828774672 .stroke-N5{stroke:#DEE1EB;} + .d2-2828774672 .stroke-N6{stroke:#EEF1F8;} + .d2-2828774672 .stroke-N7{stroke:#FFFFFF;} + .d2-2828774672 .stroke-B1{stroke:#0D32B2;} + .d2-2828774672 .stroke-B2{stroke:#0D32B2;} + .d2-2828774672 .stroke-B3{stroke:#E3E9FD;} + .d2-2828774672 .stroke-B4{stroke:#E3E9FD;} + .d2-2828774672 .stroke-B5{stroke:#EDF0FD;} + .d2-2828774672 .stroke-B6{stroke:#F7F8FE;} + .d2-2828774672 .stroke-AA2{stroke:#4A6FF3;} + .d2-2828774672 .stroke-AA4{stroke:#EDF0FD;} + .d2-2828774672 .stroke-AA5{stroke:#F7F8FE;} + .d2-2828774672 .stroke-AB4{stroke:#EDF0FD;} + .d2-2828774672 .stroke-AB5{stroke:#F7F8FE;} + .d2-2828774672 .background-color-N1{background-color:#0A0F25;} + .d2-2828774672 .background-color-N2{background-color:#676C7E;} + .d2-2828774672 .background-color-N3{background-color:#9499AB;} + .d2-2828774672 .background-color-N4{background-color:#CFD2DD;} + .d2-2828774672 .background-color-N5{background-color:#DEE1EB;} + .d2-2828774672 .background-color-N6{background-color:#EEF1F8;} + .d2-2828774672 .background-color-N7{background-color:#FFFFFF;} + .d2-2828774672 .background-color-B1{background-color:#0D32B2;} + .d2-2828774672 .background-color-B2{background-color:#0D32B2;} + .d2-2828774672 .background-color-B3{background-color:#E3E9FD;} + .d2-2828774672 .background-color-B4{background-color:#E3E9FD;} + .d2-2828774672 .background-color-B5{background-color:#EDF0FD;} + .d2-2828774672 .background-color-B6{background-color:#F7F8FE;} + .d2-2828774672 .background-color-AA2{background-color:#4A6FF3;} + .d2-2828774672 .background-color-AA4{background-color:#EDF0FD;} + .d2-2828774672 .background-color-AA5{background-color:#F7F8FE;} + .d2-2828774672 .background-color-AB4{background-color:#EDF0FD;} + .d2-2828774672 .background-color-AB5{background-color:#F7F8FE;} + .d2-2828774672 .color-N1{color:#0A0F25;} + .d2-2828774672 .color-N2{color:#676C7E;} + .d2-2828774672 .color-N3{color:#9499AB;} + .d2-2828774672 .color-N4{color:#CFD2DD;} + .d2-2828774672 .color-N5{color:#DEE1EB;} + .d2-2828774672 .color-N6{color:#EEF1F8;} + .d2-2828774672 .color-N7{color:#FFFFFF;} + .d2-2828774672 .color-B1{color:#0D32B2;} + .d2-2828774672 .color-B2{color:#0D32B2;} + .d2-2828774672 .color-B3{color:#E3E9FD;} + .d2-2828774672 .color-B4{color:#E3E9FD;} + .d2-2828774672 .color-B5{color:#EDF0FD;} + .d2-2828774672 .color-B6{color:#F7F8FE;} + .d2-2828774672 .color-AA2{color:#4A6FF3;} + .d2-2828774672 .color-AA4{color:#EDF0FD;} + .d2-2828774672 .color-AA5{color:#F7F8FE;} + .d2-2828774672 .color-AB4{color:#EDF0FD;} + .d2-2828774672 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>x \ No newline at end of file diff --git a/e2etests/testdata/regression/hex-fill/elk/sketch.exp.svg b/e2etests/testdata/regression/hex-fill/elk/sketch.exp.svg index da33f5421..249fdd978 100644 --- a/e2etests/testdata/regression/hex-fill/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/hex-fill/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -x + .d2-3453799592 .fill-N1{fill:#0A0F25;} + .d2-3453799592 .fill-N2{fill:#676C7E;} + .d2-3453799592 .fill-N3{fill:#9499AB;} + .d2-3453799592 .fill-N4{fill:#CFD2DD;} + .d2-3453799592 .fill-N5{fill:#DEE1EB;} + .d2-3453799592 .fill-N6{fill:#EEF1F8;} + .d2-3453799592 .fill-N7{fill:#FFFFFF;} + .d2-3453799592 .fill-B1{fill:#0D32B2;} + .d2-3453799592 .fill-B2{fill:#0D32B2;} + .d2-3453799592 .fill-B3{fill:#E3E9FD;} + .d2-3453799592 .fill-B4{fill:#E3E9FD;} + .d2-3453799592 .fill-B5{fill:#EDF0FD;} + .d2-3453799592 .fill-B6{fill:#F7F8FE;} + .d2-3453799592 .fill-AA2{fill:#4A6FF3;} + .d2-3453799592 .fill-AA4{fill:#EDF0FD;} + .d2-3453799592 .fill-AA5{fill:#F7F8FE;} + .d2-3453799592 .fill-AB4{fill:#EDF0FD;} + .d2-3453799592 .fill-AB5{fill:#F7F8FE;} + .d2-3453799592 .stroke-N1{stroke:#0A0F25;} + .d2-3453799592 .stroke-N2{stroke:#676C7E;} + .d2-3453799592 .stroke-N3{stroke:#9499AB;} + .d2-3453799592 .stroke-N4{stroke:#CFD2DD;} + .d2-3453799592 .stroke-N5{stroke:#DEE1EB;} + .d2-3453799592 .stroke-N6{stroke:#EEF1F8;} + .d2-3453799592 .stroke-N7{stroke:#FFFFFF;} + .d2-3453799592 .stroke-B1{stroke:#0D32B2;} + .d2-3453799592 .stroke-B2{stroke:#0D32B2;} + .d2-3453799592 .stroke-B3{stroke:#E3E9FD;} + .d2-3453799592 .stroke-B4{stroke:#E3E9FD;} + .d2-3453799592 .stroke-B5{stroke:#EDF0FD;} + .d2-3453799592 .stroke-B6{stroke:#F7F8FE;} + .d2-3453799592 .stroke-AA2{stroke:#4A6FF3;} + .d2-3453799592 .stroke-AA4{stroke:#EDF0FD;} + .d2-3453799592 .stroke-AA5{stroke:#F7F8FE;} + .d2-3453799592 .stroke-AB4{stroke:#EDF0FD;} + .d2-3453799592 .stroke-AB5{stroke:#F7F8FE;} + .d2-3453799592 .background-color-N1{background-color:#0A0F25;} + .d2-3453799592 .background-color-N2{background-color:#676C7E;} + .d2-3453799592 .background-color-N3{background-color:#9499AB;} + .d2-3453799592 .background-color-N4{background-color:#CFD2DD;} + .d2-3453799592 .background-color-N5{background-color:#DEE1EB;} + .d2-3453799592 .background-color-N6{background-color:#EEF1F8;} + .d2-3453799592 .background-color-N7{background-color:#FFFFFF;} + .d2-3453799592 .background-color-B1{background-color:#0D32B2;} + .d2-3453799592 .background-color-B2{background-color:#0D32B2;} + .d2-3453799592 .background-color-B3{background-color:#E3E9FD;} + .d2-3453799592 .background-color-B4{background-color:#E3E9FD;} + .d2-3453799592 .background-color-B5{background-color:#EDF0FD;} + .d2-3453799592 .background-color-B6{background-color:#F7F8FE;} + .d2-3453799592 .background-color-AA2{background-color:#4A6FF3;} + .d2-3453799592 .background-color-AA4{background-color:#EDF0FD;} + .d2-3453799592 .background-color-AA5{background-color:#F7F8FE;} + .d2-3453799592 .background-color-AB4{background-color:#EDF0FD;} + .d2-3453799592 .background-color-AB5{background-color:#F7F8FE;} + .d2-3453799592 .color-N1{color:#0A0F25;} + .d2-3453799592 .color-N2{color:#676C7E;} + .d2-3453799592 .color-N3{color:#9499AB;} + .d2-3453799592 .color-N4{color:#CFD2DD;} + .d2-3453799592 .color-N5{color:#DEE1EB;} + .d2-3453799592 .color-N6{color:#EEF1F8;} + .d2-3453799592 .color-N7{color:#FFFFFF;} + .d2-3453799592 .color-B1{color:#0D32B2;} + .d2-3453799592 .color-B2{color:#0D32B2;} + .d2-3453799592 .color-B3{color:#E3E9FD;} + .d2-3453799592 .color-B4{color:#E3E9FD;} + .d2-3453799592 .color-B5{color:#EDF0FD;} + .d2-3453799592 .color-B6{color:#F7F8FE;} + .d2-3453799592 .color-AA2{color:#4A6FF3;} + .d2-3453799592 .color-AA4{color:#EDF0FD;} + .d2-3453799592 .color-AA5{color:#F7F8FE;} + .d2-3453799592 .color-AB4{color:#EDF0FD;} + .d2-3453799592 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>x \ No newline at end of file diff --git a/e2etests/testdata/regression/icons_on_top/dagre/sketch.exp.svg b/e2etests/testdata/regression/icons_on_top/dagre/sketch.exp.svg index abebddc28..7982326d1 100644 --- a/e2etests/testdata/regression/icons_on_top/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/icons_on_top/dagre/sketch.exp.svg @@ -1,12 +1,12 @@ -linknonelink, tooltipnone + .d2-1248816746 .fill-N1{fill:#0A0F25;} + .d2-1248816746 .fill-N2{fill:#676C7E;} + .d2-1248816746 .fill-N3{fill:#9499AB;} + .d2-1248816746 .fill-N4{fill:#CFD2DD;} + .d2-1248816746 .fill-N5{fill:#DEE1EB;} + .d2-1248816746 .fill-N6{fill:#EEF1F8;} + .d2-1248816746 .fill-N7{fill:#FFFFFF;} + .d2-1248816746 .fill-B1{fill:#0D32B2;} + .d2-1248816746 .fill-B2{fill:#0D32B2;} + .d2-1248816746 .fill-B3{fill:#E3E9FD;} + .d2-1248816746 .fill-B4{fill:#E3E9FD;} + .d2-1248816746 .fill-B5{fill:#EDF0FD;} + .d2-1248816746 .fill-B6{fill:#F7F8FE;} + .d2-1248816746 .fill-AA2{fill:#4A6FF3;} + .d2-1248816746 .fill-AA4{fill:#EDF0FD;} + .d2-1248816746 .fill-AA5{fill:#F7F8FE;} + .d2-1248816746 .fill-AB4{fill:#EDF0FD;} + .d2-1248816746 .fill-AB5{fill:#F7F8FE;} + .d2-1248816746 .stroke-N1{stroke:#0A0F25;} + .d2-1248816746 .stroke-N2{stroke:#676C7E;} + .d2-1248816746 .stroke-N3{stroke:#9499AB;} + .d2-1248816746 .stroke-N4{stroke:#CFD2DD;} + .d2-1248816746 .stroke-N5{stroke:#DEE1EB;} + .d2-1248816746 .stroke-N6{stroke:#EEF1F8;} + .d2-1248816746 .stroke-N7{stroke:#FFFFFF;} + .d2-1248816746 .stroke-B1{stroke:#0D32B2;} + .d2-1248816746 .stroke-B2{stroke:#0D32B2;} + .d2-1248816746 .stroke-B3{stroke:#E3E9FD;} + .d2-1248816746 .stroke-B4{stroke:#E3E9FD;} + .d2-1248816746 .stroke-B5{stroke:#EDF0FD;} + .d2-1248816746 .stroke-B6{stroke:#F7F8FE;} + .d2-1248816746 .stroke-AA2{stroke:#4A6FF3;} + .d2-1248816746 .stroke-AA4{stroke:#EDF0FD;} + .d2-1248816746 .stroke-AA5{stroke:#F7F8FE;} + .d2-1248816746 .stroke-AB4{stroke:#EDF0FD;} + .d2-1248816746 .stroke-AB5{stroke:#F7F8FE;} + .d2-1248816746 .background-color-N1{background-color:#0A0F25;} + .d2-1248816746 .background-color-N2{background-color:#676C7E;} + .d2-1248816746 .background-color-N3{background-color:#9499AB;} + .d2-1248816746 .background-color-N4{background-color:#CFD2DD;} + .d2-1248816746 .background-color-N5{background-color:#DEE1EB;} + .d2-1248816746 .background-color-N6{background-color:#EEF1F8;} + .d2-1248816746 .background-color-N7{background-color:#FFFFFF;} + .d2-1248816746 .background-color-B1{background-color:#0D32B2;} + .d2-1248816746 .background-color-B2{background-color:#0D32B2;} + .d2-1248816746 .background-color-B3{background-color:#E3E9FD;} + .d2-1248816746 .background-color-B4{background-color:#E3E9FD;} + .d2-1248816746 .background-color-B5{background-color:#EDF0FD;} + .d2-1248816746 .background-color-B6{background-color:#F7F8FE;} + .d2-1248816746 .background-color-AA2{background-color:#4A6FF3;} + .d2-1248816746 .background-color-AA4{background-color:#EDF0FD;} + .d2-1248816746 .background-color-AA5{background-color:#F7F8FE;} + .d2-1248816746 .background-color-AB4{background-color:#EDF0FD;} + .d2-1248816746 .background-color-AB5{background-color:#F7F8FE;} + .d2-1248816746 .color-N1{color:#0A0F25;} + .d2-1248816746 .color-N2{color:#676C7E;} + .d2-1248816746 .color-N3{color:#9499AB;} + .d2-1248816746 .color-N4{color:#CFD2DD;} + .d2-1248816746 .color-N5{color:#DEE1EB;} + .d2-1248816746 .color-N6{color:#EEF1F8;} + .d2-1248816746 .color-N7{color:#FFFFFF;} + .d2-1248816746 .color-B1{color:#0D32B2;} + .d2-1248816746 .color-B2{color:#0D32B2;} + .d2-1248816746 .color-B3{color:#E3E9FD;} + .d2-1248816746 .color-B4{color:#E3E9FD;} + .d2-1248816746 .color-B5{color:#EDF0FD;} + .d2-1248816746 .color-B6{color:#F7F8FE;} + .d2-1248816746 .color-AA2{color:#4A6FF3;} + .d2-1248816746 .color-AA4{color:#EDF0FD;} + .d2-1248816746 .color-AA5{color:#F7F8FE;} + .d2-1248816746 .color-AB4{color:#EDF0FD;} + .d2-1248816746 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>linknonelink, tooltiptooltipnone @@ -104,7 +104,7 @@ - +tooltip @@ -117,7 +117,7 @@ -tooltip + @@ -129,7 +129,7 @@ - + diff --git a/e2etests/testdata/regression/icons_on_top/elk/sketch.exp.svg b/e2etests/testdata/regression/icons_on_top/elk/sketch.exp.svg index abebddc28..7982326d1 100644 --- a/e2etests/testdata/regression/icons_on_top/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/icons_on_top/elk/sketch.exp.svg @@ -1,12 +1,12 @@ -linknonelink, tooltipnone + .d2-1248816746 .fill-N1{fill:#0A0F25;} + .d2-1248816746 .fill-N2{fill:#676C7E;} + .d2-1248816746 .fill-N3{fill:#9499AB;} + .d2-1248816746 .fill-N4{fill:#CFD2DD;} + .d2-1248816746 .fill-N5{fill:#DEE1EB;} + .d2-1248816746 .fill-N6{fill:#EEF1F8;} + .d2-1248816746 .fill-N7{fill:#FFFFFF;} + .d2-1248816746 .fill-B1{fill:#0D32B2;} + .d2-1248816746 .fill-B2{fill:#0D32B2;} + .d2-1248816746 .fill-B3{fill:#E3E9FD;} + .d2-1248816746 .fill-B4{fill:#E3E9FD;} + .d2-1248816746 .fill-B5{fill:#EDF0FD;} + .d2-1248816746 .fill-B6{fill:#F7F8FE;} + .d2-1248816746 .fill-AA2{fill:#4A6FF3;} + .d2-1248816746 .fill-AA4{fill:#EDF0FD;} + .d2-1248816746 .fill-AA5{fill:#F7F8FE;} + .d2-1248816746 .fill-AB4{fill:#EDF0FD;} + .d2-1248816746 .fill-AB5{fill:#F7F8FE;} + .d2-1248816746 .stroke-N1{stroke:#0A0F25;} + .d2-1248816746 .stroke-N2{stroke:#676C7E;} + .d2-1248816746 .stroke-N3{stroke:#9499AB;} + .d2-1248816746 .stroke-N4{stroke:#CFD2DD;} + .d2-1248816746 .stroke-N5{stroke:#DEE1EB;} + .d2-1248816746 .stroke-N6{stroke:#EEF1F8;} + .d2-1248816746 .stroke-N7{stroke:#FFFFFF;} + .d2-1248816746 .stroke-B1{stroke:#0D32B2;} + .d2-1248816746 .stroke-B2{stroke:#0D32B2;} + .d2-1248816746 .stroke-B3{stroke:#E3E9FD;} + .d2-1248816746 .stroke-B4{stroke:#E3E9FD;} + .d2-1248816746 .stroke-B5{stroke:#EDF0FD;} + .d2-1248816746 .stroke-B6{stroke:#F7F8FE;} + .d2-1248816746 .stroke-AA2{stroke:#4A6FF3;} + .d2-1248816746 .stroke-AA4{stroke:#EDF0FD;} + .d2-1248816746 .stroke-AA5{stroke:#F7F8FE;} + .d2-1248816746 .stroke-AB4{stroke:#EDF0FD;} + .d2-1248816746 .stroke-AB5{stroke:#F7F8FE;} + .d2-1248816746 .background-color-N1{background-color:#0A0F25;} + .d2-1248816746 .background-color-N2{background-color:#676C7E;} + .d2-1248816746 .background-color-N3{background-color:#9499AB;} + .d2-1248816746 .background-color-N4{background-color:#CFD2DD;} + .d2-1248816746 .background-color-N5{background-color:#DEE1EB;} + .d2-1248816746 .background-color-N6{background-color:#EEF1F8;} + .d2-1248816746 .background-color-N7{background-color:#FFFFFF;} + .d2-1248816746 .background-color-B1{background-color:#0D32B2;} + .d2-1248816746 .background-color-B2{background-color:#0D32B2;} + .d2-1248816746 .background-color-B3{background-color:#E3E9FD;} + .d2-1248816746 .background-color-B4{background-color:#E3E9FD;} + .d2-1248816746 .background-color-B5{background-color:#EDF0FD;} + .d2-1248816746 .background-color-B6{background-color:#F7F8FE;} + .d2-1248816746 .background-color-AA2{background-color:#4A6FF3;} + .d2-1248816746 .background-color-AA4{background-color:#EDF0FD;} + .d2-1248816746 .background-color-AA5{background-color:#F7F8FE;} + .d2-1248816746 .background-color-AB4{background-color:#EDF0FD;} + .d2-1248816746 .background-color-AB5{background-color:#F7F8FE;} + .d2-1248816746 .color-N1{color:#0A0F25;} + .d2-1248816746 .color-N2{color:#676C7E;} + .d2-1248816746 .color-N3{color:#9499AB;} + .d2-1248816746 .color-N4{color:#CFD2DD;} + .d2-1248816746 .color-N5{color:#DEE1EB;} + .d2-1248816746 .color-N6{color:#EEF1F8;} + .d2-1248816746 .color-N7{color:#FFFFFF;} + .d2-1248816746 .color-B1{color:#0D32B2;} + .d2-1248816746 .color-B2{color:#0D32B2;} + .d2-1248816746 .color-B3{color:#E3E9FD;} + .d2-1248816746 .color-B4{color:#E3E9FD;} + .d2-1248816746 .color-B5{color:#EDF0FD;} + .d2-1248816746 .color-B6{color:#F7F8FE;} + .d2-1248816746 .color-AA2{color:#4A6FF3;} + .d2-1248816746 .color-AA4{color:#EDF0FD;} + .d2-1248816746 .color-AA5{color:#F7F8FE;} + .d2-1248816746 .color-AB4{color:#EDF0FD;} + .d2-1248816746 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>linknonelink, tooltiptooltipnone @@ -104,7 +104,7 @@ - +tooltip @@ -117,7 +117,7 @@ -tooltip + @@ -129,7 +129,7 @@ - + diff --git a/e2etests/testdata/regression/just-width/dagre/sketch.exp.svg b/e2etests/testdata/regression/just-width/dagre/sketch.exp.svg index 415f5121e..fb4cf5070 100644 --- a/e2etests/testdata/regression/just-width/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/just-width/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -teamwork: having someone to blame + .d2-1364462136 .fill-N1{fill:#0A0F25;} + .d2-1364462136 .fill-N2{fill:#676C7E;} + .d2-1364462136 .fill-N3{fill:#9499AB;} + .d2-1364462136 .fill-N4{fill:#CFD2DD;} + .d2-1364462136 .fill-N5{fill:#DEE1EB;} + .d2-1364462136 .fill-N6{fill:#EEF1F8;} + .d2-1364462136 .fill-N7{fill:#FFFFFF;} + .d2-1364462136 .fill-B1{fill:#0D32B2;} + .d2-1364462136 .fill-B2{fill:#0D32B2;} + .d2-1364462136 .fill-B3{fill:#E3E9FD;} + .d2-1364462136 .fill-B4{fill:#E3E9FD;} + .d2-1364462136 .fill-B5{fill:#EDF0FD;} + .d2-1364462136 .fill-B6{fill:#F7F8FE;} + .d2-1364462136 .fill-AA2{fill:#4A6FF3;} + .d2-1364462136 .fill-AA4{fill:#EDF0FD;} + .d2-1364462136 .fill-AA5{fill:#F7F8FE;} + .d2-1364462136 .fill-AB4{fill:#EDF0FD;} + .d2-1364462136 .fill-AB5{fill:#F7F8FE;} + .d2-1364462136 .stroke-N1{stroke:#0A0F25;} + .d2-1364462136 .stroke-N2{stroke:#676C7E;} + .d2-1364462136 .stroke-N3{stroke:#9499AB;} + .d2-1364462136 .stroke-N4{stroke:#CFD2DD;} + .d2-1364462136 .stroke-N5{stroke:#DEE1EB;} + .d2-1364462136 .stroke-N6{stroke:#EEF1F8;} + .d2-1364462136 .stroke-N7{stroke:#FFFFFF;} + .d2-1364462136 .stroke-B1{stroke:#0D32B2;} + .d2-1364462136 .stroke-B2{stroke:#0D32B2;} + .d2-1364462136 .stroke-B3{stroke:#E3E9FD;} + .d2-1364462136 .stroke-B4{stroke:#E3E9FD;} + .d2-1364462136 .stroke-B5{stroke:#EDF0FD;} + .d2-1364462136 .stroke-B6{stroke:#F7F8FE;} + .d2-1364462136 .stroke-AA2{stroke:#4A6FF3;} + .d2-1364462136 .stroke-AA4{stroke:#EDF0FD;} + .d2-1364462136 .stroke-AA5{stroke:#F7F8FE;} + .d2-1364462136 .stroke-AB4{stroke:#EDF0FD;} + .d2-1364462136 .stroke-AB5{stroke:#F7F8FE;} + .d2-1364462136 .background-color-N1{background-color:#0A0F25;} + .d2-1364462136 .background-color-N2{background-color:#676C7E;} + .d2-1364462136 .background-color-N3{background-color:#9499AB;} + .d2-1364462136 .background-color-N4{background-color:#CFD2DD;} + .d2-1364462136 .background-color-N5{background-color:#DEE1EB;} + .d2-1364462136 .background-color-N6{background-color:#EEF1F8;} + .d2-1364462136 .background-color-N7{background-color:#FFFFFF;} + .d2-1364462136 .background-color-B1{background-color:#0D32B2;} + .d2-1364462136 .background-color-B2{background-color:#0D32B2;} + .d2-1364462136 .background-color-B3{background-color:#E3E9FD;} + .d2-1364462136 .background-color-B4{background-color:#E3E9FD;} + .d2-1364462136 .background-color-B5{background-color:#EDF0FD;} + .d2-1364462136 .background-color-B6{background-color:#F7F8FE;} + .d2-1364462136 .background-color-AA2{background-color:#4A6FF3;} + .d2-1364462136 .background-color-AA4{background-color:#EDF0FD;} + .d2-1364462136 .background-color-AA5{background-color:#F7F8FE;} + .d2-1364462136 .background-color-AB4{background-color:#EDF0FD;} + .d2-1364462136 .background-color-AB5{background-color:#F7F8FE;} + .d2-1364462136 .color-N1{color:#0A0F25;} + .d2-1364462136 .color-N2{color:#676C7E;} + .d2-1364462136 .color-N3{color:#9499AB;} + .d2-1364462136 .color-N4{color:#CFD2DD;} + .d2-1364462136 .color-N5{color:#DEE1EB;} + .d2-1364462136 .color-N6{color:#EEF1F8;} + .d2-1364462136 .color-N7{color:#FFFFFF;} + .d2-1364462136 .color-B1{color:#0D32B2;} + .d2-1364462136 .color-B2{color:#0D32B2;} + .d2-1364462136 .color-B3{color:#E3E9FD;} + .d2-1364462136 .color-B4{color:#E3E9FD;} + .d2-1364462136 .color-B5{color:#EDF0FD;} + .d2-1364462136 .color-B6{color:#F7F8FE;} + .d2-1364462136 .color-AA2{color:#4A6FF3;} + .d2-1364462136 .color-AA4{color:#EDF0FD;} + .d2-1364462136 .color-AA5{color:#F7F8FE;} + .d2-1364462136 .color-AB4{color:#EDF0FD;} + .d2-1364462136 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>teamwork: having someone to blame \ No newline at end of file diff --git a/e2etests/testdata/regression/just-width/elk/sketch.exp.svg b/e2etests/testdata/regression/just-width/elk/sketch.exp.svg index f568e2964..796222b9e 100644 --- a/e2etests/testdata/regression/just-width/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/just-width/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -teamwork: having someone to blame + .d2-2648560688 .fill-N1{fill:#0A0F25;} + .d2-2648560688 .fill-N2{fill:#676C7E;} + .d2-2648560688 .fill-N3{fill:#9499AB;} + .d2-2648560688 .fill-N4{fill:#CFD2DD;} + .d2-2648560688 .fill-N5{fill:#DEE1EB;} + .d2-2648560688 .fill-N6{fill:#EEF1F8;} + .d2-2648560688 .fill-N7{fill:#FFFFFF;} + .d2-2648560688 .fill-B1{fill:#0D32B2;} + .d2-2648560688 .fill-B2{fill:#0D32B2;} + .d2-2648560688 .fill-B3{fill:#E3E9FD;} + .d2-2648560688 .fill-B4{fill:#E3E9FD;} + .d2-2648560688 .fill-B5{fill:#EDF0FD;} + .d2-2648560688 .fill-B6{fill:#F7F8FE;} + .d2-2648560688 .fill-AA2{fill:#4A6FF3;} + .d2-2648560688 .fill-AA4{fill:#EDF0FD;} + .d2-2648560688 .fill-AA5{fill:#F7F8FE;} + .d2-2648560688 .fill-AB4{fill:#EDF0FD;} + .d2-2648560688 .fill-AB5{fill:#F7F8FE;} + .d2-2648560688 .stroke-N1{stroke:#0A0F25;} + .d2-2648560688 .stroke-N2{stroke:#676C7E;} + .d2-2648560688 .stroke-N3{stroke:#9499AB;} + .d2-2648560688 .stroke-N4{stroke:#CFD2DD;} + .d2-2648560688 .stroke-N5{stroke:#DEE1EB;} + .d2-2648560688 .stroke-N6{stroke:#EEF1F8;} + .d2-2648560688 .stroke-N7{stroke:#FFFFFF;} + .d2-2648560688 .stroke-B1{stroke:#0D32B2;} + .d2-2648560688 .stroke-B2{stroke:#0D32B2;} + .d2-2648560688 .stroke-B3{stroke:#E3E9FD;} + .d2-2648560688 .stroke-B4{stroke:#E3E9FD;} + .d2-2648560688 .stroke-B5{stroke:#EDF0FD;} + .d2-2648560688 .stroke-B6{stroke:#F7F8FE;} + .d2-2648560688 .stroke-AA2{stroke:#4A6FF3;} + .d2-2648560688 .stroke-AA4{stroke:#EDF0FD;} + .d2-2648560688 .stroke-AA5{stroke:#F7F8FE;} + .d2-2648560688 .stroke-AB4{stroke:#EDF0FD;} + .d2-2648560688 .stroke-AB5{stroke:#F7F8FE;} + .d2-2648560688 .background-color-N1{background-color:#0A0F25;} + .d2-2648560688 .background-color-N2{background-color:#676C7E;} + .d2-2648560688 .background-color-N3{background-color:#9499AB;} + .d2-2648560688 .background-color-N4{background-color:#CFD2DD;} + .d2-2648560688 .background-color-N5{background-color:#DEE1EB;} + .d2-2648560688 .background-color-N6{background-color:#EEF1F8;} + .d2-2648560688 .background-color-N7{background-color:#FFFFFF;} + .d2-2648560688 .background-color-B1{background-color:#0D32B2;} + .d2-2648560688 .background-color-B2{background-color:#0D32B2;} + .d2-2648560688 .background-color-B3{background-color:#E3E9FD;} + .d2-2648560688 .background-color-B4{background-color:#E3E9FD;} + .d2-2648560688 .background-color-B5{background-color:#EDF0FD;} + .d2-2648560688 .background-color-B6{background-color:#F7F8FE;} + .d2-2648560688 .background-color-AA2{background-color:#4A6FF3;} + .d2-2648560688 .background-color-AA4{background-color:#EDF0FD;} + .d2-2648560688 .background-color-AA5{background-color:#F7F8FE;} + .d2-2648560688 .background-color-AB4{background-color:#EDF0FD;} + .d2-2648560688 .background-color-AB5{background-color:#F7F8FE;} + .d2-2648560688 .color-N1{color:#0A0F25;} + .d2-2648560688 .color-N2{color:#676C7E;} + .d2-2648560688 .color-N3{color:#9499AB;} + .d2-2648560688 .color-N4{color:#CFD2DD;} + .d2-2648560688 .color-N5{color:#DEE1EB;} + .d2-2648560688 .color-N6{color:#EEF1F8;} + .d2-2648560688 .color-N7{color:#FFFFFF;} + .d2-2648560688 .color-B1{color:#0D32B2;} + .d2-2648560688 .color-B2{color:#0D32B2;} + .d2-2648560688 .color-B3{color:#E3E9FD;} + .d2-2648560688 .color-B4{color:#E3E9FD;} + .d2-2648560688 .color-B5{color:#EDF0FD;} + .d2-2648560688 .color-B6{color:#F7F8FE;} + .d2-2648560688 .color-AA2{color:#4A6FF3;} + .d2-2648560688 .color-AA4{color:#EDF0FD;} + .d2-2648560688 .color-AA5{color:#F7F8FE;} + .d2-2648560688 .color-AB4{color:#EDF0FD;} + .d2-2648560688 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>teamwork: having someone to blame \ No newline at end of file diff --git a/e2etests/testdata/regression/link_with_ampersand/dagre/sketch.exp.svg b/e2etests/testdata/regression/link_with_ampersand/dagre/sketch.exp.svg index c960efc2b..fd12618d6 100644 --- a/e2etests/testdata/regression/link_with_ampersand/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/link_with_ampersand/dagre/sketch.exp.svg @@ -1,12 +1,12 @@ -a + .d2-2332549614 .fill-N1{fill:#0A0F25;} + .d2-2332549614 .fill-N2{fill:#676C7E;} + .d2-2332549614 .fill-N3{fill:#9499AB;} + .d2-2332549614 .fill-N4{fill:#CFD2DD;} + .d2-2332549614 .fill-N5{fill:#DEE1EB;} + .d2-2332549614 .fill-N6{fill:#EEF1F8;} + .d2-2332549614 .fill-N7{fill:#FFFFFF;} + .d2-2332549614 .fill-B1{fill:#0D32B2;} + .d2-2332549614 .fill-B2{fill:#0D32B2;} + .d2-2332549614 .fill-B3{fill:#E3E9FD;} + .d2-2332549614 .fill-B4{fill:#E3E9FD;} + .d2-2332549614 .fill-B5{fill:#EDF0FD;} + .d2-2332549614 .fill-B6{fill:#F7F8FE;} + .d2-2332549614 .fill-AA2{fill:#4A6FF3;} + .d2-2332549614 .fill-AA4{fill:#EDF0FD;} + .d2-2332549614 .fill-AA5{fill:#F7F8FE;} + .d2-2332549614 .fill-AB4{fill:#EDF0FD;} + .d2-2332549614 .fill-AB5{fill:#F7F8FE;} + .d2-2332549614 .stroke-N1{stroke:#0A0F25;} + .d2-2332549614 .stroke-N2{stroke:#676C7E;} + .d2-2332549614 .stroke-N3{stroke:#9499AB;} + .d2-2332549614 .stroke-N4{stroke:#CFD2DD;} + .d2-2332549614 .stroke-N5{stroke:#DEE1EB;} + .d2-2332549614 .stroke-N6{stroke:#EEF1F8;} + .d2-2332549614 .stroke-N7{stroke:#FFFFFF;} + .d2-2332549614 .stroke-B1{stroke:#0D32B2;} + .d2-2332549614 .stroke-B2{stroke:#0D32B2;} + .d2-2332549614 .stroke-B3{stroke:#E3E9FD;} + .d2-2332549614 .stroke-B4{stroke:#E3E9FD;} + .d2-2332549614 .stroke-B5{stroke:#EDF0FD;} + .d2-2332549614 .stroke-B6{stroke:#F7F8FE;} + .d2-2332549614 .stroke-AA2{stroke:#4A6FF3;} + .d2-2332549614 .stroke-AA4{stroke:#EDF0FD;} + .d2-2332549614 .stroke-AA5{stroke:#F7F8FE;} + .d2-2332549614 .stroke-AB4{stroke:#EDF0FD;} + .d2-2332549614 .stroke-AB5{stroke:#F7F8FE;} + .d2-2332549614 .background-color-N1{background-color:#0A0F25;} + .d2-2332549614 .background-color-N2{background-color:#676C7E;} + .d2-2332549614 .background-color-N3{background-color:#9499AB;} + .d2-2332549614 .background-color-N4{background-color:#CFD2DD;} + .d2-2332549614 .background-color-N5{background-color:#DEE1EB;} + .d2-2332549614 .background-color-N6{background-color:#EEF1F8;} + .d2-2332549614 .background-color-N7{background-color:#FFFFFF;} + .d2-2332549614 .background-color-B1{background-color:#0D32B2;} + .d2-2332549614 .background-color-B2{background-color:#0D32B2;} + .d2-2332549614 .background-color-B3{background-color:#E3E9FD;} + .d2-2332549614 .background-color-B4{background-color:#E3E9FD;} + .d2-2332549614 .background-color-B5{background-color:#EDF0FD;} + .d2-2332549614 .background-color-B6{background-color:#F7F8FE;} + .d2-2332549614 .background-color-AA2{background-color:#4A6FF3;} + .d2-2332549614 .background-color-AA4{background-color:#EDF0FD;} + .d2-2332549614 .background-color-AA5{background-color:#F7F8FE;} + .d2-2332549614 .background-color-AB4{background-color:#EDF0FD;} + .d2-2332549614 .background-color-AB5{background-color:#F7F8FE;} + .d2-2332549614 .color-N1{color:#0A0F25;} + .d2-2332549614 .color-N2{color:#676C7E;} + .d2-2332549614 .color-N3{color:#9499AB;} + .d2-2332549614 .color-N4{color:#CFD2DD;} + .d2-2332549614 .color-N5{color:#DEE1EB;} + .d2-2332549614 .color-N6{color:#EEF1F8;} + .d2-2332549614 .color-N7{color:#FFFFFF;} + .d2-2332549614 .color-B1{color:#0D32B2;} + .d2-2332549614 .color-B2{color:#0D32B2;} + .d2-2332549614 .color-B3{color:#E3E9FD;} + .d2-2332549614 .color-B4{color:#E3E9FD;} + .d2-2332549614 .color-B5{color:#EDF0FD;} + .d2-2332549614 .color-B6{color:#F7F8FE;} + .d2-2332549614 .color-AA2{color:#4A6FF3;} + .d2-2332549614 .color-AA4{color:#EDF0FD;} + .d2-2332549614 .color-AA5{color:#F7F8FE;} + .d2-2332549614 .color-AB4{color:#EDF0FD;} + .d2-2332549614 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a @@ -104,7 +104,7 @@ - + \ No newline at end of file diff --git a/e2etests/testdata/regression/link_with_ampersand/elk/sketch.exp.svg b/e2etests/testdata/regression/link_with_ampersand/elk/sketch.exp.svg index 26100321c..bbaa3cab0 100644 --- a/e2etests/testdata/regression/link_with_ampersand/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/link_with_ampersand/elk/sketch.exp.svg @@ -1,12 +1,12 @@ -a + .d2-4014689926 .fill-N1{fill:#0A0F25;} + .d2-4014689926 .fill-N2{fill:#676C7E;} + .d2-4014689926 .fill-N3{fill:#9499AB;} + .d2-4014689926 .fill-N4{fill:#CFD2DD;} + .d2-4014689926 .fill-N5{fill:#DEE1EB;} + .d2-4014689926 .fill-N6{fill:#EEF1F8;} + .d2-4014689926 .fill-N7{fill:#FFFFFF;} + .d2-4014689926 .fill-B1{fill:#0D32B2;} + .d2-4014689926 .fill-B2{fill:#0D32B2;} + .d2-4014689926 .fill-B3{fill:#E3E9FD;} + .d2-4014689926 .fill-B4{fill:#E3E9FD;} + .d2-4014689926 .fill-B5{fill:#EDF0FD;} + .d2-4014689926 .fill-B6{fill:#F7F8FE;} + .d2-4014689926 .fill-AA2{fill:#4A6FF3;} + .d2-4014689926 .fill-AA4{fill:#EDF0FD;} + .d2-4014689926 .fill-AA5{fill:#F7F8FE;} + .d2-4014689926 .fill-AB4{fill:#EDF0FD;} + .d2-4014689926 .fill-AB5{fill:#F7F8FE;} + .d2-4014689926 .stroke-N1{stroke:#0A0F25;} + .d2-4014689926 .stroke-N2{stroke:#676C7E;} + .d2-4014689926 .stroke-N3{stroke:#9499AB;} + .d2-4014689926 .stroke-N4{stroke:#CFD2DD;} + .d2-4014689926 .stroke-N5{stroke:#DEE1EB;} + .d2-4014689926 .stroke-N6{stroke:#EEF1F8;} + .d2-4014689926 .stroke-N7{stroke:#FFFFFF;} + .d2-4014689926 .stroke-B1{stroke:#0D32B2;} + .d2-4014689926 .stroke-B2{stroke:#0D32B2;} + .d2-4014689926 .stroke-B3{stroke:#E3E9FD;} + .d2-4014689926 .stroke-B4{stroke:#E3E9FD;} + .d2-4014689926 .stroke-B5{stroke:#EDF0FD;} + .d2-4014689926 .stroke-B6{stroke:#F7F8FE;} + .d2-4014689926 .stroke-AA2{stroke:#4A6FF3;} + .d2-4014689926 .stroke-AA4{stroke:#EDF0FD;} + .d2-4014689926 .stroke-AA5{stroke:#F7F8FE;} + .d2-4014689926 .stroke-AB4{stroke:#EDF0FD;} + .d2-4014689926 .stroke-AB5{stroke:#F7F8FE;} + .d2-4014689926 .background-color-N1{background-color:#0A0F25;} + .d2-4014689926 .background-color-N2{background-color:#676C7E;} + .d2-4014689926 .background-color-N3{background-color:#9499AB;} + .d2-4014689926 .background-color-N4{background-color:#CFD2DD;} + .d2-4014689926 .background-color-N5{background-color:#DEE1EB;} + .d2-4014689926 .background-color-N6{background-color:#EEF1F8;} + .d2-4014689926 .background-color-N7{background-color:#FFFFFF;} + .d2-4014689926 .background-color-B1{background-color:#0D32B2;} + .d2-4014689926 .background-color-B2{background-color:#0D32B2;} + .d2-4014689926 .background-color-B3{background-color:#E3E9FD;} + .d2-4014689926 .background-color-B4{background-color:#E3E9FD;} + .d2-4014689926 .background-color-B5{background-color:#EDF0FD;} + .d2-4014689926 .background-color-B6{background-color:#F7F8FE;} + .d2-4014689926 .background-color-AA2{background-color:#4A6FF3;} + .d2-4014689926 .background-color-AA4{background-color:#EDF0FD;} + .d2-4014689926 .background-color-AA5{background-color:#F7F8FE;} + .d2-4014689926 .background-color-AB4{background-color:#EDF0FD;} + .d2-4014689926 .background-color-AB5{background-color:#F7F8FE;} + .d2-4014689926 .color-N1{color:#0A0F25;} + .d2-4014689926 .color-N2{color:#676C7E;} + .d2-4014689926 .color-N3{color:#9499AB;} + .d2-4014689926 .color-N4{color:#CFD2DD;} + .d2-4014689926 .color-N5{color:#DEE1EB;} + .d2-4014689926 .color-N6{color:#EEF1F8;} + .d2-4014689926 .color-N7{color:#FFFFFF;} + .d2-4014689926 .color-B1{color:#0D32B2;} + .d2-4014689926 .color-B2{color:#0D32B2;} + .d2-4014689926 .color-B3{color:#E3E9FD;} + .d2-4014689926 .color-B4{color:#E3E9FD;} + .d2-4014689926 .color-B5{color:#EDF0FD;} + .d2-4014689926 .color-B6{color:#F7F8FE;} + .d2-4014689926 .color-AA2{color:#4A6FF3;} + .d2-4014689926 .color-AA4{color:#EDF0FD;} + .d2-4014689926 .color-AA5{color:#F7F8FE;} + .d2-4014689926 .color-AB4{color:#EDF0FD;} + .d2-4014689926 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a @@ -104,7 +104,7 @@ - + \ No newline at end of file diff --git a/e2etests/testdata/regression/long_arrowhead_label/dagre/sketch.exp.svg b/e2etests/testdata/regression/long_arrowhead_label/dagre/sketch.exp.svg index 283bf98dd..21ecee241 100644 --- a/e2etests/testdata/regression/long_arrowhead_label/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/long_arrowhead_label/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ab a to b with unexpectedly long target arrowhead label + .d2-3350411599 .fill-N1{fill:#0A0F25;} + .d2-3350411599 .fill-N2{fill:#676C7E;} + .d2-3350411599 .fill-N3{fill:#9499AB;} + .d2-3350411599 .fill-N4{fill:#CFD2DD;} + .d2-3350411599 .fill-N5{fill:#DEE1EB;} + .d2-3350411599 .fill-N6{fill:#EEF1F8;} + .d2-3350411599 .fill-N7{fill:#FFFFFF;} + .d2-3350411599 .fill-B1{fill:#0D32B2;} + .d2-3350411599 .fill-B2{fill:#0D32B2;} + .d2-3350411599 .fill-B3{fill:#E3E9FD;} + .d2-3350411599 .fill-B4{fill:#E3E9FD;} + .d2-3350411599 .fill-B5{fill:#EDF0FD;} + .d2-3350411599 .fill-B6{fill:#F7F8FE;} + .d2-3350411599 .fill-AA2{fill:#4A6FF3;} + .d2-3350411599 .fill-AA4{fill:#EDF0FD;} + .d2-3350411599 .fill-AA5{fill:#F7F8FE;} + .d2-3350411599 .fill-AB4{fill:#EDF0FD;} + .d2-3350411599 .fill-AB5{fill:#F7F8FE;} + .d2-3350411599 .stroke-N1{stroke:#0A0F25;} + .d2-3350411599 .stroke-N2{stroke:#676C7E;} + .d2-3350411599 .stroke-N3{stroke:#9499AB;} + .d2-3350411599 .stroke-N4{stroke:#CFD2DD;} + .d2-3350411599 .stroke-N5{stroke:#DEE1EB;} + .d2-3350411599 .stroke-N6{stroke:#EEF1F8;} + .d2-3350411599 .stroke-N7{stroke:#FFFFFF;} + .d2-3350411599 .stroke-B1{stroke:#0D32B2;} + .d2-3350411599 .stroke-B2{stroke:#0D32B2;} + .d2-3350411599 .stroke-B3{stroke:#E3E9FD;} + .d2-3350411599 .stroke-B4{stroke:#E3E9FD;} + .d2-3350411599 .stroke-B5{stroke:#EDF0FD;} + .d2-3350411599 .stroke-B6{stroke:#F7F8FE;} + .d2-3350411599 .stroke-AA2{stroke:#4A6FF3;} + .d2-3350411599 .stroke-AA4{stroke:#EDF0FD;} + .d2-3350411599 .stroke-AA5{stroke:#F7F8FE;} + .d2-3350411599 .stroke-AB4{stroke:#EDF0FD;} + .d2-3350411599 .stroke-AB5{stroke:#F7F8FE;} + .d2-3350411599 .background-color-N1{background-color:#0A0F25;} + .d2-3350411599 .background-color-N2{background-color:#676C7E;} + .d2-3350411599 .background-color-N3{background-color:#9499AB;} + .d2-3350411599 .background-color-N4{background-color:#CFD2DD;} + .d2-3350411599 .background-color-N5{background-color:#DEE1EB;} + .d2-3350411599 .background-color-N6{background-color:#EEF1F8;} + .d2-3350411599 .background-color-N7{background-color:#FFFFFF;} + .d2-3350411599 .background-color-B1{background-color:#0D32B2;} + .d2-3350411599 .background-color-B2{background-color:#0D32B2;} + .d2-3350411599 .background-color-B3{background-color:#E3E9FD;} + .d2-3350411599 .background-color-B4{background-color:#E3E9FD;} + .d2-3350411599 .background-color-B5{background-color:#EDF0FD;} + .d2-3350411599 .background-color-B6{background-color:#F7F8FE;} + .d2-3350411599 .background-color-AA2{background-color:#4A6FF3;} + .d2-3350411599 .background-color-AA4{background-color:#EDF0FD;} + .d2-3350411599 .background-color-AA5{background-color:#F7F8FE;} + .d2-3350411599 .background-color-AB4{background-color:#EDF0FD;} + .d2-3350411599 .background-color-AB5{background-color:#F7F8FE;} + .d2-3350411599 .color-N1{color:#0A0F25;} + .d2-3350411599 .color-N2{color:#676C7E;} + .d2-3350411599 .color-N3{color:#9499AB;} + .d2-3350411599 .color-N4{color:#CFD2DD;} + .d2-3350411599 .color-N5{color:#DEE1EB;} + .d2-3350411599 .color-N6{color:#EEF1F8;} + .d2-3350411599 .color-N7{color:#FFFFFF;} + .d2-3350411599 .color-B1{color:#0D32B2;} + .d2-3350411599 .color-B2{color:#0D32B2;} + .d2-3350411599 .color-B3{color:#E3E9FD;} + .d2-3350411599 .color-B4{color:#E3E9FD;} + .d2-3350411599 .color-B5{color:#EDF0FD;} + .d2-3350411599 .color-B6{color:#F7F8FE;} + .d2-3350411599 .color-AA2{color:#4A6FF3;} + .d2-3350411599 .color-AA4{color:#EDF0FD;} + .d2-3350411599 .color-AA5{color:#F7F8FE;} + .d2-3350411599 .color-AB4{color:#EDF0FD;} + .d2-3350411599 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab a to b with unexpectedly long target arrowhead label diff --git a/e2etests/testdata/regression/long_arrowhead_label/elk/sketch.exp.svg b/e2etests/testdata/regression/long_arrowhead_label/elk/sketch.exp.svg index 324f0edbf..688b7b539 100644 --- a/e2etests/testdata/regression/long_arrowhead_label/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/long_arrowhead_label/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ab a to b with unexpectedly long target arrowhead label + .d2-784248580 .fill-N1{fill:#0A0F25;} + .d2-784248580 .fill-N2{fill:#676C7E;} + .d2-784248580 .fill-N3{fill:#9499AB;} + .d2-784248580 .fill-N4{fill:#CFD2DD;} + .d2-784248580 .fill-N5{fill:#DEE1EB;} + .d2-784248580 .fill-N6{fill:#EEF1F8;} + .d2-784248580 .fill-N7{fill:#FFFFFF;} + .d2-784248580 .fill-B1{fill:#0D32B2;} + .d2-784248580 .fill-B2{fill:#0D32B2;} + .d2-784248580 .fill-B3{fill:#E3E9FD;} + .d2-784248580 .fill-B4{fill:#E3E9FD;} + .d2-784248580 .fill-B5{fill:#EDF0FD;} + .d2-784248580 .fill-B6{fill:#F7F8FE;} + .d2-784248580 .fill-AA2{fill:#4A6FF3;} + .d2-784248580 .fill-AA4{fill:#EDF0FD;} + .d2-784248580 .fill-AA5{fill:#F7F8FE;} + .d2-784248580 .fill-AB4{fill:#EDF0FD;} + .d2-784248580 .fill-AB5{fill:#F7F8FE;} + .d2-784248580 .stroke-N1{stroke:#0A0F25;} + .d2-784248580 .stroke-N2{stroke:#676C7E;} + .d2-784248580 .stroke-N3{stroke:#9499AB;} + .d2-784248580 .stroke-N4{stroke:#CFD2DD;} + .d2-784248580 .stroke-N5{stroke:#DEE1EB;} + .d2-784248580 .stroke-N6{stroke:#EEF1F8;} + .d2-784248580 .stroke-N7{stroke:#FFFFFF;} + .d2-784248580 .stroke-B1{stroke:#0D32B2;} + .d2-784248580 .stroke-B2{stroke:#0D32B2;} + .d2-784248580 .stroke-B3{stroke:#E3E9FD;} + .d2-784248580 .stroke-B4{stroke:#E3E9FD;} + .d2-784248580 .stroke-B5{stroke:#EDF0FD;} + .d2-784248580 .stroke-B6{stroke:#F7F8FE;} + .d2-784248580 .stroke-AA2{stroke:#4A6FF3;} + .d2-784248580 .stroke-AA4{stroke:#EDF0FD;} + .d2-784248580 .stroke-AA5{stroke:#F7F8FE;} + .d2-784248580 .stroke-AB4{stroke:#EDF0FD;} + .d2-784248580 .stroke-AB5{stroke:#F7F8FE;} + .d2-784248580 .background-color-N1{background-color:#0A0F25;} + .d2-784248580 .background-color-N2{background-color:#676C7E;} + .d2-784248580 .background-color-N3{background-color:#9499AB;} + .d2-784248580 .background-color-N4{background-color:#CFD2DD;} + .d2-784248580 .background-color-N5{background-color:#DEE1EB;} + .d2-784248580 .background-color-N6{background-color:#EEF1F8;} + .d2-784248580 .background-color-N7{background-color:#FFFFFF;} + .d2-784248580 .background-color-B1{background-color:#0D32B2;} + .d2-784248580 .background-color-B2{background-color:#0D32B2;} + .d2-784248580 .background-color-B3{background-color:#E3E9FD;} + .d2-784248580 .background-color-B4{background-color:#E3E9FD;} + .d2-784248580 .background-color-B5{background-color:#EDF0FD;} + .d2-784248580 .background-color-B6{background-color:#F7F8FE;} + .d2-784248580 .background-color-AA2{background-color:#4A6FF3;} + .d2-784248580 .background-color-AA4{background-color:#EDF0FD;} + .d2-784248580 .background-color-AA5{background-color:#F7F8FE;} + .d2-784248580 .background-color-AB4{background-color:#EDF0FD;} + .d2-784248580 .background-color-AB5{background-color:#F7F8FE;} + .d2-784248580 .color-N1{color:#0A0F25;} + .d2-784248580 .color-N2{color:#676C7E;} + .d2-784248580 .color-N3{color:#9499AB;} + .d2-784248580 .color-N4{color:#CFD2DD;} + .d2-784248580 .color-N5{color:#DEE1EB;} + .d2-784248580 .color-N6{color:#EEF1F8;} + .d2-784248580 .color-N7{color:#FFFFFF;} + .d2-784248580 .color-B1{color:#0D32B2;} + .d2-784248580 .color-B2{color:#0D32B2;} + .d2-784248580 .color-B3{color:#E3E9FD;} + .d2-784248580 .color-B4{color:#E3E9FD;} + .d2-784248580 .color-B5{color:#EDF0FD;} + .d2-784248580 .color-B6{color:#F7F8FE;} + .d2-784248580 .color-AA2{color:#4A6FF3;} + .d2-784248580 .color-AA4{color:#EDF0FD;} + .d2-784248580 .color-AA5{color:#F7F8FE;} + .d2-784248580 .color-AB4{color:#EDF0FD;} + .d2-784248580 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab a to b with unexpectedly long target arrowhead label diff --git a/e2etests/testdata/regression/md_font_weight/dagre/sketch.exp.svg b/e2etests/testdata/regression/md_font_weight/dagre/sketch.exp.svg index 082ca371d..08ea22197 100644 --- a/e2etests/testdata/regression/md_font_weight/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/md_font_weight/dagre/sketch.exp.svg @@ -1,13 +1,13 @@ -

I can do headers

@@ -835,7 +835,7 @@
  • lists
  • And other normal markdown stuff

    -
    +
    \ No newline at end of file diff --git a/e2etests/testdata/regression/md_font_weight/elk/sketch.exp.svg b/e2etests/testdata/regression/md_font_weight/elk/sketch.exp.svg index e4679889d..53eca139d 100644 --- a/e2etests/testdata/regression/md_font_weight/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/md_font_weight/elk/sketch.exp.svg @@ -1,13 +1,13 @@ -

    I can do headers

    @@ -835,7 +835,7 @@
  • lists
  • And other normal markdown stuff

    -
    +
    \ No newline at end of file diff --git a/e2etests/testdata/regression/md_h1_li_li/dagre/sketch.exp.svg b/e2etests/testdata/regression/md_h1_li_li/dagre/sketch.exp.svg index 05c73ba97..c7bf1b680 100644 --- a/e2etests/testdata/regression/md_h1_li_li/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/md_h1_li_li/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -

    hey

    @@ -844,7 +844,7 @@ -
    ab +ab diff --git a/e2etests/testdata/regression/md_h1_li_li/elk/sketch.exp.svg b/e2etests/testdata/regression/md_h1_li_li/elk/sketch.exp.svg index 3dded9a27..84d6dff8a 100644 --- a/e2etests/testdata/regression/md_h1_li_li/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/md_h1_li_li/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -

    hey

    @@ -844,7 +844,7 @@ -
    ab +ab diff --git a/e2etests/testdata/regression/nested_steps/dagre/board.exp.json b/e2etests/testdata/regression/nested_steps/dagre/board.exp.json index cd584039b..a05bdd6e0 100644 --- a/e2etests/testdata/regression/nested_steps/dagre/board.exp.json +++ b/e2etests/testdata/regression/nested_steps/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "a", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 173, - "height": 361, + "width": 153, + "height": 362, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "step", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 93, "height": 101, @@ -90,7 +90,7 @@ "type": "step", "pos": { "x": 40, - "y": 271 + "y": 251 }, "width": 93, "height": 101, @@ -236,19 +236,19 @@ "route": [ { "x": 86, - "y": 172 + "y": 151 }, { "x": 86.4000015258789, - "y": 211.60000610351562 + "y": 191 }, { "x": 86.5999984741211, - "y": 231.60000610351562 + "y": 211 }, { "x": 87, - "y": 272 + "y": 251 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/nested_steps/dagre/sketch.exp.svg b/e2etests/testdata/regression/nested_steps/dagre/sketch.exp.svg index 6074573bb..00775b9e3 100644 --- a/e2etests/testdata/regression/nested_steps/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/nested_steps/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -acdab - - + .d2-1386879104 .fill-N1{fill:#0A0F25;} + .d2-1386879104 .fill-N2{fill:#676C7E;} + .d2-1386879104 .fill-N3{fill:#9499AB;} + .d2-1386879104 .fill-N4{fill:#CFD2DD;} + .d2-1386879104 .fill-N5{fill:#DEE1EB;} + .d2-1386879104 .fill-N6{fill:#EEF1F8;} + .d2-1386879104 .fill-N7{fill:#FFFFFF;} + .d2-1386879104 .fill-B1{fill:#0D32B2;} + .d2-1386879104 .fill-B2{fill:#0D32B2;} + .d2-1386879104 .fill-B3{fill:#E3E9FD;} + .d2-1386879104 .fill-B4{fill:#E3E9FD;} + .d2-1386879104 .fill-B5{fill:#EDF0FD;} + .d2-1386879104 .fill-B6{fill:#F7F8FE;} + .d2-1386879104 .fill-AA2{fill:#4A6FF3;} + .d2-1386879104 .fill-AA4{fill:#EDF0FD;} + .d2-1386879104 .fill-AA5{fill:#F7F8FE;} + .d2-1386879104 .fill-AB4{fill:#EDF0FD;} + .d2-1386879104 .fill-AB5{fill:#F7F8FE;} + .d2-1386879104 .stroke-N1{stroke:#0A0F25;} + .d2-1386879104 .stroke-N2{stroke:#676C7E;} + .d2-1386879104 .stroke-N3{stroke:#9499AB;} + .d2-1386879104 .stroke-N4{stroke:#CFD2DD;} + .d2-1386879104 .stroke-N5{stroke:#DEE1EB;} + .d2-1386879104 .stroke-N6{stroke:#EEF1F8;} + .d2-1386879104 .stroke-N7{stroke:#FFFFFF;} + .d2-1386879104 .stroke-B1{stroke:#0D32B2;} + .d2-1386879104 .stroke-B2{stroke:#0D32B2;} + .d2-1386879104 .stroke-B3{stroke:#E3E9FD;} + .d2-1386879104 .stroke-B4{stroke:#E3E9FD;} + .d2-1386879104 .stroke-B5{stroke:#EDF0FD;} + .d2-1386879104 .stroke-B6{stroke:#F7F8FE;} + .d2-1386879104 .stroke-AA2{stroke:#4A6FF3;} + .d2-1386879104 .stroke-AA4{stroke:#EDF0FD;} + .d2-1386879104 .stroke-AA5{stroke:#F7F8FE;} + .d2-1386879104 .stroke-AB4{stroke:#EDF0FD;} + .d2-1386879104 .stroke-AB5{stroke:#F7F8FE;} + .d2-1386879104 .background-color-N1{background-color:#0A0F25;} + .d2-1386879104 .background-color-N2{background-color:#676C7E;} + .d2-1386879104 .background-color-N3{background-color:#9499AB;} + .d2-1386879104 .background-color-N4{background-color:#CFD2DD;} + .d2-1386879104 .background-color-N5{background-color:#DEE1EB;} + .d2-1386879104 .background-color-N6{background-color:#EEF1F8;} + .d2-1386879104 .background-color-N7{background-color:#FFFFFF;} + .d2-1386879104 .background-color-B1{background-color:#0D32B2;} + .d2-1386879104 .background-color-B2{background-color:#0D32B2;} + .d2-1386879104 .background-color-B3{background-color:#E3E9FD;} + .d2-1386879104 .background-color-B4{background-color:#E3E9FD;} + .d2-1386879104 .background-color-B5{background-color:#EDF0FD;} + .d2-1386879104 .background-color-B6{background-color:#F7F8FE;} + .d2-1386879104 .background-color-AA2{background-color:#4A6FF3;} + .d2-1386879104 .background-color-AA4{background-color:#EDF0FD;} + .d2-1386879104 .background-color-AA5{background-color:#F7F8FE;} + .d2-1386879104 .background-color-AB4{background-color:#EDF0FD;} + .d2-1386879104 .background-color-AB5{background-color:#F7F8FE;} + .d2-1386879104 .color-N1{color:#0A0F25;} + .d2-1386879104 .color-N2{color:#676C7E;} + .d2-1386879104 .color-N3{color:#9499AB;} + .d2-1386879104 .color-N4{color:#CFD2DD;} + .d2-1386879104 .color-N5{color:#DEE1EB;} + .d2-1386879104 .color-N6{color:#EEF1F8;} + .d2-1386879104 .color-N7{color:#FFFFFF;} + .d2-1386879104 .color-B1{color:#0D32B2;} + .d2-1386879104 .color-B2{color:#0D32B2;} + .d2-1386879104 .color-B3{color:#E3E9FD;} + .d2-1386879104 .color-B4{color:#E3E9FD;} + .d2-1386879104 .color-B5{color:#EDF0FD;} + .d2-1386879104 .color-B6{color:#F7F8FE;} + .d2-1386879104 .color-AA2{color:#4A6FF3;} + .d2-1386879104 .color-AA4{color:#EDF0FD;} + .d2-1386879104 .color-AA5{color:#F7F8FE;} + .d2-1386879104 .color-AB4{color:#EDF0FD;} + .d2-1386879104 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acdab + + - - + + \ No newline at end of file diff --git a/e2etests/testdata/regression/nested_steps/elk/board.exp.json b/e2etests/testdata/regression/nested_steps/elk/board.exp.json index aad53f272..165657d4f 100644 --- a/e2etests/testdata/regression/nested_steps/elk/board.exp.json +++ b/e2etests/testdata/regression/nested_steps/elk/board.exp.json @@ -239,7 +239,7 @@ "y": 163 }, { - "x": 108, + "x": 109, "y": 233 } ], @@ -277,7 +277,7 @@ "y": 384 }, { - "x": 271, + "x": 272, "y": 454 } ], diff --git a/e2etests/testdata/regression/nested_steps/elk/sketch.exp.svg b/e2etests/testdata/regression/nested_steps/elk/sketch.exp.svg index 586ed6529..971632864 100644 --- a/e2etests/testdata/regression/nested_steps/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/nested_steps/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -acdab + .d2-1351697728 .fill-N1{fill:#0A0F25;} + .d2-1351697728 .fill-N2{fill:#676C7E;} + .d2-1351697728 .fill-N3{fill:#9499AB;} + .d2-1351697728 .fill-N4{fill:#CFD2DD;} + .d2-1351697728 .fill-N5{fill:#DEE1EB;} + .d2-1351697728 .fill-N6{fill:#EEF1F8;} + .d2-1351697728 .fill-N7{fill:#FFFFFF;} + .d2-1351697728 .fill-B1{fill:#0D32B2;} + .d2-1351697728 .fill-B2{fill:#0D32B2;} + .d2-1351697728 .fill-B3{fill:#E3E9FD;} + .d2-1351697728 .fill-B4{fill:#E3E9FD;} + .d2-1351697728 .fill-B5{fill:#EDF0FD;} + .d2-1351697728 .fill-B6{fill:#F7F8FE;} + .d2-1351697728 .fill-AA2{fill:#4A6FF3;} + .d2-1351697728 .fill-AA4{fill:#EDF0FD;} + .d2-1351697728 .fill-AA5{fill:#F7F8FE;} + .d2-1351697728 .fill-AB4{fill:#EDF0FD;} + .d2-1351697728 .fill-AB5{fill:#F7F8FE;} + .d2-1351697728 .stroke-N1{stroke:#0A0F25;} + .d2-1351697728 .stroke-N2{stroke:#676C7E;} + .d2-1351697728 .stroke-N3{stroke:#9499AB;} + .d2-1351697728 .stroke-N4{stroke:#CFD2DD;} + .d2-1351697728 .stroke-N5{stroke:#DEE1EB;} + .d2-1351697728 .stroke-N6{stroke:#EEF1F8;} + .d2-1351697728 .stroke-N7{stroke:#FFFFFF;} + .d2-1351697728 .stroke-B1{stroke:#0D32B2;} + .d2-1351697728 .stroke-B2{stroke:#0D32B2;} + .d2-1351697728 .stroke-B3{stroke:#E3E9FD;} + .d2-1351697728 .stroke-B4{stroke:#E3E9FD;} + .d2-1351697728 .stroke-B5{stroke:#EDF0FD;} + .d2-1351697728 .stroke-B6{stroke:#F7F8FE;} + .d2-1351697728 .stroke-AA2{stroke:#4A6FF3;} + .d2-1351697728 .stroke-AA4{stroke:#EDF0FD;} + .d2-1351697728 .stroke-AA5{stroke:#F7F8FE;} + .d2-1351697728 .stroke-AB4{stroke:#EDF0FD;} + .d2-1351697728 .stroke-AB5{stroke:#F7F8FE;} + .d2-1351697728 .background-color-N1{background-color:#0A0F25;} + .d2-1351697728 .background-color-N2{background-color:#676C7E;} + .d2-1351697728 .background-color-N3{background-color:#9499AB;} + .d2-1351697728 .background-color-N4{background-color:#CFD2DD;} + .d2-1351697728 .background-color-N5{background-color:#DEE1EB;} + .d2-1351697728 .background-color-N6{background-color:#EEF1F8;} + .d2-1351697728 .background-color-N7{background-color:#FFFFFF;} + .d2-1351697728 .background-color-B1{background-color:#0D32B2;} + .d2-1351697728 .background-color-B2{background-color:#0D32B2;} + .d2-1351697728 .background-color-B3{background-color:#E3E9FD;} + .d2-1351697728 .background-color-B4{background-color:#E3E9FD;} + .d2-1351697728 .background-color-B5{background-color:#EDF0FD;} + .d2-1351697728 .background-color-B6{background-color:#F7F8FE;} + .d2-1351697728 .background-color-AA2{background-color:#4A6FF3;} + .d2-1351697728 .background-color-AA4{background-color:#EDF0FD;} + .d2-1351697728 .background-color-AA5{background-color:#F7F8FE;} + .d2-1351697728 .background-color-AB4{background-color:#EDF0FD;} + .d2-1351697728 .background-color-AB5{background-color:#F7F8FE;} + .d2-1351697728 .color-N1{color:#0A0F25;} + .d2-1351697728 .color-N2{color:#676C7E;} + .d2-1351697728 .color-N3{color:#9499AB;} + .d2-1351697728 .color-N4{color:#CFD2DD;} + .d2-1351697728 .color-N5{color:#DEE1EB;} + .d2-1351697728 .color-N6{color:#EEF1F8;} + .d2-1351697728 .color-N7{color:#FFFFFF;} + .d2-1351697728 .color-B1{color:#0D32B2;} + .d2-1351697728 .color-B2{color:#0D32B2;} + .d2-1351697728 .color-B3{color:#E3E9FD;} + .d2-1351697728 .color-B4{color:#E3E9FD;} + .d2-1351697728 .color-B5{color:#EDF0FD;} + .d2-1351697728 .color-B6{color:#F7F8FE;} + .d2-1351697728 .color-AA2{color:#4A6FF3;} + .d2-1351697728 .color-AA4{color:#EDF0FD;} + .d2-1351697728 .color-AA5{color:#F7F8FE;} + .d2-1351697728 .color-AB4{color:#EDF0FD;} + .d2-1351697728 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acdab diff --git a/e2etests/testdata/regression/no-lexer/dagre/sketch.exp.svg b/e2etests/testdata/regression/no-lexer/dagre/sketch.exp.svg index 8d74d1396..cce4c79af 100644 --- a/e2etests/testdata/regression/no-lexer/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/no-lexer/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -x -> yx -> y + .d2-2285073631 .fill-N1{fill:#0A0F25;} + .d2-2285073631 .fill-N2{fill:#676C7E;} + .d2-2285073631 .fill-N3{fill:#9499AB;} + .d2-2285073631 .fill-N4{fill:#CFD2DD;} + .d2-2285073631 .fill-N5{fill:#DEE1EB;} + .d2-2285073631 .fill-N6{fill:#EEF1F8;} + .d2-2285073631 .fill-N7{fill:#FFFFFF;} + .d2-2285073631 .fill-B1{fill:#0D32B2;} + .d2-2285073631 .fill-B2{fill:#0D32B2;} + .d2-2285073631 .fill-B3{fill:#E3E9FD;} + .d2-2285073631 .fill-B4{fill:#E3E9FD;} + .d2-2285073631 .fill-B5{fill:#EDF0FD;} + .d2-2285073631 .fill-B6{fill:#F7F8FE;} + .d2-2285073631 .fill-AA2{fill:#4A6FF3;} + .d2-2285073631 .fill-AA4{fill:#EDF0FD;} + .d2-2285073631 .fill-AA5{fill:#F7F8FE;} + .d2-2285073631 .fill-AB4{fill:#EDF0FD;} + .d2-2285073631 .fill-AB5{fill:#F7F8FE;} + .d2-2285073631 .stroke-N1{stroke:#0A0F25;} + .d2-2285073631 .stroke-N2{stroke:#676C7E;} + .d2-2285073631 .stroke-N3{stroke:#9499AB;} + .d2-2285073631 .stroke-N4{stroke:#CFD2DD;} + .d2-2285073631 .stroke-N5{stroke:#DEE1EB;} + .d2-2285073631 .stroke-N6{stroke:#EEF1F8;} + .d2-2285073631 .stroke-N7{stroke:#FFFFFF;} + .d2-2285073631 .stroke-B1{stroke:#0D32B2;} + .d2-2285073631 .stroke-B2{stroke:#0D32B2;} + .d2-2285073631 .stroke-B3{stroke:#E3E9FD;} + .d2-2285073631 .stroke-B4{stroke:#E3E9FD;} + .d2-2285073631 .stroke-B5{stroke:#EDF0FD;} + .d2-2285073631 .stroke-B6{stroke:#F7F8FE;} + .d2-2285073631 .stroke-AA2{stroke:#4A6FF3;} + .d2-2285073631 .stroke-AA4{stroke:#EDF0FD;} + .d2-2285073631 .stroke-AA5{stroke:#F7F8FE;} + .d2-2285073631 .stroke-AB4{stroke:#EDF0FD;} + .d2-2285073631 .stroke-AB5{stroke:#F7F8FE;} + .d2-2285073631 .background-color-N1{background-color:#0A0F25;} + .d2-2285073631 .background-color-N2{background-color:#676C7E;} + .d2-2285073631 .background-color-N3{background-color:#9499AB;} + .d2-2285073631 .background-color-N4{background-color:#CFD2DD;} + .d2-2285073631 .background-color-N5{background-color:#DEE1EB;} + .d2-2285073631 .background-color-N6{background-color:#EEF1F8;} + .d2-2285073631 .background-color-N7{background-color:#FFFFFF;} + .d2-2285073631 .background-color-B1{background-color:#0D32B2;} + .d2-2285073631 .background-color-B2{background-color:#0D32B2;} + .d2-2285073631 .background-color-B3{background-color:#E3E9FD;} + .d2-2285073631 .background-color-B4{background-color:#E3E9FD;} + .d2-2285073631 .background-color-B5{background-color:#EDF0FD;} + .d2-2285073631 .background-color-B6{background-color:#F7F8FE;} + .d2-2285073631 .background-color-AA2{background-color:#4A6FF3;} + .d2-2285073631 .background-color-AA4{background-color:#EDF0FD;} + .d2-2285073631 .background-color-AA5{background-color:#F7F8FE;} + .d2-2285073631 .background-color-AB4{background-color:#EDF0FD;} + .d2-2285073631 .background-color-AB5{background-color:#F7F8FE;} + .d2-2285073631 .color-N1{color:#0A0F25;} + .d2-2285073631 .color-N2{color:#676C7E;} + .d2-2285073631 .color-N3{color:#9499AB;} + .d2-2285073631 .color-N4{color:#CFD2DD;} + .d2-2285073631 .color-N5{color:#DEE1EB;} + .d2-2285073631 .color-N6{color:#EEF1F8;} + .d2-2285073631 .color-N7{color:#FFFFFF;} + .d2-2285073631 .color-B1{color:#0D32B2;} + .d2-2285073631 .color-B2{color:#0D32B2;} + .d2-2285073631 .color-B3{color:#E3E9FD;} + .d2-2285073631 .color-B4{color:#E3E9FD;} + .d2-2285073631 .color-B5{color:#EDF0FD;} + .d2-2285073631 .color-B6{color:#F7F8FE;} + .d2-2285073631 .color-AA2{color:#4A6FF3;} + .d2-2285073631 .color-AA4{color:#EDF0FD;} + .d2-2285073631 .color-AA5{color:#F7F8FE;} + .d2-2285073631 .color-AB4{color:#EDF0FD;} + .d2-2285073631 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>x -> yx -> y \ No newline at end of file diff --git a/e2etests/testdata/regression/no-lexer/elk/sketch.exp.svg b/e2etests/testdata/regression/no-lexer/elk/sketch.exp.svg index 44e2e4fe6..29b6c8678 100644 --- a/e2etests/testdata/regression/no-lexer/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/no-lexer/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -x -> yx -> y + .d2-280266919 .fill-N1{fill:#0A0F25;} + .d2-280266919 .fill-N2{fill:#676C7E;} + .d2-280266919 .fill-N3{fill:#9499AB;} + .d2-280266919 .fill-N4{fill:#CFD2DD;} + .d2-280266919 .fill-N5{fill:#DEE1EB;} + .d2-280266919 .fill-N6{fill:#EEF1F8;} + .d2-280266919 .fill-N7{fill:#FFFFFF;} + .d2-280266919 .fill-B1{fill:#0D32B2;} + .d2-280266919 .fill-B2{fill:#0D32B2;} + .d2-280266919 .fill-B3{fill:#E3E9FD;} + .d2-280266919 .fill-B4{fill:#E3E9FD;} + .d2-280266919 .fill-B5{fill:#EDF0FD;} + .d2-280266919 .fill-B6{fill:#F7F8FE;} + .d2-280266919 .fill-AA2{fill:#4A6FF3;} + .d2-280266919 .fill-AA4{fill:#EDF0FD;} + .d2-280266919 .fill-AA5{fill:#F7F8FE;} + .d2-280266919 .fill-AB4{fill:#EDF0FD;} + .d2-280266919 .fill-AB5{fill:#F7F8FE;} + .d2-280266919 .stroke-N1{stroke:#0A0F25;} + .d2-280266919 .stroke-N2{stroke:#676C7E;} + .d2-280266919 .stroke-N3{stroke:#9499AB;} + .d2-280266919 .stroke-N4{stroke:#CFD2DD;} + .d2-280266919 .stroke-N5{stroke:#DEE1EB;} + .d2-280266919 .stroke-N6{stroke:#EEF1F8;} + .d2-280266919 .stroke-N7{stroke:#FFFFFF;} + .d2-280266919 .stroke-B1{stroke:#0D32B2;} + .d2-280266919 .stroke-B2{stroke:#0D32B2;} + .d2-280266919 .stroke-B3{stroke:#E3E9FD;} + .d2-280266919 .stroke-B4{stroke:#E3E9FD;} + .d2-280266919 .stroke-B5{stroke:#EDF0FD;} + .d2-280266919 .stroke-B6{stroke:#F7F8FE;} + .d2-280266919 .stroke-AA2{stroke:#4A6FF3;} + .d2-280266919 .stroke-AA4{stroke:#EDF0FD;} + .d2-280266919 .stroke-AA5{stroke:#F7F8FE;} + .d2-280266919 .stroke-AB4{stroke:#EDF0FD;} + .d2-280266919 .stroke-AB5{stroke:#F7F8FE;} + .d2-280266919 .background-color-N1{background-color:#0A0F25;} + .d2-280266919 .background-color-N2{background-color:#676C7E;} + .d2-280266919 .background-color-N3{background-color:#9499AB;} + .d2-280266919 .background-color-N4{background-color:#CFD2DD;} + .d2-280266919 .background-color-N5{background-color:#DEE1EB;} + .d2-280266919 .background-color-N6{background-color:#EEF1F8;} + .d2-280266919 .background-color-N7{background-color:#FFFFFF;} + .d2-280266919 .background-color-B1{background-color:#0D32B2;} + .d2-280266919 .background-color-B2{background-color:#0D32B2;} + .d2-280266919 .background-color-B3{background-color:#E3E9FD;} + .d2-280266919 .background-color-B4{background-color:#E3E9FD;} + .d2-280266919 .background-color-B5{background-color:#EDF0FD;} + .d2-280266919 .background-color-B6{background-color:#F7F8FE;} + .d2-280266919 .background-color-AA2{background-color:#4A6FF3;} + .d2-280266919 .background-color-AA4{background-color:#EDF0FD;} + .d2-280266919 .background-color-AA5{background-color:#F7F8FE;} + .d2-280266919 .background-color-AB4{background-color:#EDF0FD;} + .d2-280266919 .background-color-AB5{background-color:#F7F8FE;} + .d2-280266919 .color-N1{color:#0A0F25;} + .d2-280266919 .color-N2{color:#676C7E;} + .d2-280266919 .color-N3{color:#9499AB;} + .d2-280266919 .color-N4{color:#CFD2DD;} + .d2-280266919 .color-N5{color:#DEE1EB;} + .d2-280266919 .color-N6{color:#EEF1F8;} + .d2-280266919 .color-N7{color:#FFFFFF;} + .d2-280266919 .color-B1{color:#0D32B2;} + .d2-280266919 .color-B2{color:#0D32B2;} + .d2-280266919 .color-B3{color:#E3E9FD;} + .d2-280266919 .color-B4{color:#E3E9FD;} + .d2-280266919 .color-B5{color:#EDF0FD;} + .d2-280266919 .color-B6{color:#F7F8FE;} + .d2-280266919 .color-AA2{color:#4A6FF3;} + .d2-280266919 .color-AA4{color:#EDF0FD;} + .d2-280266919 .color-AA5{color:#F7F8FE;} + .d2-280266919 .color-AB4{color:#EDF0FD;} + .d2-280266919 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>x -> yx -> y \ No newline at end of file diff --git a/e2etests/testdata/regression/only_header_class_table/dagre/sketch.exp.svg b/e2etests/testdata/regression/only_header_class_table/dagre/sketch.exp.svg index 8cabf72ec..f54ca0634 100644 --- a/e2etests/testdata/regression/only_header_class_table/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/only_header_class_table/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok + .d2-3631666954 .fill-N1{fill:#0A0F25;} + .d2-3631666954 .fill-N2{fill:#676C7E;} + .d2-3631666954 .fill-N3{fill:#9499AB;} + .d2-3631666954 .fill-N4{fill:#CFD2DD;} + .d2-3631666954 .fill-N5{fill:#DEE1EB;} + .d2-3631666954 .fill-N6{fill:#EEF1F8;} + .d2-3631666954 .fill-N7{fill:#FFFFFF;} + .d2-3631666954 .fill-B1{fill:#0D32B2;} + .d2-3631666954 .fill-B2{fill:#0D32B2;} + .d2-3631666954 .fill-B3{fill:#E3E9FD;} + .d2-3631666954 .fill-B4{fill:#E3E9FD;} + .d2-3631666954 .fill-B5{fill:#EDF0FD;} + .d2-3631666954 .fill-B6{fill:#F7F8FE;} + .d2-3631666954 .fill-AA2{fill:#4A6FF3;} + .d2-3631666954 .fill-AA4{fill:#EDF0FD;} + .d2-3631666954 .fill-AA5{fill:#F7F8FE;} + .d2-3631666954 .fill-AB4{fill:#EDF0FD;} + .d2-3631666954 .fill-AB5{fill:#F7F8FE;} + .d2-3631666954 .stroke-N1{stroke:#0A0F25;} + .d2-3631666954 .stroke-N2{stroke:#676C7E;} + .d2-3631666954 .stroke-N3{stroke:#9499AB;} + .d2-3631666954 .stroke-N4{stroke:#CFD2DD;} + .d2-3631666954 .stroke-N5{stroke:#DEE1EB;} + .d2-3631666954 .stroke-N6{stroke:#EEF1F8;} + .d2-3631666954 .stroke-N7{stroke:#FFFFFF;} + .d2-3631666954 .stroke-B1{stroke:#0D32B2;} + .d2-3631666954 .stroke-B2{stroke:#0D32B2;} + .d2-3631666954 .stroke-B3{stroke:#E3E9FD;} + .d2-3631666954 .stroke-B4{stroke:#E3E9FD;} + .d2-3631666954 .stroke-B5{stroke:#EDF0FD;} + .d2-3631666954 .stroke-B6{stroke:#F7F8FE;} + .d2-3631666954 .stroke-AA2{stroke:#4A6FF3;} + .d2-3631666954 .stroke-AA4{stroke:#EDF0FD;} + .d2-3631666954 .stroke-AA5{stroke:#F7F8FE;} + .d2-3631666954 .stroke-AB4{stroke:#EDF0FD;} + .d2-3631666954 .stroke-AB5{stroke:#F7F8FE;} + .d2-3631666954 .background-color-N1{background-color:#0A0F25;} + .d2-3631666954 .background-color-N2{background-color:#676C7E;} + .d2-3631666954 .background-color-N3{background-color:#9499AB;} + .d2-3631666954 .background-color-N4{background-color:#CFD2DD;} + .d2-3631666954 .background-color-N5{background-color:#DEE1EB;} + .d2-3631666954 .background-color-N6{background-color:#EEF1F8;} + .d2-3631666954 .background-color-N7{background-color:#FFFFFF;} + .d2-3631666954 .background-color-B1{background-color:#0D32B2;} + .d2-3631666954 .background-color-B2{background-color:#0D32B2;} + .d2-3631666954 .background-color-B3{background-color:#E3E9FD;} + .d2-3631666954 .background-color-B4{background-color:#E3E9FD;} + .d2-3631666954 .background-color-B5{background-color:#EDF0FD;} + .d2-3631666954 .background-color-B6{background-color:#F7F8FE;} + .d2-3631666954 .background-color-AA2{background-color:#4A6FF3;} + .d2-3631666954 .background-color-AA4{background-color:#EDF0FD;} + .d2-3631666954 .background-color-AA5{background-color:#F7F8FE;} + .d2-3631666954 .background-color-AB4{background-color:#EDF0FD;} + .d2-3631666954 .background-color-AB5{background-color:#F7F8FE;} + .d2-3631666954 .color-N1{color:#0A0F25;} + .d2-3631666954 .color-N2{color:#676C7E;} + .d2-3631666954 .color-N3{color:#9499AB;} + .d2-3631666954 .color-N4{color:#CFD2DD;} + .d2-3631666954 .color-N5{color:#DEE1EB;} + .d2-3631666954 .color-N6{color:#EEF1F8;} + .d2-3631666954 .color-N7{color:#FFFFFF;} + .d2-3631666954 .color-B1{color:#0D32B2;} + .d2-3631666954 .color-B2{color:#0D32B2;} + .d2-3631666954 .color-B3{color:#E3E9FD;} + .d2-3631666954 .color-B4{color:#E3E9FD;} + .d2-3631666954 .color-B5{color:#EDF0FD;} + .d2-3631666954 .color-B6{color:#F7F8FE;} + .d2-3631666954 .color-AA2{color:#4A6FF3;} + .d2-3631666954 .color-AA4{color:#EDF0FD;} + .d2-3631666954 .color-AA5{color:#F7F8FE;} + .d2-3631666954 .color-AB4{color:#EDF0FD;} + .d2-3631666954 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok \ No newline at end of file diff --git a/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg b/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg index 9bd6fadd7..26e3ece3f 100644 --- a/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok + .d2-505883705 .fill-N1{fill:#0A0F25;} + .d2-505883705 .fill-N2{fill:#676C7E;} + .d2-505883705 .fill-N3{fill:#9499AB;} + .d2-505883705 .fill-N4{fill:#CFD2DD;} + .d2-505883705 .fill-N5{fill:#DEE1EB;} + .d2-505883705 .fill-N6{fill:#EEF1F8;} + .d2-505883705 .fill-N7{fill:#FFFFFF;} + .d2-505883705 .fill-B1{fill:#0D32B2;} + .d2-505883705 .fill-B2{fill:#0D32B2;} + .d2-505883705 .fill-B3{fill:#E3E9FD;} + .d2-505883705 .fill-B4{fill:#E3E9FD;} + .d2-505883705 .fill-B5{fill:#EDF0FD;} + .d2-505883705 .fill-B6{fill:#F7F8FE;} + .d2-505883705 .fill-AA2{fill:#4A6FF3;} + .d2-505883705 .fill-AA4{fill:#EDF0FD;} + .d2-505883705 .fill-AA5{fill:#F7F8FE;} + .d2-505883705 .fill-AB4{fill:#EDF0FD;} + .d2-505883705 .fill-AB5{fill:#F7F8FE;} + .d2-505883705 .stroke-N1{stroke:#0A0F25;} + .d2-505883705 .stroke-N2{stroke:#676C7E;} + .d2-505883705 .stroke-N3{stroke:#9499AB;} + .d2-505883705 .stroke-N4{stroke:#CFD2DD;} + .d2-505883705 .stroke-N5{stroke:#DEE1EB;} + .d2-505883705 .stroke-N6{stroke:#EEF1F8;} + .d2-505883705 .stroke-N7{stroke:#FFFFFF;} + .d2-505883705 .stroke-B1{stroke:#0D32B2;} + .d2-505883705 .stroke-B2{stroke:#0D32B2;} + .d2-505883705 .stroke-B3{stroke:#E3E9FD;} + .d2-505883705 .stroke-B4{stroke:#E3E9FD;} + .d2-505883705 .stroke-B5{stroke:#EDF0FD;} + .d2-505883705 .stroke-B6{stroke:#F7F8FE;} + .d2-505883705 .stroke-AA2{stroke:#4A6FF3;} + .d2-505883705 .stroke-AA4{stroke:#EDF0FD;} + .d2-505883705 .stroke-AA5{stroke:#F7F8FE;} + .d2-505883705 .stroke-AB4{stroke:#EDF0FD;} + .d2-505883705 .stroke-AB5{stroke:#F7F8FE;} + .d2-505883705 .background-color-N1{background-color:#0A0F25;} + .d2-505883705 .background-color-N2{background-color:#676C7E;} + .d2-505883705 .background-color-N3{background-color:#9499AB;} + .d2-505883705 .background-color-N4{background-color:#CFD2DD;} + .d2-505883705 .background-color-N5{background-color:#DEE1EB;} + .d2-505883705 .background-color-N6{background-color:#EEF1F8;} + .d2-505883705 .background-color-N7{background-color:#FFFFFF;} + .d2-505883705 .background-color-B1{background-color:#0D32B2;} + .d2-505883705 .background-color-B2{background-color:#0D32B2;} + .d2-505883705 .background-color-B3{background-color:#E3E9FD;} + .d2-505883705 .background-color-B4{background-color:#E3E9FD;} + .d2-505883705 .background-color-B5{background-color:#EDF0FD;} + .d2-505883705 .background-color-B6{background-color:#F7F8FE;} + .d2-505883705 .background-color-AA2{background-color:#4A6FF3;} + .d2-505883705 .background-color-AA4{background-color:#EDF0FD;} + .d2-505883705 .background-color-AA5{background-color:#F7F8FE;} + .d2-505883705 .background-color-AB4{background-color:#EDF0FD;} + .d2-505883705 .background-color-AB5{background-color:#F7F8FE;} + .d2-505883705 .color-N1{color:#0A0F25;} + .d2-505883705 .color-N2{color:#676C7E;} + .d2-505883705 .color-N3{color:#9499AB;} + .d2-505883705 .color-N4{color:#CFD2DD;} + .d2-505883705 .color-N5{color:#DEE1EB;} + .d2-505883705 .color-N6{color:#EEF1F8;} + .d2-505883705 .color-N7{color:#FFFFFF;} + .d2-505883705 .color-B1{color:#0D32B2;} + .d2-505883705 .color-B2{color:#0D32B2;} + .d2-505883705 .color-B3{color:#E3E9FD;} + .d2-505883705 .color-B4{color:#E3E9FD;} + .d2-505883705 .color-B5{color:#EDF0FD;} + .d2-505883705 .color-B6{color:#F7F8FE;} + .d2-505883705 .color-AA2{color:#4A6FF3;} + .d2-505883705 .color-AA4{color:#EDF0FD;} + .d2-505883705 .color-AA5{color:#F7F8FE;} + .d2-505883705 .color-AB4{color:#EDF0FD;} + .d2-505883705 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok \ No newline at end of file diff --git a/e2etests/testdata/regression/opacity-on-label/dagre/board.exp.json b/e2etests/testdata/regression/opacity-on-label/dagre/board.exp.json index bef75715d..4a2c0b80a 100644 --- a/e2etests/testdata/regression/opacity-on-label/dagre/board.exp.json +++ b/e2etests/testdata/regression/opacity-on-label/dagre/board.exp.json @@ -153,11 +153,11 @@ "route": [ { "x": 161, - "y": 66 + "y": 65.5 }, { "x": 161, - "y": 120.80000305175781 + "y": 120.69999694824219 }, { "x": 161, diff --git a/e2etests/testdata/regression/opacity-on-label/dagre/sketch.exp.svg b/e2etests/testdata/regression/opacity-on-label/dagre/sketch.exp.svg index 3fd901ccb..9f10c7cc7 100644 --- a/e2etests/testdata/regression/opacity-on-label/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/opacity-on-label/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -x

    linux: because a PC is a terrible thing to waste

    -
    a You don't have to know how the computer works,just how to work the computer. +a You don't have to know how the computer works,just how to work the computer. diff --git a/e2etests/testdata/regression/opacity-on-label/elk/sketch.exp.svg b/e2etests/testdata/regression/opacity-on-label/elk/sketch.exp.svg index 561dd6255..3780f973b 100644 --- a/e2etests/testdata/regression/opacity-on-label/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/opacity-on-label/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -x

    linux: because a PC is a terrible thing to waste

    -
    a You don't have to know how the computer works,just how to work the computer. +a You don't have to know how the computer works,just how to work the computer. diff --git a/e2etests/testdata/regression/overlapping-edge-label/dagre/board.exp.json b/e2etests/testdata/regression/overlapping-edge-label/dagre/board.exp.json index dfd3b611c..d09ceeafe 100644 --- a/e2etests/testdata/regression/overlapping-edge-label/dagre/board.exp.json +++ b/e2etests/testdata/regression/overlapping-edge-label/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "k8s", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 1175, - "height": 125, + "width": 1155, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 132, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 232, - "y": 70 + "y": 50 }, "width": 132, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 424, - "y": 70 + "y": 50 }, "width": 132, "height": 66, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 616, - "y": 70 + "y": 50 }, "width": 133, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 809, - "y": 70 + "y": 50 }, "width": 133, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 1002, - "y": 70 + "y": 50 }, "width": 133, "height": 66, @@ -294,11 +294,11 @@ "id": "osvc", "type": "rectangle", "pos": { - "x": 406, - "y": 328 + "x": 416, + "y": 307 }, - "width": 455, - "height": 125, + "width": 425, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 446, - "y": 357 + "y": 337 }, "width": 76, "height": 66, @@ -377,7 +377,7 @@ "type": "rectangle", "pos": { "x": 645, - "y": 357 + "y": 337 }, "width": 76, "height": 66, @@ -441,19 +441,19 @@ "route": [ { "x": 532.5, - "y": 166 + "y": 145.5 }, { "x": 532.5, - "y": 214.39999389648438 + "y": 210.3000030517578 }, { "x": 532.5, - "y": 246.89999389648438 + "y": 242.6999969482422 }, { "x": 532.5, - "y": 328.5 + "y": 307.5 } ], "isCurve": true, @@ -488,19 +488,19 @@ "route": [ { "x": 634.5, - "y": 166 + "y": 145.5 }, { "x": 634.5, - "y": 214.39999389648438 + "y": 210.3000030517578 }, { "x": 634.5, - "y": 238.6999969482422 + "y": 234.5 }, { "x": 634.5, - "y": 287.5 + "y": 266.5 } ], "isCurve": true, @@ -535,19 +535,19 @@ "route": [ { "x": 730.5, - "y": 166 + "y": 145.5 }, { "x": 730.5, - "y": 214.39999389648438 + "y": 210.3000030517578 }, { "x": 730.5, - "y": 246.89999389648438 + "y": 242.6999969482422 }, { "x": 730.5, - "y": 328.5 + "y": 307.5 } ], "isCurve": true, @@ -582,19 +582,19 @@ "route": [ { "x": 811.5, - "y": 166 + "y": 145.5 }, { "x": 811.5, - "y": 214.39999389648438 + "y": 210.3000030517578 }, { "x": 811.5, - "y": 246.89999389648438 + "y": 242.6999969482422 }, { "x": 811.5, - "y": 328.5 + "y": 307.5 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/overlapping-edge-label/dagre/sketch.exp.svg b/e2etests/testdata/regression/overlapping-edge-label/dagre/sketch.exp.svg index 347ad8307..730cbf69d 100644 --- a/e2etests/testdata/regression/overlapping-edge-label/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/overlapping-edge-label/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -Kubernetesopensvck8s-master1k8s-master2k8s-master3k8s-worker1k8s-worker2k8s-worker3VM1VM2 keycloakheptapodharborvault - - - - - - - - - - - - - - - + .d2-863162224 .fill-N1{fill:#0A0F25;} + .d2-863162224 .fill-N2{fill:#676C7E;} + .d2-863162224 .fill-N3{fill:#9499AB;} + .d2-863162224 .fill-N4{fill:#CFD2DD;} + .d2-863162224 .fill-N5{fill:#DEE1EB;} + .d2-863162224 .fill-N6{fill:#EEF1F8;} + .d2-863162224 .fill-N7{fill:#FFFFFF;} + .d2-863162224 .fill-B1{fill:#0D32B2;} + .d2-863162224 .fill-B2{fill:#0D32B2;} + .d2-863162224 .fill-B3{fill:#E3E9FD;} + .d2-863162224 .fill-B4{fill:#E3E9FD;} + .d2-863162224 .fill-B5{fill:#EDF0FD;} + .d2-863162224 .fill-B6{fill:#F7F8FE;} + .d2-863162224 .fill-AA2{fill:#4A6FF3;} + .d2-863162224 .fill-AA4{fill:#EDF0FD;} + .d2-863162224 .fill-AA5{fill:#F7F8FE;} + .d2-863162224 .fill-AB4{fill:#EDF0FD;} + .d2-863162224 .fill-AB5{fill:#F7F8FE;} + .d2-863162224 .stroke-N1{stroke:#0A0F25;} + .d2-863162224 .stroke-N2{stroke:#676C7E;} + .d2-863162224 .stroke-N3{stroke:#9499AB;} + .d2-863162224 .stroke-N4{stroke:#CFD2DD;} + .d2-863162224 .stroke-N5{stroke:#DEE1EB;} + .d2-863162224 .stroke-N6{stroke:#EEF1F8;} + .d2-863162224 .stroke-N7{stroke:#FFFFFF;} + .d2-863162224 .stroke-B1{stroke:#0D32B2;} + .d2-863162224 .stroke-B2{stroke:#0D32B2;} + .d2-863162224 .stroke-B3{stroke:#E3E9FD;} + .d2-863162224 .stroke-B4{stroke:#E3E9FD;} + .d2-863162224 .stroke-B5{stroke:#EDF0FD;} + .d2-863162224 .stroke-B6{stroke:#F7F8FE;} + .d2-863162224 .stroke-AA2{stroke:#4A6FF3;} + .d2-863162224 .stroke-AA4{stroke:#EDF0FD;} + .d2-863162224 .stroke-AA5{stroke:#F7F8FE;} + .d2-863162224 .stroke-AB4{stroke:#EDF0FD;} + .d2-863162224 .stroke-AB5{stroke:#F7F8FE;} + .d2-863162224 .background-color-N1{background-color:#0A0F25;} + .d2-863162224 .background-color-N2{background-color:#676C7E;} + .d2-863162224 .background-color-N3{background-color:#9499AB;} + .d2-863162224 .background-color-N4{background-color:#CFD2DD;} + .d2-863162224 .background-color-N5{background-color:#DEE1EB;} + .d2-863162224 .background-color-N6{background-color:#EEF1F8;} + .d2-863162224 .background-color-N7{background-color:#FFFFFF;} + .d2-863162224 .background-color-B1{background-color:#0D32B2;} + .d2-863162224 .background-color-B2{background-color:#0D32B2;} + .d2-863162224 .background-color-B3{background-color:#E3E9FD;} + .d2-863162224 .background-color-B4{background-color:#E3E9FD;} + .d2-863162224 .background-color-B5{background-color:#EDF0FD;} + .d2-863162224 .background-color-B6{background-color:#F7F8FE;} + .d2-863162224 .background-color-AA2{background-color:#4A6FF3;} + .d2-863162224 .background-color-AA4{background-color:#EDF0FD;} + .d2-863162224 .background-color-AA5{background-color:#F7F8FE;} + .d2-863162224 .background-color-AB4{background-color:#EDF0FD;} + .d2-863162224 .background-color-AB5{background-color:#F7F8FE;} + .d2-863162224 .color-N1{color:#0A0F25;} + .d2-863162224 .color-N2{color:#676C7E;} + .d2-863162224 .color-N3{color:#9499AB;} + .d2-863162224 .color-N4{color:#CFD2DD;} + .d2-863162224 .color-N5{color:#DEE1EB;} + .d2-863162224 .color-N6{color:#EEF1F8;} + .d2-863162224 .color-N7{color:#FFFFFF;} + .d2-863162224 .color-B1{color:#0D32B2;} + .d2-863162224 .color-B2{color:#0D32B2;} + .d2-863162224 .color-B3{color:#E3E9FD;} + .d2-863162224 .color-B4{color:#E3E9FD;} + .d2-863162224 .color-B5{color:#EDF0FD;} + .d2-863162224 .color-B6{color:#F7F8FE;} + .d2-863162224 .color-AA2{color:#4A6FF3;} + .d2-863162224 .color-AA4{color:#EDF0FD;} + .d2-863162224 .color-AA5{color:#F7F8FE;} + .d2-863162224 .color-AB4{color:#EDF0FD;} + .d2-863162224 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Kubernetesopensvck8s-master1k8s-master2k8s-master3k8s-worker1k8s-worker2k8s-worker3VM1VM2 keycloakheptapodharborvault + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/overlapping-edge-label/elk/sketch.exp.svg b/e2etests/testdata/regression/overlapping-edge-label/elk/sketch.exp.svg index ffb9ded61..790317c45 100644 --- a/e2etests/testdata/regression/overlapping-edge-label/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/overlapping-edge-label/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -Kubernetesopensvck8s-master1k8s-master2k8s-master3k8s-worker1k8s-worker2k8s-worker3VM1VM2 keycloakheptapodharborvault + .d2-1180036549 .fill-N1{fill:#0A0F25;} + .d2-1180036549 .fill-N2{fill:#676C7E;} + .d2-1180036549 .fill-N3{fill:#9499AB;} + .d2-1180036549 .fill-N4{fill:#CFD2DD;} + .d2-1180036549 .fill-N5{fill:#DEE1EB;} + .d2-1180036549 .fill-N6{fill:#EEF1F8;} + .d2-1180036549 .fill-N7{fill:#FFFFFF;} + .d2-1180036549 .fill-B1{fill:#0D32B2;} + .d2-1180036549 .fill-B2{fill:#0D32B2;} + .d2-1180036549 .fill-B3{fill:#E3E9FD;} + .d2-1180036549 .fill-B4{fill:#E3E9FD;} + .d2-1180036549 .fill-B5{fill:#EDF0FD;} + .d2-1180036549 .fill-B6{fill:#F7F8FE;} + .d2-1180036549 .fill-AA2{fill:#4A6FF3;} + .d2-1180036549 .fill-AA4{fill:#EDF0FD;} + .d2-1180036549 .fill-AA5{fill:#F7F8FE;} + .d2-1180036549 .fill-AB4{fill:#EDF0FD;} + .d2-1180036549 .fill-AB5{fill:#F7F8FE;} + .d2-1180036549 .stroke-N1{stroke:#0A0F25;} + .d2-1180036549 .stroke-N2{stroke:#676C7E;} + .d2-1180036549 .stroke-N3{stroke:#9499AB;} + .d2-1180036549 .stroke-N4{stroke:#CFD2DD;} + .d2-1180036549 .stroke-N5{stroke:#DEE1EB;} + .d2-1180036549 .stroke-N6{stroke:#EEF1F8;} + .d2-1180036549 .stroke-N7{stroke:#FFFFFF;} + .d2-1180036549 .stroke-B1{stroke:#0D32B2;} + .d2-1180036549 .stroke-B2{stroke:#0D32B2;} + .d2-1180036549 .stroke-B3{stroke:#E3E9FD;} + .d2-1180036549 .stroke-B4{stroke:#E3E9FD;} + .d2-1180036549 .stroke-B5{stroke:#EDF0FD;} + .d2-1180036549 .stroke-B6{stroke:#F7F8FE;} + .d2-1180036549 .stroke-AA2{stroke:#4A6FF3;} + .d2-1180036549 .stroke-AA4{stroke:#EDF0FD;} + .d2-1180036549 .stroke-AA5{stroke:#F7F8FE;} + .d2-1180036549 .stroke-AB4{stroke:#EDF0FD;} + .d2-1180036549 .stroke-AB5{stroke:#F7F8FE;} + .d2-1180036549 .background-color-N1{background-color:#0A0F25;} + .d2-1180036549 .background-color-N2{background-color:#676C7E;} + .d2-1180036549 .background-color-N3{background-color:#9499AB;} + .d2-1180036549 .background-color-N4{background-color:#CFD2DD;} + .d2-1180036549 .background-color-N5{background-color:#DEE1EB;} + .d2-1180036549 .background-color-N6{background-color:#EEF1F8;} + .d2-1180036549 .background-color-N7{background-color:#FFFFFF;} + .d2-1180036549 .background-color-B1{background-color:#0D32B2;} + .d2-1180036549 .background-color-B2{background-color:#0D32B2;} + .d2-1180036549 .background-color-B3{background-color:#E3E9FD;} + .d2-1180036549 .background-color-B4{background-color:#E3E9FD;} + .d2-1180036549 .background-color-B5{background-color:#EDF0FD;} + .d2-1180036549 .background-color-B6{background-color:#F7F8FE;} + .d2-1180036549 .background-color-AA2{background-color:#4A6FF3;} + .d2-1180036549 .background-color-AA4{background-color:#EDF0FD;} + .d2-1180036549 .background-color-AA5{background-color:#F7F8FE;} + .d2-1180036549 .background-color-AB4{background-color:#EDF0FD;} + .d2-1180036549 .background-color-AB5{background-color:#F7F8FE;} + .d2-1180036549 .color-N1{color:#0A0F25;} + .d2-1180036549 .color-N2{color:#676C7E;} + .d2-1180036549 .color-N3{color:#9499AB;} + .d2-1180036549 .color-N4{color:#CFD2DD;} + .d2-1180036549 .color-N5{color:#DEE1EB;} + .d2-1180036549 .color-N6{color:#EEF1F8;} + .d2-1180036549 .color-N7{color:#FFFFFF;} + .d2-1180036549 .color-B1{color:#0D32B2;} + .d2-1180036549 .color-B2{color:#0D32B2;} + .d2-1180036549 .color-B3{color:#E3E9FD;} + .d2-1180036549 .color-B4{color:#E3E9FD;} + .d2-1180036549 .color-B5{color:#EDF0FD;} + .d2-1180036549 .color-B6{color:#F7F8FE;} + .d2-1180036549 .color-AA2{color:#4A6FF3;} + .d2-1180036549 .color-AA4{color:#EDF0FD;} + .d2-1180036549 .color-AA5{color:#F7F8FE;} + .d2-1180036549 .color-AB4{color:#EDF0FD;} + .d2-1180036549 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Kubernetesopensvck8s-master1k8s-master2k8s-master3k8s-worker1k8s-worker2k8s-worker3VM1VM2 keycloakheptapodharborvault diff --git a/e2etests/testdata/regression/query_param_escape/dagre/board.exp.json b/e2etests/testdata/regression/query_param_escape/dagre/board.exp.json index b691f4363..56e80e247 100644 --- a/e2etests/testdata/regression/query_param_escape/dagre/board.exp.json +++ b/e2etests/testdata/regression/query_param_escape/dagre/board.exp.json @@ -11,7 +11,7 @@ "y": 0 }, "width": 156, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, diff --git a/e2etests/testdata/regression/query_param_escape/dagre/sketch.exp.svg b/e2etests/testdata/regression/query_param_escape/dagre/sketch.exp.svg index 5e0006e71..5fa4fca84 100644 --- a/e2etests/testdata/regression/query_param_escape/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/query_param_escape/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -my network - + .d2-67740778 .fill-N1{fill:#0A0F25;} + .d2-67740778 .fill-N2{fill:#676C7E;} + .d2-67740778 .fill-N3{fill:#9499AB;} + .d2-67740778 .fill-N4{fill:#CFD2DD;} + .d2-67740778 .fill-N5{fill:#DEE1EB;} + .d2-67740778 .fill-N6{fill:#EEF1F8;} + .d2-67740778 .fill-N7{fill:#FFFFFF;} + .d2-67740778 .fill-B1{fill:#0D32B2;} + .d2-67740778 .fill-B2{fill:#0D32B2;} + .d2-67740778 .fill-B3{fill:#E3E9FD;} + .d2-67740778 .fill-B4{fill:#E3E9FD;} + .d2-67740778 .fill-B5{fill:#EDF0FD;} + .d2-67740778 .fill-B6{fill:#F7F8FE;} + .d2-67740778 .fill-AA2{fill:#4A6FF3;} + .d2-67740778 .fill-AA4{fill:#EDF0FD;} + .d2-67740778 .fill-AA5{fill:#F7F8FE;} + .d2-67740778 .fill-AB4{fill:#EDF0FD;} + .d2-67740778 .fill-AB5{fill:#F7F8FE;} + .d2-67740778 .stroke-N1{stroke:#0A0F25;} + .d2-67740778 .stroke-N2{stroke:#676C7E;} + .d2-67740778 .stroke-N3{stroke:#9499AB;} + .d2-67740778 .stroke-N4{stroke:#CFD2DD;} + .d2-67740778 .stroke-N5{stroke:#DEE1EB;} + .d2-67740778 .stroke-N6{stroke:#EEF1F8;} + .d2-67740778 .stroke-N7{stroke:#FFFFFF;} + .d2-67740778 .stroke-B1{stroke:#0D32B2;} + .d2-67740778 .stroke-B2{stroke:#0D32B2;} + .d2-67740778 .stroke-B3{stroke:#E3E9FD;} + .d2-67740778 .stroke-B4{stroke:#E3E9FD;} + .d2-67740778 .stroke-B5{stroke:#EDF0FD;} + .d2-67740778 .stroke-B6{stroke:#F7F8FE;} + .d2-67740778 .stroke-AA2{stroke:#4A6FF3;} + .d2-67740778 .stroke-AA4{stroke:#EDF0FD;} + .d2-67740778 .stroke-AA5{stroke:#F7F8FE;} + .d2-67740778 .stroke-AB4{stroke:#EDF0FD;} + .d2-67740778 .stroke-AB5{stroke:#F7F8FE;} + .d2-67740778 .background-color-N1{background-color:#0A0F25;} + .d2-67740778 .background-color-N2{background-color:#676C7E;} + .d2-67740778 .background-color-N3{background-color:#9499AB;} + .d2-67740778 .background-color-N4{background-color:#CFD2DD;} + .d2-67740778 .background-color-N5{background-color:#DEE1EB;} + .d2-67740778 .background-color-N6{background-color:#EEF1F8;} + .d2-67740778 .background-color-N7{background-color:#FFFFFF;} + .d2-67740778 .background-color-B1{background-color:#0D32B2;} + .d2-67740778 .background-color-B2{background-color:#0D32B2;} + .d2-67740778 .background-color-B3{background-color:#E3E9FD;} + .d2-67740778 .background-color-B4{background-color:#E3E9FD;} + .d2-67740778 .background-color-B5{background-color:#EDF0FD;} + .d2-67740778 .background-color-B6{background-color:#F7F8FE;} + .d2-67740778 .background-color-AA2{background-color:#4A6FF3;} + .d2-67740778 .background-color-AA4{background-color:#EDF0FD;} + .d2-67740778 .background-color-AA5{background-color:#F7F8FE;} + .d2-67740778 .background-color-AB4{background-color:#EDF0FD;} + .d2-67740778 .background-color-AB5{background-color:#F7F8FE;} + .d2-67740778 .color-N1{color:#0A0F25;} + .d2-67740778 .color-N2{color:#676C7E;} + .d2-67740778 .color-N3{color:#9499AB;} + .d2-67740778 .color-N4{color:#CFD2DD;} + .d2-67740778 .color-N5{color:#DEE1EB;} + .d2-67740778 .color-N6{color:#EEF1F8;} + .d2-67740778 .color-N7{color:#FFFFFF;} + .d2-67740778 .color-B1{color:#0D32B2;} + .d2-67740778 .color-B2{color:#0D32B2;} + .d2-67740778 .color-B3{color:#E3E9FD;} + .d2-67740778 .color-B4{color:#E3E9FD;} + .d2-67740778 .color-B5{color:#EDF0FD;} + .d2-67740778 .color-B6{color:#F7F8FE;} + .d2-67740778 .color-AA2{color:#4A6FF3;} + .d2-67740778 .color-AA4{color:#EDF0FD;} + .d2-67740778 .color-AA5{color:#F7F8FE;} + .d2-67740778 .color-AB4{color:#EDF0FD;} + .d2-67740778 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>my network + \ No newline at end of file diff --git a/e2etests/testdata/regression/query_param_escape/elk/sketch.exp.svg b/e2etests/testdata/regression/query_param_escape/elk/sketch.exp.svg index 549b44c3d..429820c29 100644 --- a/e2etests/testdata/regression/query_param_escape/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/query_param_escape/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -my network + .d2-1662616225 .fill-N1{fill:#0A0F25;} + .d2-1662616225 .fill-N2{fill:#676C7E;} + .d2-1662616225 .fill-N3{fill:#9499AB;} + .d2-1662616225 .fill-N4{fill:#CFD2DD;} + .d2-1662616225 .fill-N5{fill:#DEE1EB;} + .d2-1662616225 .fill-N6{fill:#EEF1F8;} + .d2-1662616225 .fill-N7{fill:#FFFFFF;} + .d2-1662616225 .fill-B1{fill:#0D32B2;} + .d2-1662616225 .fill-B2{fill:#0D32B2;} + .d2-1662616225 .fill-B3{fill:#E3E9FD;} + .d2-1662616225 .fill-B4{fill:#E3E9FD;} + .d2-1662616225 .fill-B5{fill:#EDF0FD;} + .d2-1662616225 .fill-B6{fill:#F7F8FE;} + .d2-1662616225 .fill-AA2{fill:#4A6FF3;} + .d2-1662616225 .fill-AA4{fill:#EDF0FD;} + .d2-1662616225 .fill-AA5{fill:#F7F8FE;} + .d2-1662616225 .fill-AB4{fill:#EDF0FD;} + .d2-1662616225 .fill-AB5{fill:#F7F8FE;} + .d2-1662616225 .stroke-N1{stroke:#0A0F25;} + .d2-1662616225 .stroke-N2{stroke:#676C7E;} + .d2-1662616225 .stroke-N3{stroke:#9499AB;} + .d2-1662616225 .stroke-N4{stroke:#CFD2DD;} + .d2-1662616225 .stroke-N5{stroke:#DEE1EB;} + .d2-1662616225 .stroke-N6{stroke:#EEF1F8;} + .d2-1662616225 .stroke-N7{stroke:#FFFFFF;} + .d2-1662616225 .stroke-B1{stroke:#0D32B2;} + .d2-1662616225 .stroke-B2{stroke:#0D32B2;} + .d2-1662616225 .stroke-B3{stroke:#E3E9FD;} + .d2-1662616225 .stroke-B4{stroke:#E3E9FD;} + .d2-1662616225 .stroke-B5{stroke:#EDF0FD;} + .d2-1662616225 .stroke-B6{stroke:#F7F8FE;} + .d2-1662616225 .stroke-AA2{stroke:#4A6FF3;} + .d2-1662616225 .stroke-AA4{stroke:#EDF0FD;} + .d2-1662616225 .stroke-AA5{stroke:#F7F8FE;} + .d2-1662616225 .stroke-AB4{stroke:#EDF0FD;} + .d2-1662616225 .stroke-AB5{stroke:#F7F8FE;} + .d2-1662616225 .background-color-N1{background-color:#0A0F25;} + .d2-1662616225 .background-color-N2{background-color:#676C7E;} + .d2-1662616225 .background-color-N3{background-color:#9499AB;} + .d2-1662616225 .background-color-N4{background-color:#CFD2DD;} + .d2-1662616225 .background-color-N5{background-color:#DEE1EB;} + .d2-1662616225 .background-color-N6{background-color:#EEF1F8;} + .d2-1662616225 .background-color-N7{background-color:#FFFFFF;} + .d2-1662616225 .background-color-B1{background-color:#0D32B2;} + .d2-1662616225 .background-color-B2{background-color:#0D32B2;} + .d2-1662616225 .background-color-B3{background-color:#E3E9FD;} + .d2-1662616225 .background-color-B4{background-color:#E3E9FD;} + .d2-1662616225 .background-color-B5{background-color:#EDF0FD;} + .d2-1662616225 .background-color-B6{background-color:#F7F8FE;} + .d2-1662616225 .background-color-AA2{background-color:#4A6FF3;} + .d2-1662616225 .background-color-AA4{background-color:#EDF0FD;} + .d2-1662616225 .background-color-AA5{background-color:#F7F8FE;} + .d2-1662616225 .background-color-AB4{background-color:#EDF0FD;} + .d2-1662616225 .background-color-AB5{background-color:#F7F8FE;} + .d2-1662616225 .color-N1{color:#0A0F25;} + .d2-1662616225 .color-N2{color:#676C7E;} + .d2-1662616225 .color-N3{color:#9499AB;} + .d2-1662616225 .color-N4{color:#CFD2DD;} + .d2-1662616225 .color-N5{color:#DEE1EB;} + .d2-1662616225 .color-N6{color:#EEF1F8;} + .d2-1662616225 .color-N7{color:#FFFFFF;} + .d2-1662616225 .color-B1{color:#0D32B2;} + .d2-1662616225 .color-B2{color:#0D32B2;} + .d2-1662616225 .color-B3{color:#E3E9FD;} + .d2-1662616225 .color-B4{color:#E3E9FD;} + .d2-1662616225 .color-B5{color:#EDF0FD;} + .d2-1662616225 .color-B6{color:#F7F8FE;} + .d2-1662616225 .color-AA2{color:#4A6FF3;} + .d2-1662616225 .color-AA4{color:#EDF0FD;} + .d2-1662616225 .color-AA5{color:#F7F8FE;} + .d2-1662616225 .color-AB4{color:#EDF0FD;} + .d2-1662616225 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>my network \ No newline at end of file diff --git a/e2etests/testdata/regression/root-container/dagre/board.exp.json b/e2etests/testdata/regression/root-container/dagre/board.exp.json index 7a277be91..3110ea862 100644 --- a/e2etests/testdata/regression/root-container/dagre/board.exp.json +++ b/e2etests/testdata/regression/root-container/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "main", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 246, - "height": 291, + "width": 225, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 96, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 153, - "y": 70 + "y": 50 }, "width": 52, "height": 66, @@ -171,11 +171,11 @@ "id": "root", "type": "rectangle", "pos": { - "x": 266, - "y": 41 + "x": 276, + "y": 20 }, - "width": 246, - "height": 291, + "width": 225, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 306, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 362, - "y": 236 + "y": 216 }, "width": 54, "height": 66, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 419, - "y": 70 + "y": 50 }, "width": 52, "height": 66, @@ -359,19 +359,19 @@ "route": [ { "x": 66.75, - "y": 136.5 + "y": 116 }, { "x": 66.75, - "y": 176.5 + "y": 156 }, { "x": 73.55000305175781, - "y": 196.5 + "y": 176 }, { "x": 100.75, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -405,20 +405,20 @@ "labelPercentage": 0, "route": [ { - "x": 145.36399841308594, - "y": 236.5 + "x": 145.25, + "y": 216 }, { - "x": 172.4720001220703, - "y": 196.5 + "x": 172.4499969482422, + "y": 176 }, { "x": 179.25, - "y": 176.5 + "y": 156 }, { "x": 179.25, - "y": 136.5 + "y": 116 } ], "isCurve": true, @@ -453,19 +453,19 @@ "route": [ { "x": 332.5, - "y": 136.5 + "y": 116 }, { "x": 332.5, - "y": 176.5 + "y": 156 }, { "x": 339.29998779296875, - "y": 196.5 + "y": 176 }, { "x": 366.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -499,20 +499,20 @@ "labelPercentage": 0, "route": [ { - "x": 411.114013671875, - "y": 236.5 + "x": 411, + "y": 216 }, { - "x": 438.22198486328125, - "y": 196.5 + "x": 438.20001220703125, + "y": 176 }, { "x": 445, - "y": 176.5 + "y": 156 }, { "x": 445, - "y": 136.5 + "y": 116 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/root-container/dagre/sketch.exp.svg b/e2etests/testdata/regression/root-container/dagre/sketch.exp.svg index c7e01b108..52b6c70c6 100644 --- a/e2etests/testdata/regression/root-container/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/root-container/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -mainrootxyzxyz - - - - - - - - - + .d2-2569152134 .fill-N1{fill:#0A0F25;} + .d2-2569152134 .fill-N2{fill:#676C7E;} + .d2-2569152134 .fill-N3{fill:#9499AB;} + .d2-2569152134 .fill-N4{fill:#CFD2DD;} + .d2-2569152134 .fill-N5{fill:#DEE1EB;} + .d2-2569152134 .fill-N6{fill:#EEF1F8;} + .d2-2569152134 .fill-N7{fill:#FFFFFF;} + .d2-2569152134 .fill-B1{fill:#0D32B2;} + .d2-2569152134 .fill-B2{fill:#0D32B2;} + .d2-2569152134 .fill-B3{fill:#E3E9FD;} + .d2-2569152134 .fill-B4{fill:#E3E9FD;} + .d2-2569152134 .fill-B5{fill:#EDF0FD;} + .d2-2569152134 .fill-B6{fill:#F7F8FE;} + .d2-2569152134 .fill-AA2{fill:#4A6FF3;} + .d2-2569152134 .fill-AA4{fill:#EDF0FD;} + .d2-2569152134 .fill-AA5{fill:#F7F8FE;} + .d2-2569152134 .fill-AB4{fill:#EDF0FD;} + .d2-2569152134 .fill-AB5{fill:#F7F8FE;} + .d2-2569152134 .stroke-N1{stroke:#0A0F25;} + .d2-2569152134 .stroke-N2{stroke:#676C7E;} + .d2-2569152134 .stroke-N3{stroke:#9499AB;} + .d2-2569152134 .stroke-N4{stroke:#CFD2DD;} + .d2-2569152134 .stroke-N5{stroke:#DEE1EB;} + .d2-2569152134 .stroke-N6{stroke:#EEF1F8;} + .d2-2569152134 .stroke-N7{stroke:#FFFFFF;} + .d2-2569152134 .stroke-B1{stroke:#0D32B2;} + .d2-2569152134 .stroke-B2{stroke:#0D32B2;} + .d2-2569152134 .stroke-B3{stroke:#E3E9FD;} + .d2-2569152134 .stroke-B4{stroke:#E3E9FD;} + .d2-2569152134 .stroke-B5{stroke:#EDF0FD;} + .d2-2569152134 .stroke-B6{stroke:#F7F8FE;} + .d2-2569152134 .stroke-AA2{stroke:#4A6FF3;} + .d2-2569152134 .stroke-AA4{stroke:#EDF0FD;} + .d2-2569152134 .stroke-AA5{stroke:#F7F8FE;} + .d2-2569152134 .stroke-AB4{stroke:#EDF0FD;} + .d2-2569152134 .stroke-AB5{stroke:#F7F8FE;} + .d2-2569152134 .background-color-N1{background-color:#0A0F25;} + .d2-2569152134 .background-color-N2{background-color:#676C7E;} + .d2-2569152134 .background-color-N3{background-color:#9499AB;} + .d2-2569152134 .background-color-N4{background-color:#CFD2DD;} + .d2-2569152134 .background-color-N5{background-color:#DEE1EB;} + .d2-2569152134 .background-color-N6{background-color:#EEF1F8;} + .d2-2569152134 .background-color-N7{background-color:#FFFFFF;} + .d2-2569152134 .background-color-B1{background-color:#0D32B2;} + .d2-2569152134 .background-color-B2{background-color:#0D32B2;} + .d2-2569152134 .background-color-B3{background-color:#E3E9FD;} + .d2-2569152134 .background-color-B4{background-color:#E3E9FD;} + .d2-2569152134 .background-color-B5{background-color:#EDF0FD;} + .d2-2569152134 .background-color-B6{background-color:#F7F8FE;} + .d2-2569152134 .background-color-AA2{background-color:#4A6FF3;} + .d2-2569152134 .background-color-AA4{background-color:#EDF0FD;} + .d2-2569152134 .background-color-AA5{background-color:#F7F8FE;} + .d2-2569152134 .background-color-AB4{background-color:#EDF0FD;} + .d2-2569152134 .background-color-AB5{background-color:#F7F8FE;} + .d2-2569152134 .color-N1{color:#0A0F25;} + .d2-2569152134 .color-N2{color:#676C7E;} + .d2-2569152134 .color-N3{color:#9499AB;} + .d2-2569152134 .color-N4{color:#CFD2DD;} + .d2-2569152134 .color-N5{color:#DEE1EB;} + .d2-2569152134 .color-N6{color:#EEF1F8;} + .d2-2569152134 .color-N7{color:#FFFFFF;} + .d2-2569152134 .color-B1{color:#0D32B2;} + .d2-2569152134 .color-B2{color:#0D32B2;} + .d2-2569152134 .color-B3{color:#E3E9FD;} + .d2-2569152134 .color-B4{color:#E3E9FD;} + .d2-2569152134 .color-B5{color:#EDF0FD;} + .d2-2569152134 .color-B6{color:#F7F8FE;} + .d2-2569152134 .color-AA2{color:#4A6FF3;} + .d2-2569152134 .color-AA4{color:#EDF0FD;} + .d2-2569152134 .color-AA5{color:#F7F8FE;} + .d2-2569152134 .color-AB4{color:#EDF0FD;} + .d2-2569152134 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>mainrootxyzxyz + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/root-container/elk/sketch.exp.svg b/e2etests/testdata/regression/root-container/elk/sketch.exp.svg index c3e7d378d..1c251aaca 100644 --- a/e2etests/testdata/regression/root-container/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/root-container/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -mainrootxyzxyz + .d2-16415280 .fill-N1{fill:#0A0F25;} + .d2-16415280 .fill-N2{fill:#676C7E;} + .d2-16415280 .fill-N3{fill:#9499AB;} + .d2-16415280 .fill-N4{fill:#CFD2DD;} + .d2-16415280 .fill-N5{fill:#DEE1EB;} + .d2-16415280 .fill-N6{fill:#EEF1F8;} + .d2-16415280 .fill-N7{fill:#FFFFFF;} + .d2-16415280 .fill-B1{fill:#0D32B2;} + .d2-16415280 .fill-B2{fill:#0D32B2;} + .d2-16415280 .fill-B3{fill:#E3E9FD;} + .d2-16415280 .fill-B4{fill:#E3E9FD;} + .d2-16415280 .fill-B5{fill:#EDF0FD;} + .d2-16415280 .fill-B6{fill:#F7F8FE;} + .d2-16415280 .fill-AA2{fill:#4A6FF3;} + .d2-16415280 .fill-AA4{fill:#EDF0FD;} + .d2-16415280 .fill-AA5{fill:#F7F8FE;} + .d2-16415280 .fill-AB4{fill:#EDF0FD;} + .d2-16415280 .fill-AB5{fill:#F7F8FE;} + .d2-16415280 .stroke-N1{stroke:#0A0F25;} + .d2-16415280 .stroke-N2{stroke:#676C7E;} + .d2-16415280 .stroke-N3{stroke:#9499AB;} + .d2-16415280 .stroke-N4{stroke:#CFD2DD;} + .d2-16415280 .stroke-N5{stroke:#DEE1EB;} + .d2-16415280 .stroke-N6{stroke:#EEF1F8;} + .d2-16415280 .stroke-N7{stroke:#FFFFFF;} + .d2-16415280 .stroke-B1{stroke:#0D32B2;} + .d2-16415280 .stroke-B2{stroke:#0D32B2;} + .d2-16415280 .stroke-B3{stroke:#E3E9FD;} + .d2-16415280 .stroke-B4{stroke:#E3E9FD;} + .d2-16415280 .stroke-B5{stroke:#EDF0FD;} + .d2-16415280 .stroke-B6{stroke:#F7F8FE;} + .d2-16415280 .stroke-AA2{stroke:#4A6FF3;} + .d2-16415280 .stroke-AA4{stroke:#EDF0FD;} + .d2-16415280 .stroke-AA5{stroke:#F7F8FE;} + .d2-16415280 .stroke-AB4{stroke:#EDF0FD;} + .d2-16415280 .stroke-AB5{stroke:#F7F8FE;} + .d2-16415280 .background-color-N1{background-color:#0A0F25;} + .d2-16415280 .background-color-N2{background-color:#676C7E;} + .d2-16415280 .background-color-N3{background-color:#9499AB;} + .d2-16415280 .background-color-N4{background-color:#CFD2DD;} + .d2-16415280 .background-color-N5{background-color:#DEE1EB;} + .d2-16415280 .background-color-N6{background-color:#EEF1F8;} + .d2-16415280 .background-color-N7{background-color:#FFFFFF;} + .d2-16415280 .background-color-B1{background-color:#0D32B2;} + .d2-16415280 .background-color-B2{background-color:#0D32B2;} + .d2-16415280 .background-color-B3{background-color:#E3E9FD;} + .d2-16415280 .background-color-B4{background-color:#E3E9FD;} + .d2-16415280 .background-color-B5{background-color:#EDF0FD;} + .d2-16415280 .background-color-B6{background-color:#F7F8FE;} + .d2-16415280 .background-color-AA2{background-color:#4A6FF3;} + .d2-16415280 .background-color-AA4{background-color:#EDF0FD;} + .d2-16415280 .background-color-AA5{background-color:#F7F8FE;} + .d2-16415280 .background-color-AB4{background-color:#EDF0FD;} + .d2-16415280 .background-color-AB5{background-color:#F7F8FE;} + .d2-16415280 .color-N1{color:#0A0F25;} + .d2-16415280 .color-N2{color:#676C7E;} + .d2-16415280 .color-N3{color:#9499AB;} + .d2-16415280 .color-N4{color:#CFD2DD;} + .d2-16415280 .color-N5{color:#DEE1EB;} + .d2-16415280 .color-N6{color:#EEF1F8;} + .d2-16415280 .color-N7{color:#FFFFFF;} + .d2-16415280 .color-B1{color:#0D32B2;} + .d2-16415280 .color-B2{color:#0D32B2;} + .d2-16415280 .color-B3{color:#E3E9FD;} + .d2-16415280 .color-B4{color:#E3E9FD;} + .d2-16415280 .color-B5{color:#EDF0FD;} + .d2-16415280 .color-B6{color:#F7F8FE;} + .d2-16415280 .color-AA2{color:#4A6FF3;} + .d2-16415280 .color-AA4{color:#EDF0FD;} + .d2-16415280 .color-AA5{color:#F7F8FE;} + .d2-16415280 .color-AB4{color:#EDF0FD;} + .d2-16415280 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>mainrootxyzxyz diff --git a/e2etests/testdata/regression/sequence-note-escape-group/dagre/sketch.exp.svg b/e2etests/testdata/regression/sequence-note-escape-group/dagre/sketch.exp.svg index 273cad7ae..cc55984c8 100644 --- a/e2etests/testdata/regression/sequence-note-escape-group/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence-note-escape-group/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ab04:20,11:20loop through each table start_time = datetime.datetime.now + .d2-1255857598 .fill-N1{fill:#0A0F25;} + .d2-1255857598 .fill-N2{fill:#676C7E;} + .d2-1255857598 .fill-N3{fill:#9499AB;} + .d2-1255857598 .fill-N4{fill:#CFD2DD;} + .d2-1255857598 .fill-N5{fill:#DEE1EB;} + .d2-1255857598 .fill-N6{fill:#EEF1F8;} + .d2-1255857598 .fill-N7{fill:#FFFFFF;} + .d2-1255857598 .fill-B1{fill:#0D32B2;} + .d2-1255857598 .fill-B2{fill:#0D32B2;} + .d2-1255857598 .fill-B3{fill:#E3E9FD;} + .d2-1255857598 .fill-B4{fill:#E3E9FD;} + .d2-1255857598 .fill-B5{fill:#EDF0FD;} + .d2-1255857598 .fill-B6{fill:#F7F8FE;} + .d2-1255857598 .fill-AA2{fill:#4A6FF3;} + .d2-1255857598 .fill-AA4{fill:#EDF0FD;} + .d2-1255857598 .fill-AA5{fill:#F7F8FE;} + .d2-1255857598 .fill-AB4{fill:#EDF0FD;} + .d2-1255857598 .fill-AB5{fill:#F7F8FE;} + .d2-1255857598 .stroke-N1{stroke:#0A0F25;} + .d2-1255857598 .stroke-N2{stroke:#676C7E;} + .d2-1255857598 .stroke-N3{stroke:#9499AB;} + .d2-1255857598 .stroke-N4{stroke:#CFD2DD;} + .d2-1255857598 .stroke-N5{stroke:#DEE1EB;} + .d2-1255857598 .stroke-N6{stroke:#EEF1F8;} + .d2-1255857598 .stroke-N7{stroke:#FFFFFF;} + .d2-1255857598 .stroke-B1{stroke:#0D32B2;} + .d2-1255857598 .stroke-B2{stroke:#0D32B2;} + .d2-1255857598 .stroke-B3{stroke:#E3E9FD;} + .d2-1255857598 .stroke-B4{stroke:#E3E9FD;} + .d2-1255857598 .stroke-B5{stroke:#EDF0FD;} + .d2-1255857598 .stroke-B6{stroke:#F7F8FE;} + .d2-1255857598 .stroke-AA2{stroke:#4A6FF3;} + .d2-1255857598 .stroke-AA4{stroke:#EDF0FD;} + .d2-1255857598 .stroke-AA5{stroke:#F7F8FE;} + .d2-1255857598 .stroke-AB4{stroke:#EDF0FD;} + .d2-1255857598 .stroke-AB5{stroke:#F7F8FE;} + .d2-1255857598 .background-color-N1{background-color:#0A0F25;} + .d2-1255857598 .background-color-N2{background-color:#676C7E;} + .d2-1255857598 .background-color-N3{background-color:#9499AB;} + .d2-1255857598 .background-color-N4{background-color:#CFD2DD;} + .d2-1255857598 .background-color-N5{background-color:#DEE1EB;} + .d2-1255857598 .background-color-N6{background-color:#EEF1F8;} + .d2-1255857598 .background-color-N7{background-color:#FFFFFF;} + .d2-1255857598 .background-color-B1{background-color:#0D32B2;} + .d2-1255857598 .background-color-B2{background-color:#0D32B2;} + .d2-1255857598 .background-color-B3{background-color:#E3E9FD;} + .d2-1255857598 .background-color-B4{background-color:#E3E9FD;} + .d2-1255857598 .background-color-B5{background-color:#EDF0FD;} + .d2-1255857598 .background-color-B6{background-color:#F7F8FE;} + .d2-1255857598 .background-color-AA2{background-color:#4A6FF3;} + .d2-1255857598 .background-color-AA4{background-color:#EDF0FD;} + .d2-1255857598 .background-color-AA5{background-color:#F7F8FE;} + .d2-1255857598 .background-color-AB4{background-color:#EDF0FD;} + .d2-1255857598 .background-color-AB5{background-color:#F7F8FE;} + .d2-1255857598 .color-N1{color:#0A0F25;} + .d2-1255857598 .color-N2{color:#676C7E;} + .d2-1255857598 .color-N3{color:#9499AB;} + .d2-1255857598 .color-N4{color:#CFD2DD;} + .d2-1255857598 .color-N5{color:#DEE1EB;} + .d2-1255857598 .color-N6{color:#EEF1F8;} + .d2-1255857598 .color-N7{color:#FFFFFF;} + .d2-1255857598 .color-B1{color:#0D32B2;} + .d2-1255857598 .color-B2{color:#0D32B2;} + .d2-1255857598 .color-B3{color:#E3E9FD;} + .d2-1255857598 .color-B4{color:#E3E9FD;} + .d2-1255857598 .color-B5{color:#EDF0FD;} + .d2-1255857598 .color-B6{color:#F7F8FE;} + .d2-1255857598 .color-AA2{color:#4A6FF3;} + .d2-1255857598 .color-AA4{color:#EDF0FD;} + .d2-1255857598 .color-AA5{color:#F7F8FE;} + .d2-1255857598 .color-AB4{color:#EDF0FD;} + .d2-1255857598 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab04:20,11:20loop through each table start_time = datetime.datetime.now diff --git a/e2etests/testdata/regression/sequence-note-escape-group/elk/sketch.exp.svg b/e2etests/testdata/regression/sequence-note-escape-group/elk/sketch.exp.svg index 273cad7ae..cc55984c8 100644 --- a/e2etests/testdata/regression/sequence-note-escape-group/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence-note-escape-group/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ab04:20,11:20loop through each table start_time = datetime.datetime.now + .d2-1255857598 .fill-N1{fill:#0A0F25;} + .d2-1255857598 .fill-N2{fill:#676C7E;} + .d2-1255857598 .fill-N3{fill:#9499AB;} + .d2-1255857598 .fill-N4{fill:#CFD2DD;} + .d2-1255857598 .fill-N5{fill:#DEE1EB;} + .d2-1255857598 .fill-N6{fill:#EEF1F8;} + .d2-1255857598 .fill-N7{fill:#FFFFFF;} + .d2-1255857598 .fill-B1{fill:#0D32B2;} + .d2-1255857598 .fill-B2{fill:#0D32B2;} + .d2-1255857598 .fill-B3{fill:#E3E9FD;} + .d2-1255857598 .fill-B4{fill:#E3E9FD;} + .d2-1255857598 .fill-B5{fill:#EDF0FD;} + .d2-1255857598 .fill-B6{fill:#F7F8FE;} + .d2-1255857598 .fill-AA2{fill:#4A6FF3;} + .d2-1255857598 .fill-AA4{fill:#EDF0FD;} + .d2-1255857598 .fill-AA5{fill:#F7F8FE;} + .d2-1255857598 .fill-AB4{fill:#EDF0FD;} + .d2-1255857598 .fill-AB5{fill:#F7F8FE;} + .d2-1255857598 .stroke-N1{stroke:#0A0F25;} + .d2-1255857598 .stroke-N2{stroke:#676C7E;} + .d2-1255857598 .stroke-N3{stroke:#9499AB;} + .d2-1255857598 .stroke-N4{stroke:#CFD2DD;} + .d2-1255857598 .stroke-N5{stroke:#DEE1EB;} + .d2-1255857598 .stroke-N6{stroke:#EEF1F8;} + .d2-1255857598 .stroke-N7{stroke:#FFFFFF;} + .d2-1255857598 .stroke-B1{stroke:#0D32B2;} + .d2-1255857598 .stroke-B2{stroke:#0D32B2;} + .d2-1255857598 .stroke-B3{stroke:#E3E9FD;} + .d2-1255857598 .stroke-B4{stroke:#E3E9FD;} + .d2-1255857598 .stroke-B5{stroke:#EDF0FD;} + .d2-1255857598 .stroke-B6{stroke:#F7F8FE;} + .d2-1255857598 .stroke-AA2{stroke:#4A6FF3;} + .d2-1255857598 .stroke-AA4{stroke:#EDF0FD;} + .d2-1255857598 .stroke-AA5{stroke:#F7F8FE;} + .d2-1255857598 .stroke-AB4{stroke:#EDF0FD;} + .d2-1255857598 .stroke-AB5{stroke:#F7F8FE;} + .d2-1255857598 .background-color-N1{background-color:#0A0F25;} + .d2-1255857598 .background-color-N2{background-color:#676C7E;} + .d2-1255857598 .background-color-N3{background-color:#9499AB;} + .d2-1255857598 .background-color-N4{background-color:#CFD2DD;} + .d2-1255857598 .background-color-N5{background-color:#DEE1EB;} + .d2-1255857598 .background-color-N6{background-color:#EEF1F8;} + .d2-1255857598 .background-color-N7{background-color:#FFFFFF;} + .d2-1255857598 .background-color-B1{background-color:#0D32B2;} + .d2-1255857598 .background-color-B2{background-color:#0D32B2;} + .d2-1255857598 .background-color-B3{background-color:#E3E9FD;} + .d2-1255857598 .background-color-B4{background-color:#E3E9FD;} + .d2-1255857598 .background-color-B5{background-color:#EDF0FD;} + .d2-1255857598 .background-color-B6{background-color:#F7F8FE;} + .d2-1255857598 .background-color-AA2{background-color:#4A6FF3;} + .d2-1255857598 .background-color-AA4{background-color:#EDF0FD;} + .d2-1255857598 .background-color-AA5{background-color:#F7F8FE;} + .d2-1255857598 .background-color-AB4{background-color:#EDF0FD;} + .d2-1255857598 .background-color-AB5{background-color:#F7F8FE;} + .d2-1255857598 .color-N1{color:#0A0F25;} + .d2-1255857598 .color-N2{color:#676C7E;} + .d2-1255857598 .color-N3{color:#9499AB;} + .d2-1255857598 .color-N4{color:#CFD2DD;} + .d2-1255857598 .color-N5{color:#DEE1EB;} + .d2-1255857598 .color-N6{color:#EEF1F8;} + .d2-1255857598 .color-N7{color:#FFFFFF;} + .d2-1255857598 .color-B1{color:#0D32B2;} + .d2-1255857598 .color-B2{color:#0D32B2;} + .d2-1255857598 .color-B3{color:#E3E9FD;} + .d2-1255857598 .color-B4{color:#E3E9FD;} + .d2-1255857598 .color-B5{color:#EDF0FD;} + .d2-1255857598 .color-B6{color:#F7F8FE;} + .d2-1255857598 .color-AA2{color:#4A6FF3;} + .d2-1255857598 .color-AA4{color:#EDF0FD;} + .d2-1255857598 .color-AA5{color:#F7F8FE;} + .d2-1255857598 .color-AB4{color:#EDF0FD;} + .d2-1255857598 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab04:20,11:20loop through each table start_time = datetime.datetime.now diff --git a/e2etests/testdata/regression/sequence_diagram_name_crash/dagre/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_name_crash/dagre/sketch.exp.svg index 2903b1d4a..3f1e4a1e6 100644 --- a/e2etests/testdata/regression/sequence_diagram_name_crash/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_name_crash/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -foofoobarabcd + .d2-3416172057 .fill-N1{fill:#0A0F25;} + .d2-3416172057 .fill-N2{fill:#676C7E;} + .d2-3416172057 .fill-N3{fill:#9499AB;} + .d2-3416172057 .fill-N4{fill:#CFD2DD;} + .d2-3416172057 .fill-N5{fill:#DEE1EB;} + .d2-3416172057 .fill-N6{fill:#EEF1F8;} + .d2-3416172057 .fill-N7{fill:#FFFFFF;} + .d2-3416172057 .fill-B1{fill:#0D32B2;} + .d2-3416172057 .fill-B2{fill:#0D32B2;} + .d2-3416172057 .fill-B3{fill:#E3E9FD;} + .d2-3416172057 .fill-B4{fill:#E3E9FD;} + .d2-3416172057 .fill-B5{fill:#EDF0FD;} + .d2-3416172057 .fill-B6{fill:#F7F8FE;} + .d2-3416172057 .fill-AA2{fill:#4A6FF3;} + .d2-3416172057 .fill-AA4{fill:#EDF0FD;} + .d2-3416172057 .fill-AA5{fill:#F7F8FE;} + .d2-3416172057 .fill-AB4{fill:#EDF0FD;} + .d2-3416172057 .fill-AB5{fill:#F7F8FE;} + .d2-3416172057 .stroke-N1{stroke:#0A0F25;} + .d2-3416172057 .stroke-N2{stroke:#676C7E;} + .d2-3416172057 .stroke-N3{stroke:#9499AB;} + .d2-3416172057 .stroke-N4{stroke:#CFD2DD;} + .d2-3416172057 .stroke-N5{stroke:#DEE1EB;} + .d2-3416172057 .stroke-N6{stroke:#EEF1F8;} + .d2-3416172057 .stroke-N7{stroke:#FFFFFF;} + .d2-3416172057 .stroke-B1{stroke:#0D32B2;} + .d2-3416172057 .stroke-B2{stroke:#0D32B2;} + .d2-3416172057 .stroke-B3{stroke:#E3E9FD;} + .d2-3416172057 .stroke-B4{stroke:#E3E9FD;} + .d2-3416172057 .stroke-B5{stroke:#EDF0FD;} + .d2-3416172057 .stroke-B6{stroke:#F7F8FE;} + .d2-3416172057 .stroke-AA2{stroke:#4A6FF3;} + .d2-3416172057 .stroke-AA4{stroke:#EDF0FD;} + .d2-3416172057 .stroke-AA5{stroke:#F7F8FE;} + .d2-3416172057 .stroke-AB4{stroke:#EDF0FD;} + .d2-3416172057 .stroke-AB5{stroke:#F7F8FE;} + .d2-3416172057 .background-color-N1{background-color:#0A0F25;} + .d2-3416172057 .background-color-N2{background-color:#676C7E;} + .d2-3416172057 .background-color-N3{background-color:#9499AB;} + .d2-3416172057 .background-color-N4{background-color:#CFD2DD;} + .d2-3416172057 .background-color-N5{background-color:#DEE1EB;} + .d2-3416172057 .background-color-N6{background-color:#EEF1F8;} + .d2-3416172057 .background-color-N7{background-color:#FFFFFF;} + .d2-3416172057 .background-color-B1{background-color:#0D32B2;} + .d2-3416172057 .background-color-B2{background-color:#0D32B2;} + .d2-3416172057 .background-color-B3{background-color:#E3E9FD;} + .d2-3416172057 .background-color-B4{background-color:#E3E9FD;} + .d2-3416172057 .background-color-B5{background-color:#EDF0FD;} + .d2-3416172057 .background-color-B6{background-color:#F7F8FE;} + .d2-3416172057 .background-color-AA2{background-color:#4A6FF3;} + .d2-3416172057 .background-color-AA4{background-color:#EDF0FD;} + .d2-3416172057 .background-color-AA5{background-color:#F7F8FE;} + .d2-3416172057 .background-color-AB4{background-color:#EDF0FD;} + .d2-3416172057 .background-color-AB5{background-color:#F7F8FE;} + .d2-3416172057 .color-N1{color:#0A0F25;} + .d2-3416172057 .color-N2{color:#676C7E;} + .d2-3416172057 .color-N3{color:#9499AB;} + .d2-3416172057 .color-N4{color:#CFD2DD;} + .d2-3416172057 .color-N5{color:#DEE1EB;} + .d2-3416172057 .color-N6{color:#EEF1F8;} + .d2-3416172057 .color-N7{color:#FFFFFF;} + .d2-3416172057 .color-B1{color:#0D32B2;} + .d2-3416172057 .color-B2{color:#0D32B2;} + .d2-3416172057 .color-B3{color:#E3E9FD;} + .d2-3416172057 .color-B4{color:#E3E9FD;} + .d2-3416172057 .color-B5{color:#EDF0FD;} + .d2-3416172057 .color-B6{color:#F7F8FE;} + .d2-3416172057 .color-AA2{color:#4A6FF3;} + .d2-3416172057 .color-AA4{color:#EDF0FD;} + .d2-3416172057 .color-AA5{color:#F7F8FE;} + .d2-3416172057 .color-AB4{color:#EDF0FD;} + .d2-3416172057 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>foofoobarabcd diff --git a/e2etests/testdata/regression/sequence_diagram_name_crash/elk/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_name_crash/elk/sketch.exp.svg index eb7174f7d..c240340f5 100644 --- a/e2etests/testdata/regression/sequence_diagram_name_crash/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_name_crash/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -foofoobarabcd + .d2-3438069034 .fill-N1{fill:#0A0F25;} + .d2-3438069034 .fill-N2{fill:#676C7E;} + .d2-3438069034 .fill-N3{fill:#9499AB;} + .d2-3438069034 .fill-N4{fill:#CFD2DD;} + .d2-3438069034 .fill-N5{fill:#DEE1EB;} + .d2-3438069034 .fill-N6{fill:#EEF1F8;} + .d2-3438069034 .fill-N7{fill:#FFFFFF;} + .d2-3438069034 .fill-B1{fill:#0D32B2;} + .d2-3438069034 .fill-B2{fill:#0D32B2;} + .d2-3438069034 .fill-B3{fill:#E3E9FD;} + .d2-3438069034 .fill-B4{fill:#E3E9FD;} + .d2-3438069034 .fill-B5{fill:#EDF0FD;} + .d2-3438069034 .fill-B6{fill:#F7F8FE;} + .d2-3438069034 .fill-AA2{fill:#4A6FF3;} + .d2-3438069034 .fill-AA4{fill:#EDF0FD;} + .d2-3438069034 .fill-AA5{fill:#F7F8FE;} + .d2-3438069034 .fill-AB4{fill:#EDF0FD;} + .d2-3438069034 .fill-AB5{fill:#F7F8FE;} + .d2-3438069034 .stroke-N1{stroke:#0A0F25;} + .d2-3438069034 .stroke-N2{stroke:#676C7E;} + .d2-3438069034 .stroke-N3{stroke:#9499AB;} + .d2-3438069034 .stroke-N4{stroke:#CFD2DD;} + .d2-3438069034 .stroke-N5{stroke:#DEE1EB;} + .d2-3438069034 .stroke-N6{stroke:#EEF1F8;} + .d2-3438069034 .stroke-N7{stroke:#FFFFFF;} + .d2-3438069034 .stroke-B1{stroke:#0D32B2;} + .d2-3438069034 .stroke-B2{stroke:#0D32B2;} + .d2-3438069034 .stroke-B3{stroke:#E3E9FD;} + .d2-3438069034 .stroke-B4{stroke:#E3E9FD;} + .d2-3438069034 .stroke-B5{stroke:#EDF0FD;} + .d2-3438069034 .stroke-B6{stroke:#F7F8FE;} + .d2-3438069034 .stroke-AA2{stroke:#4A6FF3;} + .d2-3438069034 .stroke-AA4{stroke:#EDF0FD;} + .d2-3438069034 .stroke-AA5{stroke:#F7F8FE;} + .d2-3438069034 .stroke-AB4{stroke:#EDF0FD;} + .d2-3438069034 .stroke-AB5{stroke:#F7F8FE;} + .d2-3438069034 .background-color-N1{background-color:#0A0F25;} + .d2-3438069034 .background-color-N2{background-color:#676C7E;} + .d2-3438069034 .background-color-N3{background-color:#9499AB;} + .d2-3438069034 .background-color-N4{background-color:#CFD2DD;} + .d2-3438069034 .background-color-N5{background-color:#DEE1EB;} + .d2-3438069034 .background-color-N6{background-color:#EEF1F8;} + .d2-3438069034 .background-color-N7{background-color:#FFFFFF;} + .d2-3438069034 .background-color-B1{background-color:#0D32B2;} + .d2-3438069034 .background-color-B2{background-color:#0D32B2;} + .d2-3438069034 .background-color-B3{background-color:#E3E9FD;} + .d2-3438069034 .background-color-B4{background-color:#E3E9FD;} + .d2-3438069034 .background-color-B5{background-color:#EDF0FD;} + .d2-3438069034 .background-color-B6{background-color:#F7F8FE;} + .d2-3438069034 .background-color-AA2{background-color:#4A6FF3;} + .d2-3438069034 .background-color-AA4{background-color:#EDF0FD;} + .d2-3438069034 .background-color-AA5{background-color:#F7F8FE;} + .d2-3438069034 .background-color-AB4{background-color:#EDF0FD;} + .d2-3438069034 .background-color-AB5{background-color:#F7F8FE;} + .d2-3438069034 .color-N1{color:#0A0F25;} + .d2-3438069034 .color-N2{color:#676C7E;} + .d2-3438069034 .color-N3{color:#9499AB;} + .d2-3438069034 .color-N4{color:#CFD2DD;} + .d2-3438069034 .color-N5{color:#DEE1EB;} + .d2-3438069034 .color-N6{color:#EEF1F8;} + .d2-3438069034 .color-N7{color:#FFFFFF;} + .d2-3438069034 .color-B1{color:#0D32B2;} + .d2-3438069034 .color-B2{color:#0D32B2;} + .d2-3438069034 .color-B3{color:#E3E9FD;} + .d2-3438069034 .color-B4{color:#E3E9FD;} + .d2-3438069034 .color-B5{color:#EDF0FD;} + .d2-3438069034 .color-B6{color:#F7F8FE;} + .d2-3438069034 .color-AA2{color:#4A6FF3;} + .d2-3438069034 .color-AA4{color:#EDF0FD;} + .d2-3438069034 .color-AA5{color:#F7F8FE;} + .d2-3438069034 .color-AB4{color:#EDF0FD;} + .d2-3438069034 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>foofoobarabcd diff --git a/e2etests/testdata/regression/sequence_diagram_no_message/dagre/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_no_message/dagre/sketch.exp.svg index 6ef98f4c2..094337716 100644 --- a/e2etests/testdata/regression/sequence_diagram_no_message/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_no_message/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -AB + .d2-3122002250 .fill-N1{fill:#0A0F25;} + .d2-3122002250 .fill-N2{fill:#676C7E;} + .d2-3122002250 .fill-N3{fill:#9499AB;} + .d2-3122002250 .fill-N4{fill:#CFD2DD;} + .d2-3122002250 .fill-N5{fill:#DEE1EB;} + .d2-3122002250 .fill-N6{fill:#EEF1F8;} + .d2-3122002250 .fill-N7{fill:#FFFFFF;} + .d2-3122002250 .fill-B1{fill:#0D32B2;} + .d2-3122002250 .fill-B2{fill:#0D32B2;} + .d2-3122002250 .fill-B3{fill:#E3E9FD;} + .d2-3122002250 .fill-B4{fill:#E3E9FD;} + .d2-3122002250 .fill-B5{fill:#EDF0FD;} + .d2-3122002250 .fill-B6{fill:#F7F8FE;} + .d2-3122002250 .fill-AA2{fill:#4A6FF3;} + .d2-3122002250 .fill-AA4{fill:#EDF0FD;} + .d2-3122002250 .fill-AA5{fill:#F7F8FE;} + .d2-3122002250 .fill-AB4{fill:#EDF0FD;} + .d2-3122002250 .fill-AB5{fill:#F7F8FE;} + .d2-3122002250 .stroke-N1{stroke:#0A0F25;} + .d2-3122002250 .stroke-N2{stroke:#676C7E;} + .d2-3122002250 .stroke-N3{stroke:#9499AB;} + .d2-3122002250 .stroke-N4{stroke:#CFD2DD;} + .d2-3122002250 .stroke-N5{stroke:#DEE1EB;} + .d2-3122002250 .stroke-N6{stroke:#EEF1F8;} + .d2-3122002250 .stroke-N7{stroke:#FFFFFF;} + .d2-3122002250 .stroke-B1{stroke:#0D32B2;} + .d2-3122002250 .stroke-B2{stroke:#0D32B2;} + .d2-3122002250 .stroke-B3{stroke:#E3E9FD;} + .d2-3122002250 .stroke-B4{stroke:#E3E9FD;} + .d2-3122002250 .stroke-B5{stroke:#EDF0FD;} + .d2-3122002250 .stroke-B6{stroke:#F7F8FE;} + .d2-3122002250 .stroke-AA2{stroke:#4A6FF3;} + .d2-3122002250 .stroke-AA4{stroke:#EDF0FD;} + .d2-3122002250 .stroke-AA5{stroke:#F7F8FE;} + .d2-3122002250 .stroke-AB4{stroke:#EDF0FD;} + .d2-3122002250 .stroke-AB5{stroke:#F7F8FE;} + .d2-3122002250 .background-color-N1{background-color:#0A0F25;} + .d2-3122002250 .background-color-N2{background-color:#676C7E;} + .d2-3122002250 .background-color-N3{background-color:#9499AB;} + .d2-3122002250 .background-color-N4{background-color:#CFD2DD;} + .d2-3122002250 .background-color-N5{background-color:#DEE1EB;} + .d2-3122002250 .background-color-N6{background-color:#EEF1F8;} + .d2-3122002250 .background-color-N7{background-color:#FFFFFF;} + .d2-3122002250 .background-color-B1{background-color:#0D32B2;} + .d2-3122002250 .background-color-B2{background-color:#0D32B2;} + .d2-3122002250 .background-color-B3{background-color:#E3E9FD;} + .d2-3122002250 .background-color-B4{background-color:#E3E9FD;} + .d2-3122002250 .background-color-B5{background-color:#EDF0FD;} + .d2-3122002250 .background-color-B6{background-color:#F7F8FE;} + .d2-3122002250 .background-color-AA2{background-color:#4A6FF3;} + .d2-3122002250 .background-color-AA4{background-color:#EDF0FD;} + .d2-3122002250 .background-color-AA5{background-color:#F7F8FE;} + .d2-3122002250 .background-color-AB4{background-color:#EDF0FD;} + .d2-3122002250 .background-color-AB5{background-color:#F7F8FE;} + .d2-3122002250 .color-N1{color:#0A0F25;} + .d2-3122002250 .color-N2{color:#676C7E;} + .d2-3122002250 .color-N3{color:#9499AB;} + .d2-3122002250 .color-N4{color:#CFD2DD;} + .d2-3122002250 .color-N5{color:#DEE1EB;} + .d2-3122002250 .color-N6{color:#EEF1F8;} + .d2-3122002250 .color-N7{color:#FFFFFF;} + .d2-3122002250 .color-B1{color:#0D32B2;} + .d2-3122002250 .color-B2{color:#0D32B2;} + .d2-3122002250 .color-B3{color:#E3E9FD;} + .d2-3122002250 .color-B4{color:#E3E9FD;} + .d2-3122002250 .color-B5{color:#EDF0FD;} + .d2-3122002250 .color-B6{color:#F7F8FE;} + .d2-3122002250 .color-AA2{color:#4A6FF3;} + .d2-3122002250 .color-AA4{color:#EDF0FD;} + .d2-3122002250 .color-AA5{color:#F7F8FE;} + .d2-3122002250 .color-AB4{color:#EDF0FD;} + .d2-3122002250 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>AB diff --git a/e2etests/testdata/regression/sequence_diagram_no_message/elk/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_no_message/elk/sketch.exp.svg index 6ef98f4c2..094337716 100644 --- a/e2etests/testdata/regression/sequence_diagram_no_message/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_no_message/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -AB + .d2-3122002250 .fill-N1{fill:#0A0F25;} + .d2-3122002250 .fill-N2{fill:#676C7E;} + .d2-3122002250 .fill-N3{fill:#9499AB;} + .d2-3122002250 .fill-N4{fill:#CFD2DD;} + .d2-3122002250 .fill-N5{fill:#DEE1EB;} + .d2-3122002250 .fill-N6{fill:#EEF1F8;} + .d2-3122002250 .fill-N7{fill:#FFFFFF;} + .d2-3122002250 .fill-B1{fill:#0D32B2;} + .d2-3122002250 .fill-B2{fill:#0D32B2;} + .d2-3122002250 .fill-B3{fill:#E3E9FD;} + .d2-3122002250 .fill-B4{fill:#E3E9FD;} + .d2-3122002250 .fill-B5{fill:#EDF0FD;} + .d2-3122002250 .fill-B6{fill:#F7F8FE;} + .d2-3122002250 .fill-AA2{fill:#4A6FF3;} + .d2-3122002250 .fill-AA4{fill:#EDF0FD;} + .d2-3122002250 .fill-AA5{fill:#F7F8FE;} + .d2-3122002250 .fill-AB4{fill:#EDF0FD;} + .d2-3122002250 .fill-AB5{fill:#F7F8FE;} + .d2-3122002250 .stroke-N1{stroke:#0A0F25;} + .d2-3122002250 .stroke-N2{stroke:#676C7E;} + .d2-3122002250 .stroke-N3{stroke:#9499AB;} + .d2-3122002250 .stroke-N4{stroke:#CFD2DD;} + .d2-3122002250 .stroke-N5{stroke:#DEE1EB;} + .d2-3122002250 .stroke-N6{stroke:#EEF1F8;} + .d2-3122002250 .stroke-N7{stroke:#FFFFFF;} + .d2-3122002250 .stroke-B1{stroke:#0D32B2;} + .d2-3122002250 .stroke-B2{stroke:#0D32B2;} + .d2-3122002250 .stroke-B3{stroke:#E3E9FD;} + .d2-3122002250 .stroke-B4{stroke:#E3E9FD;} + .d2-3122002250 .stroke-B5{stroke:#EDF0FD;} + .d2-3122002250 .stroke-B6{stroke:#F7F8FE;} + .d2-3122002250 .stroke-AA2{stroke:#4A6FF3;} + .d2-3122002250 .stroke-AA4{stroke:#EDF0FD;} + .d2-3122002250 .stroke-AA5{stroke:#F7F8FE;} + .d2-3122002250 .stroke-AB4{stroke:#EDF0FD;} + .d2-3122002250 .stroke-AB5{stroke:#F7F8FE;} + .d2-3122002250 .background-color-N1{background-color:#0A0F25;} + .d2-3122002250 .background-color-N2{background-color:#676C7E;} + .d2-3122002250 .background-color-N3{background-color:#9499AB;} + .d2-3122002250 .background-color-N4{background-color:#CFD2DD;} + .d2-3122002250 .background-color-N5{background-color:#DEE1EB;} + .d2-3122002250 .background-color-N6{background-color:#EEF1F8;} + .d2-3122002250 .background-color-N7{background-color:#FFFFFF;} + .d2-3122002250 .background-color-B1{background-color:#0D32B2;} + .d2-3122002250 .background-color-B2{background-color:#0D32B2;} + .d2-3122002250 .background-color-B3{background-color:#E3E9FD;} + .d2-3122002250 .background-color-B4{background-color:#E3E9FD;} + .d2-3122002250 .background-color-B5{background-color:#EDF0FD;} + .d2-3122002250 .background-color-B6{background-color:#F7F8FE;} + .d2-3122002250 .background-color-AA2{background-color:#4A6FF3;} + .d2-3122002250 .background-color-AA4{background-color:#EDF0FD;} + .d2-3122002250 .background-color-AA5{background-color:#F7F8FE;} + .d2-3122002250 .background-color-AB4{background-color:#EDF0FD;} + .d2-3122002250 .background-color-AB5{background-color:#F7F8FE;} + .d2-3122002250 .color-N1{color:#0A0F25;} + .d2-3122002250 .color-N2{color:#676C7E;} + .d2-3122002250 .color-N3{color:#9499AB;} + .d2-3122002250 .color-N4{color:#CFD2DD;} + .d2-3122002250 .color-N5{color:#DEE1EB;} + .d2-3122002250 .color-N6{color:#EEF1F8;} + .d2-3122002250 .color-N7{color:#FFFFFF;} + .d2-3122002250 .color-B1{color:#0D32B2;} + .d2-3122002250 .color-B2{color:#0D32B2;} + .d2-3122002250 .color-B3{color:#E3E9FD;} + .d2-3122002250 .color-B4{color:#E3E9FD;} + .d2-3122002250 .color-B5{color:#EDF0FD;} + .d2-3122002250 .color-B6{color:#F7F8FE;} + .d2-3122002250 .color-AA2{color:#4A6FF3;} + .d2-3122002250 .color-AA4{color:#EDF0FD;} + .d2-3122002250 .color-AA5{color:#F7F8FE;} + .d2-3122002250 .color-AB4{color:#EDF0FD;} + .d2-3122002250 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>AB diff --git a/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/dagre/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/dagre/sketch.exp.svg index 5d50dbbb7..84a60e63c 100644 --- a/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ABCgroup 1group 2group 3group 4group 5group 6group 7group 8group 9group 10group 11 + .d2-2009261675 .fill-N1{fill:#0A0F25;} + .d2-2009261675 .fill-N2{fill:#676C7E;} + .d2-2009261675 .fill-N3{fill:#9499AB;} + .d2-2009261675 .fill-N4{fill:#CFD2DD;} + .d2-2009261675 .fill-N5{fill:#DEE1EB;} + .d2-2009261675 .fill-N6{fill:#EEF1F8;} + .d2-2009261675 .fill-N7{fill:#FFFFFF;} + .d2-2009261675 .fill-B1{fill:#0D32B2;} + .d2-2009261675 .fill-B2{fill:#0D32B2;} + .d2-2009261675 .fill-B3{fill:#E3E9FD;} + .d2-2009261675 .fill-B4{fill:#E3E9FD;} + .d2-2009261675 .fill-B5{fill:#EDF0FD;} + .d2-2009261675 .fill-B6{fill:#F7F8FE;} + .d2-2009261675 .fill-AA2{fill:#4A6FF3;} + .d2-2009261675 .fill-AA4{fill:#EDF0FD;} + .d2-2009261675 .fill-AA5{fill:#F7F8FE;} + .d2-2009261675 .fill-AB4{fill:#EDF0FD;} + .d2-2009261675 .fill-AB5{fill:#F7F8FE;} + .d2-2009261675 .stroke-N1{stroke:#0A0F25;} + .d2-2009261675 .stroke-N2{stroke:#676C7E;} + .d2-2009261675 .stroke-N3{stroke:#9499AB;} + .d2-2009261675 .stroke-N4{stroke:#CFD2DD;} + .d2-2009261675 .stroke-N5{stroke:#DEE1EB;} + .d2-2009261675 .stroke-N6{stroke:#EEF1F8;} + .d2-2009261675 .stroke-N7{stroke:#FFFFFF;} + .d2-2009261675 .stroke-B1{stroke:#0D32B2;} + .d2-2009261675 .stroke-B2{stroke:#0D32B2;} + .d2-2009261675 .stroke-B3{stroke:#E3E9FD;} + .d2-2009261675 .stroke-B4{stroke:#E3E9FD;} + .d2-2009261675 .stroke-B5{stroke:#EDF0FD;} + .d2-2009261675 .stroke-B6{stroke:#F7F8FE;} + .d2-2009261675 .stroke-AA2{stroke:#4A6FF3;} + .d2-2009261675 .stroke-AA4{stroke:#EDF0FD;} + .d2-2009261675 .stroke-AA5{stroke:#F7F8FE;} + .d2-2009261675 .stroke-AB4{stroke:#EDF0FD;} + .d2-2009261675 .stroke-AB5{stroke:#F7F8FE;} + .d2-2009261675 .background-color-N1{background-color:#0A0F25;} + .d2-2009261675 .background-color-N2{background-color:#676C7E;} + .d2-2009261675 .background-color-N3{background-color:#9499AB;} + .d2-2009261675 .background-color-N4{background-color:#CFD2DD;} + .d2-2009261675 .background-color-N5{background-color:#DEE1EB;} + .d2-2009261675 .background-color-N6{background-color:#EEF1F8;} + .d2-2009261675 .background-color-N7{background-color:#FFFFFF;} + .d2-2009261675 .background-color-B1{background-color:#0D32B2;} + .d2-2009261675 .background-color-B2{background-color:#0D32B2;} + .d2-2009261675 .background-color-B3{background-color:#E3E9FD;} + .d2-2009261675 .background-color-B4{background-color:#E3E9FD;} + .d2-2009261675 .background-color-B5{background-color:#EDF0FD;} + .d2-2009261675 .background-color-B6{background-color:#F7F8FE;} + .d2-2009261675 .background-color-AA2{background-color:#4A6FF3;} + .d2-2009261675 .background-color-AA4{background-color:#EDF0FD;} + .d2-2009261675 .background-color-AA5{background-color:#F7F8FE;} + .d2-2009261675 .background-color-AB4{background-color:#EDF0FD;} + .d2-2009261675 .background-color-AB5{background-color:#F7F8FE;} + .d2-2009261675 .color-N1{color:#0A0F25;} + .d2-2009261675 .color-N2{color:#676C7E;} + .d2-2009261675 .color-N3{color:#9499AB;} + .d2-2009261675 .color-N4{color:#CFD2DD;} + .d2-2009261675 .color-N5{color:#DEE1EB;} + .d2-2009261675 .color-N6{color:#EEF1F8;} + .d2-2009261675 .color-N7{color:#FFFFFF;} + .d2-2009261675 .color-B1{color:#0D32B2;} + .d2-2009261675 .color-B2{color:#0D32B2;} + .d2-2009261675 .color-B3{color:#E3E9FD;} + .d2-2009261675 .color-B4{color:#E3E9FD;} + .d2-2009261675 .color-B5{color:#EDF0FD;} + .d2-2009261675 .color-B6{color:#F7F8FE;} + .d2-2009261675 .color-AA2{color:#4A6FF3;} + .d2-2009261675 .color-AA4{color:#EDF0FD;} + .d2-2009261675 .color-AA5{color:#F7F8FE;} + .d2-2009261675 .color-AB4{color:#EDF0FD;} + .d2-2009261675 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ABCgroup 1group 2group 3group 4group 5group 6group 7group 8group 9group 10group 11 diff --git a/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/elk/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/elk/sketch.exp.svg index 5d50dbbb7..84a60e63c 100644 --- a/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_self_edge_group_overlap/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ABCgroup 1group 2group 3group 4group 5group 6group 7group 8group 9group 10group 11 + .d2-2009261675 .fill-N1{fill:#0A0F25;} + .d2-2009261675 .fill-N2{fill:#676C7E;} + .d2-2009261675 .fill-N3{fill:#9499AB;} + .d2-2009261675 .fill-N4{fill:#CFD2DD;} + .d2-2009261675 .fill-N5{fill:#DEE1EB;} + .d2-2009261675 .fill-N6{fill:#EEF1F8;} + .d2-2009261675 .fill-N7{fill:#FFFFFF;} + .d2-2009261675 .fill-B1{fill:#0D32B2;} + .d2-2009261675 .fill-B2{fill:#0D32B2;} + .d2-2009261675 .fill-B3{fill:#E3E9FD;} + .d2-2009261675 .fill-B4{fill:#E3E9FD;} + .d2-2009261675 .fill-B5{fill:#EDF0FD;} + .d2-2009261675 .fill-B6{fill:#F7F8FE;} + .d2-2009261675 .fill-AA2{fill:#4A6FF3;} + .d2-2009261675 .fill-AA4{fill:#EDF0FD;} + .d2-2009261675 .fill-AA5{fill:#F7F8FE;} + .d2-2009261675 .fill-AB4{fill:#EDF0FD;} + .d2-2009261675 .fill-AB5{fill:#F7F8FE;} + .d2-2009261675 .stroke-N1{stroke:#0A0F25;} + .d2-2009261675 .stroke-N2{stroke:#676C7E;} + .d2-2009261675 .stroke-N3{stroke:#9499AB;} + .d2-2009261675 .stroke-N4{stroke:#CFD2DD;} + .d2-2009261675 .stroke-N5{stroke:#DEE1EB;} + .d2-2009261675 .stroke-N6{stroke:#EEF1F8;} + .d2-2009261675 .stroke-N7{stroke:#FFFFFF;} + .d2-2009261675 .stroke-B1{stroke:#0D32B2;} + .d2-2009261675 .stroke-B2{stroke:#0D32B2;} + .d2-2009261675 .stroke-B3{stroke:#E3E9FD;} + .d2-2009261675 .stroke-B4{stroke:#E3E9FD;} + .d2-2009261675 .stroke-B5{stroke:#EDF0FD;} + .d2-2009261675 .stroke-B6{stroke:#F7F8FE;} + .d2-2009261675 .stroke-AA2{stroke:#4A6FF3;} + .d2-2009261675 .stroke-AA4{stroke:#EDF0FD;} + .d2-2009261675 .stroke-AA5{stroke:#F7F8FE;} + .d2-2009261675 .stroke-AB4{stroke:#EDF0FD;} + .d2-2009261675 .stroke-AB5{stroke:#F7F8FE;} + .d2-2009261675 .background-color-N1{background-color:#0A0F25;} + .d2-2009261675 .background-color-N2{background-color:#676C7E;} + .d2-2009261675 .background-color-N3{background-color:#9499AB;} + .d2-2009261675 .background-color-N4{background-color:#CFD2DD;} + .d2-2009261675 .background-color-N5{background-color:#DEE1EB;} + .d2-2009261675 .background-color-N6{background-color:#EEF1F8;} + .d2-2009261675 .background-color-N7{background-color:#FFFFFF;} + .d2-2009261675 .background-color-B1{background-color:#0D32B2;} + .d2-2009261675 .background-color-B2{background-color:#0D32B2;} + .d2-2009261675 .background-color-B3{background-color:#E3E9FD;} + .d2-2009261675 .background-color-B4{background-color:#E3E9FD;} + .d2-2009261675 .background-color-B5{background-color:#EDF0FD;} + .d2-2009261675 .background-color-B6{background-color:#F7F8FE;} + .d2-2009261675 .background-color-AA2{background-color:#4A6FF3;} + .d2-2009261675 .background-color-AA4{background-color:#EDF0FD;} + .d2-2009261675 .background-color-AA5{background-color:#F7F8FE;} + .d2-2009261675 .background-color-AB4{background-color:#EDF0FD;} + .d2-2009261675 .background-color-AB5{background-color:#F7F8FE;} + .d2-2009261675 .color-N1{color:#0A0F25;} + .d2-2009261675 .color-N2{color:#676C7E;} + .d2-2009261675 .color-N3{color:#9499AB;} + .d2-2009261675 .color-N4{color:#CFD2DD;} + .d2-2009261675 .color-N5{color:#DEE1EB;} + .d2-2009261675 .color-N6{color:#EEF1F8;} + .d2-2009261675 .color-N7{color:#FFFFFF;} + .d2-2009261675 .color-B1{color:#0D32B2;} + .d2-2009261675 .color-B2{color:#0D32B2;} + .d2-2009261675 .color-B3{color:#E3E9FD;} + .d2-2009261675 .color-B4{color:#E3E9FD;} + .d2-2009261675 .color-B5{color:#EDF0FD;} + .d2-2009261675 .color-B6{color:#F7F8FE;} + .d2-2009261675 .color-AA2{color:#4A6FF3;} + .d2-2009261675 .color-AA4{color:#EDF0FD;} + .d2-2009261675 .color-AA5{color:#F7F8FE;} + .d2-2009261675 .color-AB4{color:#EDF0FD;} + .d2-2009261675 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ABCgroup 1group 2group 3group 4group 5group 6group 7group 8group 9group 10group 11 diff --git a/e2etests/testdata/regression/sequence_diagram_span_cover/dagre/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_span_cover/dagre/sketch.exp.svg index ebe9e215e..06a769a1c 100644 --- a/e2etests/testdata/regression/sequence_diagram_span_cover/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_span_cover/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -b + .d2-3310224674 .fill-N1{fill:#0A0F25;} + .d2-3310224674 .fill-N2{fill:#676C7E;} + .d2-3310224674 .fill-N3{fill:#9499AB;} + .d2-3310224674 .fill-N4{fill:#CFD2DD;} + .d2-3310224674 .fill-N5{fill:#DEE1EB;} + .d2-3310224674 .fill-N6{fill:#EEF1F8;} + .d2-3310224674 .fill-N7{fill:#FFFFFF;} + .d2-3310224674 .fill-B1{fill:#0D32B2;} + .d2-3310224674 .fill-B2{fill:#0D32B2;} + .d2-3310224674 .fill-B3{fill:#E3E9FD;} + .d2-3310224674 .fill-B4{fill:#E3E9FD;} + .d2-3310224674 .fill-B5{fill:#EDF0FD;} + .d2-3310224674 .fill-B6{fill:#F7F8FE;} + .d2-3310224674 .fill-AA2{fill:#4A6FF3;} + .d2-3310224674 .fill-AA4{fill:#EDF0FD;} + .d2-3310224674 .fill-AA5{fill:#F7F8FE;} + .d2-3310224674 .fill-AB4{fill:#EDF0FD;} + .d2-3310224674 .fill-AB5{fill:#F7F8FE;} + .d2-3310224674 .stroke-N1{stroke:#0A0F25;} + .d2-3310224674 .stroke-N2{stroke:#676C7E;} + .d2-3310224674 .stroke-N3{stroke:#9499AB;} + .d2-3310224674 .stroke-N4{stroke:#CFD2DD;} + .d2-3310224674 .stroke-N5{stroke:#DEE1EB;} + .d2-3310224674 .stroke-N6{stroke:#EEF1F8;} + .d2-3310224674 .stroke-N7{stroke:#FFFFFF;} + .d2-3310224674 .stroke-B1{stroke:#0D32B2;} + .d2-3310224674 .stroke-B2{stroke:#0D32B2;} + .d2-3310224674 .stroke-B3{stroke:#E3E9FD;} + .d2-3310224674 .stroke-B4{stroke:#E3E9FD;} + .d2-3310224674 .stroke-B5{stroke:#EDF0FD;} + .d2-3310224674 .stroke-B6{stroke:#F7F8FE;} + .d2-3310224674 .stroke-AA2{stroke:#4A6FF3;} + .d2-3310224674 .stroke-AA4{stroke:#EDF0FD;} + .d2-3310224674 .stroke-AA5{stroke:#F7F8FE;} + .d2-3310224674 .stroke-AB4{stroke:#EDF0FD;} + .d2-3310224674 .stroke-AB5{stroke:#F7F8FE;} + .d2-3310224674 .background-color-N1{background-color:#0A0F25;} + .d2-3310224674 .background-color-N2{background-color:#676C7E;} + .d2-3310224674 .background-color-N3{background-color:#9499AB;} + .d2-3310224674 .background-color-N4{background-color:#CFD2DD;} + .d2-3310224674 .background-color-N5{background-color:#DEE1EB;} + .d2-3310224674 .background-color-N6{background-color:#EEF1F8;} + .d2-3310224674 .background-color-N7{background-color:#FFFFFF;} + .d2-3310224674 .background-color-B1{background-color:#0D32B2;} + .d2-3310224674 .background-color-B2{background-color:#0D32B2;} + .d2-3310224674 .background-color-B3{background-color:#E3E9FD;} + .d2-3310224674 .background-color-B4{background-color:#E3E9FD;} + .d2-3310224674 .background-color-B5{background-color:#EDF0FD;} + .d2-3310224674 .background-color-B6{background-color:#F7F8FE;} + .d2-3310224674 .background-color-AA2{background-color:#4A6FF3;} + .d2-3310224674 .background-color-AA4{background-color:#EDF0FD;} + .d2-3310224674 .background-color-AA5{background-color:#F7F8FE;} + .d2-3310224674 .background-color-AB4{background-color:#EDF0FD;} + .d2-3310224674 .background-color-AB5{background-color:#F7F8FE;} + .d2-3310224674 .color-N1{color:#0A0F25;} + .d2-3310224674 .color-N2{color:#676C7E;} + .d2-3310224674 .color-N3{color:#9499AB;} + .d2-3310224674 .color-N4{color:#CFD2DD;} + .d2-3310224674 .color-N5{color:#DEE1EB;} + .d2-3310224674 .color-N6{color:#EEF1F8;} + .d2-3310224674 .color-N7{color:#FFFFFF;} + .d2-3310224674 .color-B1{color:#0D32B2;} + .d2-3310224674 .color-B2{color:#0D32B2;} + .d2-3310224674 .color-B3{color:#E3E9FD;} + .d2-3310224674 .color-B4{color:#E3E9FD;} + .d2-3310224674 .color-B5{color:#EDF0FD;} + .d2-3310224674 .color-B6{color:#F7F8FE;} + .d2-3310224674 .color-AA2{color:#4A6FF3;} + .d2-3310224674 .color-AA4{color:#EDF0FD;} + .d2-3310224674 .color-AA5{color:#F7F8FE;} + .d2-3310224674 .color-AB4{color:#EDF0FD;} + .d2-3310224674 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>b \ No newline at end of file diff --git a/e2etests/testdata/regression/sequence_diagram_span_cover/elk/sketch.exp.svg b/e2etests/testdata/regression/sequence_diagram_span_cover/elk/sketch.exp.svg index ebe9e215e..06a769a1c 100644 --- a/e2etests/testdata/regression/sequence_diagram_span_cover/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sequence_diagram_span_cover/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -b + .d2-3310224674 .fill-N1{fill:#0A0F25;} + .d2-3310224674 .fill-N2{fill:#676C7E;} + .d2-3310224674 .fill-N3{fill:#9499AB;} + .d2-3310224674 .fill-N4{fill:#CFD2DD;} + .d2-3310224674 .fill-N5{fill:#DEE1EB;} + .d2-3310224674 .fill-N6{fill:#EEF1F8;} + .d2-3310224674 .fill-N7{fill:#FFFFFF;} + .d2-3310224674 .fill-B1{fill:#0D32B2;} + .d2-3310224674 .fill-B2{fill:#0D32B2;} + .d2-3310224674 .fill-B3{fill:#E3E9FD;} + .d2-3310224674 .fill-B4{fill:#E3E9FD;} + .d2-3310224674 .fill-B5{fill:#EDF0FD;} + .d2-3310224674 .fill-B6{fill:#F7F8FE;} + .d2-3310224674 .fill-AA2{fill:#4A6FF3;} + .d2-3310224674 .fill-AA4{fill:#EDF0FD;} + .d2-3310224674 .fill-AA5{fill:#F7F8FE;} + .d2-3310224674 .fill-AB4{fill:#EDF0FD;} + .d2-3310224674 .fill-AB5{fill:#F7F8FE;} + .d2-3310224674 .stroke-N1{stroke:#0A0F25;} + .d2-3310224674 .stroke-N2{stroke:#676C7E;} + .d2-3310224674 .stroke-N3{stroke:#9499AB;} + .d2-3310224674 .stroke-N4{stroke:#CFD2DD;} + .d2-3310224674 .stroke-N5{stroke:#DEE1EB;} + .d2-3310224674 .stroke-N6{stroke:#EEF1F8;} + .d2-3310224674 .stroke-N7{stroke:#FFFFFF;} + .d2-3310224674 .stroke-B1{stroke:#0D32B2;} + .d2-3310224674 .stroke-B2{stroke:#0D32B2;} + .d2-3310224674 .stroke-B3{stroke:#E3E9FD;} + .d2-3310224674 .stroke-B4{stroke:#E3E9FD;} + .d2-3310224674 .stroke-B5{stroke:#EDF0FD;} + .d2-3310224674 .stroke-B6{stroke:#F7F8FE;} + .d2-3310224674 .stroke-AA2{stroke:#4A6FF3;} + .d2-3310224674 .stroke-AA4{stroke:#EDF0FD;} + .d2-3310224674 .stroke-AA5{stroke:#F7F8FE;} + .d2-3310224674 .stroke-AB4{stroke:#EDF0FD;} + .d2-3310224674 .stroke-AB5{stroke:#F7F8FE;} + .d2-3310224674 .background-color-N1{background-color:#0A0F25;} + .d2-3310224674 .background-color-N2{background-color:#676C7E;} + .d2-3310224674 .background-color-N3{background-color:#9499AB;} + .d2-3310224674 .background-color-N4{background-color:#CFD2DD;} + .d2-3310224674 .background-color-N5{background-color:#DEE1EB;} + .d2-3310224674 .background-color-N6{background-color:#EEF1F8;} + .d2-3310224674 .background-color-N7{background-color:#FFFFFF;} + .d2-3310224674 .background-color-B1{background-color:#0D32B2;} + .d2-3310224674 .background-color-B2{background-color:#0D32B2;} + .d2-3310224674 .background-color-B3{background-color:#E3E9FD;} + .d2-3310224674 .background-color-B4{background-color:#E3E9FD;} + .d2-3310224674 .background-color-B5{background-color:#EDF0FD;} + .d2-3310224674 .background-color-B6{background-color:#F7F8FE;} + .d2-3310224674 .background-color-AA2{background-color:#4A6FF3;} + .d2-3310224674 .background-color-AA4{background-color:#EDF0FD;} + .d2-3310224674 .background-color-AA5{background-color:#F7F8FE;} + .d2-3310224674 .background-color-AB4{background-color:#EDF0FD;} + .d2-3310224674 .background-color-AB5{background-color:#F7F8FE;} + .d2-3310224674 .color-N1{color:#0A0F25;} + .d2-3310224674 .color-N2{color:#676C7E;} + .d2-3310224674 .color-N3{color:#9499AB;} + .d2-3310224674 .color-N4{color:#CFD2DD;} + .d2-3310224674 .color-N5{color:#DEE1EB;} + .d2-3310224674 .color-N6{color:#EEF1F8;} + .d2-3310224674 .color-N7{color:#FFFFFF;} + .d2-3310224674 .color-B1{color:#0D32B2;} + .d2-3310224674 .color-B2{color:#0D32B2;} + .d2-3310224674 .color-B3{color:#E3E9FD;} + .d2-3310224674 .color-B4{color:#E3E9FD;} + .d2-3310224674 .color-B5{color:#EDF0FD;} + .d2-3310224674 .color-B6{color:#F7F8FE;} + .d2-3310224674 .color-AA2{color:#4A6FF3;} + .d2-3310224674 .color-AA4{color:#EDF0FD;} + .d2-3310224674 .color-AA5{color:#F7F8FE;} + .d2-3310224674 .color-AB4{color:#EDF0FD;} + .d2-3310224674 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>b \ No newline at end of file diff --git a/e2etests/testdata/regression/slow_grid/dagre/sketch.exp.svg b/e2etests/testdata/regression/slow_grid/dagre/sketch.exp.svg index 1cb8c69be..af5f5401c 100644 --- a/e2etests/testdata/regression/slow_grid/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/slow_grid/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1----------------- + .d2-1489606637 .fill-N1{fill:#0A0F25;} + .d2-1489606637 .fill-N2{fill:#676C7E;} + .d2-1489606637 .fill-N3{fill:#9499AB;} + .d2-1489606637 .fill-N4{fill:#CFD2DD;} + .d2-1489606637 .fill-N5{fill:#DEE1EB;} + .d2-1489606637 .fill-N6{fill:#EEF1F8;} + .d2-1489606637 .fill-N7{fill:#FFFFFF;} + .d2-1489606637 .fill-B1{fill:#0D32B2;} + .d2-1489606637 .fill-B2{fill:#0D32B2;} + .d2-1489606637 .fill-B3{fill:#E3E9FD;} + .d2-1489606637 .fill-B4{fill:#E3E9FD;} + .d2-1489606637 .fill-B5{fill:#EDF0FD;} + .d2-1489606637 .fill-B6{fill:#F7F8FE;} + .d2-1489606637 .fill-AA2{fill:#4A6FF3;} + .d2-1489606637 .fill-AA4{fill:#EDF0FD;} + .d2-1489606637 .fill-AA5{fill:#F7F8FE;} + .d2-1489606637 .fill-AB4{fill:#EDF0FD;} + .d2-1489606637 .fill-AB5{fill:#F7F8FE;} + .d2-1489606637 .stroke-N1{stroke:#0A0F25;} + .d2-1489606637 .stroke-N2{stroke:#676C7E;} + .d2-1489606637 .stroke-N3{stroke:#9499AB;} + .d2-1489606637 .stroke-N4{stroke:#CFD2DD;} + .d2-1489606637 .stroke-N5{stroke:#DEE1EB;} + .d2-1489606637 .stroke-N6{stroke:#EEF1F8;} + .d2-1489606637 .stroke-N7{stroke:#FFFFFF;} + .d2-1489606637 .stroke-B1{stroke:#0D32B2;} + .d2-1489606637 .stroke-B2{stroke:#0D32B2;} + .d2-1489606637 .stroke-B3{stroke:#E3E9FD;} + .d2-1489606637 .stroke-B4{stroke:#E3E9FD;} + .d2-1489606637 .stroke-B5{stroke:#EDF0FD;} + .d2-1489606637 .stroke-B6{stroke:#F7F8FE;} + .d2-1489606637 .stroke-AA2{stroke:#4A6FF3;} + .d2-1489606637 .stroke-AA4{stroke:#EDF0FD;} + .d2-1489606637 .stroke-AA5{stroke:#F7F8FE;} + .d2-1489606637 .stroke-AB4{stroke:#EDF0FD;} + .d2-1489606637 .stroke-AB5{stroke:#F7F8FE;} + .d2-1489606637 .background-color-N1{background-color:#0A0F25;} + .d2-1489606637 .background-color-N2{background-color:#676C7E;} + .d2-1489606637 .background-color-N3{background-color:#9499AB;} + .d2-1489606637 .background-color-N4{background-color:#CFD2DD;} + .d2-1489606637 .background-color-N5{background-color:#DEE1EB;} + .d2-1489606637 .background-color-N6{background-color:#EEF1F8;} + .d2-1489606637 .background-color-N7{background-color:#FFFFFF;} + .d2-1489606637 .background-color-B1{background-color:#0D32B2;} + .d2-1489606637 .background-color-B2{background-color:#0D32B2;} + .d2-1489606637 .background-color-B3{background-color:#E3E9FD;} + .d2-1489606637 .background-color-B4{background-color:#E3E9FD;} + .d2-1489606637 .background-color-B5{background-color:#EDF0FD;} + .d2-1489606637 .background-color-B6{background-color:#F7F8FE;} + .d2-1489606637 .background-color-AA2{background-color:#4A6FF3;} + .d2-1489606637 .background-color-AA4{background-color:#EDF0FD;} + .d2-1489606637 .background-color-AA5{background-color:#F7F8FE;} + .d2-1489606637 .background-color-AB4{background-color:#EDF0FD;} + .d2-1489606637 .background-color-AB5{background-color:#F7F8FE;} + .d2-1489606637 .color-N1{color:#0A0F25;} + .d2-1489606637 .color-N2{color:#676C7E;} + .d2-1489606637 .color-N3{color:#9499AB;} + .d2-1489606637 .color-N4{color:#CFD2DD;} + .d2-1489606637 .color-N5{color:#DEE1EB;} + .d2-1489606637 .color-N6{color:#EEF1F8;} + .d2-1489606637 .color-N7{color:#FFFFFF;} + .d2-1489606637 .color-B1{color:#0D32B2;} + .d2-1489606637 .color-B2{color:#0D32B2;} + .d2-1489606637 .color-B3{color:#E3E9FD;} + .d2-1489606637 .color-B4{color:#E3E9FD;} + .d2-1489606637 .color-B5{color:#EDF0FD;} + .d2-1489606637 .color-B6{color:#F7F8FE;} + .d2-1489606637 .color-AA2{color:#4A6FF3;} + .d2-1489606637 .color-AA4{color:#EDF0FD;} + .d2-1489606637 .color-AA5{color:#F7F8FE;} + .d2-1489606637 .color-AB4{color:#EDF0FD;} + .d2-1489606637 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1----------------- \ No newline at end of file diff --git a/e2etests/testdata/regression/slow_grid/elk/sketch.exp.svg b/e2etests/testdata/regression/slow_grid/elk/sketch.exp.svg index 1cb8c69be..af5f5401c 100644 --- a/e2etests/testdata/regression/slow_grid/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/slow_grid/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1----------------- + .d2-1489606637 .fill-N1{fill:#0A0F25;} + .d2-1489606637 .fill-N2{fill:#676C7E;} + .d2-1489606637 .fill-N3{fill:#9499AB;} + .d2-1489606637 .fill-N4{fill:#CFD2DD;} + .d2-1489606637 .fill-N5{fill:#DEE1EB;} + .d2-1489606637 .fill-N6{fill:#EEF1F8;} + .d2-1489606637 .fill-N7{fill:#FFFFFF;} + .d2-1489606637 .fill-B1{fill:#0D32B2;} + .d2-1489606637 .fill-B2{fill:#0D32B2;} + .d2-1489606637 .fill-B3{fill:#E3E9FD;} + .d2-1489606637 .fill-B4{fill:#E3E9FD;} + .d2-1489606637 .fill-B5{fill:#EDF0FD;} + .d2-1489606637 .fill-B6{fill:#F7F8FE;} + .d2-1489606637 .fill-AA2{fill:#4A6FF3;} + .d2-1489606637 .fill-AA4{fill:#EDF0FD;} + .d2-1489606637 .fill-AA5{fill:#F7F8FE;} + .d2-1489606637 .fill-AB4{fill:#EDF0FD;} + .d2-1489606637 .fill-AB5{fill:#F7F8FE;} + .d2-1489606637 .stroke-N1{stroke:#0A0F25;} + .d2-1489606637 .stroke-N2{stroke:#676C7E;} + .d2-1489606637 .stroke-N3{stroke:#9499AB;} + .d2-1489606637 .stroke-N4{stroke:#CFD2DD;} + .d2-1489606637 .stroke-N5{stroke:#DEE1EB;} + .d2-1489606637 .stroke-N6{stroke:#EEF1F8;} + .d2-1489606637 .stroke-N7{stroke:#FFFFFF;} + .d2-1489606637 .stroke-B1{stroke:#0D32B2;} + .d2-1489606637 .stroke-B2{stroke:#0D32B2;} + .d2-1489606637 .stroke-B3{stroke:#E3E9FD;} + .d2-1489606637 .stroke-B4{stroke:#E3E9FD;} + .d2-1489606637 .stroke-B5{stroke:#EDF0FD;} + .d2-1489606637 .stroke-B6{stroke:#F7F8FE;} + .d2-1489606637 .stroke-AA2{stroke:#4A6FF3;} + .d2-1489606637 .stroke-AA4{stroke:#EDF0FD;} + .d2-1489606637 .stroke-AA5{stroke:#F7F8FE;} + .d2-1489606637 .stroke-AB4{stroke:#EDF0FD;} + .d2-1489606637 .stroke-AB5{stroke:#F7F8FE;} + .d2-1489606637 .background-color-N1{background-color:#0A0F25;} + .d2-1489606637 .background-color-N2{background-color:#676C7E;} + .d2-1489606637 .background-color-N3{background-color:#9499AB;} + .d2-1489606637 .background-color-N4{background-color:#CFD2DD;} + .d2-1489606637 .background-color-N5{background-color:#DEE1EB;} + .d2-1489606637 .background-color-N6{background-color:#EEF1F8;} + .d2-1489606637 .background-color-N7{background-color:#FFFFFF;} + .d2-1489606637 .background-color-B1{background-color:#0D32B2;} + .d2-1489606637 .background-color-B2{background-color:#0D32B2;} + .d2-1489606637 .background-color-B3{background-color:#E3E9FD;} + .d2-1489606637 .background-color-B4{background-color:#E3E9FD;} + .d2-1489606637 .background-color-B5{background-color:#EDF0FD;} + .d2-1489606637 .background-color-B6{background-color:#F7F8FE;} + .d2-1489606637 .background-color-AA2{background-color:#4A6FF3;} + .d2-1489606637 .background-color-AA4{background-color:#EDF0FD;} + .d2-1489606637 .background-color-AA5{background-color:#F7F8FE;} + .d2-1489606637 .background-color-AB4{background-color:#EDF0FD;} + .d2-1489606637 .background-color-AB5{background-color:#F7F8FE;} + .d2-1489606637 .color-N1{color:#0A0F25;} + .d2-1489606637 .color-N2{color:#676C7E;} + .d2-1489606637 .color-N3{color:#9499AB;} + .d2-1489606637 .color-N4{color:#CFD2DD;} + .d2-1489606637 .color-N5{color:#DEE1EB;} + .d2-1489606637 .color-N6{color:#EEF1F8;} + .d2-1489606637 .color-N7{color:#FFFFFF;} + .d2-1489606637 .color-B1{color:#0D32B2;} + .d2-1489606637 .color-B2{color:#0D32B2;} + .d2-1489606637 .color-B3{color:#E3E9FD;} + .d2-1489606637 .color-B4{color:#E3E9FD;} + .d2-1489606637 .color-B5{color:#EDF0FD;} + .d2-1489606637 .color-B6{color:#F7F8FE;} + .d2-1489606637 .color-AA2{color:#4A6FF3;} + .d2-1489606637 .color-AA4{color:#EDF0FD;} + .d2-1489606637 .color-AA5{color:#F7F8FE;} + .d2-1489606637 .color-AB4{color:#EDF0FD;} + .d2-1489606637 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>1+1------------------+2-------------------------------+3------------------------------+4-------------------------2+1-----------------+2----------------------------3+1-----------------+2----------------------------+3------------------------------+4-------------------------4+1----------------------------5+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------6+1----------------------------------------+2------------------------+3------------------------+4--------------------------------------7+1----------------------------------------+2---------------------+3------------------------+4--------------------------------------9+1----------------------+2-------------------------------------------+3-----------------------+4--------------------------+5-----------------------------+6-----------------------------+7--------------------------10+1-----------------11+1----------------+2---------------------------+3-----------------------------+4------------------------12+1----------------------+2-----------------------+3-------------+4-------------+5------------------------+6------------------------------------------------+7--------------------------13+1--------------------------------14+1----------------+2---------------------------+3-----------------------------+4------------------------15+1------------------------+2----------------------16+1----------------+2------------------------------17+1-----------------18+1----------------19+1-----------------20+1-----------------21+1----------------+2---------------------------+3-----------------------------+4------------------------22+1---------------------------------------------+2--------------------+3-----------------------+4-------------------------------------23+1----------------+2------------------------------24+1-----------------25+1----------------- \ No newline at end of file diff --git a/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg b/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg index ca7f09c64..b66e24de0 100644 --- a/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK + .d2-165564842 .fill-N1{fill:#0A0F25;} + .d2-165564842 .fill-N2{fill:#676C7E;} + .d2-165564842 .fill-N3{fill:#9499AB;} + .d2-165564842 .fill-N4{fill:#CFD2DD;} + .d2-165564842 .fill-N5{fill:#DEE1EB;} + .d2-165564842 .fill-N6{fill:#EEF1F8;} + .d2-165564842 .fill-N7{fill:#FFFFFF;} + .d2-165564842 .fill-B1{fill:#0D32B2;} + .d2-165564842 .fill-B2{fill:#0D32B2;} + .d2-165564842 .fill-B3{fill:#E3E9FD;} + .d2-165564842 .fill-B4{fill:#E3E9FD;} + .d2-165564842 .fill-B5{fill:#EDF0FD;} + .d2-165564842 .fill-B6{fill:#F7F8FE;} + .d2-165564842 .fill-AA2{fill:#4A6FF3;} + .d2-165564842 .fill-AA4{fill:#EDF0FD;} + .d2-165564842 .fill-AA5{fill:#F7F8FE;} + .d2-165564842 .fill-AB4{fill:#EDF0FD;} + .d2-165564842 .fill-AB5{fill:#F7F8FE;} + .d2-165564842 .stroke-N1{stroke:#0A0F25;} + .d2-165564842 .stroke-N2{stroke:#676C7E;} + .d2-165564842 .stroke-N3{stroke:#9499AB;} + .d2-165564842 .stroke-N4{stroke:#CFD2DD;} + .d2-165564842 .stroke-N5{stroke:#DEE1EB;} + .d2-165564842 .stroke-N6{stroke:#EEF1F8;} + .d2-165564842 .stroke-N7{stroke:#FFFFFF;} + .d2-165564842 .stroke-B1{stroke:#0D32B2;} + .d2-165564842 .stroke-B2{stroke:#0D32B2;} + .d2-165564842 .stroke-B3{stroke:#E3E9FD;} + .d2-165564842 .stroke-B4{stroke:#E3E9FD;} + .d2-165564842 .stroke-B5{stroke:#EDF0FD;} + .d2-165564842 .stroke-B6{stroke:#F7F8FE;} + .d2-165564842 .stroke-AA2{stroke:#4A6FF3;} + .d2-165564842 .stroke-AA4{stroke:#EDF0FD;} + .d2-165564842 .stroke-AA5{stroke:#F7F8FE;} + .d2-165564842 .stroke-AB4{stroke:#EDF0FD;} + .d2-165564842 .stroke-AB5{stroke:#F7F8FE;} + .d2-165564842 .background-color-N1{background-color:#0A0F25;} + .d2-165564842 .background-color-N2{background-color:#676C7E;} + .d2-165564842 .background-color-N3{background-color:#9499AB;} + .d2-165564842 .background-color-N4{background-color:#CFD2DD;} + .d2-165564842 .background-color-N5{background-color:#DEE1EB;} + .d2-165564842 .background-color-N6{background-color:#EEF1F8;} + .d2-165564842 .background-color-N7{background-color:#FFFFFF;} + .d2-165564842 .background-color-B1{background-color:#0D32B2;} + .d2-165564842 .background-color-B2{background-color:#0D32B2;} + .d2-165564842 .background-color-B3{background-color:#E3E9FD;} + .d2-165564842 .background-color-B4{background-color:#E3E9FD;} + .d2-165564842 .background-color-B5{background-color:#EDF0FD;} + .d2-165564842 .background-color-B6{background-color:#F7F8FE;} + .d2-165564842 .background-color-AA2{background-color:#4A6FF3;} + .d2-165564842 .background-color-AA4{background-color:#EDF0FD;} + .d2-165564842 .background-color-AA5{background-color:#F7F8FE;} + .d2-165564842 .background-color-AB4{background-color:#EDF0FD;} + .d2-165564842 .background-color-AB5{background-color:#F7F8FE;} + .d2-165564842 .color-N1{color:#0A0F25;} + .d2-165564842 .color-N2{color:#676C7E;} + .d2-165564842 .color-N3{color:#9499AB;} + .d2-165564842 .color-N4{color:#CFD2DD;} + .d2-165564842 .color-N5{color:#DEE1EB;} + .d2-165564842 .color-N6{color:#EEF1F8;} + .d2-165564842 .color-N7{color:#FFFFFF;} + .d2-165564842 .color-B1{color:#0D32B2;} + .d2-165564842 .color-B2{color:#0D32B2;} + .d2-165564842 .color-B3{color:#E3E9FD;} + .d2-165564842 .color-B4{color:#E3E9FD;} + .d2-165564842 .color-B5{color:#EDF0FD;} + .d2-165564842 .color-B6{color:#F7F8FE;} + .d2-165564842 .color-AA2{color:#4A6FF3;} + .d2-165564842 .color-AA4{color:#EDF0FD;} + .d2-165564842 .color-AA5{color:#F7F8FE;} + .d2-165564842 .color-AB4{color:#EDF0FD;} + .d2-165564842 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK \ No newline at end of file diff --git a/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg b/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg index f2874e57f..5a380041f 100644 --- a/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK + .d2-2228684100 .fill-N1{fill:#0A0F25;} + .d2-2228684100 .fill-N2{fill:#676C7E;} + .d2-2228684100 .fill-N3{fill:#9499AB;} + .d2-2228684100 .fill-N4{fill:#CFD2DD;} + .d2-2228684100 .fill-N5{fill:#DEE1EB;} + .d2-2228684100 .fill-N6{fill:#EEF1F8;} + .d2-2228684100 .fill-N7{fill:#FFFFFF;} + .d2-2228684100 .fill-B1{fill:#0D32B2;} + .d2-2228684100 .fill-B2{fill:#0D32B2;} + .d2-2228684100 .fill-B3{fill:#E3E9FD;} + .d2-2228684100 .fill-B4{fill:#E3E9FD;} + .d2-2228684100 .fill-B5{fill:#EDF0FD;} + .d2-2228684100 .fill-B6{fill:#F7F8FE;} + .d2-2228684100 .fill-AA2{fill:#4A6FF3;} + .d2-2228684100 .fill-AA4{fill:#EDF0FD;} + .d2-2228684100 .fill-AA5{fill:#F7F8FE;} + .d2-2228684100 .fill-AB4{fill:#EDF0FD;} + .d2-2228684100 .fill-AB5{fill:#F7F8FE;} + .d2-2228684100 .stroke-N1{stroke:#0A0F25;} + .d2-2228684100 .stroke-N2{stroke:#676C7E;} + .d2-2228684100 .stroke-N3{stroke:#9499AB;} + .d2-2228684100 .stroke-N4{stroke:#CFD2DD;} + .d2-2228684100 .stroke-N5{stroke:#DEE1EB;} + .d2-2228684100 .stroke-N6{stroke:#EEF1F8;} + .d2-2228684100 .stroke-N7{stroke:#FFFFFF;} + .d2-2228684100 .stroke-B1{stroke:#0D32B2;} + .d2-2228684100 .stroke-B2{stroke:#0D32B2;} + .d2-2228684100 .stroke-B3{stroke:#E3E9FD;} + .d2-2228684100 .stroke-B4{stroke:#E3E9FD;} + .d2-2228684100 .stroke-B5{stroke:#EDF0FD;} + .d2-2228684100 .stroke-B6{stroke:#F7F8FE;} + .d2-2228684100 .stroke-AA2{stroke:#4A6FF3;} + .d2-2228684100 .stroke-AA4{stroke:#EDF0FD;} + .d2-2228684100 .stroke-AA5{stroke:#F7F8FE;} + .d2-2228684100 .stroke-AB4{stroke:#EDF0FD;} + .d2-2228684100 .stroke-AB5{stroke:#F7F8FE;} + .d2-2228684100 .background-color-N1{background-color:#0A0F25;} + .d2-2228684100 .background-color-N2{background-color:#676C7E;} + .d2-2228684100 .background-color-N3{background-color:#9499AB;} + .d2-2228684100 .background-color-N4{background-color:#CFD2DD;} + .d2-2228684100 .background-color-N5{background-color:#DEE1EB;} + .d2-2228684100 .background-color-N6{background-color:#EEF1F8;} + .d2-2228684100 .background-color-N7{background-color:#FFFFFF;} + .d2-2228684100 .background-color-B1{background-color:#0D32B2;} + .d2-2228684100 .background-color-B2{background-color:#0D32B2;} + .d2-2228684100 .background-color-B3{background-color:#E3E9FD;} + .d2-2228684100 .background-color-B4{background-color:#E3E9FD;} + .d2-2228684100 .background-color-B5{background-color:#EDF0FD;} + .d2-2228684100 .background-color-B6{background-color:#F7F8FE;} + .d2-2228684100 .background-color-AA2{background-color:#4A6FF3;} + .d2-2228684100 .background-color-AA4{background-color:#EDF0FD;} + .d2-2228684100 .background-color-AA5{background-color:#F7F8FE;} + .d2-2228684100 .background-color-AB4{background-color:#EDF0FD;} + .d2-2228684100 .background-color-AB5{background-color:#F7F8FE;} + .d2-2228684100 .color-N1{color:#0A0F25;} + .d2-2228684100 .color-N2{color:#676C7E;} + .d2-2228684100 .color-N3{color:#9499AB;} + .d2-2228684100 .color-N4{color:#CFD2DD;} + .d2-2228684100 .color-N5{color:#DEE1EB;} + .d2-2228684100 .color-N6{color:#EEF1F8;} + .d2-2228684100 .color-N7{color:#FFFFFF;} + .d2-2228684100 .color-B1{color:#0D32B2;} + .d2-2228684100 .color-B2{color:#0D32B2;} + .d2-2228684100 .color-B3{color:#E3E9FD;} + .d2-2228684100 .color-B4{color:#E3E9FD;} + .d2-2228684100 .color-B5{color:#EDF0FD;} + .d2-2228684100 .color-B6{color:#F7F8FE;} + .d2-2228684100 .color-AA2{color:#4A6FF3;} + .d2-2228684100 .color-AA4{color:#EDF0FD;} + .d2-2228684100 .color-AA5{color:#F7F8FE;} + .d2-2228684100 .color-AB4{color:#EDF0FD;} + .d2-2228684100 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK \ No newline at end of file diff --git a/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/board.exp.json b/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/board.exp.json index 3fff3261c..f59d42506 100644 --- a/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/board.exp.json +++ b/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 87 + "y": 147 }, "width": 53, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 453 + "y": 653 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 270 + "y": 400 }, "width": 53, "height": 66, @@ -130,11 +130,11 @@ "id": "l1", "type": "rectangle", "pos": { - "x": 153, - "y": 81 + "x": 173, + "y": 117 }, - "width": 153, - "height": 468, + "width": 113, + "height": 632, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 203, - "y": 290 + "y": 400 }, "width": 53, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 203, - "y": 107 + "y": 147 }, "width": 53, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 203, - "y": 473 + "y": 653 }, "width": 53, "height": 66, @@ -294,11 +294,11 @@ "id": "l2c1", "type": "rectangle", "pos": { - "x": 406, - "y": 81 + "x": 426, + "y": 117 }, - "width": 153, - "height": 102, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 456, - "y": 107 + "y": 147 }, "width": 53, "height": 66, @@ -376,11 +376,11 @@ "id": "l2c3", "type": "rectangle", "pos": { - "x": 406, - "y": 447 + "x": 426, + "y": 623 }, - "width": 153, - "height": 102, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -418,7 +418,7 @@ "type": "rectangle", "pos": { "x": 456, - "y": 473 + "y": 653 }, "width": 53, "height": 66, @@ -458,11 +458,11 @@ "id": "l2c2", "type": "rectangle", "pos": { - "x": 406, - "y": 264 + "x": 426, + "y": 370 }, - "width": 153, - "height": 102, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -500,7 +500,7 @@ "type": "rectangle", "pos": { "x": 456, - "y": 290 + "y": 400 }, "width": 53, "height": 66, @@ -540,11 +540,11 @@ "id": "l3c1", "type": "rectangle", "pos": { - "x": 659, - "y": 81 + "x": 679, + "y": 117 }, - "width": 153, - "height": 285, + "width": 113, + "height": 379, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -582,7 +582,7 @@ "type": "rectangle", "pos": { "x": 709, - "y": 107 + "y": 147 }, "width": 53, "height": 66, @@ -623,7 +623,7 @@ "type": "rectangle", "pos": { "x": 709, - "y": 290 + "y": 400 }, "width": 53, "height": 66, @@ -663,11 +663,11 @@ "id": "l3c2", "type": "rectangle", "pos": { - "x": 659, - "y": 447 + "x": 679, + "y": 623 }, - "width": 153, - "height": 102, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -705,7 +705,7 @@ "type": "rectangle", "pos": { "x": 709, - "y": 473 + "y": 653 }, "width": 53, "height": 66, @@ -745,11 +745,11 @@ "id": "l4", "type": "rectangle", "pos": { - "x": 912, - "y": 41 + "x": 952, + "y": 76 }, - "width": 253, - "height": 548, + "width": 173, + "height": 703, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -786,11 +786,11 @@ "id": "l4.c1", "type": "rectangle", "pos": { - "x": 962, - "y": 96 + "x": 982, + "y": 117 }, - "width": 153, - "height": 107, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -828,7 +828,7 @@ "type": "rectangle", "pos": { "x": 1012, - "y": 125 + "y": 147 }, "width": 53, "height": 66, @@ -868,11 +868,11 @@ "id": "l4.c2", "type": "rectangle", "pos": { - "x": 962, - "y": 279 + "x": 982, + "y": 370 }, - "width": 153, - "height": 107, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -910,7 +910,7 @@ "type": "rectangle", "pos": { "x": 1012, - "y": 308 + "y": 400 }, "width": 53, "height": 66, @@ -950,11 +950,11 @@ "id": "l4.c3", "type": "rectangle", "pos": { - "x": 962, - "y": 462 + "x": 982, + "y": 623 }, - "width": 153, - "height": 107, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -992,7 +992,7 @@ "type": "rectangle", "pos": { "x": 1012, - "y": 491 + "y": 653 }, "width": 53, "height": 66, @@ -1056,19 +1056,19 @@ "route": [ { "x": 53, - "y": 303 + "y": 433 }, { "x": 93, - "y": 303 + "y": 433 }, { "x": 163, - "y": 307.1000061035156 + "y": 433 }, { "x": 203, - "y": 323.5 + "y": 433 } ], "isCurve": true, @@ -1103,19 +1103,19 @@ "route": [ { "x": 53, - "y": 120 + "y": 180 }, { "x": 93, - "y": 120 + "y": 180 }, { "x": 163, - "y": 124.0999984741211 + "y": 180 }, { "x": 203, - "y": 140.5 + "y": 180 } ], "isCurve": true, @@ -1150,19 +1150,19 @@ "route": [ { "x": 53, - "y": 486 + "y": 686 }, { "x": 93, - "y": 486 + "y": 686 }, { "x": 163, - "y": 490.1000061035156 + "y": 686 }, { "x": 203, - "y": 506.5 + "y": 686 } ], "isCurve": true, @@ -1197,31 +1197,31 @@ "route": [ { "x": 256, - "y": 140.5 + "y": 180 }, { "x": 296, - "y": 140.5 + "y": 180 }, { "x": 316, - "y": 140.5 + "y": 180 }, { "x": 331, - "y": 140.5 + "y": 180 }, { "x": 346, - "y": 140.5 + "y": 180 }, { "x": 416, - "y": 140.5 + "y": 180 }, { "x": 456, - "y": 140.5 + "y": 180 } ], "isCurve": true, @@ -1256,31 +1256,31 @@ "route": [ { "x": 256, - "y": 506.5 + "y": 686 }, { "x": 296, - "y": 506.5 + "y": 686 }, { "x": 316, - "y": 506.5 + "y": 686 }, { "x": 331, - "y": 506.5 + "y": 686 }, { "x": 346, - "y": 506.5 + "y": 686 }, { "x": 416, - "y": 506.5 + "y": 686 }, { "x": 456, - "y": 506.5 + "y": 686 } ], "isCurve": true, @@ -1315,31 +1315,31 @@ "route": [ { "x": 256, - "y": 323.5 + "y": 433 }, { "x": 296, - "y": 323.5 + "y": 433 }, { "x": 316, - "y": 323.5 + "y": 433 }, { "x": 331, - "y": 323.5 + "y": 433 }, { "x": 346, - "y": 323.5 + "y": 433 }, { "x": 416, - "y": 323.5 + "y": 433 }, { "x": 456, - "y": 323.5 + "y": 433 } ], "isCurve": true, @@ -1374,31 +1374,31 @@ "route": [ { "x": 509, - "y": 140.5 + "y": 180 }, { "x": 549, - "y": 140.5 + "y": 180 }, { "x": 569, - "y": 140.5 + "y": 180 }, { "x": 584, - "y": 140.5 + "y": 180 }, { "x": 599, - "y": 140.5 + "y": 180 }, { "x": 669, - "y": 140.5 + "y": 180 }, { "x": 709, - "y": 140.5 + "y": 180 } ], "isCurve": true, @@ -1433,31 +1433,31 @@ "route": [ { "x": 509, - "y": 323.5 + "y": 433 }, { "x": 549, - "y": 323.5 + "y": 433 }, { "x": 569, - "y": 323.5 + "y": 433 }, { "x": 584, - "y": 323.5 + "y": 433 }, { "x": 599, - "y": 323.5 + "y": 433 }, { "x": 669, - "y": 323.5 + "y": 433 }, { "x": 709, - "y": 323.5 + "y": 433 } ], "isCurve": true, @@ -1492,31 +1492,31 @@ "route": [ { "x": 509, - "y": 506.5 + "y": 686 }, { "x": 549, - "y": 506.5 + "y": 686 }, { "x": 569, - "y": 506.5 + "y": 686 }, { "x": 584, - "y": 506.5 + "y": 686 }, { "x": 599, - "y": 506.5 + "y": 686 }, { "x": 669, - "y": 506.5 + "y": 686 }, { "x": 709, - "y": 506.5 + "y": 686 } ], "isCurve": true, @@ -1551,43 +1551,43 @@ "route": [ { "x": 762, - "y": 149.5 + "y": 180 }, { "x": 802, - "y": 149.5 + "y": 180 }, { "x": 822, - "y": 149.5 + "y": 180 }, { "x": 837, - "y": 149.5 + "y": 180 }, { "x": 852, - "y": 149.5 + "y": 180 }, { "x": 872, - "y": 149.5 + "y": 180 }, { "x": 887, - "y": 149.5 + "y": 180 }, { "x": 902, - "y": 149.5 + "y": 180 }, { "x": 972, - "y": 149.5 + "y": 180 }, { "x": 1012, - "y": 149.5 + "y": 180 } ], "isCurve": true, @@ -1622,43 +1622,43 @@ "route": [ { "x": 762, - "y": 332.5 + "y": 433 }, { "x": 802, - "y": 332.5 + "y": 433 }, { "x": 822, - "y": 332.5 + "y": 433 }, { "x": 837, - "y": 332.5 + "y": 433 }, { "x": 852, - "y": 332.5 + "y": 433 }, { "x": 872, - "y": 332.5 + "y": 433 }, { "x": 887, - "y": 332.5 + "y": 433 }, { "x": 902, - "y": 332.5 + "y": 433 }, { "x": 972, - "y": 332.5 + "y": 433 }, { "x": 1012, - "y": 332.5 + "y": 433 } ], "isCurve": true, @@ -1693,43 +1693,43 @@ "route": [ { "x": 762, - "y": 515.5 + "y": 686 }, { "x": 802, - "y": 515.5 + "y": 686 }, { "x": 822, - "y": 515.5 + "y": 686 }, { "x": 837, - "y": 515.5 + "y": 686 }, { "x": 852, - "y": 515.5 + "y": 686 }, { "x": 872, - "y": 515.5 + "y": 686 }, { "x": 887, - "y": 515.5 + "y": 686 }, { "x": 902, - "y": 515.5 + "y": 686 }, { "x": 972, - "y": 515.5 + "y": 686 }, { "x": 1012, - "y": 515.5 + "y": 686 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/sketch.exp.svg b/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/sketch.exp.svg index 44d3daa25..18bf91df9 100644 --- a/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/straight_hierarchy_container_direction_right/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-3101729912 .fill-N1{fill:#0A0F25;} + .d2-3101729912 .fill-N2{fill:#676C7E;} + .d2-3101729912 .fill-N3{fill:#9499AB;} + .d2-3101729912 .fill-N4{fill:#CFD2DD;} + .d2-3101729912 .fill-N5{fill:#DEE1EB;} + .d2-3101729912 .fill-N6{fill:#EEF1F8;} + .d2-3101729912 .fill-N7{fill:#FFFFFF;} + .d2-3101729912 .fill-B1{fill:#0D32B2;} + .d2-3101729912 .fill-B2{fill:#0D32B2;} + .d2-3101729912 .fill-B3{fill:#E3E9FD;} + .d2-3101729912 .fill-B4{fill:#E3E9FD;} + .d2-3101729912 .fill-B5{fill:#EDF0FD;} + .d2-3101729912 .fill-B6{fill:#F7F8FE;} + .d2-3101729912 .fill-AA2{fill:#4A6FF3;} + .d2-3101729912 .fill-AA4{fill:#EDF0FD;} + .d2-3101729912 .fill-AA5{fill:#F7F8FE;} + .d2-3101729912 .fill-AB4{fill:#EDF0FD;} + .d2-3101729912 .fill-AB5{fill:#F7F8FE;} + .d2-3101729912 .stroke-N1{stroke:#0A0F25;} + .d2-3101729912 .stroke-N2{stroke:#676C7E;} + .d2-3101729912 .stroke-N3{stroke:#9499AB;} + .d2-3101729912 .stroke-N4{stroke:#CFD2DD;} + .d2-3101729912 .stroke-N5{stroke:#DEE1EB;} + .d2-3101729912 .stroke-N6{stroke:#EEF1F8;} + .d2-3101729912 .stroke-N7{stroke:#FFFFFF;} + .d2-3101729912 .stroke-B1{stroke:#0D32B2;} + .d2-3101729912 .stroke-B2{stroke:#0D32B2;} + .d2-3101729912 .stroke-B3{stroke:#E3E9FD;} + .d2-3101729912 .stroke-B4{stroke:#E3E9FD;} + .d2-3101729912 .stroke-B5{stroke:#EDF0FD;} + .d2-3101729912 .stroke-B6{stroke:#F7F8FE;} + .d2-3101729912 .stroke-AA2{stroke:#4A6FF3;} + .d2-3101729912 .stroke-AA4{stroke:#EDF0FD;} + .d2-3101729912 .stroke-AA5{stroke:#F7F8FE;} + .d2-3101729912 .stroke-AB4{stroke:#EDF0FD;} + .d2-3101729912 .stroke-AB5{stroke:#F7F8FE;} + .d2-3101729912 .background-color-N1{background-color:#0A0F25;} + .d2-3101729912 .background-color-N2{background-color:#676C7E;} + .d2-3101729912 .background-color-N3{background-color:#9499AB;} + .d2-3101729912 .background-color-N4{background-color:#CFD2DD;} + .d2-3101729912 .background-color-N5{background-color:#DEE1EB;} + .d2-3101729912 .background-color-N6{background-color:#EEF1F8;} + .d2-3101729912 .background-color-N7{background-color:#FFFFFF;} + .d2-3101729912 .background-color-B1{background-color:#0D32B2;} + .d2-3101729912 .background-color-B2{background-color:#0D32B2;} + .d2-3101729912 .background-color-B3{background-color:#E3E9FD;} + .d2-3101729912 .background-color-B4{background-color:#E3E9FD;} + .d2-3101729912 .background-color-B5{background-color:#EDF0FD;} + .d2-3101729912 .background-color-B6{background-color:#F7F8FE;} + .d2-3101729912 .background-color-AA2{background-color:#4A6FF3;} + .d2-3101729912 .background-color-AA4{background-color:#EDF0FD;} + .d2-3101729912 .background-color-AA5{background-color:#F7F8FE;} + .d2-3101729912 .background-color-AB4{background-color:#EDF0FD;} + .d2-3101729912 .background-color-AB5{background-color:#F7F8FE;} + .d2-3101729912 .color-N1{color:#0A0F25;} + .d2-3101729912 .color-N2{color:#676C7E;} + .d2-3101729912 .color-N3{color:#9499AB;} + .d2-3101729912 .color-N4{color:#CFD2DD;} + .d2-3101729912 .color-N5{color:#DEE1EB;} + .d2-3101729912 .color-N6{color:#EEF1F8;} + .d2-3101729912 .color-N7{color:#FFFFFF;} + .d2-3101729912 .color-B1{color:#0D32B2;} + .d2-3101729912 .color-B2{color:#0D32B2;} + .d2-3101729912 .color-B3{color:#E3E9FD;} + .d2-3101729912 .color-B4{color:#E3E9FD;} + .d2-3101729912 .color-B5{color:#EDF0FD;} + .d2-3101729912 .color-B6{color:#F7F8FE;} + .d2-3101729912 .color-AA2{color:#4A6FF3;} + .d2-3101729912 .color-AA4{color:#EDF0FD;} + .d2-3101729912 .color-AA5{color:#F7F8FE;} + .d2-3101729912 .color-AB4{color:#EDF0FD;} + .d2-3101729912 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/regression/straight_hierarchy_container_direction_right/elk/sketch.exp.svg b/e2etests/testdata/regression/straight_hierarchy_container_direction_right/elk/sketch.exp.svg index 87a8bf13c..48631a24b 100644 --- a/e2etests/testdata/regression/straight_hierarchy_container_direction_right/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/straight_hierarchy_container_direction_right/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc + .d2-607531947 .fill-N1{fill:#0A0F25;} + .d2-607531947 .fill-N2{fill:#676C7E;} + .d2-607531947 .fill-N3{fill:#9499AB;} + .d2-607531947 .fill-N4{fill:#CFD2DD;} + .d2-607531947 .fill-N5{fill:#DEE1EB;} + .d2-607531947 .fill-N6{fill:#EEF1F8;} + .d2-607531947 .fill-N7{fill:#FFFFFF;} + .d2-607531947 .fill-B1{fill:#0D32B2;} + .d2-607531947 .fill-B2{fill:#0D32B2;} + .d2-607531947 .fill-B3{fill:#E3E9FD;} + .d2-607531947 .fill-B4{fill:#E3E9FD;} + .d2-607531947 .fill-B5{fill:#EDF0FD;} + .d2-607531947 .fill-B6{fill:#F7F8FE;} + .d2-607531947 .fill-AA2{fill:#4A6FF3;} + .d2-607531947 .fill-AA4{fill:#EDF0FD;} + .d2-607531947 .fill-AA5{fill:#F7F8FE;} + .d2-607531947 .fill-AB4{fill:#EDF0FD;} + .d2-607531947 .fill-AB5{fill:#F7F8FE;} + .d2-607531947 .stroke-N1{stroke:#0A0F25;} + .d2-607531947 .stroke-N2{stroke:#676C7E;} + .d2-607531947 .stroke-N3{stroke:#9499AB;} + .d2-607531947 .stroke-N4{stroke:#CFD2DD;} + .d2-607531947 .stroke-N5{stroke:#DEE1EB;} + .d2-607531947 .stroke-N6{stroke:#EEF1F8;} + .d2-607531947 .stroke-N7{stroke:#FFFFFF;} + .d2-607531947 .stroke-B1{stroke:#0D32B2;} + .d2-607531947 .stroke-B2{stroke:#0D32B2;} + .d2-607531947 .stroke-B3{stroke:#E3E9FD;} + .d2-607531947 .stroke-B4{stroke:#E3E9FD;} + .d2-607531947 .stroke-B5{stroke:#EDF0FD;} + .d2-607531947 .stroke-B6{stroke:#F7F8FE;} + .d2-607531947 .stroke-AA2{stroke:#4A6FF3;} + .d2-607531947 .stroke-AA4{stroke:#EDF0FD;} + .d2-607531947 .stroke-AA5{stroke:#F7F8FE;} + .d2-607531947 .stroke-AB4{stroke:#EDF0FD;} + .d2-607531947 .stroke-AB5{stroke:#F7F8FE;} + .d2-607531947 .background-color-N1{background-color:#0A0F25;} + .d2-607531947 .background-color-N2{background-color:#676C7E;} + .d2-607531947 .background-color-N3{background-color:#9499AB;} + .d2-607531947 .background-color-N4{background-color:#CFD2DD;} + .d2-607531947 .background-color-N5{background-color:#DEE1EB;} + .d2-607531947 .background-color-N6{background-color:#EEF1F8;} + .d2-607531947 .background-color-N7{background-color:#FFFFFF;} + .d2-607531947 .background-color-B1{background-color:#0D32B2;} + .d2-607531947 .background-color-B2{background-color:#0D32B2;} + .d2-607531947 .background-color-B3{background-color:#E3E9FD;} + .d2-607531947 .background-color-B4{background-color:#E3E9FD;} + .d2-607531947 .background-color-B5{background-color:#EDF0FD;} + .d2-607531947 .background-color-B6{background-color:#F7F8FE;} + .d2-607531947 .background-color-AA2{background-color:#4A6FF3;} + .d2-607531947 .background-color-AA4{background-color:#EDF0FD;} + .d2-607531947 .background-color-AA5{background-color:#F7F8FE;} + .d2-607531947 .background-color-AB4{background-color:#EDF0FD;} + .d2-607531947 .background-color-AB5{background-color:#F7F8FE;} + .d2-607531947 .color-N1{color:#0A0F25;} + .d2-607531947 .color-N2{color:#676C7E;} + .d2-607531947 .color-N3{color:#9499AB;} + .d2-607531947 .color-N4{color:#CFD2DD;} + .d2-607531947 .color-N5{color:#DEE1EB;} + .d2-607531947 .color-N6{color:#EEF1F8;} + .d2-607531947 .color-N7{color:#FFFFFF;} + .d2-607531947 .color-B1{color:#0D32B2;} + .d2-607531947 .color-B2{color:#0D32B2;} + .d2-607531947 .color-B3{color:#E3E9FD;} + .d2-607531947 .color-B4{color:#E3E9FD;} + .d2-607531947 .color-B5{color:#EDF0FD;} + .d2-607531947 .color-B6{color:#F7F8FE;} + .d2-607531947 .color-AA2{color:#4A6FF3;} + .d2-607531947 .color-AA4{color:#EDF0FD;} + .d2-607531947 .color-AA5{color:#F7F8FE;} + .d2-607531947 .color-AB4{color:#EDF0FD;} + .d2-607531947 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc diff --git a/e2etests/testdata/regression/unconnected/dagre/board.exp.json b/e2etests/testdata/regression/unconnected/dagre/board.exp.json index a96c9cff3..c247f0d23 100644 --- a/e2etests/testdata/regression/unconnected/dagre/board.exp.json +++ b/e2etests/testdata/regression/unconnected/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 50, - "y": 262 + "y": 414 }, "width": 135, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 358, - "y": 282 + "y": 424 }, "width": 159, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 335, - "y": 368 + "y": 550 }, "width": 204, "height": 66, @@ -130,11 +130,11 @@ "id": "Gos Warehouse", "type": "rectangle", "pos": { - "x": 639, - "y": 169 + "x": 659, + "y": 270 }, - "width": 872, - "height": 272, + "width": 832, + "height": 334, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 689, - "y": 271 + "y": 388 }, "width": 94, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 883, - "y": 325 + "y": 461 }, "width": 120, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 1103, - "y": 238 + "y": 340 }, "width": 120, "height": 66, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 1331, - "y": 237 + "y": 329 }, "width": 122, "height": 66, @@ -336,7 +336,7 @@ "type": "text", "pos": { "x": 1323, - "y": 323 + "y": 455 }, "width": 138, "height": 108, @@ -375,11 +375,11 @@ "id": "Customer Site", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 25, + "y": 56 }, - "width": 235, - "height": 171, + "width": 186, + "height": 252, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -417,7 +417,7 @@ "type": "rectangle", "pos": { "x": 55, - "y": 50 + "y": 86 }, "width": 126, "height": 66, @@ -458,7 +458,7 @@ "type": "rectangle", "pos": { "x": 66, - "y": 136 + "y": 212 }, "width": 103, "height": 66, @@ -498,8 +498,8 @@ "id": "title", "type": "text", "pos": { - "x": 436, - "y": -71 + "x": 438, + "y": -56 }, "width": 639, "height": 51, @@ -562,19 +562,19 @@ "route": [ { "x": 185, - "y": 306.489013671875 + "y": 453 }, { "x": 225, - "y": 313.2969970703125 + "y": 456.20001220703125 }, { "x": 299.5, - "y": 315 + "y": 457 }, { "x": 357.5, - "y": 315 + "y": 457 } ], "isCurve": true, @@ -608,20 +608,20 @@ "labelPercentage": 0, "route": [ { - "x": 154.0800018310547, - "y": 328 + "x": 146, + "y": 480 }, { - "x": 218.8159942626953, - "y": 386.3999938964844 + "x": 217.1999969482422, + "y": 562.4000244140625 }, { "x": 295, - "y": 401 + "y": 583 }, { "x": 335, - "y": 401 + "y": 583 } ], "isCurve": true, @@ -655,44 +655,44 @@ "labelPercentage": 0, "route": [ { - "x": 185, - "y": 270.2969970703125 + "x": 179, + "y": 414 }, { - "x": 225, - "y": 255.65899658203125 + "x": 223.8000030517578, + "y": 390 }, { "x": 245, - "y": 252 + "y": 384 }, { "x": 260, - "y": 252 + "y": 384 }, { "x": 275, - "y": 252 + "y": 384 }, { "x": 315.3999938964844, - "y": 252 + "y": 384 }, { "x": 361, - "y": 252 + "y": 384 }, { "x": 406.6000061035156, - "y": 252 + "y": 384 }, { - "x": 599, - "y": 252 + "x": 603, + "y": 384 }, { - "x": 639, - "y": 252 + "x": 659, + "y": 384 } ], "isCurve": true, @@ -726,20 +726,20 @@ "labelPercentage": 0, "route": [ { - "x": 783, - "y": 330.4070129394531 + "x": 780.8489990234375, + "y": 454.5 }, { - "x": 823, - "y": 352.8810119628906 + "x": 822.5689697265625, + "y": 485.70001220703125 }, { "x": 843, - "y": 358.5 + "y": 493.5 }, { "x": 883, - "y": 358.5 + "y": 493.5 } ], "isCurve": true, @@ -773,32 +773,32 @@ "labelPercentage": 0, "route": [ { - "x": 783, - "y": 278.5610046386719 + "x": 779.2559814453125, + "y": 387.5 }, { - "x": 823, - "y": 256.9119873046875 + "x": 822.2509765625, + "y": 354.70001220703125 }, { "x": 855, - "y": 251.5 + "y": 346.5 }, { "x": 888, - "y": 251.5 + "y": 346.5 }, { "x": 921, - "y": 251.5 + "y": 346.5 }, { "x": 1063, - "y": 253.3000030517578 + "y": 348.8999938964844 }, { "x": 1103, - "y": 260.5 + "y": 358.5 } ], "isCurve": true, @@ -832,56 +832,56 @@ "labelPercentage": 0, "route": [ { - "x": 766.7780151367188, - "y": 271 + "x": 762.5640258789062, + "y": 387.5 }, { - "x": 819.7550048828125, - "y": 214.1999969482422 + "x": 818.9119873046875, + "y": 317.5 }, { "x": 855, - "y": 200 + "y": 300 }, { "x": 888, - "y": 200 + "y": 300 }, { "x": 921, - "y": 200 + "y": 300 }, { "x": 965, - "y": 200 + "y": 300 }, { "x": 998, - "y": 200 + "y": 300 }, { "x": 1031, - "y": 200 + "y": 300 }, { "x": 1075, - "y": 200 + "y": 300 }, { "x": 1108, - "y": 200 + "y": 300 }, { "x": 1141, - "y": 200 + "y": 300 }, { - "x": 1285.5999755859375, - "y": 207.60000610351562 + "x": 1284.5999755859375, + "y": 306 }, { - "x": 1336, - "y": 238 + "x": 1331, + "y": 330 } ], "isCurve": true, @@ -916,19 +916,19 @@ "route": [ { "x": 1003, - "y": 340.7720031738281 + "y": 468 }, { "x": 1043, - "y": 328.9540100097656 + "y": 450.3999938964844 }, { - "x": 1063, - "y": 321 + "x": 1065, + "y": 438 }, { - "x": 1103, - "y": 301 + "x": 1113, + "y": 406 } ], "isCurve": true, @@ -963,19 +963,19 @@ "route": [ { "x": 1223, - "y": 271.5 + "y": 373 }, { "x": 1263, - "y": 271.5 + "y": 373 }, { "x": 1284.5999755859375, - "y": 271.5 + "y": 372 }, { "x": 1331, - "y": 271.5 + "y": 368 } ], "isCurve": true, @@ -1009,32 +1009,32 @@ "labelPercentage": 0, "route": [ { - "x": 1355.637939453125, - "y": 303.5 + "x": 1367, + "y": 395 }, { - "x": 1289.5269775390625, - "y": 363.5 + "x": 1291.800048828125, + "y": 495 }, { "x": 1251, - "y": 378.5 + "y": 520 }, { "x": 1218, - "y": 378.5 + "y": 520 }, { "x": 1185, - "y": 378.5 + "y": 520 }, { "x": 1043, - "y": 376.70001220703125 + "y": 517.5999755859375 }, { "x": 1003, - "y": 369.5 + "y": 508 } ], "isCurve": true, @@ -1069,19 +1069,19 @@ "route": [ { "x": 517.5, - "y": 315 + "y": 457 }, { "x": 574.7000122070312, - "y": 315 + "y": 457 }, { - "x": 599, - "y": 315 + "x": 603, + "y": 457 }, { - "x": 639, - "y": 315 + "x": 659, + "y": 457 } ], "isCurve": true, @@ -1116,19 +1116,19 @@ "route": [ { "x": 539, - "y": 401 + "y": 583 }, { "x": 579, - "y": 401 + "y": 583 }, { - "x": 599, - "y": 401 + "x": 603, + "y": 583 }, { - "x": 639, - "y": 401 + "x": 659, + "y": 583 } ], "isCurve": true, diff --git a/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg b/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg index 7d9070e88..33754aad7 100644 --- a/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -OEM FactoryOEM WarehouseDistributor WarehouseGos WarehouseCustomer SiteWorkflow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N
      +OEM FactoryOEM WarehouseDistributor WarehouseGos WarehouseCustomer SiteWorkflow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N
      • Asset Tagging
      • Inventory
      • Staging
      • Dispatch to Site
      -
      InstallationSupport - - - - - - - - - - - - - - +
    InstallationSupport + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/e2etests/testdata/regression/unconnected/elk/board.exp.json b/e2etests/testdata/regression/unconnected/elk/board.exp.json index be39c6d92..a30837f37 100644 --- a/e2etests/testdata/regression/unconnected/elk/board.exp.json +++ b/e2etests/testdata/regression/unconnected/elk/board.exp.json @@ -573,7 +573,7 @@ "y": 107.875 }, { - "x": 390.5, + "x": 391, "y": 107.875 } ], @@ -967,7 +967,7 @@ "labelPercentage": 0, "route": [ { - "x": 549.5, + "x": 549, "y": 107.875 }, { diff --git a/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg b/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg index 815d5aae1..17ae95cfa 100644 --- a/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -OEM FactoryOEM WarehouseDistributor WarehouseGos WarehouseCustomer SiteWorkflow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N
      @@ -842,7 +842,7 @@
    • Staging
    • Dispatch to Site
    -
    InstallationSupport +InstallationSupport diff --git a/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg b/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg index 00e67fc8b..9c509227e 100644 --- a/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ --numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 + .d2-1198633229 .fill-N1{fill:#0A0F25;} + .d2-1198633229 .fill-N2{fill:#676C7E;} + .d2-1198633229 .fill-N3{fill:#9499AB;} + .d2-1198633229 .fill-N4{fill:#CFD2DD;} + .d2-1198633229 .fill-N5{fill:#DEE1EB;} + .d2-1198633229 .fill-N6{fill:#EEF1F8;} + .d2-1198633229 .fill-N7{fill:#FFFFFF;} + .d2-1198633229 .fill-B1{fill:#0D32B2;} + .d2-1198633229 .fill-B2{fill:#0D32B2;} + .d2-1198633229 .fill-B3{fill:#E3E9FD;} + .d2-1198633229 .fill-B4{fill:#E3E9FD;} + .d2-1198633229 .fill-B5{fill:#EDF0FD;} + .d2-1198633229 .fill-B6{fill:#F7F8FE;} + .d2-1198633229 .fill-AA2{fill:#4A6FF3;} + .d2-1198633229 .fill-AA4{fill:#EDF0FD;} + .d2-1198633229 .fill-AA5{fill:#F7F8FE;} + .d2-1198633229 .fill-AB4{fill:#EDF0FD;} + .d2-1198633229 .fill-AB5{fill:#F7F8FE;} + .d2-1198633229 .stroke-N1{stroke:#0A0F25;} + .d2-1198633229 .stroke-N2{stroke:#676C7E;} + .d2-1198633229 .stroke-N3{stroke:#9499AB;} + .d2-1198633229 .stroke-N4{stroke:#CFD2DD;} + .d2-1198633229 .stroke-N5{stroke:#DEE1EB;} + .d2-1198633229 .stroke-N6{stroke:#EEF1F8;} + .d2-1198633229 .stroke-N7{stroke:#FFFFFF;} + .d2-1198633229 .stroke-B1{stroke:#0D32B2;} + .d2-1198633229 .stroke-B2{stroke:#0D32B2;} + .d2-1198633229 .stroke-B3{stroke:#E3E9FD;} + .d2-1198633229 .stroke-B4{stroke:#E3E9FD;} + .d2-1198633229 .stroke-B5{stroke:#EDF0FD;} + .d2-1198633229 .stroke-B6{stroke:#F7F8FE;} + .d2-1198633229 .stroke-AA2{stroke:#4A6FF3;} + .d2-1198633229 .stroke-AA4{stroke:#EDF0FD;} + .d2-1198633229 .stroke-AA5{stroke:#F7F8FE;} + .d2-1198633229 .stroke-AB4{stroke:#EDF0FD;} + .d2-1198633229 .stroke-AB5{stroke:#F7F8FE;} + .d2-1198633229 .background-color-N1{background-color:#0A0F25;} + .d2-1198633229 .background-color-N2{background-color:#676C7E;} + .d2-1198633229 .background-color-N3{background-color:#9499AB;} + .d2-1198633229 .background-color-N4{background-color:#CFD2DD;} + .d2-1198633229 .background-color-N5{background-color:#DEE1EB;} + .d2-1198633229 .background-color-N6{background-color:#EEF1F8;} + .d2-1198633229 .background-color-N7{background-color:#FFFFFF;} + .d2-1198633229 .background-color-B1{background-color:#0D32B2;} + .d2-1198633229 .background-color-B2{background-color:#0D32B2;} + .d2-1198633229 .background-color-B3{background-color:#E3E9FD;} + .d2-1198633229 .background-color-B4{background-color:#E3E9FD;} + .d2-1198633229 .background-color-B5{background-color:#EDF0FD;} + .d2-1198633229 .background-color-B6{background-color:#F7F8FE;} + .d2-1198633229 .background-color-AA2{background-color:#4A6FF3;} + .d2-1198633229 .background-color-AA4{background-color:#EDF0FD;} + .d2-1198633229 .background-color-AA5{background-color:#F7F8FE;} + .d2-1198633229 .background-color-AB4{background-color:#EDF0FD;} + .d2-1198633229 .background-color-AB5{background-color:#F7F8FE;} + .d2-1198633229 .color-N1{color:#0A0F25;} + .d2-1198633229 .color-N2{color:#676C7E;} + .d2-1198633229 .color-N3{color:#9499AB;} + .d2-1198633229 .color-N4{color:#CFD2DD;} + .d2-1198633229 .color-N5{color:#DEE1EB;} + .d2-1198633229 .color-N6{color:#EEF1F8;} + .d2-1198633229 .color-N7{color:#FFFFFF;} + .d2-1198633229 .color-B1{color:#0D32B2;} + .d2-1198633229 .color-B2{color:#0D32B2;} + .d2-1198633229 .color-B3{color:#E3E9FD;} + .d2-1198633229 .color-B4{color:#E3E9FD;} + .d2-1198633229 .color-B5{color:#EDF0FD;} + .d2-1198633229 .color-B6{color:#F7F8FE;} + .d2-1198633229 .color-AA2{color:#4A6FF3;} + .d2-1198633229 .color-AA4{color:#EDF0FD;} + .d2-1198633229 .color-AA5{color:#F7F8FE;} + .d2-1198633229 .color-AB4{color:#EDF0FD;} + .d2-1198633229 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b) +fmt.Printf("%d", b) \ No newline at end of file diff --git a/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg b/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg index 9c95b4dd3..6ac1e733c 100644 --- a/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg @@ -1,23 +1,23 @@ --numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 + .d2-2237614131 .fill-N1{fill:#0A0F25;} + .d2-2237614131 .fill-N2{fill:#676C7E;} + .d2-2237614131 .fill-N3{fill:#9499AB;} + .d2-2237614131 .fill-N4{fill:#CFD2DD;} + .d2-2237614131 .fill-N5{fill:#DEE1EB;} + .d2-2237614131 .fill-N6{fill:#EEF1F8;} + .d2-2237614131 .fill-N7{fill:#FFFFFF;} + .d2-2237614131 .fill-B1{fill:#0D32B2;} + .d2-2237614131 .fill-B2{fill:#0D32B2;} + .d2-2237614131 .fill-B3{fill:#E3E9FD;} + .d2-2237614131 .fill-B4{fill:#E3E9FD;} + .d2-2237614131 .fill-B5{fill:#EDF0FD;} + .d2-2237614131 .fill-B6{fill:#F7F8FE;} + .d2-2237614131 .fill-AA2{fill:#4A6FF3;} + .d2-2237614131 .fill-AA4{fill:#EDF0FD;} + .d2-2237614131 .fill-AA5{fill:#F7F8FE;} + .d2-2237614131 .fill-AB4{fill:#EDF0FD;} + .d2-2237614131 .fill-AB5{fill:#F7F8FE;} + .d2-2237614131 .stroke-N1{stroke:#0A0F25;} + .d2-2237614131 .stroke-N2{stroke:#676C7E;} + .d2-2237614131 .stroke-N3{stroke:#9499AB;} + .d2-2237614131 .stroke-N4{stroke:#CFD2DD;} + .d2-2237614131 .stroke-N5{stroke:#DEE1EB;} + .d2-2237614131 .stroke-N6{stroke:#EEF1F8;} + .d2-2237614131 .stroke-N7{stroke:#FFFFFF;} + .d2-2237614131 .stroke-B1{stroke:#0D32B2;} + .d2-2237614131 .stroke-B2{stroke:#0D32B2;} + .d2-2237614131 .stroke-B3{stroke:#E3E9FD;} + .d2-2237614131 .stroke-B4{stroke:#E3E9FD;} + .d2-2237614131 .stroke-B5{stroke:#EDF0FD;} + .d2-2237614131 .stroke-B6{stroke:#F7F8FE;} + .d2-2237614131 .stroke-AA2{stroke:#4A6FF3;} + .d2-2237614131 .stroke-AA4{stroke:#EDF0FD;} + .d2-2237614131 .stroke-AA5{stroke:#F7F8FE;} + .d2-2237614131 .stroke-AB4{stroke:#EDF0FD;} + .d2-2237614131 .stroke-AB5{stroke:#F7F8FE;} + .d2-2237614131 .background-color-N1{background-color:#0A0F25;} + .d2-2237614131 .background-color-N2{background-color:#676C7E;} + .d2-2237614131 .background-color-N3{background-color:#9499AB;} + .d2-2237614131 .background-color-N4{background-color:#CFD2DD;} + .d2-2237614131 .background-color-N5{background-color:#DEE1EB;} + .d2-2237614131 .background-color-N6{background-color:#EEF1F8;} + .d2-2237614131 .background-color-N7{background-color:#FFFFFF;} + .d2-2237614131 .background-color-B1{background-color:#0D32B2;} + .d2-2237614131 .background-color-B2{background-color:#0D32B2;} + .d2-2237614131 .background-color-B3{background-color:#E3E9FD;} + .d2-2237614131 .background-color-B4{background-color:#E3E9FD;} + .d2-2237614131 .background-color-B5{background-color:#EDF0FD;} + .d2-2237614131 .background-color-B6{background-color:#F7F8FE;} + .d2-2237614131 .background-color-AA2{background-color:#4A6FF3;} + .d2-2237614131 .background-color-AA4{background-color:#EDF0FD;} + .d2-2237614131 .background-color-AA5{background-color:#F7F8FE;} + .d2-2237614131 .background-color-AB4{background-color:#EDF0FD;} + .d2-2237614131 .background-color-AB5{background-color:#F7F8FE;} + .d2-2237614131 .color-N1{color:#0A0F25;} + .d2-2237614131 .color-N2{color:#676C7E;} + .d2-2237614131 .color-N3{color:#9499AB;} + .d2-2237614131 .color-N4{color:#CFD2DD;} + .d2-2237614131 .color-N5{color:#DEE1EB;} + .d2-2237614131 .color-N6{color:#EEF1F8;} + .d2-2237614131 .color-N7{color:#FFFFFF;} + .d2-2237614131 .color-B1{color:#0D32B2;} + .d2-2237614131 .color-B2{color:#0D32B2;} + .d2-2237614131 .color-B3{color:#E3E9FD;} + .d2-2237614131 .color-B4{color:#E3E9FD;} + .d2-2237614131 .color-B5{color:#EDF0FD;} + .d2-2237614131 .color-B6{color:#F7F8FE;} + .d2-2237614131 .color-AA2{color:#4A6FF3;} + .d2-2237614131 .color-AA4{color:#EDF0FD;} + .d2-2237614131 .color-AA5{color:#F7F8FE;} + .d2-2237614131 .color-AB4{color:#EDF0FD;} + .d2-2237614131 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b) +fmt.Printf("%d", b) \ No newline at end of file diff --git a/e2etests/testdata/root/border-radius/dagre/sketch.exp.svg b/e2etests/testdata/root/border-radius/dagre/sketch.exp.svg index 418187501..30a96c32b 100644 --- a/e2etests/testdata/root/border-radius/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/border-radius/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-32146059 .fill-N1{fill:#0A0F25;} + .d2-32146059 .fill-N2{fill:#676C7E;} + .d2-32146059 .fill-N3{fill:#9499AB;} + .d2-32146059 .fill-N4{fill:#CFD2DD;} + .d2-32146059 .fill-N5{fill:#DEE1EB;} + .d2-32146059 .fill-N6{fill:#EEF1F8;} + .d2-32146059 .fill-N7{fill:#FFFFFF;} + .d2-32146059 .fill-B1{fill:#0D32B2;} + .d2-32146059 .fill-B2{fill:#0D32B2;} + .d2-32146059 .fill-B3{fill:#E3E9FD;} + .d2-32146059 .fill-B4{fill:#E3E9FD;} + .d2-32146059 .fill-B5{fill:#EDF0FD;} + .d2-32146059 .fill-B6{fill:#F7F8FE;} + .d2-32146059 .fill-AA2{fill:#4A6FF3;} + .d2-32146059 .fill-AA4{fill:#EDF0FD;} + .d2-32146059 .fill-AA5{fill:#F7F8FE;} + .d2-32146059 .fill-AB4{fill:#EDF0FD;} + .d2-32146059 .fill-AB5{fill:#F7F8FE;} + .d2-32146059 .stroke-N1{stroke:#0A0F25;} + .d2-32146059 .stroke-N2{stroke:#676C7E;} + .d2-32146059 .stroke-N3{stroke:#9499AB;} + .d2-32146059 .stroke-N4{stroke:#CFD2DD;} + .d2-32146059 .stroke-N5{stroke:#DEE1EB;} + .d2-32146059 .stroke-N6{stroke:#EEF1F8;} + .d2-32146059 .stroke-N7{stroke:#FFFFFF;} + .d2-32146059 .stroke-B1{stroke:#0D32B2;} + .d2-32146059 .stroke-B2{stroke:#0D32B2;} + .d2-32146059 .stroke-B3{stroke:#E3E9FD;} + .d2-32146059 .stroke-B4{stroke:#E3E9FD;} + .d2-32146059 .stroke-B5{stroke:#EDF0FD;} + .d2-32146059 .stroke-B6{stroke:#F7F8FE;} + .d2-32146059 .stroke-AA2{stroke:#4A6FF3;} + .d2-32146059 .stroke-AA4{stroke:#EDF0FD;} + .d2-32146059 .stroke-AA5{stroke:#F7F8FE;} + .d2-32146059 .stroke-AB4{stroke:#EDF0FD;} + .d2-32146059 .stroke-AB5{stroke:#F7F8FE;} + .d2-32146059 .background-color-N1{background-color:#0A0F25;} + .d2-32146059 .background-color-N2{background-color:#676C7E;} + .d2-32146059 .background-color-N3{background-color:#9499AB;} + .d2-32146059 .background-color-N4{background-color:#CFD2DD;} + .d2-32146059 .background-color-N5{background-color:#DEE1EB;} + .d2-32146059 .background-color-N6{background-color:#EEF1F8;} + .d2-32146059 .background-color-N7{background-color:#FFFFFF;} + .d2-32146059 .background-color-B1{background-color:#0D32B2;} + .d2-32146059 .background-color-B2{background-color:#0D32B2;} + .d2-32146059 .background-color-B3{background-color:#E3E9FD;} + .d2-32146059 .background-color-B4{background-color:#E3E9FD;} + .d2-32146059 .background-color-B5{background-color:#EDF0FD;} + .d2-32146059 .background-color-B6{background-color:#F7F8FE;} + .d2-32146059 .background-color-AA2{background-color:#4A6FF3;} + .d2-32146059 .background-color-AA4{background-color:#EDF0FD;} + .d2-32146059 .background-color-AA5{background-color:#F7F8FE;} + .d2-32146059 .background-color-AB4{background-color:#EDF0FD;} + .d2-32146059 .background-color-AB5{background-color:#F7F8FE;} + .d2-32146059 .color-N1{color:#0A0F25;} + .d2-32146059 .color-N2{color:#676C7E;} + .d2-32146059 .color-N3{color:#9499AB;} + .d2-32146059 .color-N4{color:#CFD2DD;} + .d2-32146059 .color-N5{color:#DEE1EB;} + .d2-32146059 .color-N6{color:#EEF1F8;} + .d2-32146059 .color-N7{color:#FFFFFF;} + .d2-32146059 .color-B1{color:#0D32B2;} + .d2-32146059 .color-B2{color:#0D32B2;} + .d2-32146059 .color-B3{color:#E3E9FD;} + .d2-32146059 .color-B4{color:#E3E9FD;} + .d2-32146059 .color-B5{color:#EDF0FD;} + .d2-32146059 .color-B6{color:#F7F8FE;} + .d2-32146059 .color-AA2{color:#4A6FF3;} + .d2-32146059 .color-AA4{color:#EDF0FD;} + .d2-32146059 .color-AA5{color:#F7F8FE;} + .d2-32146059 .color-AB4{color:#EDF0FD;} + .d2-32146059 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/border-radius/elk/sketch.exp.svg b/e2etests/testdata/root/border-radius/elk/sketch.exp.svg index ddf345162..2454ae3f3 100644 --- a/e2etests/testdata/root/border-radius/elk/sketch.exp.svg +++ b/e2etests/testdata/root/border-radius/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-1121852226 .fill-N1{fill:#0A0F25;} + .d2-1121852226 .fill-N2{fill:#676C7E;} + .d2-1121852226 .fill-N3{fill:#9499AB;} + .d2-1121852226 .fill-N4{fill:#CFD2DD;} + .d2-1121852226 .fill-N5{fill:#DEE1EB;} + .d2-1121852226 .fill-N6{fill:#EEF1F8;} + .d2-1121852226 .fill-N7{fill:#FFFFFF;} + .d2-1121852226 .fill-B1{fill:#0D32B2;} + .d2-1121852226 .fill-B2{fill:#0D32B2;} + .d2-1121852226 .fill-B3{fill:#E3E9FD;} + .d2-1121852226 .fill-B4{fill:#E3E9FD;} + .d2-1121852226 .fill-B5{fill:#EDF0FD;} + .d2-1121852226 .fill-B6{fill:#F7F8FE;} + .d2-1121852226 .fill-AA2{fill:#4A6FF3;} + .d2-1121852226 .fill-AA4{fill:#EDF0FD;} + .d2-1121852226 .fill-AA5{fill:#F7F8FE;} + .d2-1121852226 .fill-AB4{fill:#EDF0FD;} + .d2-1121852226 .fill-AB5{fill:#F7F8FE;} + .d2-1121852226 .stroke-N1{stroke:#0A0F25;} + .d2-1121852226 .stroke-N2{stroke:#676C7E;} + .d2-1121852226 .stroke-N3{stroke:#9499AB;} + .d2-1121852226 .stroke-N4{stroke:#CFD2DD;} + .d2-1121852226 .stroke-N5{stroke:#DEE1EB;} + .d2-1121852226 .stroke-N6{stroke:#EEF1F8;} + .d2-1121852226 .stroke-N7{stroke:#FFFFFF;} + .d2-1121852226 .stroke-B1{stroke:#0D32B2;} + .d2-1121852226 .stroke-B2{stroke:#0D32B2;} + .d2-1121852226 .stroke-B3{stroke:#E3E9FD;} + .d2-1121852226 .stroke-B4{stroke:#E3E9FD;} + .d2-1121852226 .stroke-B5{stroke:#EDF0FD;} + .d2-1121852226 .stroke-B6{stroke:#F7F8FE;} + .d2-1121852226 .stroke-AA2{stroke:#4A6FF3;} + .d2-1121852226 .stroke-AA4{stroke:#EDF0FD;} + .d2-1121852226 .stroke-AA5{stroke:#F7F8FE;} + .d2-1121852226 .stroke-AB4{stroke:#EDF0FD;} + .d2-1121852226 .stroke-AB5{stroke:#F7F8FE;} + .d2-1121852226 .background-color-N1{background-color:#0A0F25;} + .d2-1121852226 .background-color-N2{background-color:#676C7E;} + .d2-1121852226 .background-color-N3{background-color:#9499AB;} + .d2-1121852226 .background-color-N4{background-color:#CFD2DD;} + .d2-1121852226 .background-color-N5{background-color:#DEE1EB;} + .d2-1121852226 .background-color-N6{background-color:#EEF1F8;} + .d2-1121852226 .background-color-N7{background-color:#FFFFFF;} + .d2-1121852226 .background-color-B1{background-color:#0D32B2;} + .d2-1121852226 .background-color-B2{background-color:#0D32B2;} + .d2-1121852226 .background-color-B3{background-color:#E3E9FD;} + .d2-1121852226 .background-color-B4{background-color:#E3E9FD;} + .d2-1121852226 .background-color-B5{background-color:#EDF0FD;} + .d2-1121852226 .background-color-B6{background-color:#F7F8FE;} + .d2-1121852226 .background-color-AA2{background-color:#4A6FF3;} + .d2-1121852226 .background-color-AA4{background-color:#EDF0FD;} + .d2-1121852226 .background-color-AA5{background-color:#F7F8FE;} + .d2-1121852226 .background-color-AB4{background-color:#EDF0FD;} + .d2-1121852226 .background-color-AB5{background-color:#F7F8FE;} + .d2-1121852226 .color-N1{color:#0A0F25;} + .d2-1121852226 .color-N2{color:#676C7E;} + .d2-1121852226 .color-N3{color:#9499AB;} + .d2-1121852226 .color-N4{color:#CFD2DD;} + .d2-1121852226 .color-N5{color:#DEE1EB;} + .d2-1121852226 .color-N6{color:#EEF1F8;} + .d2-1121852226 .color-N7{color:#FFFFFF;} + .d2-1121852226 .color-B1{color:#0D32B2;} + .d2-1121852226 .color-B2{color:#0D32B2;} + .d2-1121852226 .color-B3{color:#E3E9FD;} + .d2-1121852226 .color-B4{color:#E3E9FD;} + .d2-1121852226 .color-B5{color:#EDF0FD;} + .d2-1121852226 .color-B6{color:#F7F8FE;} + .d2-1121852226 .color-AA2{color:#4A6FF3;} + .d2-1121852226 .color-AA4{color:#EDF0FD;} + .d2-1121852226 .color-AA5{color:#F7F8FE;} + .d2-1121852226 .color-AB4{color:#EDF0FD;} + .d2-1121852226 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/double-border/dagre/sketch.exp.svg b/e2etests/testdata/root/double-border/dagre/sketch.exp.svg index c57e50cde..8d03fddc2 100644 --- a/e2etests/testdata/root/double-border/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/double-border/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-1459342231 .fill-N1{fill:#0A0F25;} + .d2-1459342231 .fill-N2{fill:#676C7E;} + .d2-1459342231 .fill-N3{fill:#9499AB;} + .d2-1459342231 .fill-N4{fill:#CFD2DD;} + .d2-1459342231 .fill-N5{fill:#DEE1EB;} + .d2-1459342231 .fill-N6{fill:#EEF1F8;} + .d2-1459342231 .fill-N7{fill:#FFFFFF;} + .d2-1459342231 .fill-B1{fill:#0D32B2;} + .d2-1459342231 .fill-B2{fill:#0D32B2;} + .d2-1459342231 .fill-B3{fill:#E3E9FD;} + .d2-1459342231 .fill-B4{fill:#E3E9FD;} + .d2-1459342231 .fill-B5{fill:#EDF0FD;} + .d2-1459342231 .fill-B6{fill:#F7F8FE;} + .d2-1459342231 .fill-AA2{fill:#4A6FF3;} + .d2-1459342231 .fill-AA4{fill:#EDF0FD;} + .d2-1459342231 .fill-AA5{fill:#F7F8FE;} + .d2-1459342231 .fill-AB4{fill:#EDF0FD;} + .d2-1459342231 .fill-AB5{fill:#F7F8FE;} + .d2-1459342231 .stroke-N1{stroke:#0A0F25;} + .d2-1459342231 .stroke-N2{stroke:#676C7E;} + .d2-1459342231 .stroke-N3{stroke:#9499AB;} + .d2-1459342231 .stroke-N4{stroke:#CFD2DD;} + .d2-1459342231 .stroke-N5{stroke:#DEE1EB;} + .d2-1459342231 .stroke-N6{stroke:#EEF1F8;} + .d2-1459342231 .stroke-N7{stroke:#FFFFFF;} + .d2-1459342231 .stroke-B1{stroke:#0D32B2;} + .d2-1459342231 .stroke-B2{stroke:#0D32B2;} + .d2-1459342231 .stroke-B3{stroke:#E3E9FD;} + .d2-1459342231 .stroke-B4{stroke:#E3E9FD;} + .d2-1459342231 .stroke-B5{stroke:#EDF0FD;} + .d2-1459342231 .stroke-B6{stroke:#F7F8FE;} + .d2-1459342231 .stroke-AA2{stroke:#4A6FF3;} + .d2-1459342231 .stroke-AA4{stroke:#EDF0FD;} + .d2-1459342231 .stroke-AA5{stroke:#F7F8FE;} + .d2-1459342231 .stroke-AB4{stroke:#EDF0FD;} + .d2-1459342231 .stroke-AB5{stroke:#F7F8FE;} + .d2-1459342231 .background-color-N1{background-color:#0A0F25;} + .d2-1459342231 .background-color-N2{background-color:#676C7E;} + .d2-1459342231 .background-color-N3{background-color:#9499AB;} + .d2-1459342231 .background-color-N4{background-color:#CFD2DD;} + .d2-1459342231 .background-color-N5{background-color:#DEE1EB;} + .d2-1459342231 .background-color-N6{background-color:#EEF1F8;} + .d2-1459342231 .background-color-N7{background-color:#FFFFFF;} + .d2-1459342231 .background-color-B1{background-color:#0D32B2;} + .d2-1459342231 .background-color-B2{background-color:#0D32B2;} + .d2-1459342231 .background-color-B3{background-color:#E3E9FD;} + .d2-1459342231 .background-color-B4{background-color:#E3E9FD;} + .d2-1459342231 .background-color-B5{background-color:#EDF0FD;} + .d2-1459342231 .background-color-B6{background-color:#F7F8FE;} + .d2-1459342231 .background-color-AA2{background-color:#4A6FF3;} + .d2-1459342231 .background-color-AA4{background-color:#EDF0FD;} + .d2-1459342231 .background-color-AA5{background-color:#F7F8FE;} + .d2-1459342231 .background-color-AB4{background-color:#EDF0FD;} + .d2-1459342231 .background-color-AB5{background-color:#F7F8FE;} + .d2-1459342231 .color-N1{color:#0A0F25;} + .d2-1459342231 .color-N2{color:#676C7E;} + .d2-1459342231 .color-N3{color:#9499AB;} + .d2-1459342231 .color-N4{color:#CFD2DD;} + .d2-1459342231 .color-N5{color:#DEE1EB;} + .d2-1459342231 .color-N6{color:#EEF1F8;} + .d2-1459342231 .color-N7{color:#FFFFFF;} + .d2-1459342231 .color-B1{color:#0D32B2;} + .d2-1459342231 .color-B2{color:#0D32B2;} + .d2-1459342231 .color-B3{color:#E3E9FD;} + .d2-1459342231 .color-B4{color:#E3E9FD;} + .d2-1459342231 .color-B5{color:#EDF0FD;} + .d2-1459342231 .color-B6{color:#F7F8FE;} + .d2-1459342231 .color-AA2{color:#4A6FF3;} + .d2-1459342231 .color-AA4{color:#EDF0FD;} + .d2-1459342231 .color-AA5{color:#F7F8FE;} + .d2-1459342231 .color-AB4{color:#EDF0FD;} + .d2-1459342231 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/double-border/elk/sketch.exp.svg b/e2etests/testdata/root/double-border/elk/sketch.exp.svg index 7a8e514ac..6fece6f76 100644 --- a/e2etests/testdata/root/double-border/elk/sketch.exp.svg +++ b/e2etests/testdata/root/double-border/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-3587663802 .fill-N1{fill:#0A0F25;} + .d2-3587663802 .fill-N2{fill:#676C7E;} + .d2-3587663802 .fill-N3{fill:#9499AB;} + .d2-3587663802 .fill-N4{fill:#CFD2DD;} + .d2-3587663802 .fill-N5{fill:#DEE1EB;} + .d2-3587663802 .fill-N6{fill:#EEF1F8;} + .d2-3587663802 .fill-N7{fill:#FFFFFF;} + .d2-3587663802 .fill-B1{fill:#0D32B2;} + .d2-3587663802 .fill-B2{fill:#0D32B2;} + .d2-3587663802 .fill-B3{fill:#E3E9FD;} + .d2-3587663802 .fill-B4{fill:#E3E9FD;} + .d2-3587663802 .fill-B5{fill:#EDF0FD;} + .d2-3587663802 .fill-B6{fill:#F7F8FE;} + .d2-3587663802 .fill-AA2{fill:#4A6FF3;} + .d2-3587663802 .fill-AA4{fill:#EDF0FD;} + .d2-3587663802 .fill-AA5{fill:#F7F8FE;} + .d2-3587663802 .fill-AB4{fill:#EDF0FD;} + .d2-3587663802 .fill-AB5{fill:#F7F8FE;} + .d2-3587663802 .stroke-N1{stroke:#0A0F25;} + .d2-3587663802 .stroke-N2{stroke:#676C7E;} + .d2-3587663802 .stroke-N3{stroke:#9499AB;} + .d2-3587663802 .stroke-N4{stroke:#CFD2DD;} + .d2-3587663802 .stroke-N5{stroke:#DEE1EB;} + .d2-3587663802 .stroke-N6{stroke:#EEF1F8;} + .d2-3587663802 .stroke-N7{stroke:#FFFFFF;} + .d2-3587663802 .stroke-B1{stroke:#0D32B2;} + .d2-3587663802 .stroke-B2{stroke:#0D32B2;} + .d2-3587663802 .stroke-B3{stroke:#E3E9FD;} + .d2-3587663802 .stroke-B4{stroke:#E3E9FD;} + .d2-3587663802 .stroke-B5{stroke:#EDF0FD;} + .d2-3587663802 .stroke-B6{stroke:#F7F8FE;} + .d2-3587663802 .stroke-AA2{stroke:#4A6FF3;} + .d2-3587663802 .stroke-AA4{stroke:#EDF0FD;} + .d2-3587663802 .stroke-AA5{stroke:#F7F8FE;} + .d2-3587663802 .stroke-AB4{stroke:#EDF0FD;} + .d2-3587663802 .stroke-AB5{stroke:#F7F8FE;} + .d2-3587663802 .background-color-N1{background-color:#0A0F25;} + .d2-3587663802 .background-color-N2{background-color:#676C7E;} + .d2-3587663802 .background-color-N3{background-color:#9499AB;} + .d2-3587663802 .background-color-N4{background-color:#CFD2DD;} + .d2-3587663802 .background-color-N5{background-color:#DEE1EB;} + .d2-3587663802 .background-color-N6{background-color:#EEF1F8;} + .d2-3587663802 .background-color-N7{background-color:#FFFFFF;} + .d2-3587663802 .background-color-B1{background-color:#0D32B2;} + .d2-3587663802 .background-color-B2{background-color:#0D32B2;} + .d2-3587663802 .background-color-B3{background-color:#E3E9FD;} + .d2-3587663802 .background-color-B4{background-color:#E3E9FD;} + .d2-3587663802 .background-color-B5{background-color:#EDF0FD;} + .d2-3587663802 .background-color-B6{background-color:#F7F8FE;} + .d2-3587663802 .background-color-AA2{background-color:#4A6FF3;} + .d2-3587663802 .background-color-AA4{background-color:#EDF0FD;} + .d2-3587663802 .background-color-AA5{background-color:#F7F8FE;} + .d2-3587663802 .background-color-AB4{background-color:#EDF0FD;} + .d2-3587663802 .background-color-AB5{background-color:#F7F8FE;} + .d2-3587663802 .color-N1{color:#0A0F25;} + .d2-3587663802 .color-N2{color:#676C7E;} + .d2-3587663802 .color-N3{color:#9499AB;} + .d2-3587663802 .color-N4{color:#CFD2DD;} + .d2-3587663802 .color-N5{color:#DEE1EB;} + .d2-3587663802 .color-N6{color:#EEF1F8;} + .d2-3587663802 .color-N7{color:#FFFFFF;} + .d2-3587663802 .color-B1{color:#0D32B2;} + .d2-3587663802 .color-B2{color:#0D32B2;} + .d2-3587663802 .color-B3{color:#E3E9FD;} + .d2-3587663802 .color-B4{color:#E3E9FD;} + .d2-3587663802 .color-B5{color:#EDF0FD;} + .d2-3587663802 .color-B6{color:#F7F8FE;} + .d2-3587663802 .color-AA2{color:#4A6FF3;} + .d2-3587663802 .color-AA4{color:#EDF0FD;} + .d2-3587663802 .color-AA5{color:#F7F8FE;} + .d2-3587663802 .color-AB4{color:#EDF0FD;} + .d2-3587663802 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/even-stroke-width/dagre/sketch.exp.svg b/e2etests/testdata/root/even-stroke-width/dagre/sketch.exp.svg index b25e30fa3..23af019ef 100644 --- a/e2etests/testdata/root/even-stroke-width/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/even-stroke-width/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-1612328283 .fill-N1{fill:#0A0F25;} + .d2-1612328283 .fill-N2{fill:#676C7E;} + .d2-1612328283 .fill-N3{fill:#9499AB;} + .d2-1612328283 .fill-N4{fill:#CFD2DD;} + .d2-1612328283 .fill-N5{fill:#DEE1EB;} + .d2-1612328283 .fill-N6{fill:#EEF1F8;} + .d2-1612328283 .fill-N7{fill:#FFFFFF;} + .d2-1612328283 .fill-B1{fill:#0D32B2;} + .d2-1612328283 .fill-B2{fill:#0D32B2;} + .d2-1612328283 .fill-B3{fill:#E3E9FD;} + .d2-1612328283 .fill-B4{fill:#E3E9FD;} + .d2-1612328283 .fill-B5{fill:#EDF0FD;} + .d2-1612328283 .fill-B6{fill:#F7F8FE;} + .d2-1612328283 .fill-AA2{fill:#4A6FF3;} + .d2-1612328283 .fill-AA4{fill:#EDF0FD;} + .d2-1612328283 .fill-AA5{fill:#F7F8FE;} + .d2-1612328283 .fill-AB4{fill:#EDF0FD;} + .d2-1612328283 .fill-AB5{fill:#F7F8FE;} + .d2-1612328283 .stroke-N1{stroke:#0A0F25;} + .d2-1612328283 .stroke-N2{stroke:#676C7E;} + .d2-1612328283 .stroke-N3{stroke:#9499AB;} + .d2-1612328283 .stroke-N4{stroke:#CFD2DD;} + .d2-1612328283 .stroke-N5{stroke:#DEE1EB;} + .d2-1612328283 .stroke-N6{stroke:#EEF1F8;} + .d2-1612328283 .stroke-N7{stroke:#FFFFFF;} + .d2-1612328283 .stroke-B1{stroke:#0D32B2;} + .d2-1612328283 .stroke-B2{stroke:#0D32B2;} + .d2-1612328283 .stroke-B3{stroke:#E3E9FD;} + .d2-1612328283 .stroke-B4{stroke:#E3E9FD;} + .d2-1612328283 .stroke-B5{stroke:#EDF0FD;} + .d2-1612328283 .stroke-B6{stroke:#F7F8FE;} + .d2-1612328283 .stroke-AA2{stroke:#4A6FF3;} + .d2-1612328283 .stroke-AA4{stroke:#EDF0FD;} + .d2-1612328283 .stroke-AA5{stroke:#F7F8FE;} + .d2-1612328283 .stroke-AB4{stroke:#EDF0FD;} + .d2-1612328283 .stroke-AB5{stroke:#F7F8FE;} + .d2-1612328283 .background-color-N1{background-color:#0A0F25;} + .d2-1612328283 .background-color-N2{background-color:#676C7E;} + .d2-1612328283 .background-color-N3{background-color:#9499AB;} + .d2-1612328283 .background-color-N4{background-color:#CFD2DD;} + .d2-1612328283 .background-color-N5{background-color:#DEE1EB;} + .d2-1612328283 .background-color-N6{background-color:#EEF1F8;} + .d2-1612328283 .background-color-N7{background-color:#FFFFFF;} + .d2-1612328283 .background-color-B1{background-color:#0D32B2;} + .d2-1612328283 .background-color-B2{background-color:#0D32B2;} + .d2-1612328283 .background-color-B3{background-color:#E3E9FD;} + .d2-1612328283 .background-color-B4{background-color:#E3E9FD;} + .d2-1612328283 .background-color-B5{background-color:#EDF0FD;} + .d2-1612328283 .background-color-B6{background-color:#F7F8FE;} + .d2-1612328283 .background-color-AA2{background-color:#4A6FF3;} + .d2-1612328283 .background-color-AA4{background-color:#EDF0FD;} + .d2-1612328283 .background-color-AA5{background-color:#F7F8FE;} + .d2-1612328283 .background-color-AB4{background-color:#EDF0FD;} + .d2-1612328283 .background-color-AB5{background-color:#F7F8FE;} + .d2-1612328283 .color-N1{color:#0A0F25;} + .d2-1612328283 .color-N2{color:#676C7E;} + .d2-1612328283 .color-N3{color:#9499AB;} + .d2-1612328283 .color-N4{color:#CFD2DD;} + .d2-1612328283 .color-N5{color:#DEE1EB;} + .d2-1612328283 .color-N6{color:#EEF1F8;} + .d2-1612328283 .color-N7{color:#FFFFFF;} + .d2-1612328283 .color-B1{color:#0D32B2;} + .d2-1612328283 .color-B2{color:#0D32B2;} + .d2-1612328283 .color-B3{color:#E3E9FD;} + .d2-1612328283 .color-B4{color:#E3E9FD;} + .d2-1612328283 .color-B5{color:#EDF0FD;} + .d2-1612328283 .color-B6{color:#F7F8FE;} + .d2-1612328283 .color-AA2{color:#4A6FF3;} + .d2-1612328283 .color-AA4{color:#EDF0FD;} + .d2-1612328283 .color-AA5{color:#F7F8FE;} + .d2-1612328283 .color-AB4{color:#EDF0FD;} + .d2-1612328283 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/even-stroke-width/elk/sketch.exp.svg b/e2etests/testdata/root/even-stroke-width/elk/sketch.exp.svg index 2faa3d02d..397d88b7f 100644 --- a/e2etests/testdata/root/even-stroke-width/elk/sketch.exp.svg +++ b/e2etests/testdata/root/even-stroke-width/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-3378002600 .fill-N1{fill:#0A0F25;} + .d2-3378002600 .fill-N2{fill:#676C7E;} + .d2-3378002600 .fill-N3{fill:#9499AB;} + .d2-3378002600 .fill-N4{fill:#CFD2DD;} + .d2-3378002600 .fill-N5{fill:#DEE1EB;} + .d2-3378002600 .fill-N6{fill:#EEF1F8;} + .d2-3378002600 .fill-N7{fill:#FFFFFF;} + .d2-3378002600 .fill-B1{fill:#0D32B2;} + .d2-3378002600 .fill-B2{fill:#0D32B2;} + .d2-3378002600 .fill-B3{fill:#E3E9FD;} + .d2-3378002600 .fill-B4{fill:#E3E9FD;} + .d2-3378002600 .fill-B5{fill:#EDF0FD;} + .d2-3378002600 .fill-B6{fill:#F7F8FE;} + .d2-3378002600 .fill-AA2{fill:#4A6FF3;} + .d2-3378002600 .fill-AA4{fill:#EDF0FD;} + .d2-3378002600 .fill-AA5{fill:#F7F8FE;} + .d2-3378002600 .fill-AB4{fill:#EDF0FD;} + .d2-3378002600 .fill-AB5{fill:#F7F8FE;} + .d2-3378002600 .stroke-N1{stroke:#0A0F25;} + .d2-3378002600 .stroke-N2{stroke:#676C7E;} + .d2-3378002600 .stroke-N3{stroke:#9499AB;} + .d2-3378002600 .stroke-N4{stroke:#CFD2DD;} + .d2-3378002600 .stroke-N5{stroke:#DEE1EB;} + .d2-3378002600 .stroke-N6{stroke:#EEF1F8;} + .d2-3378002600 .stroke-N7{stroke:#FFFFFF;} + .d2-3378002600 .stroke-B1{stroke:#0D32B2;} + .d2-3378002600 .stroke-B2{stroke:#0D32B2;} + .d2-3378002600 .stroke-B3{stroke:#E3E9FD;} + .d2-3378002600 .stroke-B4{stroke:#E3E9FD;} + .d2-3378002600 .stroke-B5{stroke:#EDF0FD;} + .d2-3378002600 .stroke-B6{stroke:#F7F8FE;} + .d2-3378002600 .stroke-AA2{stroke:#4A6FF3;} + .d2-3378002600 .stroke-AA4{stroke:#EDF0FD;} + .d2-3378002600 .stroke-AA5{stroke:#F7F8FE;} + .d2-3378002600 .stroke-AB4{stroke:#EDF0FD;} + .d2-3378002600 .stroke-AB5{stroke:#F7F8FE;} + .d2-3378002600 .background-color-N1{background-color:#0A0F25;} + .d2-3378002600 .background-color-N2{background-color:#676C7E;} + .d2-3378002600 .background-color-N3{background-color:#9499AB;} + .d2-3378002600 .background-color-N4{background-color:#CFD2DD;} + .d2-3378002600 .background-color-N5{background-color:#DEE1EB;} + .d2-3378002600 .background-color-N6{background-color:#EEF1F8;} + .d2-3378002600 .background-color-N7{background-color:#FFFFFF;} + .d2-3378002600 .background-color-B1{background-color:#0D32B2;} + .d2-3378002600 .background-color-B2{background-color:#0D32B2;} + .d2-3378002600 .background-color-B3{background-color:#E3E9FD;} + .d2-3378002600 .background-color-B4{background-color:#E3E9FD;} + .d2-3378002600 .background-color-B5{background-color:#EDF0FD;} + .d2-3378002600 .background-color-B6{background-color:#F7F8FE;} + .d2-3378002600 .background-color-AA2{background-color:#4A6FF3;} + .d2-3378002600 .background-color-AA4{background-color:#EDF0FD;} + .d2-3378002600 .background-color-AA5{background-color:#F7F8FE;} + .d2-3378002600 .background-color-AB4{background-color:#EDF0FD;} + .d2-3378002600 .background-color-AB5{background-color:#F7F8FE;} + .d2-3378002600 .color-N1{color:#0A0F25;} + .d2-3378002600 .color-N2{color:#676C7E;} + .d2-3378002600 .color-N3{color:#9499AB;} + .d2-3378002600 .color-N4{color:#CFD2DD;} + .d2-3378002600 .color-N5{color:#DEE1EB;} + .d2-3378002600 .color-N6{color:#EEF1F8;} + .d2-3378002600 .color-N7{color:#FFFFFF;} + .d2-3378002600 .color-B1{color:#0D32B2;} + .d2-3378002600 .color-B2{color:#0D32B2;} + .d2-3378002600 .color-B3{color:#E3E9FD;} + .d2-3378002600 .color-B4{color:#E3E9FD;} + .d2-3378002600 .color-B5{color:#EDF0FD;} + .d2-3378002600 .color-B6{color:#F7F8FE;} + .d2-3378002600 .color-AA2{color:#4A6FF3;} + .d2-3378002600 .color-AA4{color:#EDF0FD;} + .d2-3378002600 .color-AA5{color:#F7F8FE;} + .d2-3378002600 .color-AB4{color:#EDF0FD;} + .d2-3378002600 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/fill/dagre/sketch.exp.svg b/e2etests/testdata/root/fill/dagre/sketch.exp.svg index ac6c638bc..8be7e6d5b 100644 --- a/e2etests/testdata/root/fill/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/fill/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-2413215483 .fill-N1{fill:#0A0F25;} + .d2-2413215483 .fill-N2{fill:#676C7E;} + .d2-2413215483 .fill-N3{fill:#9499AB;} + .d2-2413215483 .fill-N4{fill:#CFD2DD;} + .d2-2413215483 .fill-N5{fill:#DEE1EB;} + .d2-2413215483 .fill-N6{fill:#EEF1F8;} + .d2-2413215483 .fill-N7{fill:#FFFFFF;} + .d2-2413215483 .fill-B1{fill:#0D32B2;} + .d2-2413215483 .fill-B2{fill:#0D32B2;} + .d2-2413215483 .fill-B3{fill:#E3E9FD;} + .d2-2413215483 .fill-B4{fill:#E3E9FD;} + .d2-2413215483 .fill-B5{fill:#EDF0FD;} + .d2-2413215483 .fill-B6{fill:#F7F8FE;} + .d2-2413215483 .fill-AA2{fill:#4A6FF3;} + .d2-2413215483 .fill-AA4{fill:#EDF0FD;} + .d2-2413215483 .fill-AA5{fill:#F7F8FE;} + .d2-2413215483 .fill-AB4{fill:#EDF0FD;} + .d2-2413215483 .fill-AB5{fill:#F7F8FE;} + .d2-2413215483 .stroke-N1{stroke:#0A0F25;} + .d2-2413215483 .stroke-N2{stroke:#676C7E;} + .d2-2413215483 .stroke-N3{stroke:#9499AB;} + .d2-2413215483 .stroke-N4{stroke:#CFD2DD;} + .d2-2413215483 .stroke-N5{stroke:#DEE1EB;} + .d2-2413215483 .stroke-N6{stroke:#EEF1F8;} + .d2-2413215483 .stroke-N7{stroke:#FFFFFF;} + .d2-2413215483 .stroke-B1{stroke:#0D32B2;} + .d2-2413215483 .stroke-B2{stroke:#0D32B2;} + .d2-2413215483 .stroke-B3{stroke:#E3E9FD;} + .d2-2413215483 .stroke-B4{stroke:#E3E9FD;} + .d2-2413215483 .stroke-B5{stroke:#EDF0FD;} + .d2-2413215483 .stroke-B6{stroke:#F7F8FE;} + .d2-2413215483 .stroke-AA2{stroke:#4A6FF3;} + .d2-2413215483 .stroke-AA4{stroke:#EDF0FD;} + .d2-2413215483 .stroke-AA5{stroke:#F7F8FE;} + .d2-2413215483 .stroke-AB4{stroke:#EDF0FD;} + .d2-2413215483 .stroke-AB5{stroke:#F7F8FE;} + .d2-2413215483 .background-color-N1{background-color:#0A0F25;} + .d2-2413215483 .background-color-N2{background-color:#676C7E;} + .d2-2413215483 .background-color-N3{background-color:#9499AB;} + .d2-2413215483 .background-color-N4{background-color:#CFD2DD;} + .d2-2413215483 .background-color-N5{background-color:#DEE1EB;} + .d2-2413215483 .background-color-N6{background-color:#EEF1F8;} + .d2-2413215483 .background-color-N7{background-color:#FFFFFF;} + .d2-2413215483 .background-color-B1{background-color:#0D32B2;} + .d2-2413215483 .background-color-B2{background-color:#0D32B2;} + .d2-2413215483 .background-color-B3{background-color:#E3E9FD;} + .d2-2413215483 .background-color-B4{background-color:#E3E9FD;} + .d2-2413215483 .background-color-B5{background-color:#EDF0FD;} + .d2-2413215483 .background-color-B6{background-color:#F7F8FE;} + .d2-2413215483 .background-color-AA2{background-color:#4A6FF3;} + .d2-2413215483 .background-color-AA4{background-color:#EDF0FD;} + .d2-2413215483 .background-color-AA5{background-color:#F7F8FE;} + .d2-2413215483 .background-color-AB4{background-color:#EDF0FD;} + .d2-2413215483 .background-color-AB5{background-color:#F7F8FE;} + .d2-2413215483 .color-N1{color:#0A0F25;} + .d2-2413215483 .color-N2{color:#676C7E;} + .d2-2413215483 .color-N3{color:#9499AB;} + .d2-2413215483 .color-N4{color:#CFD2DD;} + .d2-2413215483 .color-N5{color:#DEE1EB;} + .d2-2413215483 .color-N6{color:#EEF1F8;} + .d2-2413215483 .color-N7{color:#FFFFFF;} + .d2-2413215483 .color-B1{color:#0D32B2;} + .d2-2413215483 .color-B2{color:#0D32B2;} + .d2-2413215483 .color-B3{color:#E3E9FD;} + .d2-2413215483 .color-B4{color:#E3E9FD;} + .d2-2413215483 .color-B5{color:#EDF0FD;} + .d2-2413215483 .color-B6{color:#F7F8FE;} + .d2-2413215483 .color-AA2{color:#4A6FF3;} + .d2-2413215483 .color-AA4{color:#EDF0FD;} + .d2-2413215483 .color-AA5{color:#F7F8FE;} + .d2-2413215483 .color-AB4{color:#EDF0FD;} + .d2-2413215483 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/fill/elk/sketch.exp.svg b/e2etests/testdata/root/fill/elk/sketch.exp.svg index a17b61d77..35a2299b1 100644 --- a/e2etests/testdata/root/fill/elk/sketch.exp.svg +++ b/e2etests/testdata/root/fill/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-2211990978 .fill-N1{fill:#0A0F25;} + .d2-2211990978 .fill-N2{fill:#676C7E;} + .d2-2211990978 .fill-N3{fill:#9499AB;} + .d2-2211990978 .fill-N4{fill:#CFD2DD;} + .d2-2211990978 .fill-N5{fill:#DEE1EB;} + .d2-2211990978 .fill-N6{fill:#EEF1F8;} + .d2-2211990978 .fill-N7{fill:#FFFFFF;} + .d2-2211990978 .fill-B1{fill:#0D32B2;} + .d2-2211990978 .fill-B2{fill:#0D32B2;} + .d2-2211990978 .fill-B3{fill:#E3E9FD;} + .d2-2211990978 .fill-B4{fill:#E3E9FD;} + .d2-2211990978 .fill-B5{fill:#EDF0FD;} + .d2-2211990978 .fill-B6{fill:#F7F8FE;} + .d2-2211990978 .fill-AA2{fill:#4A6FF3;} + .d2-2211990978 .fill-AA4{fill:#EDF0FD;} + .d2-2211990978 .fill-AA5{fill:#F7F8FE;} + .d2-2211990978 .fill-AB4{fill:#EDF0FD;} + .d2-2211990978 .fill-AB5{fill:#F7F8FE;} + .d2-2211990978 .stroke-N1{stroke:#0A0F25;} + .d2-2211990978 .stroke-N2{stroke:#676C7E;} + .d2-2211990978 .stroke-N3{stroke:#9499AB;} + .d2-2211990978 .stroke-N4{stroke:#CFD2DD;} + .d2-2211990978 .stroke-N5{stroke:#DEE1EB;} + .d2-2211990978 .stroke-N6{stroke:#EEF1F8;} + .d2-2211990978 .stroke-N7{stroke:#FFFFFF;} + .d2-2211990978 .stroke-B1{stroke:#0D32B2;} + .d2-2211990978 .stroke-B2{stroke:#0D32B2;} + .d2-2211990978 .stroke-B3{stroke:#E3E9FD;} + .d2-2211990978 .stroke-B4{stroke:#E3E9FD;} + .d2-2211990978 .stroke-B5{stroke:#EDF0FD;} + .d2-2211990978 .stroke-B6{stroke:#F7F8FE;} + .d2-2211990978 .stroke-AA2{stroke:#4A6FF3;} + .d2-2211990978 .stroke-AA4{stroke:#EDF0FD;} + .d2-2211990978 .stroke-AA5{stroke:#F7F8FE;} + .d2-2211990978 .stroke-AB4{stroke:#EDF0FD;} + .d2-2211990978 .stroke-AB5{stroke:#F7F8FE;} + .d2-2211990978 .background-color-N1{background-color:#0A0F25;} + .d2-2211990978 .background-color-N2{background-color:#676C7E;} + .d2-2211990978 .background-color-N3{background-color:#9499AB;} + .d2-2211990978 .background-color-N4{background-color:#CFD2DD;} + .d2-2211990978 .background-color-N5{background-color:#DEE1EB;} + .d2-2211990978 .background-color-N6{background-color:#EEF1F8;} + .d2-2211990978 .background-color-N7{background-color:#FFFFFF;} + .d2-2211990978 .background-color-B1{background-color:#0D32B2;} + .d2-2211990978 .background-color-B2{background-color:#0D32B2;} + .d2-2211990978 .background-color-B3{background-color:#E3E9FD;} + .d2-2211990978 .background-color-B4{background-color:#E3E9FD;} + .d2-2211990978 .background-color-B5{background-color:#EDF0FD;} + .d2-2211990978 .background-color-B6{background-color:#F7F8FE;} + .d2-2211990978 .background-color-AA2{background-color:#4A6FF3;} + .d2-2211990978 .background-color-AA4{background-color:#EDF0FD;} + .d2-2211990978 .background-color-AA5{background-color:#F7F8FE;} + .d2-2211990978 .background-color-AB4{background-color:#EDF0FD;} + .d2-2211990978 .background-color-AB5{background-color:#F7F8FE;} + .d2-2211990978 .color-N1{color:#0A0F25;} + .d2-2211990978 .color-N2{color:#676C7E;} + .d2-2211990978 .color-N3{color:#9499AB;} + .d2-2211990978 .color-N4{color:#CFD2DD;} + .d2-2211990978 .color-N5{color:#DEE1EB;} + .d2-2211990978 .color-N6{color:#EEF1F8;} + .d2-2211990978 .color-N7{color:#FFFFFF;} + .d2-2211990978 .color-B1{color:#0D32B2;} + .d2-2211990978 .color-B2{color:#0D32B2;} + .d2-2211990978 .color-B3{color:#E3E9FD;} + .d2-2211990978 .color-B4{color:#E3E9FD;} + .d2-2211990978 .color-B5{color:#EDF0FD;} + .d2-2211990978 .color-B6{color:#F7F8FE;} + .d2-2211990978 .color-AA2{color:#4A6FF3;} + .d2-2211990978 .color-AA4{color:#EDF0FD;} + .d2-2211990978 .color-AA5{color:#F7F8FE;} + .d2-2211990978 .color-AB4{color:#EDF0FD;} + .d2-2211990978 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/stroke-dash/dagre/sketch.exp.svg b/e2etests/testdata/root/stroke-dash/dagre/sketch.exp.svg index a1b14248d..135d5d677 100644 --- a/e2etests/testdata/root/stroke-dash/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/stroke-dash/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-3787287132 .fill-N1{fill:#0A0F25;} + .d2-3787287132 .fill-N2{fill:#676C7E;} + .d2-3787287132 .fill-N3{fill:#9499AB;} + .d2-3787287132 .fill-N4{fill:#CFD2DD;} + .d2-3787287132 .fill-N5{fill:#DEE1EB;} + .d2-3787287132 .fill-N6{fill:#EEF1F8;} + .d2-3787287132 .fill-N7{fill:#FFFFFF;} + .d2-3787287132 .fill-B1{fill:#0D32B2;} + .d2-3787287132 .fill-B2{fill:#0D32B2;} + .d2-3787287132 .fill-B3{fill:#E3E9FD;} + .d2-3787287132 .fill-B4{fill:#E3E9FD;} + .d2-3787287132 .fill-B5{fill:#EDF0FD;} + .d2-3787287132 .fill-B6{fill:#F7F8FE;} + .d2-3787287132 .fill-AA2{fill:#4A6FF3;} + .d2-3787287132 .fill-AA4{fill:#EDF0FD;} + .d2-3787287132 .fill-AA5{fill:#F7F8FE;} + .d2-3787287132 .fill-AB4{fill:#EDF0FD;} + .d2-3787287132 .fill-AB5{fill:#F7F8FE;} + .d2-3787287132 .stroke-N1{stroke:#0A0F25;} + .d2-3787287132 .stroke-N2{stroke:#676C7E;} + .d2-3787287132 .stroke-N3{stroke:#9499AB;} + .d2-3787287132 .stroke-N4{stroke:#CFD2DD;} + .d2-3787287132 .stroke-N5{stroke:#DEE1EB;} + .d2-3787287132 .stroke-N6{stroke:#EEF1F8;} + .d2-3787287132 .stroke-N7{stroke:#FFFFFF;} + .d2-3787287132 .stroke-B1{stroke:#0D32B2;} + .d2-3787287132 .stroke-B2{stroke:#0D32B2;} + .d2-3787287132 .stroke-B3{stroke:#E3E9FD;} + .d2-3787287132 .stroke-B4{stroke:#E3E9FD;} + .d2-3787287132 .stroke-B5{stroke:#EDF0FD;} + .d2-3787287132 .stroke-B6{stroke:#F7F8FE;} + .d2-3787287132 .stroke-AA2{stroke:#4A6FF3;} + .d2-3787287132 .stroke-AA4{stroke:#EDF0FD;} + .d2-3787287132 .stroke-AA5{stroke:#F7F8FE;} + .d2-3787287132 .stroke-AB4{stroke:#EDF0FD;} + .d2-3787287132 .stroke-AB5{stroke:#F7F8FE;} + .d2-3787287132 .background-color-N1{background-color:#0A0F25;} + .d2-3787287132 .background-color-N2{background-color:#676C7E;} + .d2-3787287132 .background-color-N3{background-color:#9499AB;} + .d2-3787287132 .background-color-N4{background-color:#CFD2DD;} + .d2-3787287132 .background-color-N5{background-color:#DEE1EB;} + .d2-3787287132 .background-color-N6{background-color:#EEF1F8;} + .d2-3787287132 .background-color-N7{background-color:#FFFFFF;} + .d2-3787287132 .background-color-B1{background-color:#0D32B2;} + .d2-3787287132 .background-color-B2{background-color:#0D32B2;} + .d2-3787287132 .background-color-B3{background-color:#E3E9FD;} + .d2-3787287132 .background-color-B4{background-color:#E3E9FD;} + .d2-3787287132 .background-color-B5{background-color:#EDF0FD;} + .d2-3787287132 .background-color-B6{background-color:#F7F8FE;} + .d2-3787287132 .background-color-AA2{background-color:#4A6FF3;} + .d2-3787287132 .background-color-AA4{background-color:#EDF0FD;} + .d2-3787287132 .background-color-AA5{background-color:#F7F8FE;} + .d2-3787287132 .background-color-AB4{background-color:#EDF0FD;} + .d2-3787287132 .background-color-AB5{background-color:#F7F8FE;} + .d2-3787287132 .color-N1{color:#0A0F25;} + .d2-3787287132 .color-N2{color:#676C7E;} + .d2-3787287132 .color-N3{color:#9499AB;} + .d2-3787287132 .color-N4{color:#CFD2DD;} + .d2-3787287132 .color-N5{color:#DEE1EB;} + .d2-3787287132 .color-N6{color:#EEF1F8;} + .d2-3787287132 .color-N7{color:#FFFFFF;} + .d2-3787287132 .color-B1{color:#0D32B2;} + .d2-3787287132 .color-B2{color:#0D32B2;} + .d2-3787287132 .color-B3{color:#E3E9FD;} + .d2-3787287132 .color-B4{color:#E3E9FD;} + .d2-3787287132 .color-B5{color:#EDF0FD;} + .d2-3787287132 .color-B6{color:#F7F8FE;} + .d2-3787287132 .color-AA2{color:#4A6FF3;} + .d2-3787287132 .color-AA4{color:#EDF0FD;} + .d2-3787287132 .color-AA5{color:#F7F8FE;} + .d2-3787287132 .color-AB4{color:#EDF0FD;} + .d2-3787287132 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/stroke-dash/elk/sketch.exp.svg b/e2etests/testdata/root/stroke-dash/elk/sketch.exp.svg index f5602732e..2ea4dd0df 100644 --- a/e2etests/testdata/root/stroke-dash/elk/sketch.exp.svg +++ b/e2etests/testdata/root/stroke-dash/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-3257499383 .fill-N1{fill:#0A0F25;} + .d2-3257499383 .fill-N2{fill:#676C7E;} + .d2-3257499383 .fill-N3{fill:#9499AB;} + .d2-3257499383 .fill-N4{fill:#CFD2DD;} + .d2-3257499383 .fill-N5{fill:#DEE1EB;} + .d2-3257499383 .fill-N6{fill:#EEF1F8;} + .d2-3257499383 .fill-N7{fill:#FFFFFF;} + .d2-3257499383 .fill-B1{fill:#0D32B2;} + .d2-3257499383 .fill-B2{fill:#0D32B2;} + .d2-3257499383 .fill-B3{fill:#E3E9FD;} + .d2-3257499383 .fill-B4{fill:#E3E9FD;} + .d2-3257499383 .fill-B5{fill:#EDF0FD;} + .d2-3257499383 .fill-B6{fill:#F7F8FE;} + .d2-3257499383 .fill-AA2{fill:#4A6FF3;} + .d2-3257499383 .fill-AA4{fill:#EDF0FD;} + .d2-3257499383 .fill-AA5{fill:#F7F8FE;} + .d2-3257499383 .fill-AB4{fill:#EDF0FD;} + .d2-3257499383 .fill-AB5{fill:#F7F8FE;} + .d2-3257499383 .stroke-N1{stroke:#0A0F25;} + .d2-3257499383 .stroke-N2{stroke:#676C7E;} + .d2-3257499383 .stroke-N3{stroke:#9499AB;} + .d2-3257499383 .stroke-N4{stroke:#CFD2DD;} + .d2-3257499383 .stroke-N5{stroke:#DEE1EB;} + .d2-3257499383 .stroke-N6{stroke:#EEF1F8;} + .d2-3257499383 .stroke-N7{stroke:#FFFFFF;} + .d2-3257499383 .stroke-B1{stroke:#0D32B2;} + .d2-3257499383 .stroke-B2{stroke:#0D32B2;} + .d2-3257499383 .stroke-B3{stroke:#E3E9FD;} + .d2-3257499383 .stroke-B4{stroke:#E3E9FD;} + .d2-3257499383 .stroke-B5{stroke:#EDF0FD;} + .d2-3257499383 .stroke-B6{stroke:#F7F8FE;} + .d2-3257499383 .stroke-AA2{stroke:#4A6FF3;} + .d2-3257499383 .stroke-AA4{stroke:#EDF0FD;} + .d2-3257499383 .stroke-AA5{stroke:#F7F8FE;} + .d2-3257499383 .stroke-AB4{stroke:#EDF0FD;} + .d2-3257499383 .stroke-AB5{stroke:#F7F8FE;} + .d2-3257499383 .background-color-N1{background-color:#0A0F25;} + .d2-3257499383 .background-color-N2{background-color:#676C7E;} + .d2-3257499383 .background-color-N3{background-color:#9499AB;} + .d2-3257499383 .background-color-N4{background-color:#CFD2DD;} + .d2-3257499383 .background-color-N5{background-color:#DEE1EB;} + .d2-3257499383 .background-color-N6{background-color:#EEF1F8;} + .d2-3257499383 .background-color-N7{background-color:#FFFFFF;} + .d2-3257499383 .background-color-B1{background-color:#0D32B2;} + .d2-3257499383 .background-color-B2{background-color:#0D32B2;} + .d2-3257499383 .background-color-B3{background-color:#E3E9FD;} + .d2-3257499383 .background-color-B4{background-color:#E3E9FD;} + .d2-3257499383 .background-color-B5{background-color:#EDF0FD;} + .d2-3257499383 .background-color-B6{background-color:#F7F8FE;} + .d2-3257499383 .background-color-AA2{background-color:#4A6FF3;} + .d2-3257499383 .background-color-AA4{background-color:#EDF0FD;} + .d2-3257499383 .background-color-AA5{background-color:#F7F8FE;} + .d2-3257499383 .background-color-AB4{background-color:#EDF0FD;} + .d2-3257499383 .background-color-AB5{background-color:#F7F8FE;} + .d2-3257499383 .color-N1{color:#0A0F25;} + .d2-3257499383 .color-N2{color:#676C7E;} + .d2-3257499383 .color-N3{color:#9499AB;} + .d2-3257499383 .color-N4{color:#CFD2DD;} + .d2-3257499383 .color-N5{color:#DEE1EB;} + .d2-3257499383 .color-N6{color:#EEF1F8;} + .d2-3257499383 .color-N7{color:#FFFFFF;} + .d2-3257499383 .color-B1{color:#0D32B2;} + .d2-3257499383 .color-B2{color:#0D32B2;} + .d2-3257499383 .color-B3{color:#E3E9FD;} + .d2-3257499383 .color-B4{color:#E3E9FD;} + .d2-3257499383 .color-B5{color:#EDF0FD;} + .d2-3257499383 .color-B6{color:#F7F8FE;} + .d2-3257499383 .color-AA2{color:#4A6FF3;} + .d2-3257499383 .color-AA4{color:#EDF0FD;} + .d2-3257499383 .color-AA5{color:#F7F8FE;} + .d2-3257499383 .color-AB4{color:#EDF0FD;} + .d2-3257499383 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/stroke-no-width/dagre/sketch.exp.svg b/e2etests/testdata/root/stroke-no-width/dagre/sketch.exp.svg index 637af0d1c..5a25ca450 100644 --- a/e2etests/testdata/root/stroke-no-width/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/stroke-no-width/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-2828179473 .fill-N1{fill:#0A0F25;} + .d2-2828179473 .fill-N2{fill:#676C7E;} + .d2-2828179473 .fill-N3{fill:#9499AB;} + .d2-2828179473 .fill-N4{fill:#CFD2DD;} + .d2-2828179473 .fill-N5{fill:#DEE1EB;} + .d2-2828179473 .fill-N6{fill:#EEF1F8;} + .d2-2828179473 .fill-N7{fill:#FFFFFF;} + .d2-2828179473 .fill-B1{fill:#0D32B2;} + .d2-2828179473 .fill-B2{fill:#0D32B2;} + .d2-2828179473 .fill-B3{fill:#E3E9FD;} + .d2-2828179473 .fill-B4{fill:#E3E9FD;} + .d2-2828179473 .fill-B5{fill:#EDF0FD;} + .d2-2828179473 .fill-B6{fill:#F7F8FE;} + .d2-2828179473 .fill-AA2{fill:#4A6FF3;} + .d2-2828179473 .fill-AA4{fill:#EDF0FD;} + .d2-2828179473 .fill-AA5{fill:#F7F8FE;} + .d2-2828179473 .fill-AB4{fill:#EDF0FD;} + .d2-2828179473 .fill-AB5{fill:#F7F8FE;} + .d2-2828179473 .stroke-N1{stroke:#0A0F25;} + .d2-2828179473 .stroke-N2{stroke:#676C7E;} + .d2-2828179473 .stroke-N3{stroke:#9499AB;} + .d2-2828179473 .stroke-N4{stroke:#CFD2DD;} + .d2-2828179473 .stroke-N5{stroke:#DEE1EB;} + .d2-2828179473 .stroke-N6{stroke:#EEF1F8;} + .d2-2828179473 .stroke-N7{stroke:#FFFFFF;} + .d2-2828179473 .stroke-B1{stroke:#0D32B2;} + .d2-2828179473 .stroke-B2{stroke:#0D32B2;} + .d2-2828179473 .stroke-B3{stroke:#E3E9FD;} + .d2-2828179473 .stroke-B4{stroke:#E3E9FD;} + .d2-2828179473 .stroke-B5{stroke:#EDF0FD;} + .d2-2828179473 .stroke-B6{stroke:#F7F8FE;} + .d2-2828179473 .stroke-AA2{stroke:#4A6FF3;} + .d2-2828179473 .stroke-AA4{stroke:#EDF0FD;} + .d2-2828179473 .stroke-AA5{stroke:#F7F8FE;} + .d2-2828179473 .stroke-AB4{stroke:#EDF0FD;} + .d2-2828179473 .stroke-AB5{stroke:#F7F8FE;} + .d2-2828179473 .background-color-N1{background-color:#0A0F25;} + .d2-2828179473 .background-color-N2{background-color:#676C7E;} + .d2-2828179473 .background-color-N3{background-color:#9499AB;} + .d2-2828179473 .background-color-N4{background-color:#CFD2DD;} + .d2-2828179473 .background-color-N5{background-color:#DEE1EB;} + .d2-2828179473 .background-color-N6{background-color:#EEF1F8;} + .d2-2828179473 .background-color-N7{background-color:#FFFFFF;} + .d2-2828179473 .background-color-B1{background-color:#0D32B2;} + .d2-2828179473 .background-color-B2{background-color:#0D32B2;} + .d2-2828179473 .background-color-B3{background-color:#E3E9FD;} + .d2-2828179473 .background-color-B4{background-color:#E3E9FD;} + .d2-2828179473 .background-color-B5{background-color:#EDF0FD;} + .d2-2828179473 .background-color-B6{background-color:#F7F8FE;} + .d2-2828179473 .background-color-AA2{background-color:#4A6FF3;} + .d2-2828179473 .background-color-AA4{background-color:#EDF0FD;} + .d2-2828179473 .background-color-AA5{background-color:#F7F8FE;} + .d2-2828179473 .background-color-AB4{background-color:#EDF0FD;} + .d2-2828179473 .background-color-AB5{background-color:#F7F8FE;} + .d2-2828179473 .color-N1{color:#0A0F25;} + .d2-2828179473 .color-N2{color:#676C7E;} + .d2-2828179473 .color-N3{color:#9499AB;} + .d2-2828179473 .color-N4{color:#CFD2DD;} + .d2-2828179473 .color-N5{color:#DEE1EB;} + .d2-2828179473 .color-N6{color:#EEF1F8;} + .d2-2828179473 .color-N7{color:#FFFFFF;} + .d2-2828179473 .color-B1{color:#0D32B2;} + .d2-2828179473 .color-B2{color:#0D32B2;} + .d2-2828179473 .color-B3{color:#E3E9FD;} + .d2-2828179473 .color-B4{color:#E3E9FD;} + .d2-2828179473 .color-B5{color:#EDF0FD;} + .d2-2828179473 .color-B6{color:#F7F8FE;} + .d2-2828179473 .color-AA2{color:#4A6FF3;} + .d2-2828179473 .color-AA4{color:#EDF0FD;} + .d2-2828179473 .color-AA5{color:#F7F8FE;} + .d2-2828179473 .color-AB4{color:#EDF0FD;} + .d2-2828179473 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/stroke-no-width/elk/sketch.exp.svg b/e2etests/testdata/root/stroke-no-width/elk/sketch.exp.svg index d183c87b5..861707fe9 100644 --- a/e2etests/testdata/root/stroke-no-width/elk/sketch.exp.svg +++ b/e2etests/testdata/root/stroke-no-width/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-2123823294 .fill-N1{fill:#0A0F25;} + .d2-2123823294 .fill-N2{fill:#676C7E;} + .d2-2123823294 .fill-N3{fill:#9499AB;} + .d2-2123823294 .fill-N4{fill:#CFD2DD;} + .d2-2123823294 .fill-N5{fill:#DEE1EB;} + .d2-2123823294 .fill-N6{fill:#EEF1F8;} + .d2-2123823294 .fill-N7{fill:#FFFFFF;} + .d2-2123823294 .fill-B1{fill:#0D32B2;} + .d2-2123823294 .fill-B2{fill:#0D32B2;} + .d2-2123823294 .fill-B3{fill:#E3E9FD;} + .d2-2123823294 .fill-B4{fill:#E3E9FD;} + .d2-2123823294 .fill-B5{fill:#EDF0FD;} + .d2-2123823294 .fill-B6{fill:#F7F8FE;} + .d2-2123823294 .fill-AA2{fill:#4A6FF3;} + .d2-2123823294 .fill-AA4{fill:#EDF0FD;} + .d2-2123823294 .fill-AA5{fill:#F7F8FE;} + .d2-2123823294 .fill-AB4{fill:#EDF0FD;} + .d2-2123823294 .fill-AB5{fill:#F7F8FE;} + .d2-2123823294 .stroke-N1{stroke:#0A0F25;} + .d2-2123823294 .stroke-N2{stroke:#676C7E;} + .d2-2123823294 .stroke-N3{stroke:#9499AB;} + .d2-2123823294 .stroke-N4{stroke:#CFD2DD;} + .d2-2123823294 .stroke-N5{stroke:#DEE1EB;} + .d2-2123823294 .stroke-N6{stroke:#EEF1F8;} + .d2-2123823294 .stroke-N7{stroke:#FFFFFF;} + .d2-2123823294 .stroke-B1{stroke:#0D32B2;} + .d2-2123823294 .stroke-B2{stroke:#0D32B2;} + .d2-2123823294 .stroke-B3{stroke:#E3E9FD;} + .d2-2123823294 .stroke-B4{stroke:#E3E9FD;} + .d2-2123823294 .stroke-B5{stroke:#EDF0FD;} + .d2-2123823294 .stroke-B6{stroke:#F7F8FE;} + .d2-2123823294 .stroke-AA2{stroke:#4A6FF3;} + .d2-2123823294 .stroke-AA4{stroke:#EDF0FD;} + .d2-2123823294 .stroke-AA5{stroke:#F7F8FE;} + .d2-2123823294 .stroke-AB4{stroke:#EDF0FD;} + .d2-2123823294 .stroke-AB5{stroke:#F7F8FE;} + .d2-2123823294 .background-color-N1{background-color:#0A0F25;} + .d2-2123823294 .background-color-N2{background-color:#676C7E;} + .d2-2123823294 .background-color-N3{background-color:#9499AB;} + .d2-2123823294 .background-color-N4{background-color:#CFD2DD;} + .d2-2123823294 .background-color-N5{background-color:#DEE1EB;} + .d2-2123823294 .background-color-N6{background-color:#EEF1F8;} + .d2-2123823294 .background-color-N7{background-color:#FFFFFF;} + .d2-2123823294 .background-color-B1{background-color:#0D32B2;} + .d2-2123823294 .background-color-B2{background-color:#0D32B2;} + .d2-2123823294 .background-color-B3{background-color:#E3E9FD;} + .d2-2123823294 .background-color-B4{background-color:#E3E9FD;} + .d2-2123823294 .background-color-B5{background-color:#EDF0FD;} + .d2-2123823294 .background-color-B6{background-color:#F7F8FE;} + .d2-2123823294 .background-color-AA2{background-color:#4A6FF3;} + .d2-2123823294 .background-color-AA4{background-color:#EDF0FD;} + .d2-2123823294 .background-color-AA5{background-color:#F7F8FE;} + .d2-2123823294 .background-color-AB4{background-color:#EDF0FD;} + .d2-2123823294 .background-color-AB5{background-color:#F7F8FE;} + .d2-2123823294 .color-N1{color:#0A0F25;} + .d2-2123823294 .color-N2{color:#676C7E;} + .d2-2123823294 .color-N3{color:#9499AB;} + .d2-2123823294 .color-N4{color:#CFD2DD;} + .d2-2123823294 .color-N5{color:#DEE1EB;} + .d2-2123823294 .color-N6{color:#EEF1F8;} + .d2-2123823294 .color-N7{color:#FFFFFF;} + .d2-2123823294 .color-B1{color:#0D32B2;} + .d2-2123823294 .color-B2{color:#0D32B2;} + .d2-2123823294 .color-B3{color:#E3E9FD;} + .d2-2123823294 .color-B4{color:#E3E9FD;} + .d2-2123823294 .color-B5{color:#EDF0FD;} + .d2-2123823294 .color-B6{color:#F7F8FE;} + .d2-2123823294 .color-AA2{color:#4A6FF3;} + .d2-2123823294 .color-AA4{color:#EDF0FD;} + .d2-2123823294 .color-AA5{color:#F7F8FE;} + .d2-2123823294 .color-AB4{color:#EDF0FD;} + .d2-2123823294 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/stroke-width/dagre/sketch.exp.svg b/e2etests/testdata/root/stroke-width/dagre/sketch.exp.svg index e509a66b0..fa0c82632 100644 --- a/e2etests/testdata/root/stroke-width/dagre/sketch.exp.svg +++ b/e2etests/testdata/root/stroke-width/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-1310064342 .fill-N1{fill:#0A0F25;} + .d2-1310064342 .fill-N2{fill:#676C7E;} + .d2-1310064342 .fill-N3{fill:#9499AB;} + .d2-1310064342 .fill-N4{fill:#CFD2DD;} + .d2-1310064342 .fill-N5{fill:#DEE1EB;} + .d2-1310064342 .fill-N6{fill:#EEF1F8;} + .d2-1310064342 .fill-N7{fill:#FFFFFF;} + .d2-1310064342 .fill-B1{fill:#0D32B2;} + .d2-1310064342 .fill-B2{fill:#0D32B2;} + .d2-1310064342 .fill-B3{fill:#E3E9FD;} + .d2-1310064342 .fill-B4{fill:#E3E9FD;} + .d2-1310064342 .fill-B5{fill:#EDF0FD;} + .d2-1310064342 .fill-B6{fill:#F7F8FE;} + .d2-1310064342 .fill-AA2{fill:#4A6FF3;} + .d2-1310064342 .fill-AA4{fill:#EDF0FD;} + .d2-1310064342 .fill-AA5{fill:#F7F8FE;} + .d2-1310064342 .fill-AB4{fill:#EDF0FD;} + .d2-1310064342 .fill-AB5{fill:#F7F8FE;} + .d2-1310064342 .stroke-N1{stroke:#0A0F25;} + .d2-1310064342 .stroke-N2{stroke:#676C7E;} + .d2-1310064342 .stroke-N3{stroke:#9499AB;} + .d2-1310064342 .stroke-N4{stroke:#CFD2DD;} + .d2-1310064342 .stroke-N5{stroke:#DEE1EB;} + .d2-1310064342 .stroke-N6{stroke:#EEF1F8;} + .d2-1310064342 .stroke-N7{stroke:#FFFFFF;} + .d2-1310064342 .stroke-B1{stroke:#0D32B2;} + .d2-1310064342 .stroke-B2{stroke:#0D32B2;} + .d2-1310064342 .stroke-B3{stroke:#E3E9FD;} + .d2-1310064342 .stroke-B4{stroke:#E3E9FD;} + .d2-1310064342 .stroke-B5{stroke:#EDF0FD;} + .d2-1310064342 .stroke-B6{stroke:#F7F8FE;} + .d2-1310064342 .stroke-AA2{stroke:#4A6FF3;} + .d2-1310064342 .stroke-AA4{stroke:#EDF0FD;} + .d2-1310064342 .stroke-AA5{stroke:#F7F8FE;} + .d2-1310064342 .stroke-AB4{stroke:#EDF0FD;} + .d2-1310064342 .stroke-AB5{stroke:#F7F8FE;} + .d2-1310064342 .background-color-N1{background-color:#0A0F25;} + .d2-1310064342 .background-color-N2{background-color:#676C7E;} + .d2-1310064342 .background-color-N3{background-color:#9499AB;} + .d2-1310064342 .background-color-N4{background-color:#CFD2DD;} + .d2-1310064342 .background-color-N5{background-color:#DEE1EB;} + .d2-1310064342 .background-color-N6{background-color:#EEF1F8;} + .d2-1310064342 .background-color-N7{background-color:#FFFFFF;} + .d2-1310064342 .background-color-B1{background-color:#0D32B2;} + .d2-1310064342 .background-color-B2{background-color:#0D32B2;} + .d2-1310064342 .background-color-B3{background-color:#E3E9FD;} + .d2-1310064342 .background-color-B4{background-color:#E3E9FD;} + .d2-1310064342 .background-color-B5{background-color:#EDF0FD;} + .d2-1310064342 .background-color-B6{background-color:#F7F8FE;} + .d2-1310064342 .background-color-AA2{background-color:#4A6FF3;} + .d2-1310064342 .background-color-AA4{background-color:#EDF0FD;} + .d2-1310064342 .background-color-AA5{background-color:#F7F8FE;} + .d2-1310064342 .background-color-AB4{background-color:#EDF0FD;} + .d2-1310064342 .background-color-AB5{background-color:#F7F8FE;} + .d2-1310064342 .color-N1{color:#0A0F25;} + .d2-1310064342 .color-N2{color:#676C7E;} + .d2-1310064342 .color-N3{color:#9499AB;} + .d2-1310064342 .color-N4{color:#CFD2DD;} + .d2-1310064342 .color-N5{color:#DEE1EB;} + .d2-1310064342 .color-N6{color:#EEF1F8;} + .d2-1310064342 .color-N7{color:#FFFFFF;} + .d2-1310064342 .color-B1{color:#0D32B2;} + .d2-1310064342 .color-B2{color:#0D32B2;} + .d2-1310064342 .color-B3{color:#E3E9FD;} + .d2-1310064342 .color-B4{color:#E3E9FD;} + .d2-1310064342 .color-B5{color:#EDF0FD;} + .d2-1310064342 .color-B6{color:#F7F8FE;} + .d2-1310064342 .color-AA2{color:#4A6FF3;} + .d2-1310064342 .color-AA4{color:#EDF0FD;} + .d2-1310064342 .color-AA5{color:#F7F8FE;} + .d2-1310064342 .color-AB4{color:#EDF0FD;} + .d2-1310064342 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/root/stroke-width/elk/sketch.exp.svg b/e2etests/testdata/root/stroke-width/elk/sketch.exp.svg index de8263bc0..513ec0521 100644 --- a/e2etests/testdata/root/stroke-width/elk/sketch.exp.svg +++ b/e2etests/testdata/root/stroke-width/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -we all livein a LightSteelBluesubmarine + .d2-878234073 .fill-N1{fill:#0A0F25;} + .d2-878234073 .fill-N2{fill:#676C7E;} + .d2-878234073 .fill-N3{fill:#9499AB;} + .d2-878234073 .fill-N4{fill:#CFD2DD;} + .d2-878234073 .fill-N5{fill:#DEE1EB;} + .d2-878234073 .fill-N6{fill:#EEF1F8;} + .d2-878234073 .fill-N7{fill:#FFFFFF;} + .d2-878234073 .fill-B1{fill:#0D32B2;} + .d2-878234073 .fill-B2{fill:#0D32B2;} + .d2-878234073 .fill-B3{fill:#E3E9FD;} + .d2-878234073 .fill-B4{fill:#E3E9FD;} + .d2-878234073 .fill-B5{fill:#EDF0FD;} + .d2-878234073 .fill-B6{fill:#F7F8FE;} + .d2-878234073 .fill-AA2{fill:#4A6FF3;} + .d2-878234073 .fill-AA4{fill:#EDF0FD;} + .d2-878234073 .fill-AA5{fill:#F7F8FE;} + .d2-878234073 .fill-AB4{fill:#EDF0FD;} + .d2-878234073 .fill-AB5{fill:#F7F8FE;} + .d2-878234073 .stroke-N1{stroke:#0A0F25;} + .d2-878234073 .stroke-N2{stroke:#676C7E;} + .d2-878234073 .stroke-N3{stroke:#9499AB;} + .d2-878234073 .stroke-N4{stroke:#CFD2DD;} + .d2-878234073 .stroke-N5{stroke:#DEE1EB;} + .d2-878234073 .stroke-N6{stroke:#EEF1F8;} + .d2-878234073 .stroke-N7{stroke:#FFFFFF;} + .d2-878234073 .stroke-B1{stroke:#0D32B2;} + .d2-878234073 .stroke-B2{stroke:#0D32B2;} + .d2-878234073 .stroke-B3{stroke:#E3E9FD;} + .d2-878234073 .stroke-B4{stroke:#E3E9FD;} + .d2-878234073 .stroke-B5{stroke:#EDF0FD;} + .d2-878234073 .stroke-B6{stroke:#F7F8FE;} + .d2-878234073 .stroke-AA2{stroke:#4A6FF3;} + .d2-878234073 .stroke-AA4{stroke:#EDF0FD;} + .d2-878234073 .stroke-AA5{stroke:#F7F8FE;} + .d2-878234073 .stroke-AB4{stroke:#EDF0FD;} + .d2-878234073 .stroke-AB5{stroke:#F7F8FE;} + .d2-878234073 .background-color-N1{background-color:#0A0F25;} + .d2-878234073 .background-color-N2{background-color:#676C7E;} + .d2-878234073 .background-color-N3{background-color:#9499AB;} + .d2-878234073 .background-color-N4{background-color:#CFD2DD;} + .d2-878234073 .background-color-N5{background-color:#DEE1EB;} + .d2-878234073 .background-color-N6{background-color:#EEF1F8;} + .d2-878234073 .background-color-N7{background-color:#FFFFFF;} + .d2-878234073 .background-color-B1{background-color:#0D32B2;} + .d2-878234073 .background-color-B2{background-color:#0D32B2;} + .d2-878234073 .background-color-B3{background-color:#E3E9FD;} + .d2-878234073 .background-color-B4{background-color:#E3E9FD;} + .d2-878234073 .background-color-B5{background-color:#EDF0FD;} + .d2-878234073 .background-color-B6{background-color:#F7F8FE;} + .d2-878234073 .background-color-AA2{background-color:#4A6FF3;} + .d2-878234073 .background-color-AA4{background-color:#EDF0FD;} + .d2-878234073 .background-color-AA5{background-color:#F7F8FE;} + .d2-878234073 .background-color-AB4{background-color:#EDF0FD;} + .d2-878234073 .background-color-AB5{background-color:#F7F8FE;} + .d2-878234073 .color-N1{color:#0A0F25;} + .d2-878234073 .color-N2{color:#676C7E;} + .d2-878234073 .color-N3{color:#9499AB;} + .d2-878234073 .color-N4{color:#CFD2DD;} + .d2-878234073 .color-N5{color:#DEE1EB;} + .d2-878234073 .color-N6{color:#EEF1F8;} + .d2-878234073 .color-N7{color:#FFFFFF;} + .d2-878234073 .color-B1{color:#0D32B2;} + .d2-878234073 .color-B2{color:#0D32B2;} + .d2-878234073 .color-B3{color:#E3E9FD;} + .d2-878234073 .color-B4{color:#E3E9FD;} + .d2-878234073 .color-B5{color:#EDF0FD;} + .d2-878234073 .color-B6{color:#F7F8FE;} + .d2-878234073 .color-AA2{color:#4A6FF3;} + .d2-878234073 .color-AA4{color:#EDF0FD;} + .d2-878234073 .color-AA5{color:#F7F8FE;} + .d2-878234073 .color-AB4{color:#EDF0FD;} + .d2-878234073 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>we all livein a LightSteelBluesubmarine diff --git a/e2etests/testdata/sanity/1_to_2/dagre/board.exp.json b/e2etests/testdata/sanity/1_to_2/dagre/board.exp.json index b822752f8..ea5199e2c 100644 --- a/e2etests/testdata/sanity/1_to_2/dagre/board.exp.json +++ b/e2etests/testdata/sanity/1_to_2/dagre/board.exp.json @@ -153,11 +153,11 @@ "labelPercentage": 0, "route": [ { - "x": 60.5359992980957, + "x": 60.5, "y": 66 }, { - "x": 33.30699920654297, + "x": 33.29999923706055, "y": 106 }, { @@ -200,11 +200,11 @@ "labelPercentage": 0, "route": [ { - "x": 105.46299743652344, + "x": 105.5, "y": 66 }, { - "x": 132.69200134277344, + "x": 132.6999969482422, "y": 106 }, { diff --git a/e2etests/testdata/sanity/1_to_2/dagre/sketch.exp.svg b/e2etests/testdata/sanity/1_to_2/dagre/sketch.exp.svg index e7171621a..db3198ac0 100644 --- a/e2etests/testdata/sanity/1_to_2/dagre/sketch.exp.svg +++ b/e2etests/testdata/sanity/1_to_2/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abc + .d2-3782402987 .fill-N1{fill:#0A0F25;} + .d2-3782402987 .fill-N2{fill:#676C7E;} + .d2-3782402987 .fill-N3{fill:#9499AB;} + .d2-3782402987 .fill-N4{fill:#CFD2DD;} + .d2-3782402987 .fill-N5{fill:#DEE1EB;} + .d2-3782402987 .fill-N6{fill:#EEF1F8;} + .d2-3782402987 .fill-N7{fill:#FFFFFF;} + .d2-3782402987 .fill-B1{fill:#0D32B2;} + .d2-3782402987 .fill-B2{fill:#0D32B2;} + .d2-3782402987 .fill-B3{fill:#E3E9FD;} + .d2-3782402987 .fill-B4{fill:#E3E9FD;} + .d2-3782402987 .fill-B5{fill:#EDF0FD;} + .d2-3782402987 .fill-B6{fill:#F7F8FE;} + .d2-3782402987 .fill-AA2{fill:#4A6FF3;} + .d2-3782402987 .fill-AA4{fill:#EDF0FD;} + .d2-3782402987 .fill-AA5{fill:#F7F8FE;} + .d2-3782402987 .fill-AB4{fill:#EDF0FD;} + .d2-3782402987 .fill-AB5{fill:#F7F8FE;} + .d2-3782402987 .stroke-N1{stroke:#0A0F25;} + .d2-3782402987 .stroke-N2{stroke:#676C7E;} + .d2-3782402987 .stroke-N3{stroke:#9499AB;} + .d2-3782402987 .stroke-N4{stroke:#CFD2DD;} + .d2-3782402987 .stroke-N5{stroke:#DEE1EB;} + .d2-3782402987 .stroke-N6{stroke:#EEF1F8;} + .d2-3782402987 .stroke-N7{stroke:#FFFFFF;} + .d2-3782402987 .stroke-B1{stroke:#0D32B2;} + .d2-3782402987 .stroke-B2{stroke:#0D32B2;} + .d2-3782402987 .stroke-B3{stroke:#E3E9FD;} + .d2-3782402987 .stroke-B4{stroke:#E3E9FD;} + .d2-3782402987 .stroke-B5{stroke:#EDF0FD;} + .d2-3782402987 .stroke-B6{stroke:#F7F8FE;} + .d2-3782402987 .stroke-AA2{stroke:#4A6FF3;} + .d2-3782402987 .stroke-AA4{stroke:#EDF0FD;} + .d2-3782402987 .stroke-AA5{stroke:#F7F8FE;} + .d2-3782402987 .stroke-AB4{stroke:#EDF0FD;} + .d2-3782402987 .stroke-AB5{stroke:#F7F8FE;} + .d2-3782402987 .background-color-N1{background-color:#0A0F25;} + .d2-3782402987 .background-color-N2{background-color:#676C7E;} + .d2-3782402987 .background-color-N3{background-color:#9499AB;} + .d2-3782402987 .background-color-N4{background-color:#CFD2DD;} + .d2-3782402987 .background-color-N5{background-color:#DEE1EB;} + .d2-3782402987 .background-color-N6{background-color:#EEF1F8;} + .d2-3782402987 .background-color-N7{background-color:#FFFFFF;} + .d2-3782402987 .background-color-B1{background-color:#0D32B2;} + .d2-3782402987 .background-color-B2{background-color:#0D32B2;} + .d2-3782402987 .background-color-B3{background-color:#E3E9FD;} + .d2-3782402987 .background-color-B4{background-color:#E3E9FD;} + .d2-3782402987 .background-color-B5{background-color:#EDF0FD;} + .d2-3782402987 .background-color-B6{background-color:#F7F8FE;} + .d2-3782402987 .background-color-AA2{background-color:#4A6FF3;} + .d2-3782402987 .background-color-AA4{background-color:#EDF0FD;} + .d2-3782402987 .background-color-AA5{background-color:#F7F8FE;} + .d2-3782402987 .background-color-AB4{background-color:#EDF0FD;} + .d2-3782402987 .background-color-AB5{background-color:#F7F8FE;} + .d2-3782402987 .color-N1{color:#0A0F25;} + .d2-3782402987 .color-N2{color:#676C7E;} + .d2-3782402987 .color-N3{color:#9499AB;} + .d2-3782402987 .color-N4{color:#CFD2DD;} + .d2-3782402987 .color-N5{color:#DEE1EB;} + .d2-3782402987 .color-N6{color:#EEF1F8;} + .d2-3782402987 .color-N7{color:#FFFFFF;} + .d2-3782402987 .color-B1{color:#0D32B2;} + .d2-3782402987 .color-B2{color:#0D32B2;} + .d2-3782402987 .color-B3{color:#E3E9FD;} + .d2-3782402987 .color-B4{color:#E3E9FD;} + .d2-3782402987 .color-B5{color:#EDF0FD;} + .d2-3782402987 .color-B6{color:#F7F8FE;} + .d2-3782402987 .color-AA2{color:#4A6FF3;} + .d2-3782402987 .color-AA4{color:#EDF0FD;} + .d2-3782402987 .color-AA5{color:#F7F8FE;} + .d2-3782402987 .color-AB4{color:#EDF0FD;} + .d2-3782402987 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc diff --git a/e2etests/testdata/sanity/1_to_2/elk/sketch.exp.svg b/e2etests/testdata/sanity/1_to_2/elk/sketch.exp.svg index 9c25bb055..0bd8810c5 100644 --- a/e2etests/testdata/sanity/1_to_2/elk/sketch.exp.svg +++ b/e2etests/testdata/sanity/1_to_2/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abc + .d2-300178533 .fill-N1{fill:#0A0F25;} + .d2-300178533 .fill-N2{fill:#676C7E;} + .d2-300178533 .fill-N3{fill:#9499AB;} + .d2-300178533 .fill-N4{fill:#CFD2DD;} + .d2-300178533 .fill-N5{fill:#DEE1EB;} + .d2-300178533 .fill-N6{fill:#EEF1F8;} + .d2-300178533 .fill-N7{fill:#FFFFFF;} + .d2-300178533 .fill-B1{fill:#0D32B2;} + .d2-300178533 .fill-B2{fill:#0D32B2;} + .d2-300178533 .fill-B3{fill:#E3E9FD;} + .d2-300178533 .fill-B4{fill:#E3E9FD;} + .d2-300178533 .fill-B5{fill:#EDF0FD;} + .d2-300178533 .fill-B6{fill:#F7F8FE;} + .d2-300178533 .fill-AA2{fill:#4A6FF3;} + .d2-300178533 .fill-AA4{fill:#EDF0FD;} + .d2-300178533 .fill-AA5{fill:#F7F8FE;} + .d2-300178533 .fill-AB4{fill:#EDF0FD;} + .d2-300178533 .fill-AB5{fill:#F7F8FE;} + .d2-300178533 .stroke-N1{stroke:#0A0F25;} + .d2-300178533 .stroke-N2{stroke:#676C7E;} + .d2-300178533 .stroke-N3{stroke:#9499AB;} + .d2-300178533 .stroke-N4{stroke:#CFD2DD;} + .d2-300178533 .stroke-N5{stroke:#DEE1EB;} + .d2-300178533 .stroke-N6{stroke:#EEF1F8;} + .d2-300178533 .stroke-N7{stroke:#FFFFFF;} + .d2-300178533 .stroke-B1{stroke:#0D32B2;} + .d2-300178533 .stroke-B2{stroke:#0D32B2;} + .d2-300178533 .stroke-B3{stroke:#E3E9FD;} + .d2-300178533 .stroke-B4{stroke:#E3E9FD;} + .d2-300178533 .stroke-B5{stroke:#EDF0FD;} + .d2-300178533 .stroke-B6{stroke:#F7F8FE;} + .d2-300178533 .stroke-AA2{stroke:#4A6FF3;} + .d2-300178533 .stroke-AA4{stroke:#EDF0FD;} + .d2-300178533 .stroke-AA5{stroke:#F7F8FE;} + .d2-300178533 .stroke-AB4{stroke:#EDF0FD;} + .d2-300178533 .stroke-AB5{stroke:#F7F8FE;} + .d2-300178533 .background-color-N1{background-color:#0A0F25;} + .d2-300178533 .background-color-N2{background-color:#676C7E;} + .d2-300178533 .background-color-N3{background-color:#9499AB;} + .d2-300178533 .background-color-N4{background-color:#CFD2DD;} + .d2-300178533 .background-color-N5{background-color:#DEE1EB;} + .d2-300178533 .background-color-N6{background-color:#EEF1F8;} + .d2-300178533 .background-color-N7{background-color:#FFFFFF;} + .d2-300178533 .background-color-B1{background-color:#0D32B2;} + .d2-300178533 .background-color-B2{background-color:#0D32B2;} + .d2-300178533 .background-color-B3{background-color:#E3E9FD;} + .d2-300178533 .background-color-B4{background-color:#E3E9FD;} + .d2-300178533 .background-color-B5{background-color:#EDF0FD;} + .d2-300178533 .background-color-B6{background-color:#F7F8FE;} + .d2-300178533 .background-color-AA2{background-color:#4A6FF3;} + .d2-300178533 .background-color-AA4{background-color:#EDF0FD;} + .d2-300178533 .background-color-AA5{background-color:#F7F8FE;} + .d2-300178533 .background-color-AB4{background-color:#EDF0FD;} + .d2-300178533 .background-color-AB5{background-color:#F7F8FE;} + .d2-300178533 .color-N1{color:#0A0F25;} + .d2-300178533 .color-N2{color:#676C7E;} + .d2-300178533 .color-N3{color:#9499AB;} + .d2-300178533 .color-N4{color:#CFD2DD;} + .d2-300178533 .color-N5{color:#DEE1EB;} + .d2-300178533 .color-N6{color:#EEF1F8;} + .d2-300178533 .color-N7{color:#FFFFFF;} + .d2-300178533 .color-B1{color:#0D32B2;} + .d2-300178533 .color-B2{color:#0D32B2;} + .d2-300178533 .color-B3{color:#E3E9FD;} + .d2-300178533 .color-B4{color:#E3E9FD;} + .d2-300178533 .color-B5{color:#EDF0FD;} + .d2-300178533 .color-B6{color:#F7F8FE;} + .d2-300178533 .color-AA2{color:#4A6FF3;} + .d2-300178533 .color-AA4{color:#EDF0FD;} + .d2-300178533 .color-AA5{color:#F7F8FE;} + .d2-300178533 .color-AB4{color:#EDF0FD;} + .d2-300178533 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc diff --git a/e2etests/testdata/sanity/basic/dagre/sketch.exp.svg b/e2etests/testdata/sanity/basic/dagre/sketch.exp.svg index 3b8148501..9477f95fe 100644 --- a/e2etests/testdata/sanity/basic/dagre/sketch.exp.svg +++ b/e2etests/testdata/sanity/basic/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ab + .d2-3922440645 .fill-N1{fill:#0A0F25;} + .d2-3922440645 .fill-N2{fill:#676C7E;} + .d2-3922440645 .fill-N3{fill:#9499AB;} + .d2-3922440645 .fill-N4{fill:#CFD2DD;} + .d2-3922440645 .fill-N5{fill:#DEE1EB;} + .d2-3922440645 .fill-N6{fill:#EEF1F8;} + .d2-3922440645 .fill-N7{fill:#FFFFFF;} + .d2-3922440645 .fill-B1{fill:#0D32B2;} + .d2-3922440645 .fill-B2{fill:#0D32B2;} + .d2-3922440645 .fill-B3{fill:#E3E9FD;} + .d2-3922440645 .fill-B4{fill:#E3E9FD;} + .d2-3922440645 .fill-B5{fill:#EDF0FD;} + .d2-3922440645 .fill-B6{fill:#F7F8FE;} + .d2-3922440645 .fill-AA2{fill:#4A6FF3;} + .d2-3922440645 .fill-AA4{fill:#EDF0FD;} + .d2-3922440645 .fill-AA5{fill:#F7F8FE;} + .d2-3922440645 .fill-AB4{fill:#EDF0FD;} + .d2-3922440645 .fill-AB5{fill:#F7F8FE;} + .d2-3922440645 .stroke-N1{stroke:#0A0F25;} + .d2-3922440645 .stroke-N2{stroke:#676C7E;} + .d2-3922440645 .stroke-N3{stroke:#9499AB;} + .d2-3922440645 .stroke-N4{stroke:#CFD2DD;} + .d2-3922440645 .stroke-N5{stroke:#DEE1EB;} + .d2-3922440645 .stroke-N6{stroke:#EEF1F8;} + .d2-3922440645 .stroke-N7{stroke:#FFFFFF;} + .d2-3922440645 .stroke-B1{stroke:#0D32B2;} + .d2-3922440645 .stroke-B2{stroke:#0D32B2;} + .d2-3922440645 .stroke-B3{stroke:#E3E9FD;} + .d2-3922440645 .stroke-B4{stroke:#E3E9FD;} + .d2-3922440645 .stroke-B5{stroke:#EDF0FD;} + .d2-3922440645 .stroke-B6{stroke:#F7F8FE;} + .d2-3922440645 .stroke-AA2{stroke:#4A6FF3;} + .d2-3922440645 .stroke-AA4{stroke:#EDF0FD;} + .d2-3922440645 .stroke-AA5{stroke:#F7F8FE;} + .d2-3922440645 .stroke-AB4{stroke:#EDF0FD;} + .d2-3922440645 .stroke-AB5{stroke:#F7F8FE;} + .d2-3922440645 .background-color-N1{background-color:#0A0F25;} + .d2-3922440645 .background-color-N2{background-color:#676C7E;} + .d2-3922440645 .background-color-N3{background-color:#9499AB;} + .d2-3922440645 .background-color-N4{background-color:#CFD2DD;} + .d2-3922440645 .background-color-N5{background-color:#DEE1EB;} + .d2-3922440645 .background-color-N6{background-color:#EEF1F8;} + .d2-3922440645 .background-color-N7{background-color:#FFFFFF;} + .d2-3922440645 .background-color-B1{background-color:#0D32B2;} + .d2-3922440645 .background-color-B2{background-color:#0D32B2;} + .d2-3922440645 .background-color-B3{background-color:#E3E9FD;} + .d2-3922440645 .background-color-B4{background-color:#E3E9FD;} + .d2-3922440645 .background-color-B5{background-color:#EDF0FD;} + .d2-3922440645 .background-color-B6{background-color:#F7F8FE;} + .d2-3922440645 .background-color-AA2{background-color:#4A6FF3;} + .d2-3922440645 .background-color-AA4{background-color:#EDF0FD;} + .d2-3922440645 .background-color-AA5{background-color:#F7F8FE;} + .d2-3922440645 .background-color-AB4{background-color:#EDF0FD;} + .d2-3922440645 .background-color-AB5{background-color:#F7F8FE;} + .d2-3922440645 .color-N1{color:#0A0F25;} + .d2-3922440645 .color-N2{color:#676C7E;} + .d2-3922440645 .color-N3{color:#9499AB;} + .d2-3922440645 .color-N4{color:#CFD2DD;} + .d2-3922440645 .color-N5{color:#DEE1EB;} + .d2-3922440645 .color-N6{color:#EEF1F8;} + .d2-3922440645 .color-N7{color:#FFFFFF;} + .d2-3922440645 .color-B1{color:#0D32B2;} + .d2-3922440645 .color-B2{color:#0D32B2;} + .d2-3922440645 .color-B3{color:#E3E9FD;} + .d2-3922440645 .color-B4{color:#E3E9FD;} + .d2-3922440645 .color-B5{color:#EDF0FD;} + .d2-3922440645 .color-B6{color:#F7F8FE;} + .d2-3922440645 .color-AA2{color:#4A6FF3;} + .d2-3922440645 .color-AA4{color:#EDF0FD;} + .d2-3922440645 .color-AA5{color:#F7F8FE;} + .d2-3922440645 .color-AB4{color:#EDF0FD;} + .d2-3922440645 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab diff --git a/e2etests/testdata/sanity/basic/elk/sketch.exp.svg b/e2etests/testdata/sanity/basic/elk/sketch.exp.svg index dac7e2756..d8e971c2c 100644 --- a/e2etests/testdata/sanity/basic/elk/sketch.exp.svg +++ b/e2etests/testdata/sanity/basic/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ab + .d2-2281223062 .fill-N1{fill:#0A0F25;} + .d2-2281223062 .fill-N2{fill:#676C7E;} + .d2-2281223062 .fill-N3{fill:#9499AB;} + .d2-2281223062 .fill-N4{fill:#CFD2DD;} + .d2-2281223062 .fill-N5{fill:#DEE1EB;} + .d2-2281223062 .fill-N6{fill:#EEF1F8;} + .d2-2281223062 .fill-N7{fill:#FFFFFF;} + .d2-2281223062 .fill-B1{fill:#0D32B2;} + .d2-2281223062 .fill-B2{fill:#0D32B2;} + .d2-2281223062 .fill-B3{fill:#E3E9FD;} + .d2-2281223062 .fill-B4{fill:#E3E9FD;} + .d2-2281223062 .fill-B5{fill:#EDF0FD;} + .d2-2281223062 .fill-B6{fill:#F7F8FE;} + .d2-2281223062 .fill-AA2{fill:#4A6FF3;} + .d2-2281223062 .fill-AA4{fill:#EDF0FD;} + .d2-2281223062 .fill-AA5{fill:#F7F8FE;} + .d2-2281223062 .fill-AB4{fill:#EDF0FD;} + .d2-2281223062 .fill-AB5{fill:#F7F8FE;} + .d2-2281223062 .stroke-N1{stroke:#0A0F25;} + .d2-2281223062 .stroke-N2{stroke:#676C7E;} + .d2-2281223062 .stroke-N3{stroke:#9499AB;} + .d2-2281223062 .stroke-N4{stroke:#CFD2DD;} + .d2-2281223062 .stroke-N5{stroke:#DEE1EB;} + .d2-2281223062 .stroke-N6{stroke:#EEF1F8;} + .d2-2281223062 .stroke-N7{stroke:#FFFFFF;} + .d2-2281223062 .stroke-B1{stroke:#0D32B2;} + .d2-2281223062 .stroke-B2{stroke:#0D32B2;} + .d2-2281223062 .stroke-B3{stroke:#E3E9FD;} + .d2-2281223062 .stroke-B4{stroke:#E3E9FD;} + .d2-2281223062 .stroke-B5{stroke:#EDF0FD;} + .d2-2281223062 .stroke-B6{stroke:#F7F8FE;} + .d2-2281223062 .stroke-AA2{stroke:#4A6FF3;} + .d2-2281223062 .stroke-AA4{stroke:#EDF0FD;} + .d2-2281223062 .stroke-AA5{stroke:#F7F8FE;} + .d2-2281223062 .stroke-AB4{stroke:#EDF0FD;} + .d2-2281223062 .stroke-AB5{stroke:#F7F8FE;} + .d2-2281223062 .background-color-N1{background-color:#0A0F25;} + .d2-2281223062 .background-color-N2{background-color:#676C7E;} + .d2-2281223062 .background-color-N3{background-color:#9499AB;} + .d2-2281223062 .background-color-N4{background-color:#CFD2DD;} + .d2-2281223062 .background-color-N5{background-color:#DEE1EB;} + .d2-2281223062 .background-color-N6{background-color:#EEF1F8;} + .d2-2281223062 .background-color-N7{background-color:#FFFFFF;} + .d2-2281223062 .background-color-B1{background-color:#0D32B2;} + .d2-2281223062 .background-color-B2{background-color:#0D32B2;} + .d2-2281223062 .background-color-B3{background-color:#E3E9FD;} + .d2-2281223062 .background-color-B4{background-color:#E3E9FD;} + .d2-2281223062 .background-color-B5{background-color:#EDF0FD;} + .d2-2281223062 .background-color-B6{background-color:#F7F8FE;} + .d2-2281223062 .background-color-AA2{background-color:#4A6FF3;} + .d2-2281223062 .background-color-AA4{background-color:#EDF0FD;} + .d2-2281223062 .background-color-AA5{background-color:#F7F8FE;} + .d2-2281223062 .background-color-AB4{background-color:#EDF0FD;} + .d2-2281223062 .background-color-AB5{background-color:#F7F8FE;} + .d2-2281223062 .color-N1{color:#0A0F25;} + .d2-2281223062 .color-N2{color:#676C7E;} + .d2-2281223062 .color-N3{color:#9499AB;} + .d2-2281223062 .color-N4{color:#CFD2DD;} + .d2-2281223062 .color-N5{color:#DEE1EB;} + .d2-2281223062 .color-N6{color:#EEF1F8;} + .d2-2281223062 .color-N7{color:#FFFFFF;} + .d2-2281223062 .color-B1{color:#0D32B2;} + .d2-2281223062 .color-B2{color:#0D32B2;} + .d2-2281223062 .color-B3{color:#E3E9FD;} + .d2-2281223062 .color-B4{color:#E3E9FD;} + .d2-2281223062 .color-B5{color:#EDF0FD;} + .d2-2281223062 .color-B6{color:#F7F8FE;} + .d2-2281223062 .color-AA2{color:#4A6FF3;} + .d2-2281223062 .color-AA4{color:#EDF0FD;} + .d2-2281223062 .color-AA5{color:#F7F8FE;} + .d2-2281223062 .color-AB4{color:#EDF0FD;} + .d2-2281223062 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab diff --git a/e2etests/testdata/sanity/child_to_child/dagre/board.exp.json b/e2etests/testdata/sanity/child_to_child/dagre/board.exp.json index 34276371b..bbc33c06d 100644 --- a/e2etests/testdata/sanity/child_to_child/dagre/board.exp.json +++ b/e2etests/testdata/sanity/child_to_child/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "a", "type": "rectangle", "pos": { - "x": 1, - "y": 41 + "x": 11, + "y": 20 }, - "width": 133, - "height": 125, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 41, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -89,11 +89,11 @@ "id": "c", "type": "rectangle", "pos": { - "x": 0, - "y": 307 + "x": 10, + "y": 286 }, - "width": 134, - "height": 125, + "width": 114, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 336 + "y": 316 }, "width": 54, "height": 66, @@ -195,11 +195,11 @@ "route": [ { "x": 67, - "y": 136.5 + "y": 116 }, { "x": 67, - "y": 160.10000610351562 + "y": 156 }, { "x": 67, @@ -215,11 +215,11 @@ }, { "x": 67, - "y": 280.1000061035156 + "y": 276 }, { "x": 67, - "y": 336.5 + "y": 316 } ], "isCurve": true, diff --git a/e2etests/testdata/sanity/child_to_child/dagre/sketch.exp.svg b/e2etests/testdata/sanity/child_to_child/dagre/sketch.exp.svg index 00eb18985..392f9bd30 100644 --- a/e2etests/testdata/sanity/child_to_child/dagre/sketch.exp.svg +++ b/e2etests/testdata/sanity/child_to_child/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -acbd - - - - - + .d2-3033909617 .fill-N1{fill:#0A0F25;} + .d2-3033909617 .fill-N2{fill:#676C7E;} + .d2-3033909617 .fill-N3{fill:#9499AB;} + .d2-3033909617 .fill-N4{fill:#CFD2DD;} + .d2-3033909617 .fill-N5{fill:#DEE1EB;} + .d2-3033909617 .fill-N6{fill:#EEF1F8;} + .d2-3033909617 .fill-N7{fill:#FFFFFF;} + .d2-3033909617 .fill-B1{fill:#0D32B2;} + .d2-3033909617 .fill-B2{fill:#0D32B2;} + .d2-3033909617 .fill-B3{fill:#E3E9FD;} + .d2-3033909617 .fill-B4{fill:#E3E9FD;} + .d2-3033909617 .fill-B5{fill:#EDF0FD;} + .d2-3033909617 .fill-B6{fill:#F7F8FE;} + .d2-3033909617 .fill-AA2{fill:#4A6FF3;} + .d2-3033909617 .fill-AA4{fill:#EDF0FD;} + .d2-3033909617 .fill-AA5{fill:#F7F8FE;} + .d2-3033909617 .fill-AB4{fill:#EDF0FD;} + .d2-3033909617 .fill-AB5{fill:#F7F8FE;} + .d2-3033909617 .stroke-N1{stroke:#0A0F25;} + .d2-3033909617 .stroke-N2{stroke:#676C7E;} + .d2-3033909617 .stroke-N3{stroke:#9499AB;} + .d2-3033909617 .stroke-N4{stroke:#CFD2DD;} + .d2-3033909617 .stroke-N5{stroke:#DEE1EB;} + .d2-3033909617 .stroke-N6{stroke:#EEF1F8;} + .d2-3033909617 .stroke-N7{stroke:#FFFFFF;} + .d2-3033909617 .stroke-B1{stroke:#0D32B2;} + .d2-3033909617 .stroke-B2{stroke:#0D32B2;} + .d2-3033909617 .stroke-B3{stroke:#E3E9FD;} + .d2-3033909617 .stroke-B4{stroke:#E3E9FD;} + .d2-3033909617 .stroke-B5{stroke:#EDF0FD;} + .d2-3033909617 .stroke-B6{stroke:#F7F8FE;} + .d2-3033909617 .stroke-AA2{stroke:#4A6FF3;} + .d2-3033909617 .stroke-AA4{stroke:#EDF0FD;} + .d2-3033909617 .stroke-AA5{stroke:#F7F8FE;} + .d2-3033909617 .stroke-AB4{stroke:#EDF0FD;} + .d2-3033909617 .stroke-AB5{stroke:#F7F8FE;} + .d2-3033909617 .background-color-N1{background-color:#0A0F25;} + .d2-3033909617 .background-color-N2{background-color:#676C7E;} + .d2-3033909617 .background-color-N3{background-color:#9499AB;} + .d2-3033909617 .background-color-N4{background-color:#CFD2DD;} + .d2-3033909617 .background-color-N5{background-color:#DEE1EB;} + .d2-3033909617 .background-color-N6{background-color:#EEF1F8;} + .d2-3033909617 .background-color-N7{background-color:#FFFFFF;} + .d2-3033909617 .background-color-B1{background-color:#0D32B2;} + .d2-3033909617 .background-color-B2{background-color:#0D32B2;} + .d2-3033909617 .background-color-B3{background-color:#E3E9FD;} + .d2-3033909617 .background-color-B4{background-color:#E3E9FD;} + .d2-3033909617 .background-color-B5{background-color:#EDF0FD;} + .d2-3033909617 .background-color-B6{background-color:#F7F8FE;} + .d2-3033909617 .background-color-AA2{background-color:#4A6FF3;} + .d2-3033909617 .background-color-AA4{background-color:#EDF0FD;} + .d2-3033909617 .background-color-AA5{background-color:#F7F8FE;} + .d2-3033909617 .background-color-AB4{background-color:#EDF0FD;} + .d2-3033909617 .background-color-AB5{background-color:#F7F8FE;} + .d2-3033909617 .color-N1{color:#0A0F25;} + .d2-3033909617 .color-N2{color:#676C7E;} + .d2-3033909617 .color-N3{color:#9499AB;} + .d2-3033909617 .color-N4{color:#CFD2DD;} + .d2-3033909617 .color-N5{color:#DEE1EB;} + .d2-3033909617 .color-N6{color:#EEF1F8;} + .d2-3033909617 .color-N7{color:#FFFFFF;} + .d2-3033909617 .color-B1{color:#0D32B2;} + .d2-3033909617 .color-B2{color:#0D32B2;} + .d2-3033909617 .color-B3{color:#E3E9FD;} + .d2-3033909617 .color-B4{color:#E3E9FD;} + .d2-3033909617 .color-B5{color:#EDF0FD;} + .d2-3033909617 .color-B6{color:#F7F8FE;} + .d2-3033909617 .color-AA2{color:#4A6FF3;} + .d2-3033909617 .color-AA4{color:#EDF0FD;} + .d2-3033909617 .color-AA5{color:#F7F8FE;} + .d2-3033909617 .color-AB4{color:#EDF0FD;} + .d2-3033909617 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acbd + + + + + \ No newline at end of file diff --git a/e2etests/testdata/sanity/child_to_child/elk/sketch.exp.svg b/e2etests/testdata/sanity/child_to_child/elk/sketch.exp.svg index 1101e2e53..f7b197f9c 100644 --- a/e2etests/testdata/sanity/child_to_child/elk/sketch.exp.svg +++ b/e2etests/testdata/sanity/child_to_child/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -acbd + .d2-916026630 .fill-N1{fill:#0A0F25;} + .d2-916026630 .fill-N2{fill:#676C7E;} + .d2-916026630 .fill-N3{fill:#9499AB;} + .d2-916026630 .fill-N4{fill:#CFD2DD;} + .d2-916026630 .fill-N5{fill:#DEE1EB;} + .d2-916026630 .fill-N6{fill:#EEF1F8;} + .d2-916026630 .fill-N7{fill:#FFFFFF;} + .d2-916026630 .fill-B1{fill:#0D32B2;} + .d2-916026630 .fill-B2{fill:#0D32B2;} + .d2-916026630 .fill-B3{fill:#E3E9FD;} + .d2-916026630 .fill-B4{fill:#E3E9FD;} + .d2-916026630 .fill-B5{fill:#EDF0FD;} + .d2-916026630 .fill-B6{fill:#F7F8FE;} + .d2-916026630 .fill-AA2{fill:#4A6FF3;} + .d2-916026630 .fill-AA4{fill:#EDF0FD;} + .d2-916026630 .fill-AA5{fill:#F7F8FE;} + .d2-916026630 .fill-AB4{fill:#EDF0FD;} + .d2-916026630 .fill-AB5{fill:#F7F8FE;} + .d2-916026630 .stroke-N1{stroke:#0A0F25;} + .d2-916026630 .stroke-N2{stroke:#676C7E;} + .d2-916026630 .stroke-N3{stroke:#9499AB;} + .d2-916026630 .stroke-N4{stroke:#CFD2DD;} + .d2-916026630 .stroke-N5{stroke:#DEE1EB;} + .d2-916026630 .stroke-N6{stroke:#EEF1F8;} + .d2-916026630 .stroke-N7{stroke:#FFFFFF;} + .d2-916026630 .stroke-B1{stroke:#0D32B2;} + .d2-916026630 .stroke-B2{stroke:#0D32B2;} + .d2-916026630 .stroke-B3{stroke:#E3E9FD;} + .d2-916026630 .stroke-B4{stroke:#E3E9FD;} + .d2-916026630 .stroke-B5{stroke:#EDF0FD;} + .d2-916026630 .stroke-B6{stroke:#F7F8FE;} + .d2-916026630 .stroke-AA2{stroke:#4A6FF3;} + .d2-916026630 .stroke-AA4{stroke:#EDF0FD;} + .d2-916026630 .stroke-AA5{stroke:#F7F8FE;} + .d2-916026630 .stroke-AB4{stroke:#EDF0FD;} + .d2-916026630 .stroke-AB5{stroke:#F7F8FE;} + .d2-916026630 .background-color-N1{background-color:#0A0F25;} + .d2-916026630 .background-color-N2{background-color:#676C7E;} + .d2-916026630 .background-color-N3{background-color:#9499AB;} + .d2-916026630 .background-color-N4{background-color:#CFD2DD;} + .d2-916026630 .background-color-N5{background-color:#DEE1EB;} + .d2-916026630 .background-color-N6{background-color:#EEF1F8;} + .d2-916026630 .background-color-N7{background-color:#FFFFFF;} + .d2-916026630 .background-color-B1{background-color:#0D32B2;} + .d2-916026630 .background-color-B2{background-color:#0D32B2;} + .d2-916026630 .background-color-B3{background-color:#E3E9FD;} + .d2-916026630 .background-color-B4{background-color:#E3E9FD;} + .d2-916026630 .background-color-B5{background-color:#EDF0FD;} + .d2-916026630 .background-color-B6{background-color:#F7F8FE;} + .d2-916026630 .background-color-AA2{background-color:#4A6FF3;} + .d2-916026630 .background-color-AA4{background-color:#EDF0FD;} + .d2-916026630 .background-color-AA5{background-color:#F7F8FE;} + .d2-916026630 .background-color-AB4{background-color:#EDF0FD;} + .d2-916026630 .background-color-AB5{background-color:#F7F8FE;} + .d2-916026630 .color-N1{color:#0A0F25;} + .d2-916026630 .color-N2{color:#676C7E;} + .d2-916026630 .color-N3{color:#9499AB;} + .d2-916026630 .color-N4{color:#CFD2DD;} + .d2-916026630 .color-N5{color:#DEE1EB;} + .d2-916026630 .color-N6{color:#EEF1F8;} + .d2-916026630 .color-N7{color:#FFFFFF;} + .d2-916026630 .color-B1{color:#0D32B2;} + .d2-916026630 .color-B2{color:#0D32B2;} + .d2-916026630 .color-B3{color:#E3E9FD;} + .d2-916026630 .color-B4{color:#E3E9FD;} + .d2-916026630 .color-B5{color:#EDF0FD;} + .d2-916026630 .color-B6{color:#F7F8FE;} + .d2-916026630 .color-AA2{color:#4A6FF3;} + .d2-916026630 .color-AA4{color:#EDF0FD;} + .d2-916026630 .color-AA5{color:#F7F8FE;} + .d2-916026630 .color-AB4{color:#EDF0FD;} + .d2-916026630 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acbd diff --git a/e2etests/testdata/sanity/connection_label/dagre/board.exp.json b/e2etests/testdata/sanity/connection_label/dagre/board.exp.json index 312307315..434db15e4 100644 --- a/e2etests/testdata/sanity/connection_label/dagre/board.exp.json +++ b/e2etests/testdata/sanity/connection_label/dagre/board.exp.json @@ -113,11 +113,11 @@ "route": [ { "x": 26.5, - "y": 66 + "y": 65.5 }, { "x": 26.5, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 26.5, diff --git a/e2etests/testdata/sanity/connection_label/dagre/sketch.exp.svg b/e2etests/testdata/sanity/connection_label/dagre/sketch.exp.svg index 04e56647d..9e5440f5c 100644 --- a/e2etests/testdata/sanity/connection_label/dagre/sketch.exp.svg +++ b/e2etests/testdata/sanity/connection_label/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ab hello + .d2-1787500422 .fill-N1{fill:#0A0F25;} + .d2-1787500422 .fill-N2{fill:#676C7E;} + .d2-1787500422 .fill-N3{fill:#9499AB;} + .d2-1787500422 .fill-N4{fill:#CFD2DD;} + .d2-1787500422 .fill-N5{fill:#DEE1EB;} + .d2-1787500422 .fill-N6{fill:#EEF1F8;} + .d2-1787500422 .fill-N7{fill:#FFFFFF;} + .d2-1787500422 .fill-B1{fill:#0D32B2;} + .d2-1787500422 .fill-B2{fill:#0D32B2;} + .d2-1787500422 .fill-B3{fill:#E3E9FD;} + .d2-1787500422 .fill-B4{fill:#E3E9FD;} + .d2-1787500422 .fill-B5{fill:#EDF0FD;} + .d2-1787500422 .fill-B6{fill:#F7F8FE;} + .d2-1787500422 .fill-AA2{fill:#4A6FF3;} + .d2-1787500422 .fill-AA4{fill:#EDF0FD;} + .d2-1787500422 .fill-AA5{fill:#F7F8FE;} + .d2-1787500422 .fill-AB4{fill:#EDF0FD;} + .d2-1787500422 .fill-AB5{fill:#F7F8FE;} + .d2-1787500422 .stroke-N1{stroke:#0A0F25;} + .d2-1787500422 .stroke-N2{stroke:#676C7E;} + .d2-1787500422 .stroke-N3{stroke:#9499AB;} + .d2-1787500422 .stroke-N4{stroke:#CFD2DD;} + .d2-1787500422 .stroke-N5{stroke:#DEE1EB;} + .d2-1787500422 .stroke-N6{stroke:#EEF1F8;} + .d2-1787500422 .stroke-N7{stroke:#FFFFFF;} + .d2-1787500422 .stroke-B1{stroke:#0D32B2;} + .d2-1787500422 .stroke-B2{stroke:#0D32B2;} + .d2-1787500422 .stroke-B3{stroke:#E3E9FD;} + .d2-1787500422 .stroke-B4{stroke:#E3E9FD;} + .d2-1787500422 .stroke-B5{stroke:#EDF0FD;} + .d2-1787500422 .stroke-B6{stroke:#F7F8FE;} + .d2-1787500422 .stroke-AA2{stroke:#4A6FF3;} + .d2-1787500422 .stroke-AA4{stroke:#EDF0FD;} + .d2-1787500422 .stroke-AA5{stroke:#F7F8FE;} + .d2-1787500422 .stroke-AB4{stroke:#EDF0FD;} + .d2-1787500422 .stroke-AB5{stroke:#F7F8FE;} + .d2-1787500422 .background-color-N1{background-color:#0A0F25;} + .d2-1787500422 .background-color-N2{background-color:#676C7E;} + .d2-1787500422 .background-color-N3{background-color:#9499AB;} + .d2-1787500422 .background-color-N4{background-color:#CFD2DD;} + .d2-1787500422 .background-color-N5{background-color:#DEE1EB;} + .d2-1787500422 .background-color-N6{background-color:#EEF1F8;} + .d2-1787500422 .background-color-N7{background-color:#FFFFFF;} + .d2-1787500422 .background-color-B1{background-color:#0D32B2;} + .d2-1787500422 .background-color-B2{background-color:#0D32B2;} + .d2-1787500422 .background-color-B3{background-color:#E3E9FD;} + .d2-1787500422 .background-color-B4{background-color:#E3E9FD;} + .d2-1787500422 .background-color-B5{background-color:#EDF0FD;} + .d2-1787500422 .background-color-B6{background-color:#F7F8FE;} + .d2-1787500422 .background-color-AA2{background-color:#4A6FF3;} + .d2-1787500422 .background-color-AA4{background-color:#EDF0FD;} + .d2-1787500422 .background-color-AA5{background-color:#F7F8FE;} + .d2-1787500422 .background-color-AB4{background-color:#EDF0FD;} + .d2-1787500422 .background-color-AB5{background-color:#F7F8FE;} + .d2-1787500422 .color-N1{color:#0A0F25;} + .d2-1787500422 .color-N2{color:#676C7E;} + .d2-1787500422 .color-N3{color:#9499AB;} + .d2-1787500422 .color-N4{color:#CFD2DD;} + .d2-1787500422 .color-N5{color:#DEE1EB;} + .d2-1787500422 .color-N6{color:#EEF1F8;} + .d2-1787500422 .color-N7{color:#FFFFFF;} + .d2-1787500422 .color-B1{color:#0D32B2;} + .d2-1787500422 .color-B2{color:#0D32B2;} + .d2-1787500422 .color-B3{color:#E3E9FD;} + .d2-1787500422 .color-B4{color:#E3E9FD;} + .d2-1787500422 .color-B5{color:#EDF0FD;} + .d2-1787500422 .color-B6{color:#F7F8FE;} + .d2-1787500422 .color-AA2{color:#4A6FF3;} + .d2-1787500422 .color-AA4{color:#EDF0FD;} + .d2-1787500422 .color-AA5{color:#F7F8FE;} + .d2-1787500422 .color-AB4{color:#EDF0FD;} + .d2-1787500422 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab hello diff --git a/e2etests/testdata/sanity/connection_label/elk/sketch.exp.svg b/e2etests/testdata/sanity/connection_label/elk/sketch.exp.svg index 0f8295888..d4e148d9e 100644 --- a/e2etests/testdata/sanity/connection_label/elk/sketch.exp.svg +++ b/e2etests/testdata/sanity/connection_label/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ab hello + .d2-3569052263 .fill-N1{fill:#0A0F25;} + .d2-3569052263 .fill-N2{fill:#676C7E;} + .d2-3569052263 .fill-N3{fill:#9499AB;} + .d2-3569052263 .fill-N4{fill:#CFD2DD;} + .d2-3569052263 .fill-N5{fill:#DEE1EB;} + .d2-3569052263 .fill-N6{fill:#EEF1F8;} + .d2-3569052263 .fill-N7{fill:#FFFFFF;} + .d2-3569052263 .fill-B1{fill:#0D32B2;} + .d2-3569052263 .fill-B2{fill:#0D32B2;} + .d2-3569052263 .fill-B3{fill:#E3E9FD;} + .d2-3569052263 .fill-B4{fill:#E3E9FD;} + .d2-3569052263 .fill-B5{fill:#EDF0FD;} + .d2-3569052263 .fill-B6{fill:#F7F8FE;} + .d2-3569052263 .fill-AA2{fill:#4A6FF3;} + .d2-3569052263 .fill-AA4{fill:#EDF0FD;} + .d2-3569052263 .fill-AA5{fill:#F7F8FE;} + .d2-3569052263 .fill-AB4{fill:#EDF0FD;} + .d2-3569052263 .fill-AB5{fill:#F7F8FE;} + .d2-3569052263 .stroke-N1{stroke:#0A0F25;} + .d2-3569052263 .stroke-N2{stroke:#676C7E;} + .d2-3569052263 .stroke-N3{stroke:#9499AB;} + .d2-3569052263 .stroke-N4{stroke:#CFD2DD;} + .d2-3569052263 .stroke-N5{stroke:#DEE1EB;} + .d2-3569052263 .stroke-N6{stroke:#EEF1F8;} + .d2-3569052263 .stroke-N7{stroke:#FFFFFF;} + .d2-3569052263 .stroke-B1{stroke:#0D32B2;} + .d2-3569052263 .stroke-B2{stroke:#0D32B2;} + .d2-3569052263 .stroke-B3{stroke:#E3E9FD;} + .d2-3569052263 .stroke-B4{stroke:#E3E9FD;} + .d2-3569052263 .stroke-B5{stroke:#EDF0FD;} + .d2-3569052263 .stroke-B6{stroke:#F7F8FE;} + .d2-3569052263 .stroke-AA2{stroke:#4A6FF3;} + .d2-3569052263 .stroke-AA4{stroke:#EDF0FD;} + .d2-3569052263 .stroke-AA5{stroke:#F7F8FE;} + .d2-3569052263 .stroke-AB4{stroke:#EDF0FD;} + .d2-3569052263 .stroke-AB5{stroke:#F7F8FE;} + .d2-3569052263 .background-color-N1{background-color:#0A0F25;} + .d2-3569052263 .background-color-N2{background-color:#676C7E;} + .d2-3569052263 .background-color-N3{background-color:#9499AB;} + .d2-3569052263 .background-color-N4{background-color:#CFD2DD;} + .d2-3569052263 .background-color-N5{background-color:#DEE1EB;} + .d2-3569052263 .background-color-N6{background-color:#EEF1F8;} + .d2-3569052263 .background-color-N7{background-color:#FFFFFF;} + .d2-3569052263 .background-color-B1{background-color:#0D32B2;} + .d2-3569052263 .background-color-B2{background-color:#0D32B2;} + .d2-3569052263 .background-color-B3{background-color:#E3E9FD;} + .d2-3569052263 .background-color-B4{background-color:#E3E9FD;} + .d2-3569052263 .background-color-B5{background-color:#EDF0FD;} + .d2-3569052263 .background-color-B6{background-color:#F7F8FE;} + .d2-3569052263 .background-color-AA2{background-color:#4A6FF3;} + .d2-3569052263 .background-color-AA4{background-color:#EDF0FD;} + .d2-3569052263 .background-color-AA5{background-color:#F7F8FE;} + .d2-3569052263 .background-color-AB4{background-color:#EDF0FD;} + .d2-3569052263 .background-color-AB5{background-color:#F7F8FE;} + .d2-3569052263 .color-N1{color:#0A0F25;} + .d2-3569052263 .color-N2{color:#676C7E;} + .d2-3569052263 .color-N3{color:#9499AB;} + .d2-3569052263 .color-N4{color:#CFD2DD;} + .d2-3569052263 .color-N5{color:#DEE1EB;} + .d2-3569052263 .color-N6{color:#EEF1F8;} + .d2-3569052263 .color-N7{color:#FFFFFF;} + .d2-3569052263 .color-B1{color:#0D32B2;} + .d2-3569052263 .color-B2{color:#0D32B2;} + .d2-3569052263 .color-B3{color:#E3E9FD;} + .d2-3569052263 .color-B4{color:#E3E9FD;} + .d2-3569052263 .color-B5{color:#EDF0FD;} + .d2-3569052263 .color-B6{color:#F7F8FE;} + .d2-3569052263 .color-AA2{color:#4A6FF3;} + .d2-3569052263 .color-AA4{color:#EDF0FD;} + .d2-3569052263 .color-AA5{color:#F7F8FE;} + .d2-3569052263 .color-AB4{color:#EDF0FD;} + .d2-3569052263 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab hello diff --git a/e2etests/testdata/sanity/empty/dagre/board.exp.json b/e2etests/testdata/sanity/empty/dagre/board.exp.json index 193d4edf8..8c31d7ff3 100644 --- a/e2etests/testdata/sanity/empty/dagre/board.exp.json +++ b/e2etests/testdata/sanity/empty/dagre/board.exp.json @@ -1,6 +1,6 @@ { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "fontFamily": "SourceSansPro", "shapes": [], "connections": [], diff --git a/e2etests/testdata/sanity/empty/dagre/sketch.exp.svg b/e2etests/testdata/sanity/empty/dagre/sketch.exp.svg index cae6cbc98..d46c12ef2 100644 --- a/e2etests/testdata/sanity/empty/dagre/sketch.exp.svg +++ b/e2etests/testdata/sanity/empty/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - - - - \ No newline at end of file + .d2-2501080991 .fill-N1{fill:#0A0F25;} + .d2-2501080991 .fill-N2{fill:#676C7E;} + .d2-2501080991 .fill-N3{fill:#9499AB;} + .d2-2501080991 .fill-N4{fill:#CFD2DD;} + .d2-2501080991 .fill-N5{fill:#DEE1EB;} + .d2-2501080991 .fill-N6{fill:#EEF1F8;} + .d2-2501080991 .fill-N7{fill:#FFFFFF;} + .d2-2501080991 .fill-B1{fill:#0D32B2;} + .d2-2501080991 .fill-B2{fill:#0D32B2;} + .d2-2501080991 .fill-B3{fill:#E3E9FD;} + .d2-2501080991 .fill-B4{fill:#E3E9FD;} + .d2-2501080991 .fill-B5{fill:#EDF0FD;} + .d2-2501080991 .fill-B6{fill:#F7F8FE;} + .d2-2501080991 .fill-AA2{fill:#4A6FF3;} + .d2-2501080991 .fill-AA4{fill:#EDF0FD;} + .d2-2501080991 .fill-AA5{fill:#F7F8FE;} + .d2-2501080991 .fill-AB4{fill:#EDF0FD;} + .d2-2501080991 .fill-AB5{fill:#F7F8FE;} + .d2-2501080991 .stroke-N1{stroke:#0A0F25;} + .d2-2501080991 .stroke-N2{stroke:#676C7E;} + .d2-2501080991 .stroke-N3{stroke:#9499AB;} + .d2-2501080991 .stroke-N4{stroke:#CFD2DD;} + .d2-2501080991 .stroke-N5{stroke:#DEE1EB;} + .d2-2501080991 .stroke-N6{stroke:#EEF1F8;} + .d2-2501080991 .stroke-N7{stroke:#FFFFFF;} + .d2-2501080991 .stroke-B1{stroke:#0D32B2;} + .d2-2501080991 .stroke-B2{stroke:#0D32B2;} + .d2-2501080991 .stroke-B3{stroke:#E3E9FD;} + .d2-2501080991 .stroke-B4{stroke:#E3E9FD;} + .d2-2501080991 .stroke-B5{stroke:#EDF0FD;} + .d2-2501080991 .stroke-B6{stroke:#F7F8FE;} + .d2-2501080991 .stroke-AA2{stroke:#4A6FF3;} + .d2-2501080991 .stroke-AA4{stroke:#EDF0FD;} + .d2-2501080991 .stroke-AA5{stroke:#F7F8FE;} + .d2-2501080991 .stroke-AB4{stroke:#EDF0FD;} + .d2-2501080991 .stroke-AB5{stroke:#F7F8FE;} + .d2-2501080991 .background-color-N1{background-color:#0A0F25;} + .d2-2501080991 .background-color-N2{background-color:#676C7E;} + .d2-2501080991 .background-color-N3{background-color:#9499AB;} + .d2-2501080991 .background-color-N4{background-color:#CFD2DD;} + .d2-2501080991 .background-color-N5{background-color:#DEE1EB;} + .d2-2501080991 .background-color-N6{background-color:#EEF1F8;} + .d2-2501080991 .background-color-N7{background-color:#FFFFFF;} + .d2-2501080991 .background-color-B1{background-color:#0D32B2;} + .d2-2501080991 .background-color-B2{background-color:#0D32B2;} + .d2-2501080991 .background-color-B3{background-color:#E3E9FD;} + .d2-2501080991 .background-color-B4{background-color:#E3E9FD;} + .d2-2501080991 .background-color-B5{background-color:#EDF0FD;} + .d2-2501080991 .background-color-B6{background-color:#F7F8FE;} + .d2-2501080991 .background-color-AA2{background-color:#4A6FF3;} + .d2-2501080991 .background-color-AA4{background-color:#EDF0FD;} + .d2-2501080991 .background-color-AA5{background-color:#F7F8FE;} + .d2-2501080991 .background-color-AB4{background-color:#EDF0FD;} + .d2-2501080991 .background-color-AB5{background-color:#F7F8FE;} + .d2-2501080991 .color-N1{color:#0A0F25;} + .d2-2501080991 .color-N2{color:#676C7E;} + .d2-2501080991 .color-N3{color:#9499AB;} + .d2-2501080991 .color-N4{color:#CFD2DD;} + .d2-2501080991 .color-N5{color:#DEE1EB;} + .d2-2501080991 .color-N6{color:#EEF1F8;} + .d2-2501080991 .color-N7{color:#FFFFFF;} + .d2-2501080991 .color-B1{color:#0D32B2;} + .d2-2501080991 .color-B2{color:#0D32B2;} + .d2-2501080991 .color-B3{color:#E3E9FD;} + .d2-2501080991 .color-B4{color:#E3E9FD;} + .d2-2501080991 .color-B5{color:#EDF0FD;} + .d2-2501080991 .color-B6{color:#F7F8FE;} + .d2-2501080991 .color-AA2{color:#4A6FF3;} + .d2-2501080991 .color-AA4{color:#EDF0FD;} + .d2-2501080991 .color-AA5{color:#F7F8FE;} + .d2-2501080991 .color-AB4{color:#EDF0FD;} + .d2-2501080991 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/sanity/empty/elk/board.exp.json b/e2etests/testdata/sanity/empty/elk/board.exp.json index 193d4edf8..8c31d7ff3 100644 --- a/e2etests/testdata/sanity/empty/elk/board.exp.json +++ b/e2etests/testdata/sanity/empty/elk/board.exp.json @@ -1,6 +1,6 @@ { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "fontFamily": "SourceSansPro", "shapes": [], "connections": [], diff --git a/e2etests/testdata/sanity/empty/elk/sketch.exp.svg b/e2etests/testdata/sanity/empty/elk/sketch.exp.svg index cae6cbc98..d46c12ef2 100644 --- a/e2etests/testdata/sanity/empty/elk/sketch.exp.svg +++ b/e2etests/testdata/sanity/empty/elk/sketch.exp.svg @@ -1,4 +1,4 @@ - - - - \ No newline at end of file + .d2-2501080991 .fill-N1{fill:#0A0F25;} + .d2-2501080991 .fill-N2{fill:#676C7E;} + .d2-2501080991 .fill-N3{fill:#9499AB;} + .d2-2501080991 .fill-N4{fill:#CFD2DD;} + .d2-2501080991 .fill-N5{fill:#DEE1EB;} + .d2-2501080991 .fill-N6{fill:#EEF1F8;} + .d2-2501080991 .fill-N7{fill:#FFFFFF;} + .d2-2501080991 .fill-B1{fill:#0D32B2;} + .d2-2501080991 .fill-B2{fill:#0D32B2;} + .d2-2501080991 .fill-B3{fill:#E3E9FD;} + .d2-2501080991 .fill-B4{fill:#E3E9FD;} + .d2-2501080991 .fill-B5{fill:#EDF0FD;} + .d2-2501080991 .fill-B6{fill:#F7F8FE;} + .d2-2501080991 .fill-AA2{fill:#4A6FF3;} + .d2-2501080991 .fill-AA4{fill:#EDF0FD;} + .d2-2501080991 .fill-AA5{fill:#F7F8FE;} + .d2-2501080991 .fill-AB4{fill:#EDF0FD;} + .d2-2501080991 .fill-AB5{fill:#F7F8FE;} + .d2-2501080991 .stroke-N1{stroke:#0A0F25;} + .d2-2501080991 .stroke-N2{stroke:#676C7E;} + .d2-2501080991 .stroke-N3{stroke:#9499AB;} + .d2-2501080991 .stroke-N4{stroke:#CFD2DD;} + .d2-2501080991 .stroke-N5{stroke:#DEE1EB;} + .d2-2501080991 .stroke-N6{stroke:#EEF1F8;} + .d2-2501080991 .stroke-N7{stroke:#FFFFFF;} + .d2-2501080991 .stroke-B1{stroke:#0D32B2;} + .d2-2501080991 .stroke-B2{stroke:#0D32B2;} + .d2-2501080991 .stroke-B3{stroke:#E3E9FD;} + .d2-2501080991 .stroke-B4{stroke:#E3E9FD;} + .d2-2501080991 .stroke-B5{stroke:#EDF0FD;} + .d2-2501080991 .stroke-B6{stroke:#F7F8FE;} + .d2-2501080991 .stroke-AA2{stroke:#4A6FF3;} + .d2-2501080991 .stroke-AA4{stroke:#EDF0FD;} + .d2-2501080991 .stroke-AA5{stroke:#F7F8FE;} + .d2-2501080991 .stroke-AB4{stroke:#EDF0FD;} + .d2-2501080991 .stroke-AB5{stroke:#F7F8FE;} + .d2-2501080991 .background-color-N1{background-color:#0A0F25;} + .d2-2501080991 .background-color-N2{background-color:#676C7E;} + .d2-2501080991 .background-color-N3{background-color:#9499AB;} + .d2-2501080991 .background-color-N4{background-color:#CFD2DD;} + .d2-2501080991 .background-color-N5{background-color:#DEE1EB;} + .d2-2501080991 .background-color-N6{background-color:#EEF1F8;} + .d2-2501080991 .background-color-N7{background-color:#FFFFFF;} + .d2-2501080991 .background-color-B1{background-color:#0D32B2;} + .d2-2501080991 .background-color-B2{background-color:#0D32B2;} + .d2-2501080991 .background-color-B3{background-color:#E3E9FD;} + .d2-2501080991 .background-color-B4{background-color:#E3E9FD;} + .d2-2501080991 .background-color-B5{background-color:#EDF0FD;} + .d2-2501080991 .background-color-B6{background-color:#F7F8FE;} + .d2-2501080991 .background-color-AA2{background-color:#4A6FF3;} + .d2-2501080991 .background-color-AA4{background-color:#EDF0FD;} + .d2-2501080991 .background-color-AA5{background-color:#F7F8FE;} + .d2-2501080991 .background-color-AB4{background-color:#EDF0FD;} + .d2-2501080991 .background-color-AB5{background-color:#F7F8FE;} + .d2-2501080991 .color-N1{color:#0A0F25;} + .d2-2501080991 .color-N2{color:#676C7E;} + .d2-2501080991 .color-N3{color:#9499AB;} + .d2-2501080991 .color-N4{color:#CFD2DD;} + .d2-2501080991 .color-N5{color:#DEE1EB;} + .d2-2501080991 .color-N6{color:#EEF1F8;} + .d2-2501080991 .color-N7{color:#FFFFFF;} + .d2-2501080991 .color-B1{color:#0D32B2;} + .d2-2501080991 .color-B2{color:#0D32B2;} + .d2-2501080991 .color-B3{color:#E3E9FD;} + .d2-2501080991 .color-B4{color:#E3E9FD;} + .d2-2501080991 .color-B5{color:#EDF0FD;} + .d2-2501080991 .color-B6{color:#F7F8FE;} + .d2-2501080991 .color-AA2{color:#4A6FF3;} + .d2-2501080991 .color-AA4{color:#EDF0FD;} + .d2-2501080991 .color-AA5{color:#F7F8FE;} + .d2-2501080991 .color-AB4{color:#EDF0FD;} + .d2-2501080991 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/stable/3d_fill_and_stroke/dagre/board.exp.json b/e2etests/testdata/stable/3d_fill_and_stroke/dagre/board.exp.json index 4cf806b54..34bc15428 100644 --- a/e2etests/testdata/stable/3d_fill_and_stroke/dagre/board.exp.json +++ b/e2etests/testdata/stable/3d_fill_and_stroke/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "hexagon", "pos": { "x": 0, - "y": 7 + "y": 0 }, "width": 128, "height": 69, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 28, - "y": 400 + "y": 363 }, "width": 73, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 17, - "y": 191 + "y": 169 }, "width": 94, "height": 94, @@ -153,20 +153,20 @@ "labelPercentage": 0, "route": [ { - "x": 72, - "y": 76 + "x": 64, + "y": 69 }, { - "x": 71.5999984741211, - "y": 116 + "x": 64, + "y": 109 }, { - "x": 71.5, - "y": 136 + "x": 64, + "y": 126 }, { - "x": 71.5, - "y": 176 + "x": 64, + "y": 154 } ], "isCurve": true, @@ -200,20 +200,20 @@ "labelPercentage": 0, "route": [ { - "x": 71.5, - "y": 285 + "x": 64, + "y": 263 }, { - "x": 71.5, - "y": 325 + "x": 64, + "y": 303 }, { - "x": 71.5, - "y": 345 + "x": 64, + "y": 320 }, { - "x": 71.5, - "y": 385 + "x": 64, + "y": 348 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/3d_fill_and_stroke/dagre/sketch.exp.svg b/e2etests/testdata/stable/3d_fill_and_stroke/dagre/sketch.exp.svg index 5f653e080..4b3bfe472 100644 --- a/e2etests/testdata/stable/3d_fill_and_stroke/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/3d_fill_and_stroke/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ - - -hexagon - -rect - -square - - - - + .d2-3331526961 .fill-N1{fill:#0A0F25;} + .d2-3331526961 .fill-N2{fill:#676C7E;} + .d2-3331526961 .fill-N3{fill:#9499AB;} + .d2-3331526961 .fill-N4{fill:#CFD2DD;} + .d2-3331526961 .fill-N5{fill:#DEE1EB;} + .d2-3331526961 .fill-N6{fill:#EEF1F8;} + .d2-3331526961 .fill-N7{fill:#FFFFFF;} + .d2-3331526961 .fill-B1{fill:#0D32B2;} + .d2-3331526961 .fill-B2{fill:#0D32B2;} + .d2-3331526961 .fill-B3{fill:#E3E9FD;} + .d2-3331526961 .fill-B4{fill:#E3E9FD;} + .d2-3331526961 .fill-B5{fill:#EDF0FD;} + .d2-3331526961 .fill-B6{fill:#F7F8FE;} + .d2-3331526961 .fill-AA2{fill:#4A6FF3;} + .d2-3331526961 .fill-AA4{fill:#EDF0FD;} + .d2-3331526961 .fill-AA5{fill:#F7F8FE;} + .d2-3331526961 .fill-AB4{fill:#EDF0FD;} + .d2-3331526961 .fill-AB5{fill:#F7F8FE;} + .d2-3331526961 .stroke-N1{stroke:#0A0F25;} + .d2-3331526961 .stroke-N2{stroke:#676C7E;} + .d2-3331526961 .stroke-N3{stroke:#9499AB;} + .d2-3331526961 .stroke-N4{stroke:#CFD2DD;} + .d2-3331526961 .stroke-N5{stroke:#DEE1EB;} + .d2-3331526961 .stroke-N6{stroke:#EEF1F8;} + .d2-3331526961 .stroke-N7{stroke:#FFFFFF;} + .d2-3331526961 .stroke-B1{stroke:#0D32B2;} + .d2-3331526961 .stroke-B2{stroke:#0D32B2;} + .d2-3331526961 .stroke-B3{stroke:#E3E9FD;} + .d2-3331526961 .stroke-B4{stroke:#E3E9FD;} + .d2-3331526961 .stroke-B5{stroke:#EDF0FD;} + .d2-3331526961 .stroke-B6{stroke:#F7F8FE;} + .d2-3331526961 .stroke-AA2{stroke:#4A6FF3;} + .d2-3331526961 .stroke-AA4{stroke:#EDF0FD;} + .d2-3331526961 .stroke-AA5{stroke:#F7F8FE;} + .d2-3331526961 .stroke-AB4{stroke:#EDF0FD;} + .d2-3331526961 .stroke-AB5{stroke:#F7F8FE;} + .d2-3331526961 .background-color-N1{background-color:#0A0F25;} + .d2-3331526961 .background-color-N2{background-color:#676C7E;} + .d2-3331526961 .background-color-N3{background-color:#9499AB;} + .d2-3331526961 .background-color-N4{background-color:#CFD2DD;} + .d2-3331526961 .background-color-N5{background-color:#DEE1EB;} + .d2-3331526961 .background-color-N6{background-color:#EEF1F8;} + .d2-3331526961 .background-color-N7{background-color:#FFFFFF;} + .d2-3331526961 .background-color-B1{background-color:#0D32B2;} + .d2-3331526961 .background-color-B2{background-color:#0D32B2;} + .d2-3331526961 .background-color-B3{background-color:#E3E9FD;} + .d2-3331526961 .background-color-B4{background-color:#E3E9FD;} + .d2-3331526961 .background-color-B5{background-color:#EDF0FD;} + .d2-3331526961 .background-color-B6{background-color:#F7F8FE;} + .d2-3331526961 .background-color-AA2{background-color:#4A6FF3;} + .d2-3331526961 .background-color-AA4{background-color:#EDF0FD;} + .d2-3331526961 .background-color-AA5{background-color:#F7F8FE;} + .d2-3331526961 .background-color-AB4{background-color:#EDF0FD;} + .d2-3331526961 .background-color-AB5{background-color:#F7F8FE;} + .d2-3331526961 .color-N1{color:#0A0F25;} + .d2-3331526961 .color-N2{color:#676C7E;} + .d2-3331526961 .color-N3{color:#9499AB;} + .d2-3331526961 .color-N4{color:#CFD2DD;} + .d2-3331526961 .color-N5{color:#DEE1EB;} + .d2-3331526961 .color-N6{color:#EEF1F8;} + .d2-3331526961 .color-N7{color:#FFFFFF;} + .d2-3331526961 .color-B1{color:#0D32B2;} + .d2-3331526961 .color-B2{color:#0D32B2;} + .d2-3331526961 .color-B3{color:#E3E9FD;} + .d2-3331526961 .color-B4{color:#E3E9FD;} + .d2-3331526961 .color-B5{color:#EDF0FD;} + .d2-3331526961 .color-B6{color:#F7F8FE;} + .d2-3331526961 .color-AA2{color:#4A6FF3;} + .d2-3331526961 .color-AA4{color:#EDF0FD;} + .d2-3331526961 .color-AA5{color:#F7F8FE;} + .d2-3331526961 .color-AB4{color:#EDF0FD;} + .d2-3331526961 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> + +hexagon + +rect + +square + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/3d_fill_and_stroke/elk/board.exp.json b/e2etests/testdata/stable/3d_fill_and_stroke/elk/board.exp.json index 8705f3a7d..644bffb9d 100644 --- a/e2etests/testdata/stable/3d_fill_and_stroke/elk/board.exp.json +++ b/e2etests/testdata/stable/3d_fill_and_stroke/elk/board.exp.json @@ -157,7 +157,7 @@ "y": 88 }, { - "x": 83.5, + "x": 83, "y": 158 } ], diff --git a/e2etests/testdata/stable/3d_fill_and_stroke/elk/sketch.exp.svg b/e2etests/testdata/stable/3d_fill_and_stroke/elk/sketch.exp.svg index a95e8a4ae..42264ac12 100644 --- a/e2etests/testdata/stable/3d_fill_and_stroke/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/3d_fill_and_stroke/elk/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-3318436500 .fill-N1{fill:#0A0F25;} + .d2-3318436500 .fill-N2{fill:#676C7E;} + .d2-3318436500 .fill-N3{fill:#9499AB;} + .d2-3318436500 .fill-N4{fill:#CFD2DD;} + .d2-3318436500 .fill-N5{fill:#DEE1EB;} + .d2-3318436500 .fill-N6{fill:#EEF1F8;} + .d2-3318436500 .fill-N7{fill:#FFFFFF;} + .d2-3318436500 .fill-B1{fill:#0D32B2;} + .d2-3318436500 .fill-B2{fill:#0D32B2;} + .d2-3318436500 .fill-B3{fill:#E3E9FD;} + .d2-3318436500 .fill-B4{fill:#E3E9FD;} + .d2-3318436500 .fill-B5{fill:#EDF0FD;} + .d2-3318436500 .fill-B6{fill:#F7F8FE;} + .d2-3318436500 .fill-AA2{fill:#4A6FF3;} + .d2-3318436500 .fill-AA4{fill:#EDF0FD;} + .d2-3318436500 .fill-AA5{fill:#F7F8FE;} + .d2-3318436500 .fill-AB4{fill:#EDF0FD;} + .d2-3318436500 .fill-AB5{fill:#F7F8FE;} + .d2-3318436500 .stroke-N1{stroke:#0A0F25;} + .d2-3318436500 .stroke-N2{stroke:#676C7E;} + .d2-3318436500 .stroke-N3{stroke:#9499AB;} + .d2-3318436500 .stroke-N4{stroke:#CFD2DD;} + .d2-3318436500 .stroke-N5{stroke:#DEE1EB;} + .d2-3318436500 .stroke-N6{stroke:#EEF1F8;} + .d2-3318436500 .stroke-N7{stroke:#FFFFFF;} + .d2-3318436500 .stroke-B1{stroke:#0D32B2;} + .d2-3318436500 .stroke-B2{stroke:#0D32B2;} + .d2-3318436500 .stroke-B3{stroke:#E3E9FD;} + .d2-3318436500 .stroke-B4{stroke:#E3E9FD;} + .d2-3318436500 .stroke-B5{stroke:#EDF0FD;} + .d2-3318436500 .stroke-B6{stroke:#F7F8FE;} + .d2-3318436500 .stroke-AA2{stroke:#4A6FF3;} + .d2-3318436500 .stroke-AA4{stroke:#EDF0FD;} + .d2-3318436500 .stroke-AA5{stroke:#F7F8FE;} + .d2-3318436500 .stroke-AB4{stroke:#EDF0FD;} + .d2-3318436500 .stroke-AB5{stroke:#F7F8FE;} + .d2-3318436500 .background-color-N1{background-color:#0A0F25;} + .d2-3318436500 .background-color-N2{background-color:#676C7E;} + .d2-3318436500 .background-color-N3{background-color:#9499AB;} + .d2-3318436500 .background-color-N4{background-color:#CFD2DD;} + .d2-3318436500 .background-color-N5{background-color:#DEE1EB;} + .d2-3318436500 .background-color-N6{background-color:#EEF1F8;} + .d2-3318436500 .background-color-N7{background-color:#FFFFFF;} + .d2-3318436500 .background-color-B1{background-color:#0D32B2;} + .d2-3318436500 .background-color-B2{background-color:#0D32B2;} + .d2-3318436500 .background-color-B3{background-color:#E3E9FD;} + .d2-3318436500 .background-color-B4{background-color:#E3E9FD;} + .d2-3318436500 .background-color-B5{background-color:#EDF0FD;} + .d2-3318436500 .background-color-B6{background-color:#F7F8FE;} + .d2-3318436500 .background-color-AA2{background-color:#4A6FF3;} + .d2-3318436500 .background-color-AA4{background-color:#EDF0FD;} + .d2-3318436500 .background-color-AA5{background-color:#F7F8FE;} + .d2-3318436500 .background-color-AB4{background-color:#EDF0FD;} + .d2-3318436500 .background-color-AB5{background-color:#F7F8FE;} + .d2-3318436500 .color-N1{color:#0A0F25;} + .d2-3318436500 .color-N2{color:#676C7E;} + .d2-3318436500 .color-N3{color:#9499AB;} + .d2-3318436500 .color-N4{color:#CFD2DD;} + .d2-3318436500 .color-N5{color:#DEE1EB;} + .d2-3318436500 .color-N6{color:#EEF1F8;} + .d2-3318436500 .color-N7{color:#FFFFFF;} + .d2-3318436500 .color-B1{color:#0D32B2;} + .d2-3318436500 .color-B2{color:#0D32B2;} + .d2-3318436500 .color-B3{color:#E3E9FD;} + .d2-3318436500 .color-B4{color:#E3E9FD;} + .d2-3318436500 .color-B5{color:#EDF0FD;} + .d2-3318436500 .color-B6{color:#F7F8FE;} + .d2-3318436500 .color-AA2{color:#4A6FF3;} + .d2-3318436500 .color-AA4{color:#EDF0FD;} + .d2-3318436500 .color-AA5{color:#F7F8FE;} + .d2-3318436500 .color-AB4{color:#EDF0FD;} + .d2-3318436500 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> hexagon rect -square +square diff --git a/e2etests/testdata/stable/all_shapes/dagre/board.exp.json b/e2etests/testdata/stable/all_shapes/dagre/board.exp.json index 8823bccf8..9166a58a3 100644 --- a/e2etests/testdata/stable/all_shapes/dagre/board.exp.json +++ b/e2etests/testdata/stable/all_shapes/dagre/board.exp.json @@ -459,7 +459,7 @@ "type": "person", "pos": { "x": 653, - "y": 399 + "y": 412 }, "width": 63, "height": 66, @@ -1065,11 +1065,11 @@ }, { "x": 684.5999755859375, - "y": 348.6000061035156 + "y": 351.20001220703125 }, { "x": 685, - "y": 399 + "y": 412 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/all_shapes/dagre/sketch.exp.svg b/e2etests/testdata/stable/all_shapes/dagre/sketch.exp.svg index 2aa7b692e..5bc3cd846 100644 --- a/e2etests/testdata/stable/all_shapes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + .d2-1506512843 .fill-N1{fill:#0A0F25;} + .d2-1506512843 .fill-N2{fill:#676C7E;} + .d2-1506512843 .fill-N3{fill:#9499AB;} + .d2-1506512843 .fill-N4{fill:#CFD2DD;} + .d2-1506512843 .fill-N5{fill:#DEE1EB;} + .d2-1506512843 .fill-N6{fill:#EEF1F8;} + .d2-1506512843 .fill-N7{fill:#FFFFFF;} + .d2-1506512843 .fill-B1{fill:#0D32B2;} + .d2-1506512843 .fill-B2{fill:#0D32B2;} + .d2-1506512843 .fill-B3{fill:#E3E9FD;} + .d2-1506512843 .fill-B4{fill:#E3E9FD;} + .d2-1506512843 .fill-B5{fill:#EDF0FD;} + .d2-1506512843 .fill-B6{fill:#F7F8FE;} + .d2-1506512843 .fill-AA2{fill:#4A6FF3;} + .d2-1506512843 .fill-AA4{fill:#EDF0FD;} + .d2-1506512843 .fill-AA5{fill:#F7F8FE;} + .d2-1506512843 .fill-AB4{fill:#EDF0FD;} + .d2-1506512843 .fill-AB5{fill:#F7F8FE;} + .d2-1506512843 .stroke-N1{stroke:#0A0F25;} + .d2-1506512843 .stroke-N2{stroke:#676C7E;} + .d2-1506512843 .stroke-N3{stroke:#9499AB;} + .d2-1506512843 .stroke-N4{stroke:#CFD2DD;} + .d2-1506512843 .stroke-N5{stroke:#DEE1EB;} + .d2-1506512843 .stroke-N6{stroke:#EEF1F8;} + .d2-1506512843 .stroke-N7{stroke:#FFFFFF;} + .d2-1506512843 .stroke-B1{stroke:#0D32B2;} + .d2-1506512843 .stroke-B2{stroke:#0D32B2;} + .d2-1506512843 .stroke-B3{stroke:#E3E9FD;} + .d2-1506512843 .stroke-B4{stroke:#E3E9FD;} + .d2-1506512843 .stroke-B5{stroke:#EDF0FD;} + .d2-1506512843 .stroke-B6{stroke:#F7F8FE;} + .d2-1506512843 .stroke-AA2{stroke:#4A6FF3;} + .d2-1506512843 .stroke-AA4{stroke:#EDF0FD;} + .d2-1506512843 .stroke-AA5{stroke:#F7F8FE;} + .d2-1506512843 .stroke-AB4{stroke:#EDF0FD;} + .d2-1506512843 .stroke-AB5{stroke:#F7F8FE;} + .d2-1506512843 .background-color-N1{background-color:#0A0F25;} + .d2-1506512843 .background-color-N2{background-color:#676C7E;} + .d2-1506512843 .background-color-N3{background-color:#9499AB;} + .d2-1506512843 .background-color-N4{background-color:#CFD2DD;} + .d2-1506512843 .background-color-N5{background-color:#DEE1EB;} + .d2-1506512843 .background-color-N6{background-color:#EEF1F8;} + .d2-1506512843 .background-color-N7{background-color:#FFFFFF;} + .d2-1506512843 .background-color-B1{background-color:#0D32B2;} + .d2-1506512843 .background-color-B2{background-color:#0D32B2;} + .d2-1506512843 .background-color-B3{background-color:#E3E9FD;} + .d2-1506512843 .background-color-B4{background-color:#E3E9FD;} + .d2-1506512843 .background-color-B5{background-color:#EDF0FD;} + .d2-1506512843 .background-color-B6{background-color:#F7F8FE;} + .d2-1506512843 .background-color-AA2{background-color:#4A6FF3;} + .d2-1506512843 .background-color-AA4{background-color:#EDF0FD;} + .d2-1506512843 .background-color-AA5{background-color:#F7F8FE;} + .d2-1506512843 .background-color-AB4{background-color:#EDF0FD;} + .d2-1506512843 .background-color-AB5{background-color:#F7F8FE;} + .d2-1506512843 .color-N1{color:#0A0F25;} + .d2-1506512843 .color-N2{color:#676C7E;} + .d2-1506512843 .color-N3{color:#9499AB;} + .d2-1506512843 .color-N4{color:#CFD2DD;} + .d2-1506512843 .color-N5{color:#DEE1EB;} + .d2-1506512843 .color-N6{color:#EEF1F8;} + .d2-1506512843 .color-N7{color:#FFFFFF;} + .d2-1506512843 .color-B1{color:#0D32B2;} + .d2-1506512843 .color-B2{color:#0D32B2;} + .d2-1506512843 .color-B3{color:#E3E9FD;} + .d2-1506512843 .color-B4{color:#E3E9FD;} + .d2-1506512843 .color-B5{color:#EDF0FD;} + .d2-1506512843 .color-B6{color:#F7F8FE;} + .d2-1506512843 .color-AA2{color:#4A6FF3;} + .d2-1506512843 .color-AA4{color:#EDF0FD;} + .d2-1506512843 .color-AA5{color:#F7F8FE;} + .d2-1506512843 .color-AB4{color:#EDF0FD;} + .d2-1506512843 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -102,7 +102,7 @@ - + diff --git a/e2etests/testdata/stable/all_shapes/elk/board.exp.json b/e2etests/testdata/stable/all_shapes/elk/board.exp.json index 4a1c2d4cc..af2fba9bd 100644 --- a/e2etests/testdata/stable/all_shapes/elk/board.exp.json +++ b/e2etests/testdata/stable/all_shapes/elk/board.exp.json @@ -921,7 +921,7 @@ "y": 258 }, { - "x": 429, + "x": 430, "y": 338 } ], @@ -959,7 +959,7 @@ "y": 59 }, { - "x": 577, + "x": 576, "y": 188 } ], diff --git a/e2etests/testdata/stable/all_shapes/elk/sketch.exp.svg b/e2etests/testdata/stable/all_shapes/elk/sketch.exp.svg index 1934530d5..125739c62 100644 --- a/e2etests/testdata/stable/all_shapes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + .d2-1873698316 .fill-N1{fill:#0A0F25;} + .d2-1873698316 .fill-N2{fill:#676C7E;} + .d2-1873698316 .fill-N3{fill:#9499AB;} + .d2-1873698316 .fill-N4{fill:#CFD2DD;} + .d2-1873698316 .fill-N5{fill:#DEE1EB;} + .d2-1873698316 .fill-N6{fill:#EEF1F8;} + .d2-1873698316 .fill-N7{fill:#FFFFFF;} + .d2-1873698316 .fill-B1{fill:#0D32B2;} + .d2-1873698316 .fill-B2{fill:#0D32B2;} + .d2-1873698316 .fill-B3{fill:#E3E9FD;} + .d2-1873698316 .fill-B4{fill:#E3E9FD;} + .d2-1873698316 .fill-B5{fill:#EDF0FD;} + .d2-1873698316 .fill-B6{fill:#F7F8FE;} + .d2-1873698316 .fill-AA2{fill:#4A6FF3;} + .d2-1873698316 .fill-AA4{fill:#EDF0FD;} + .d2-1873698316 .fill-AA5{fill:#F7F8FE;} + .d2-1873698316 .fill-AB4{fill:#EDF0FD;} + .d2-1873698316 .fill-AB5{fill:#F7F8FE;} + .d2-1873698316 .stroke-N1{stroke:#0A0F25;} + .d2-1873698316 .stroke-N2{stroke:#676C7E;} + .d2-1873698316 .stroke-N3{stroke:#9499AB;} + .d2-1873698316 .stroke-N4{stroke:#CFD2DD;} + .d2-1873698316 .stroke-N5{stroke:#DEE1EB;} + .d2-1873698316 .stroke-N6{stroke:#EEF1F8;} + .d2-1873698316 .stroke-N7{stroke:#FFFFFF;} + .d2-1873698316 .stroke-B1{stroke:#0D32B2;} + .d2-1873698316 .stroke-B2{stroke:#0D32B2;} + .d2-1873698316 .stroke-B3{stroke:#E3E9FD;} + .d2-1873698316 .stroke-B4{stroke:#E3E9FD;} + .d2-1873698316 .stroke-B5{stroke:#EDF0FD;} + .d2-1873698316 .stroke-B6{stroke:#F7F8FE;} + .d2-1873698316 .stroke-AA2{stroke:#4A6FF3;} + .d2-1873698316 .stroke-AA4{stroke:#EDF0FD;} + .d2-1873698316 .stroke-AA5{stroke:#F7F8FE;} + .d2-1873698316 .stroke-AB4{stroke:#EDF0FD;} + .d2-1873698316 .stroke-AB5{stroke:#F7F8FE;} + .d2-1873698316 .background-color-N1{background-color:#0A0F25;} + .d2-1873698316 .background-color-N2{background-color:#676C7E;} + .d2-1873698316 .background-color-N3{background-color:#9499AB;} + .d2-1873698316 .background-color-N4{background-color:#CFD2DD;} + .d2-1873698316 .background-color-N5{background-color:#DEE1EB;} + .d2-1873698316 .background-color-N6{background-color:#EEF1F8;} + .d2-1873698316 .background-color-N7{background-color:#FFFFFF;} + .d2-1873698316 .background-color-B1{background-color:#0D32B2;} + .d2-1873698316 .background-color-B2{background-color:#0D32B2;} + .d2-1873698316 .background-color-B3{background-color:#E3E9FD;} + .d2-1873698316 .background-color-B4{background-color:#E3E9FD;} + .d2-1873698316 .background-color-B5{background-color:#EDF0FD;} + .d2-1873698316 .background-color-B6{background-color:#F7F8FE;} + .d2-1873698316 .background-color-AA2{background-color:#4A6FF3;} + .d2-1873698316 .background-color-AA4{background-color:#EDF0FD;} + .d2-1873698316 .background-color-AA5{background-color:#F7F8FE;} + .d2-1873698316 .background-color-AB4{background-color:#EDF0FD;} + .d2-1873698316 .background-color-AB5{background-color:#F7F8FE;} + .d2-1873698316 .color-N1{color:#0A0F25;} + .d2-1873698316 .color-N2{color:#676C7E;} + .d2-1873698316 .color-N3{color:#9499AB;} + .d2-1873698316 .color-N4{color:#CFD2DD;} + .d2-1873698316 .color-N5{color:#DEE1EB;} + .d2-1873698316 .color-N6{color:#EEF1F8;} + .d2-1873698316 .color-N7{color:#FFFFFF;} + .d2-1873698316 .color-B1{color:#0D32B2;} + .d2-1873698316 .color-B2{color:#0D32B2;} + .d2-1873698316 .color-B3{color:#E3E9FD;} + .d2-1873698316 .color-B4{color:#E3E9FD;} + .d2-1873698316 .color-B5{color:#EDF0FD;} + .d2-1873698316 .color-B6{color:#F7F8FE;} + .d2-1873698316 .color-AA2{color:#4A6FF3;} + .d2-1873698316 .color-AA4{color:#EDF0FD;} + .d2-1873698316 .color-AA5{color:#F7F8FE;} + .d2-1873698316 .color-AB4{color:#EDF0FD;} + .d2-1873698316 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud diff --git a/e2etests/testdata/stable/all_shapes_link/dagre/board.exp.json b/e2etests/testdata/stable/all_shapes_link/dagre/board.exp.json index 8755431c2..98d98d5d3 100644 --- a/e2etests/testdata/stable/all_shapes_link/dagre/board.exp.json +++ b/e2etests/testdata/stable/all_shapes_link/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "linked", "type": "rectangle", "pos": { - "x": 80, - "y": 41 + "x": 90, + "y": 20 }, - "width": 1413, - "height": 595, + "width": 1393, + "height": 596, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -52,7 +52,7 @@ ], "pos": { "x": 120, - "y": 83 + "y": 63 }, "width": 143, "height": 66, @@ -96,7 +96,7 @@ ], "pos": { "x": 129, - "y": 262 + "y": 242 }, "width": 126, "height": 126, @@ -140,7 +140,7 @@ ], "pos": { "x": 136, - "y": 504 + "y": 484 }, "width": 111, "height": 87, @@ -184,7 +184,7 @@ ], "pos": { "x": 323, - "y": 83 + "y": 63 }, "width": 228, "height": 66, @@ -228,7 +228,7 @@ ], "pos": { "x": 363, - "y": 287 + "y": 267 }, "width": 149, "height": 76, @@ -272,7 +272,7 @@ ], "pos": { "x": 369, - "y": 488 + "y": 468 }, "width": 136, "height": 118, @@ -316,7 +316,7 @@ ], "pos": { "x": 611, - "y": 83 + "y": 63 }, "width": 173, "height": 66, @@ -360,7 +360,7 @@ ], "pos": { "x": 630, - "y": 289 + "y": 269 }, "width": 135, "height": 73, @@ -404,7 +404,7 @@ ], "pos": { "x": 624, - "y": 497 + "y": 477 }, "width": 148, "height": 101, @@ -448,7 +448,7 @@ ], "pos": { "x": 853, - "y": 71 + "y": 51 }, "width": 127, "height": 91, @@ -492,7 +492,7 @@ ], "pos": { "x": 825, - "y": 292 + "y": 272 }, "width": 183, "height": 66, @@ -536,7 +536,7 @@ ], "pos": { "x": 869, - "y": 501 + "y": 494 }, "width": 95, "height": 66, @@ -580,7 +580,7 @@ ], "pos": { "x": 1040, - "y": 70 + "y": 50 }, "width": 220, "height": 92, @@ -624,7 +624,7 @@ ], "pos": { "x": 1083, - "y": 290 + "y": 270 }, "width": 134, "height": 70, @@ -668,7 +668,7 @@ ], "pos": { "x": 1091, - "y": 488 + "y": 468 }, "width": 118, "height": 118, @@ -712,7 +712,7 @@ ], "pos": { "x": 1277, - "y": 291 + "y": 271 }, "width": 176, "height": 69, @@ -756,7 +756,7 @@ ], "pos": { "x": 1294, - "y": 505 + "y": 485 }, "width": 143, "height": 84, @@ -796,11 +796,11 @@ "id": "tooltipped", "type": "rectangle", "pos": { - "x": 80, - "y": 777 + "x": 90, + "y": 756 }, - "width": 1413, - "height": 595, + "width": 1393, + "height": 596, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -841,7 +841,7 @@ ], "pos": { "x": 120, - "y": 819 + "y": 799 }, "width": 143, "height": 66, @@ -885,7 +885,7 @@ ], "pos": { "x": 129, - "y": 998 + "y": 978 }, "width": 126, "height": 126, @@ -929,7 +929,7 @@ ], "pos": { "x": 136, - "y": 1240 + "y": 1220 }, "width": 111, "height": 87, @@ -973,7 +973,7 @@ ], "pos": { "x": 323, - "y": 819 + "y": 799 }, "width": 228, "height": 66, @@ -1017,7 +1017,7 @@ ], "pos": { "x": 363, - "y": 1023 + "y": 1003 }, "width": 149, "height": 76, @@ -1061,7 +1061,7 @@ ], "pos": { "x": 369, - "y": 1224 + "y": 1204 }, "width": 136, "height": 118, @@ -1105,7 +1105,7 @@ ], "pos": { "x": 611, - "y": 819 + "y": 799 }, "width": 173, "height": 66, @@ -1149,7 +1149,7 @@ ], "pos": { "x": 630, - "y": 1025 + "y": 1005 }, "width": 135, "height": 73, @@ -1193,7 +1193,7 @@ ], "pos": { "x": 624, - "y": 1233 + "y": 1213 }, "width": 148, "height": 101, @@ -1237,7 +1237,7 @@ ], "pos": { "x": 853, - "y": 807 + "y": 787 }, "width": 127, "height": 91, @@ -1281,7 +1281,7 @@ ], "pos": { "x": 825, - "y": 1028 + "y": 1008 }, "width": 183, "height": 66, @@ -1325,7 +1325,7 @@ ], "pos": { "x": 869, - "y": 1237 + "y": 1230 }, "width": 95, "height": 66, @@ -1369,7 +1369,7 @@ ], "pos": { "x": 1040, - "y": 806 + "y": 786 }, "width": 220, "height": 92, @@ -1413,7 +1413,7 @@ ], "pos": { "x": 1083, - "y": 1026 + "y": 1006 }, "width": 134, "height": 70, @@ -1457,7 +1457,7 @@ ], "pos": { "x": 1091, - "y": 1224 + "y": 1204 }, "width": 118, "height": 118, @@ -1501,7 +1501,7 @@ ], "pos": { "x": 1277, - "y": 1027 + "y": 1007 }, "width": 176, "height": 69, @@ -1545,7 +1545,7 @@ ], "pos": { "x": 1294, - "y": 1241 + "y": 1221 }, "width": 143, "height": 84, @@ -1585,11 +1585,11 @@ "id": "both", "type": "rectangle", "pos": { - "x": 0, - "y": 1513 + "x": 10, + "y": 1492 }, - "width": 1640, - "height": 656, + "width": 1620, + "height": 657, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1631,7 +1631,7 @@ ], "pos": { "x": 40, - "y": 1555 + "y": 1535 }, "width": 175, "height": 66, @@ -1676,7 +1676,7 @@ ], "pos": { "x": 49, - "y": 1734 + "y": 1714 }, "width": 158, "height": 158, @@ -1721,7 +1721,7 @@ ], "pos": { "x": 56, - "y": 2022 + "y": 2002 }, "width": 143, "height": 87, @@ -1766,7 +1766,7 @@ ], "pos": { "x": 275, - "y": 1555 + "y": 1535 }, "width": 260, "height": 66, @@ -1811,7 +1811,7 @@ ], "pos": { "x": 315, - "y": 1775 + "y": 1755 }, "width": 181, "height": 76, @@ -1856,7 +1856,7 @@ ], "pos": { "x": 321, - "y": 2007 + "y": 1987 }, "width": 168, "height": 118, @@ -1901,7 +1901,7 @@ ], "pos": { "x": 595, - "y": 1555 + "y": 1535 }, "width": 205, "height": 66, @@ -1946,7 +1946,7 @@ ], "pos": { "x": 614, - "y": 1777 + "y": 1757 }, "width": 167, "height": 73, @@ -1991,7 +1991,7 @@ ], "pos": { "x": 608, - "y": 2015 + "y": 1995 }, "width": 180, "height": 101, @@ -2036,7 +2036,7 @@ ], "pos": { "x": 869, - "y": 1543 + "y": 1523 }, "width": 159, "height": 91, @@ -2081,7 +2081,7 @@ ], "pos": { "x": 841, - "y": 1780 + "y": 1760 }, "width": 215, "height": 66, @@ -2126,7 +2126,7 @@ ], "pos": { "x": 885, - "y": 2010 + "y": 2003 }, "width": 127, "height": 85, @@ -2171,7 +2171,7 @@ ], "pos": { "x": 1088, - "y": 1542 + "y": 1522 }, "width": 284, "height": 92, @@ -2216,7 +2216,7 @@ ], "pos": { "x": 1145, - "y": 1778 + "y": 1758 }, "width": 171, "height": 70, @@ -2261,7 +2261,7 @@ ], "pos": { "x": 1157, - "y": 1992 + "y": 1972 }, "width": 147, "height": 147, @@ -2306,7 +2306,7 @@ ], "pos": { "x": 1376, - "y": 1779 + "y": 1759 }, "width": 224, "height": 69, @@ -2351,7 +2351,7 @@ ], "pos": { "x": 1397, - "y": 2024 + "y": 2004 }, "width": 182, "height": 84, @@ -2415,19 +2415,19 @@ "route": [ { "x": 191.5, - "y": 149.5 + "y": 129 }, { "x": 191.5, - "y": 199.89999389648438 + "y": 179.39999389648438 }, { "x": 191.5, - "y": 222.5 + "y": 202 }, { "x": 191.5, - "y": 262.5 + "y": 242 } ], "isCurve": true, @@ -2462,19 +2462,19 @@ "route": [ { "x": 191.5, - "y": 388.5 + "y": 368 }, { "x": 191.5, - "y": 428.5 + "y": 408 }, { "x": 191.60000610351562, - "y": 451.79998779296875 + "y": 431.20001220703125 }, { "x": 192, - "y": 505 + "y": 484 } ], "isCurve": true, @@ -2509,19 +2509,19 @@ "route": [ { "x": 437, - "y": 150 + "y": 129 }, { "x": 437, - "y": 200 + "y": 179.39999389648438 }, { "x": 437, - "y": 227.60000610351562 + "y": 207 }, { "x": 437, - "y": 288 + "y": 267 } ], "isCurve": true, @@ -2556,19 +2556,19 @@ "route": [ { "x": 437, - "y": 354 + "y": 333 }, { "x": 437, - "y": 421.6000061035156 + "y": 401 }, { "x": 437, - "y": 448.6000061035156 + "y": 428 }, { "x": 437, - "y": 489 + "y": 468 } ], "isCurve": true, @@ -2603,19 +2603,19 @@ "route": [ { "x": 697, - "y": 150 + "y": 129 }, { "x": 697.4000244140625, - "y": 200 + "y": 179.39999389648438 }, { "x": 697.5999755859375, - "y": 228 + "y": 207.39999389648438 }, { "x": 698, - "y": 290 + "y": 269 } ], "isCurve": true, @@ -2650,19 +2650,19 @@ "route": [ { "x": 697, - "y": 363 + "y": 342 }, { "x": 697.4000244140625, - "y": 423.3999938964844 + "y": 402.79998779296875 }, { "x": 697.5999755859375, - "y": 450.3999938964844 + "y": 429.79998779296875 }, { "x": 698, - "y": 498 + "y": 477 } ], "isCurve": true, @@ -2697,19 +2697,19 @@ "route": [ { "x": 917, - "y": 118 + "y": 97 }, { "x": 916.5999755859375, - "y": 193.60000610351562 + "y": 173 }, { "x": 916.5999755859375, - "y": 228.60000610351562 + "y": 208 }, { "x": 917, - "y": 293 + "y": 272 } ], "isCurve": true, @@ -2744,19 +2744,19 @@ "route": [ { "x": 917, - "y": 359 + "y": 338 }, { "x": 916.5999755859375, - "y": 422.6000061035156 + "y": 402 }, { "x": 916.5999755859375, - "y": 451.20001220703125 + "y": 433.20001220703125 }, { "x": 917, - "y": 502 + "y": 494 } ], "isCurve": true, @@ -2791,19 +2791,19 @@ "route": [ { "x": 1150, - "y": 163 + "y": 142 }, { "x": 1150, - "y": 202.60000610351562 + "y": 182 }, { "x": 1150, - "y": 228.1999969482422 + "y": 207.60000610351562 }, { "x": 1150, - "y": 291 + "y": 270 } ], "isCurve": true, @@ -2838,19 +2838,19 @@ "route": [ { "x": 1150, - "y": 361 + "y": 340 }, { "x": 1150, - "y": 423 + "y": 402.3999938964844 }, { "x": 1150, - "y": 448.6000061035156 + "y": 428 }, { "x": 1150, - "y": 489 + "y": 468 } ], "isCurve": true, @@ -2885,19 +2885,19 @@ "route": [ { "x": 1365, - "y": 361 + "y": 340 }, { "x": 1365, - "y": 423 + "y": 402.3999938964844 }, { "x": 1365, - "y": 452.20001220703125 + "y": 431.6000061035156 }, { "x": 1365, - "y": 507 + "y": 486 } ], "isCurve": true, @@ -2932,19 +2932,19 @@ "route": [ { "x": 191.5, - "y": 885.5 + "y": 865 }, { "x": 191.5, - "y": 935.9000244140625 + "y": 915.4000244140625 }, { "x": 191.5, - "y": 958.5 + "y": 938 }, { "x": 191.5, - "y": 998.5 + "y": 978 } ], "isCurve": true, @@ -2979,19 +2979,19 @@ "route": [ { "x": 191.5, - "y": 1124.5 + "y": 1104 }, { "x": 191.5, - "y": 1164.5 + "y": 1144 }, { "x": 191.60000610351562, - "y": 1187.800048828125 + "y": 1167.199951171875 }, { "x": 192, - "y": 1241 + "y": 1220 } ], "isCurve": true, @@ -3026,19 +3026,19 @@ "route": [ { "x": 437, - "y": 886 + "y": 865 }, { "x": 437, - "y": 936 + "y": 915.4000244140625 }, { "x": 437, - "y": 963.5999755859375 + "y": 943 }, { "x": 437, - "y": 1024 + "y": 1003 } ], "isCurve": true, @@ -3073,19 +3073,19 @@ "route": [ { "x": 437, - "y": 1090 + "y": 1069 }, { "x": 437, - "y": 1157.5999755859375 + "y": 1137 }, { "x": 437, - "y": 1184.5999755859375 + "y": 1164 }, { "x": 437, - "y": 1225 + "y": 1204 } ], "isCurve": true, @@ -3120,19 +3120,19 @@ "route": [ { "x": 697, - "y": 886 + "y": 865 }, { "x": 697.4000244140625, - "y": 936 + "y": 915.4000244140625 }, { "x": 697.5999755859375, - "y": 964 + "y": 943.4000244140625 }, { "x": 698, - "y": 1026 + "y": 1005 } ], "isCurve": true, @@ -3167,19 +3167,19 @@ "route": [ { "x": 697, - "y": 1099 + "y": 1078 }, { "x": 697.4000244140625, - "y": 1159.4000244140625 + "y": 1138.800048828125 }, { "x": 697.5999755859375, - "y": 1186.4000244140625 + "y": 1165.800048828125 }, { "x": 698, - "y": 1234 + "y": 1213 } ], "isCurve": true, @@ -3214,19 +3214,19 @@ "route": [ { "x": 917, - "y": 854 + "y": 833 }, { "x": 916.5999755859375, - "y": 929.5999755859375 + "y": 909 }, { "x": 916.5999755859375, - "y": 964.5999755859375 + "y": 944 }, { "x": 917, - "y": 1029 + "y": 1008 } ], "isCurve": true, @@ -3261,19 +3261,19 @@ "route": [ { "x": 917, - "y": 1095 + "y": 1074 }, { "x": 916.5999755859375, - "y": 1158.5999755859375 + "y": 1138 }, { "x": 916.5999755859375, - "y": 1187.199951171875 + "y": 1169.199951171875 }, { "x": 917, - "y": 1238 + "y": 1230 } ], "isCurve": true, @@ -3308,19 +3308,19 @@ "route": [ { "x": 1150, - "y": 899 + "y": 878 }, { "x": 1150, - "y": 938.5999755859375 + "y": 918 }, { "x": 1150, - "y": 964.2000122070312 + "y": 943.5999755859375 }, { "x": 1150, - "y": 1027 + "y": 1006 } ], "isCurve": true, @@ -3355,19 +3355,19 @@ "route": [ { "x": 1150, - "y": 1097 + "y": 1076 }, { "x": 1150, - "y": 1159 + "y": 1138.4000244140625 }, { "x": 1150, - "y": 1184.5999755859375 + "y": 1164 }, { "x": 1150, - "y": 1225 + "y": 1204 } ], "isCurve": true, @@ -3402,19 +3402,19 @@ "route": [ { "x": 1365, - "y": 1097 + "y": 1076 }, { "x": 1365, - "y": 1159 + "y": 1138.4000244140625 }, { "x": 1365, - "y": 1188.199951171875 + "y": 1167.5999755859375 }, { "x": 1365, - "y": 1243 + "y": 1222 } ], "isCurve": true, @@ -3449,19 +3449,19 @@ "route": [ { "x": 127.5, - "y": 1621.5 + "y": 1601 }, { "x": 127.5, - "y": 1671.9000244140625 + "y": 1651.4000244140625 }, { "x": 127.5, - "y": 1694.5 + "y": 1674 }, { "x": 127.5, - "y": 1734.5 + "y": 1714 } ], "isCurve": true, @@ -3496,19 +3496,19 @@ "route": [ { "x": 127.5, - "y": 1892.5 + "y": 1872 }, { "x": 127.5, - "y": 1932.5 + "y": 1912 }, { "x": 127.5999984741211, - "y": 1958.5999755859375 + "y": 1938 }, { "x": 128, - "y": 2023 + "y": 2002 } ], "isCurve": true, @@ -3543,19 +3543,19 @@ "route": [ { "x": 405, - "y": 1622 + "y": 1601 }, { "x": 405, - "y": 1672 + "y": 1651.4000244140625 }, { "x": 405, - "y": 1702.800048828125 + "y": 1682.199951171875 }, { "x": 405, - "y": 1776 + "y": 1755 } ], "isCurve": true, @@ -3590,19 +3590,19 @@ "route": [ { "x": 405, - "y": 1841 + "y": 1820 }, { "x": 405, - "y": 1922.199951171875 + "y": 1901.5999755859375 }, { "x": 405, - "y": 1955.5999755859375 + "y": 1935 }, { "x": 405, - "y": 2008 + "y": 1987 } ], "isCurve": true, @@ -3637,19 +3637,19 @@ "route": [ { "x": 697, - "y": 1622 + "y": 1601 }, { "x": 697.4000244140625, - "y": 1672 + "y": 1651.4000244140625 }, { "x": 697.5999755859375, - "y": 1703.199951171875 + "y": 1682.5999755859375 }, { "x": 698, - "y": 1778 + "y": 1757 } ], "isCurve": true, @@ -3684,19 +3684,19 @@ "route": [ { "x": 697, - "y": 1851 + "y": 1830 }, { "x": 697.4000244140625, - "y": 1924.199951171875 + "y": 1903.5999755859375 }, { "x": 697.5999755859375, - "y": 1957.199951171875 + "y": 1936.5999755859375 }, { "x": 698, - "y": 2016 + "y": 1995 } ], "isCurve": true, @@ -3731,19 +3731,19 @@ "route": [ { "x": 949, - "y": 1590 + "y": 1569 }, { "x": 948.5999755859375, - "y": 1665.5999755859375 + "y": 1645 }, { "x": 948.5999755859375, - "y": 1703.800048828125 + "y": 1683.199951171875 }, { "x": 949, - "y": 1781 + "y": 1760 } ], "isCurve": true, @@ -3778,19 +3778,19 @@ "route": [ { "x": 948, - "y": 1847 + "y": 1826 }, { "x": 948.4000244140625, - "y": 1923.4000244140625 + "y": 1902.800048828125 }, { "x": 948.5999755859375, - "y": 1956.199951171875 + "y": 1938.199951171875 }, { "x": 949, - "y": 2011 + "y": 2003 } ], "isCurve": true, @@ -3825,19 +3825,19 @@ "route": [ { "x": 1230, - "y": 1635 + "y": 1614 }, { "x": 1230, - "y": 1674.5999755859375 + "y": 1654 }, { "x": 1230, - "y": 1703.4000244140625 + "y": 1682.800048828125 }, { "x": 1230, - "y": 1779 + "y": 1758 } ], "isCurve": true, @@ -3872,19 +3872,19 @@ "route": [ { "x": 1230, - "y": 1848 + "y": 1828 }, { "x": 1230, - "y": 1923.5999755859375 + "y": 1903.199951171875 }, { "x": 1230, - "y": 1952.5999755859375 + "y": 1932 }, { "x": 1230, - "y": 1993 + "y": 1972 } ], "isCurve": true, @@ -3919,19 +3919,19 @@ "route": [ { "x": 1488, - "y": 1849 + "y": 1828 }, { "x": 1487.5999755859375, - "y": 1923.800048828125 + "y": 1903.199951171875 }, { "x": 1487.5999755859375, - "y": 1959.4000244140625 + "y": 1938.800048828125 }, { "x": 1488, - "y": 2027 + "y": 2006 } ], "isCurve": true, @@ -3966,19 +3966,19 @@ "route": [ { "x": 697.5, - "y": 636 + "y": 616 }, { "x": 697.5, - "y": 676 + "y": 672 }, { "x": 697.5, - "y": 704.2000122070312 + "y": 700 }, { "x": 697.5, - "y": 777 + "y": 756 } ], "isCurve": true, @@ -4013,19 +4013,19 @@ "route": [ { "x": 697.5, - "y": 1372 + "y": 1352 }, { "x": 697.5, - "y": 1412 + "y": 1408 }, { "x": 697.5, - "y": 1440.199951171875 + "y": 1436 }, { "x": 697.5, - "y": 1513 + "y": 1492 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/all_shapes_link/dagre/sketch.exp.svg b/e2etests/testdata/stable/all_shapes_link/dagre/sketch.exp.svg index 81239c0c1..75067a0af 100644 --- a/e2etests/testdata/stable/all_shapes_link/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes_link/dagre/sketch.exp.svg @@ -1,19 +1,19 @@ -linkedtooltippedbothrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloudrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloudrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + .d2-52549176 .fill-N1{fill:#0A0F25;} + .d2-52549176 .fill-N2{fill:#676C7E;} + .d2-52549176 .fill-N3{fill:#9499AB;} + .d2-52549176 .fill-N4{fill:#CFD2DD;} + .d2-52549176 .fill-N5{fill:#DEE1EB;} + .d2-52549176 .fill-N6{fill:#EEF1F8;} + .d2-52549176 .fill-N7{fill:#FFFFFF;} + .d2-52549176 .fill-B1{fill:#0D32B2;} + .d2-52549176 .fill-B2{fill:#0D32B2;} + .d2-52549176 .fill-B3{fill:#E3E9FD;} + .d2-52549176 .fill-B4{fill:#E3E9FD;} + .d2-52549176 .fill-B5{fill:#EDF0FD;} + .d2-52549176 .fill-B6{fill:#F7F8FE;} + .d2-52549176 .fill-AA2{fill:#4A6FF3;} + .d2-52549176 .fill-AA4{fill:#EDF0FD;} + .d2-52549176 .fill-AA5{fill:#F7F8FE;} + .d2-52549176 .fill-AB4{fill:#EDF0FD;} + .d2-52549176 .fill-AB5{fill:#F7F8FE;} + .d2-52549176 .stroke-N1{stroke:#0A0F25;} + .d2-52549176 .stroke-N2{stroke:#676C7E;} + .d2-52549176 .stroke-N3{stroke:#9499AB;} + .d2-52549176 .stroke-N4{stroke:#CFD2DD;} + .d2-52549176 .stroke-N5{stroke:#DEE1EB;} + .d2-52549176 .stroke-N6{stroke:#EEF1F8;} + .d2-52549176 .stroke-N7{stroke:#FFFFFF;} + .d2-52549176 .stroke-B1{stroke:#0D32B2;} + .d2-52549176 .stroke-B2{stroke:#0D32B2;} + .d2-52549176 .stroke-B3{stroke:#E3E9FD;} + .d2-52549176 .stroke-B4{stroke:#E3E9FD;} + .d2-52549176 .stroke-B5{stroke:#EDF0FD;} + .d2-52549176 .stroke-B6{stroke:#F7F8FE;} + .d2-52549176 .stroke-AA2{stroke:#4A6FF3;} + .d2-52549176 .stroke-AA4{stroke:#EDF0FD;} + .d2-52549176 .stroke-AA5{stroke:#F7F8FE;} + .d2-52549176 .stroke-AB4{stroke:#EDF0FD;} + .d2-52549176 .stroke-AB5{stroke:#F7F8FE;} + .d2-52549176 .background-color-N1{background-color:#0A0F25;} + .d2-52549176 .background-color-N2{background-color:#676C7E;} + .d2-52549176 .background-color-N3{background-color:#9499AB;} + .d2-52549176 .background-color-N4{background-color:#CFD2DD;} + .d2-52549176 .background-color-N5{background-color:#DEE1EB;} + .d2-52549176 .background-color-N6{background-color:#EEF1F8;} + .d2-52549176 .background-color-N7{background-color:#FFFFFF;} + .d2-52549176 .background-color-B1{background-color:#0D32B2;} + .d2-52549176 .background-color-B2{background-color:#0D32B2;} + .d2-52549176 .background-color-B3{background-color:#E3E9FD;} + .d2-52549176 .background-color-B4{background-color:#E3E9FD;} + .d2-52549176 .background-color-B5{background-color:#EDF0FD;} + .d2-52549176 .background-color-B6{background-color:#F7F8FE;} + .d2-52549176 .background-color-AA2{background-color:#4A6FF3;} + .d2-52549176 .background-color-AA4{background-color:#EDF0FD;} + .d2-52549176 .background-color-AA5{background-color:#F7F8FE;} + .d2-52549176 .background-color-AB4{background-color:#EDF0FD;} + .d2-52549176 .background-color-AB5{background-color:#F7F8FE;} + .d2-52549176 .color-N1{color:#0A0F25;} + .d2-52549176 .color-N2{color:#676C7E;} + .d2-52549176 .color-N3{color:#9499AB;} + .d2-52549176 .color-N4{color:#CFD2DD;} + .d2-52549176 .color-N5{color:#DEE1EB;} + .d2-52549176 .color-N6{color:#EEF1F8;} + .d2-52549176 .color-N7{color:#FFFFFF;} + .d2-52549176 .color-B1{color:#0D32B2;} + .d2-52549176 .color-B2{color:#0D32B2;} + .d2-52549176 .color-B3{color:#E3E9FD;} + .d2-52549176 .color-B4{color:#E3E9FD;} + .d2-52549176 .color-B5{color:#EDF0FD;} + .d2-52549176 .color-B6{color:#F7F8FE;} + .d2-52549176 .color-AA2{color:#4A6FF3;} + .d2-52549176 .color-AA4{color:#EDF0FD;} + .d2-52549176 .color-AA5{color:#F7F8FE;} + .d2-52549176 .color-AB4{color:#EDF0FD;} + .d2-52549176 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>linkedtooltippedbothrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloudrectangleexamplesquareexamplepageexampleparallelogramexampledocumentexamplecylinderexamplequeueexamplepackageexamplestepexamplecalloutexamplestored_dataexamplepersonexamplediamondexampleovalexamplecircleexamplehexagonexamplecloudexamplerectangleexamplesquareexamplepageexampleparallelogramexampledocumentexamplecylinderexamplequeueexamplepackageexamplestepexamplecalloutexamplestored_dataexamplepersonexamplediamondexampleovalexamplecircleexamplehexagonexamplecloudexample @@ -111,7 +111,7 @@ - + @@ -123,7 +123,7 @@ - + @@ -135,7 +135,7 @@ - + @@ -147,7 +147,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -171,7 +171,7 @@ - + @@ -183,7 +183,7 @@ - + @@ -195,7 +195,7 @@ - + @@ -207,7 +207,7 @@ - + @@ -219,7 +219,7 @@ - + @@ -231,7 +231,7 @@ - + @@ -243,7 +243,7 @@ - + @@ -255,7 +255,7 @@ - + @@ -267,7 +267,7 @@ - + @@ -279,7 +279,7 @@ - + @@ -291,7 +291,7 @@ - + @@ -303,7 +303,7 @@ - +example @@ -316,7 +316,7 @@ -example +example @@ -329,7 +329,7 @@ -example +example @@ -342,7 +342,7 @@ -example +example @@ -355,7 +355,7 @@ -example +example @@ -368,7 +368,7 @@ -example +example @@ -381,7 +381,7 @@ -example +example @@ -394,7 +394,7 @@ -example +example @@ -407,7 +407,7 @@ -example +example @@ -420,7 +420,7 @@ -example +example @@ -433,7 +433,7 @@ -example +example @@ -446,7 +446,7 @@ -example +example @@ -459,7 +459,7 @@ -example +example @@ -472,7 +472,7 @@ -example +example @@ -485,7 +485,7 @@ -example +example @@ -498,7 +498,7 @@ -example +example @@ -511,7 +511,7 @@ -example +example @@ -524,7 +524,7 @@ -example +example @@ -537,7 +537,7 @@ -example + @@ -549,7 +549,7 @@ - +example @@ -562,7 +562,7 @@ -example + @@ -574,7 +574,7 @@ - +example @@ -587,7 +587,7 @@ -example + @@ -599,7 +599,7 @@ - +example @@ -612,7 +612,7 @@ -example + @@ -624,7 +624,7 @@ - +example @@ -637,7 +637,7 @@ -example + @@ -649,7 +649,7 @@ - +example @@ -662,7 +662,7 @@ -example + @@ -674,7 +674,7 @@ - +example @@ -687,7 +687,7 @@ -example + @@ -699,7 +699,7 @@ - +example @@ -712,7 +712,7 @@ -example + @@ -724,7 +724,7 @@ - +example @@ -737,7 +737,7 @@ -example + @@ -749,7 +749,7 @@ - +example @@ -762,7 +762,7 @@ -example + @@ -774,7 +774,7 @@ - +example @@ -787,7 +787,7 @@ -example + @@ -799,7 +799,7 @@ - +example @@ -812,7 +812,7 @@ -example + @@ -824,7 +824,7 @@ - +example @@ -837,7 +837,7 @@ -example + @@ -849,7 +849,7 @@ - +example @@ -862,7 +862,7 @@ -example + @@ -874,7 +874,7 @@ - +example @@ -887,7 +887,7 @@ -example + @@ -899,7 +899,7 @@ - +example @@ -912,7 +912,7 @@ -example + @@ -924,7 +924,7 @@ - +example @@ -937,7 +937,7 @@ -example + @@ -949,60 +949,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/all_shapes_link/elk/board.exp.json b/e2etests/testdata/stable/all_shapes_link/elk/board.exp.json index 5482b7844..1085c73a9 100644 --- a/e2etests/testdata/stable/all_shapes_link/elk/board.exp.json +++ b/e2etests/testdata/stable/all_shapes_link/elk/board.exp.json @@ -2571,7 +2571,7 @@ }, { "x": 680, - "y": 251 + "y": 265 } ], "animated": false, @@ -2646,7 +2646,7 @@ "y": 109 }, { - "x": 859, + "x": 858, "y": 254 } ], @@ -2684,7 +2684,7 @@ "y": 320 }, { - "x": 859, + "x": 858, "y": 420 } ], @@ -2989,7 +2989,7 @@ }, { "x": 680, - "y": 897 + "y": 911 } ], "animated": false, @@ -3064,7 +3064,7 @@ "y": 755 }, { - "x": 859, + "x": 858, "y": 900 } ], @@ -3102,7 +3102,7 @@ "y": 966 }, { - "x": 859, + "x": 858, "y": 1066 } ], @@ -3407,7 +3407,7 @@ }, { "x": 640, - "y": 1559 + "y": 1573 } ], "animated": false, @@ -3444,7 +3444,7 @@ "y": 1632 }, { - "x": 639, + "x": 640, "y": 1744 } ], diff --git a/e2etests/testdata/stable/all_shapes_link/elk/sketch.exp.svg b/e2etests/testdata/stable/all_shapes_link/elk/sketch.exp.svg index ae8524149..369b905e1 100644 --- a/e2etests/testdata/stable/all_shapes_link/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes_link/elk/sketch.exp.svg @@ -1,19 +1,19 @@ -linkedtooltippedbothrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloudrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloudrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + .d2-2695291193 .fill-N1{fill:#0A0F25;} + .d2-2695291193 .fill-N2{fill:#676C7E;} + .d2-2695291193 .fill-N3{fill:#9499AB;} + .d2-2695291193 .fill-N4{fill:#CFD2DD;} + .d2-2695291193 .fill-N5{fill:#DEE1EB;} + .d2-2695291193 .fill-N6{fill:#EEF1F8;} + .d2-2695291193 .fill-N7{fill:#FFFFFF;} + .d2-2695291193 .fill-B1{fill:#0D32B2;} + .d2-2695291193 .fill-B2{fill:#0D32B2;} + .d2-2695291193 .fill-B3{fill:#E3E9FD;} + .d2-2695291193 .fill-B4{fill:#E3E9FD;} + .d2-2695291193 .fill-B5{fill:#EDF0FD;} + .d2-2695291193 .fill-B6{fill:#F7F8FE;} + .d2-2695291193 .fill-AA2{fill:#4A6FF3;} + .d2-2695291193 .fill-AA4{fill:#EDF0FD;} + .d2-2695291193 .fill-AA5{fill:#F7F8FE;} + .d2-2695291193 .fill-AB4{fill:#EDF0FD;} + .d2-2695291193 .fill-AB5{fill:#F7F8FE;} + .d2-2695291193 .stroke-N1{stroke:#0A0F25;} + .d2-2695291193 .stroke-N2{stroke:#676C7E;} + .d2-2695291193 .stroke-N3{stroke:#9499AB;} + .d2-2695291193 .stroke-N4{stroke:#CFD2DD;} + .d2-2695291193 .stroke-N5{stroke:#DEE1EB;} + .d2-2695291193 .stroke-N6{stroke:#EEF1F8;} + .d2-2695291193 .stroke-N7{stroke:#FFFFFF;} + .d2-2695291193 .stroke-B1{stroke:#0D32B2;} + .d2-2695291193 .stroke-B2{stroke:#0D32B2;} + .d2-2695291193 .stroke-B3{stroke:#E3E9FD;} + .d2-2695291193 .stroke-B4{stroke:#E3E9FD;} + .d2-2695291193 .stroke-B5{stroke:#EDF0FD;} + .d2-2695291193 .stroke-B6{stroke:#F7F8FE;} + .d2-2695291193 .stroke-AA2{stroke:#4A6FF3;} + .d2-2695291193 .stroke-AA4{stroke:#EDF0FD;} + .d2-2695291193 .stroke-AA5{stroke:#F7F8FE;} + .d2-2695291193 .stroke-AB4{stroke:#EDF0FD;} + .d2-2695291193 .stroke-AB5{stroke:#F7F8FE;} + .d2-2695291193 .background-color-N1{background-color:#0A0F25;} + .d2-2695291193 .background-color-N2{background-color:#676C7E;} + .d2-2695291193 .background-color-N3{background-color:#9499AB;} + .d2-2695291193 .background-color-N4{background-color:#CFD2DD;} + .d2-2695291193 .background-color-N5{background-color:#DEE1EB;} + .d2-2695291193 .background-color-N6{background-color:#EEF1F8;} + .d2-2695291193 .background-color-N7{background-color:#FFFFFF;} + .d2-2695291193 .background-color-B1{background-color:#0D32B2;} + .d2-2695291193 .background-color-B2{background-color:#0D32B2;} + .d2-2695291193 .background-color-B3{background-color:#E3E9FD;} + .d2-2695291193 .background-color-B4{background-color:#E3E9FD;} + .d2-2695291193 .background-color-B5{background-color:#EDF0FD;} + .d2-2695291193 .background-color-B6{background-color:#F7F8FE;} + .d2-2695291193 .background-color-AA2{background-color:#4A6FF3;} + .d2-2695291193 .background-color-AA4{background-color:#EDF0FD;} + .d2-2695291193 .background-color-AA5{background-color:#F7F8FE;} + .d2-2695291193 .background-color-AB4{background-color:#EDF0FD;} + .d2-2695291193 .background-color-AB5{background-color:#F7F8FE;} + .d2-2695291193 .color-N1{color:#0A0F25;} + .d2-2695291193 .color-N2{color:#676C7E;} + .d2-2695291193 .color-N3{color:#9499AB;} + .d2-2695291193 .color-N4{color:#CFD2DD;} + .d2-2695291193 .color-N5{color:#DEE1EB;} + .d2-2695291193 .color-N6{color:#EEF1F8;} + .d2-2695291193 .color-N7{color:#FFFFFF;} + .d2-2695291193 .color-B1{color:#0D32B2;} + .d2-2695291193 .color-B2{color:#0D32B2;} + .d2-2695291193 .color-B3{color:#E3E9FD;} + .d2-2695291193 .color-B4{color:#E3E9FD;} + .d2-2695291193 .color-B5{color:#EDF0FD;} + .d2-2695291193 .color-B6{color:#F7F8FE;} + .d2-2695291193 .color-AA2{color:#4A6FF3;} + .d2-2695291193 .color-AA4{color:#EDF0FD;} + .d2-2695291193 .color-AA5{color:#F7F8FE;} + .d2-2695291193 .color-AB4{color:#EDF0FD;} + .d2-2695291193 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>linkedtooltippedbothrectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloudrectangleexamplesquareexamplepageexampleparallelogramexampledocumentexamplecylinderexamplequeueexamplepackageexamplestepexamplecalloutexamplestored_dataexamplepersonexamplediamondexampleovalexamplecircleexamplehexagonexamplecloudexamplerectangleexamplesquareexamplepageexampleparallelogramexampledocumentexamplecylinderexamplequeueexamplepackageexamplestepexamplecalloutexamplestored_dataexamplepersonexamplediamondexampleovalexamplecircleexamplehexagonexamplecloudexample @@ -303,7 +303,7 @@ - +example @@ -316,7 +316,7 @@ -example +example @@ -329,7 +329,7 @@ -example +example @@ -342,7 +342,7 @@ -example +example @@ -355,7 +355,7 @@ -example +example @@ -368,7 +368,7 @@ -example +example @@ -381,7 +381,7 @@ -example +example @@ -394,7 +394,7 @@ -example +example @@ -407,7 +407,7 @@ -example +example @@ -420,7 +420,7 @@ -example +example @@ -433,7 +433,7 @@ -example +example @@ -446,7 +446,7 @@ -example +example @@ -459,7 +459,7 @@ -example +example @@ -472,7 +472,7 @@ -example +example @@ -485,7 +485,7 @@ -example +example @@ -498,7 +498,7 @@ -example +example @@ -511,7 +511,7 @@ -example +example @@ -524,7 +524,7 @@ -example +example @@ -537,7 +537,7 @@ -example + @@ -549,7 +549,7 @@ - +example @@ -562,7 +562,7 @@ -example + @@ -574,7 +574,7 @@ - +example @@ -587,7 +587,7 @@ -example + @@ -599,7 +599,7 @@ - +example @@ -612,7 +612,7 @@ -example + @@ -624,7 +624,7 @@ - +example @@ -637,7 +637,7 @@ -example + @@ -649,7 +649,7 @@ - +example @@ -662,7 +662,7 @@ -example + @@ -674,7 +674,7 @@ - +example @@ -687,7 +687,7 @@ -example + @@ -699,7 +699,7 @@ - +example @@ -712,7 +712,7 @@ -example + @@ -724,7 +724,7 @@ - +example @@ -737,7 +737,7 @@ -example + @@ -749,7 +749,7 @@ - +example @@ -762,7 +762,7 @@ -example + @@ -774,7 +774,7 @@ - +example @@ -787,7 +787,7 @@ -example + @@ -799,7 +799,7 @@ - +example @@ -812,7 +812,7 @@ -example + @@ -824,7 +824,7 @@ - +example @@ -837,7 +837,7 @@ -example + @@ -849,7 +849,7 @@ - +example @@ -862,7 +862,7 @@ -example + @@ -874,7 +874,7 @@ - +example @@ -887,7 +887,7 @@ -example + @@ -899,7 +899,7 @@ - +example @@ -912,7 +912,7 @@ -example + @@ -924,7 +924,7 @@ - +example @@ -937,7 +937,7 @@ -example + @@ -949,7 +949,7 @@ - + diff --git a/e2etests/testdata/stable/all_shapes_multiple/dagre/board.exp.json b/e2etests/testdata/stable/all_shapes_multiple/dagre/board.exp.json index 2a9dfa653..d36e36dcb 100644 --- a/e2etests/testdata/stable/all_shapes_multiple/dagre/board.exp.json +++ b/e2etests/testdata/stable/all_shapes_multiple/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 23 + "y": 13 }, "width": 111, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 9, - "y": 212 + "y": 192 }, "width": 94, "height": 94, @@ -90,7 +90,7 @@ "type": "page", "pos": { "x": 16, - "y": 432 + "y": 402 }, "width": 79, "height": 87, @@ -131,7 +131,7 @@ "type": "parallelogram", "pos": { "x": 181, - "y": 23 + "y": 13 }, "width": 196, "height": 66, @@ -172,7 +172,7 @@ "type": "document", "pos": { "x": 221, - "y": 221 + "y": 201 }, "width": 117, "height": 76, @@ -213,7 +213,7 @@ "type": "cylinder", "pos": { "x": 227, - "y": 416 + "y": 386 }, "width": 104, "height": 118, @@ -253,8 +253,8 @@ "id": "queue", "type": "queue", "pos": { - "x": 447, - "y": 23 + "x": 437, + "y": 13 }, "width": 141, "height": 66, @@ -294,8 +294,8 @@ "id": "package", "type": "package", "pos": { - "x": 466, - "y": 223 + "x": 456, + "y": 203 }, "width": 103, "height": 73, @@ -335,8 +335,8 @@ "id": "step", "type": "step", "pos": { - "x": 460, - "y": 425 + "x": 450, + "y": 395 }, "width": 116, "height": 101, @@ -376,8 +376,8 @@ "id": "callout", "type": "callout", "pos": { - "x": 667, - "y": 11 + "x": 657, + "y": 1 }, "width": 95, "height": 91, @@ -417,8 +417,8 @@ "id": "stored_data", "type": "stored_data", "pos": { - "x": 639, - "y": 226 + "x": 629, + "y": 206 }, "width": 151, "height": 66, @@ -458,8 +458,8 @@ "id": "person", "type": "person", "pos": { - "x": 683, - "y": 429 + "x": 673, + "y": 412 }, "width": 63, "height": 66, @@ -499,8 +499,8 @@ "id": "diamond", "type": "diamond", "pos": { - "x": 832, - "y": 10 + "x": 812, + "y": 0 }, "width": 156, "height": 92, @@ -540,8 +540,8 @@ "id": "oval", "type": "oval", "pos": { - "x": 862, - "y": 224 + "x": 842, + "y": 204 }, "width": 97, "height": 70, @@ -581,8 +581,8 @@ "id": "circle", "type": "oval", "pos": { - "x": 865, - "y": 430 + "x": 845, + "y": 400 }, "width": 91, "height": 91, @@ -622,8 +622,8 @@ "id": "hexagon", "type": "hexagon", "pos": { - "x": 1058, - "y": 22 + "x": 1038, + "y": 12 }, "width": 128, "height": 69, @@ -663,8 +663,8 @@ "id": "cloud", "type": "cloud", "pos": { - "x": 1070, - "y": 217 + "x": 1050, + "y": 197 }, "width": 104, "height": 84, @@ -727,20 +727,20 @@ "labelPercentage": 0, "route": [ { - "x": 60.5, - "y": 89 + "x": 55.5, + "y": 79 }, { - "x": 60.5, - "y": 139.39999389648438 + "x": 55.5, + "y": 129.39999389648438 }, { - "x": 60.5, - "y": 162 + "x": 55.5, + "y": 150 }, { - "x": 60.5, - "y": 202 + "x": 55.5, + "y": 182 } ], "isCurve": true, @@ -774,20 +774,20 @@ "labelPercentage": 0, "route": [ { - "x": 60.5, - "y": 306 + "x": 55.5, + "y": 286 }, { - "x": 60.5, - "y": 346 + "x": 55.5, + "y": 326 }, { - "x": 60.599998474121094, - "y": 369.20001220703125 + "x": 55.599998474121094, + "y": 347.20001220703125 }, { - "x": 61, - "y": 422 + "x": 56, + "y": 392 } ], "isCurve": true, @@ -821,20 +821,20 @@ "labelPercentage": 0, "route": [ { - "x": 284, - "y": 89 + "x": 279, + "y": 79 }, { - "x": 284, - "y": 139.39999389648438 + "x": 279, + "y": 129.39999389648438 }, { - "x": 284, - "y": 163.8000030517578 + "x": 279, + "y": 151.8000030517578 }, { - "x": 284, - "y": 211 + "x": 279, + "y": 191 } ], "isCurve": true, @@ -868,20 +868,20 @@ "labelPercentage": 0, "route": [ { - "x": 284, - "y": 283 + "x": 279, + "y": 267 }, { - "x": 284, - "y": 341.3999938964844 + "x": 279, + "y": 322.20001220703125 }, { - "x": 284, - "y": 366 + "x": 279, + "y": 344 }, { - "x": 284, - "y": 406 + "x": 279, + "y": 376 } ], "isCurve": true, @@ -915,20 +915,20 @@ "labelPercentage": 0, "route": [ { - "x": 522, - "y": 89 + "x": 507, + "y": 79 }, { - "x": 522.4000244140625, - "y": 139.39999389648438 + "x": 507.3999938964844, + "y": 129.39999389648438 }, { - "x": 522.5999755859375, - "y": 164.1999969482422 + "x": 507.6000061035156, + "y": 152.1999969482422 }, { - "x": 523, - "y": 213 + "x": 508, + "y": 193 } ], "isCurve": true, @@ -962,20 +962,20 @@ "labelPercentage": 0, "route": [ { - "x": 522, - "y": 296 + "x": 507, + "y": 276 }, { - "x": 522.4000244140625, - "y": 344 + "x": 507.3999938964844, + "y": 324 }, { - "x": 522.5999755859375, - "y": 367.79998779296875 + "x": 507.6000061035156, + "y": 345.79998779296875 }, { - "x": 523, - "y": 415 + "x": 508, + "y": 385 } ], "isCurve": true, @@ -1009,20 +1009,20 @@ "labelPercentage": 0, "route": [ { - "x": 720, - "y": 95 + "x": 705, + "y": 47 }, { - "x": 719.5999755859375, - "y": 140.60000610351562 + "x": 704.5999755859375, + "y": 123 }, { - "x": 719.5999755859375, - "y": 164.8000030517578 + "x": 704.5999755859375, + "y": 152.8000030517578 }, { - "x": 720, - "y": 216 + "x": 705, + "y": 196 } ], "isCurve": true, @@ -1056,20 +1056,20 @@ "labelPercentage": 0, "route": [ { - "x": 719, - "y": 292 + "x": 704, + "y": 272 }, { - "x": 719.4000244140625, - "y": 343.20001220703125 + "x": 704.4000244140625, + "y": 323.20001220703125 }, { - "x": 719.5999755859375, - "y": 368.6000061035156 + "x": 704.5999755859375, + "y": 349.6000061035156 }, { - "x": 720, - "y": 419 + "x": 705, + "y": 404 } ], "isCurve": true, @@ -1103,20 +1103,20 @@ "labelPercentage": 0, "route": [ { - "x": 915, - "y": 100 + "x": 890, + "y": 92 }, { - "x": 915, - "y": 141.60000610351562 + "x": 890, + "y": 132 }, { - "x": 915, - "y": 164.39999389648438 + "x": 890, + "y": 152.60000610351562 }, { - "x": 915, - "y": 214 + "x": 890, + "y": 195 } ], "isCurve": true, @@ -1150,20 +1150,20 @@ "labelPercentage": 0, "route": [ { - "x": 915, - "y": 294 + "x": 890, + "y": 274 }, { - "x": 915, - "y": 343.6000061035156 + "x": 890, + "y": 323.6000061035156 }, { - "x": 915, - "y": 368.79998779296875 + "x": 890, + "y": 347 }, { - "x": 915, - "y": 420 + "x": 890, + "y": 391 } ], "isCurve": true, @@ -1197,20 +1197,20 @@ "labelPercentage": 0, "route": [ { - "x": 1127, - "y": 91 + "x": 1102, + "y": 81 }, { - "x": 1127, - "y": 139.8000030517578 + "x": 1102, + "y": 129.8000030517578 }, { - "x": 1127, - "y": 163.8000030517578 + "x": 1102, + "y": 152.60000610351562 }, { - "x": 1127, - "y": 211 + "x": 1102, + "y": 195 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/all_shapes_multiple/dagre/sketch.exp.svg b/e2etests/testdata/stable/all_shapes_multiple/dagre/sketch.exp.svg index 429e5b9bb..c501a1519 100644 --- a/e2etests/testdata/stable/all_shapes_multiple/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes_multiple/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud - - - - - - - - - - - - - - - - - - + .d2-1545250783 .fill-N1{fill:#0A0F25;} + .d2-1545250783 .fill-N2{fill:#676C7E;} + .d2-1545250783 .fill-N3{fill:#9499AB;} + .d2-1545250783 .fill-N4{fill:#CFD2DD;} + .d2-1545250783 .fill-N5{fill:#DEE1EB;} + .d2-1545250783 .fill-N6{fill:#EEF1F8;} + .d2-1545250783 .fill-N7{fill:#FFFFFF;} + .d2-1545250783 .fill-B1{fill:#0D32B2;} + .d2-1545250783 .fill-B2{fill:#0D32B2;} + .d2-1545250783 .fill-B3{fill:#E3E9FD;} + .d2-1545250783 .fill-B4{fill:#E3E9FD;} + .d2-1545250783 .fill-B5{fill:#EDF0FD;} + .d2-1545250783 .fill-B6{fill:#F7F8FE;} + .d2-1545250783 .fill-AA2{fill:#4A6FF3;} + .d2-1545250783 .fill-AA4{fill:#EDF0FD;} + .d2-1545250783 .fill-AA5{fill:#F7F8FE;} + .d2-1545250783 .fill-AB4{fill:#EDF0FD;} + .d2-1545250783 .fill-AB5{fill:#F7F8FE;} + .d2-1545250783 .stroke-N1{stroke:#0A0F25;} + .d2-1545250783 .stroke-N2{stroke:#676C7E;} + .d2-1545250783 .stroke-N3{stroke:#9499AB;} + .d2-1545250783 .stroke-N4{stroke:#CFD2DD;} + .d2-1545250783 .stroke-N5{stroke:#DEE1EB;} + .d2-1545250783 .stroke-N6{stroke:#EEF1F8;} + .d2-1545250783 .stroke-N7{stroke:#FFFFFF;} + .d2-1545250783 .stroke-B1{stroke:#0D32B2;} + .d2-1545250783 .stroke-B2{stroke:#0D32B2;} + .d2-1545250783 .stroke-B3{stroke:#E3E9FD;} + .d2-1545250783 .stroke-B4{stroke:#E3E9FD;} + .d2-1545250783 .stroke-B5{stroke:#EDF0FD;} + .d2-1545250783 .stroke-B6{stroke:#F7F8FE;} + .d2-1545250783 .stroke-AA2{stroke:#4A6FF3;} + .d2-1545250783 .stroke-AA4{stroke:#EDF0FD;} + .d2-1545250783 .stroke-AA5{stroke:#F7F8FE;} + .d2-1545250783 .stroke-AB4{stroke:#EDF0FD;} + .d2-1545250783 .stroke-AB5{stroke:#F7F8FE;} + .d2-1545250783 .background-color-N1{background-color:#0A0F25;} + .d2-1545250783 .background-color-N2{background-color:#676C7E;} + .d2-1545250783 .background-color-N3{background-color:#9499AB;} + .d2-1545250783 .background-color-N4{background-color:#CFD2DD;} + .d2-1545250783 .background-color-N5{background-color:#DEE1EB;} + .d2-1545250783 .background-color-N6{background-color:#EEF1F8;} + .d2-1545250783 .background-color-N7{background-color:#FFFFFF;} + .d2-1545250783 .background-color-B1{background-color:#0D32B2;} + .d2-1545250783 .background-color-B2{background-color:#0D32B2;} + .d2-1545250783 .background-color-B3{background-color:#E3E9FD;} + .d2-1545250783 .background-color-B4{background-color:#E3E9FD;} + .d2-1545250783 .background-color-B5{background-color:#EDF0FD;} + .d2-1545250783 .background-color-B6{background-color:#F7F8FE;} + .d2-1545250783 .background-color-AA2{background-color:#4A6FF3;} + .d2-1545250783 .background-color-AA4{background-color:#EDF0FD;} + .d2-1545250783 .background-color-AA5{background-color:#F7F8FE;} + .d2-1545250783 .background-color-AB4{background-color:#EDF0FD;} + .d2-1545250783 .background-color-AB5{background-color:#F7F8FE;} + .d2-1545250783 .color-N1{color:#0A0F25;} + .d2-1545250783 .color-N2{color:#676C7E;} + .d2-1545250783 .color-N3{color:#9499AB;} + .d2-1545250783 .color-N4{color:#CFD2DD;} + .d2-1545250783 .color-N5{color:#DEE1EB;} + .d2-1545250783 .color-N6{color:#EEF1F8;} + .d2-1545250783 .color-N7{color:#FFFFFF;} + .d2-1545250783 .color-B1{color:#0D32B2;} + .d2-1545250783 .color-B2{color:#0D32B2;} + .d2-1545250783 .color-B3{color:#E3E9FD;} + .d2-1545250783 .color-B4{color:#E3E9FD;} + .d2-1545250783 .color-B5{color:#EDF0FD;} + .d2-1545250783 .color-B6{color:#F7F8FE;} + .d2-1545250783 .color-AA2{color:#4A6FF3;} + .d2-1545250783 .color-AA4{color:#EDF0FD;} + .d2-1545250783 .color-AA5{color:#F7F8FE;} + .d2-1545250783 .color-AB4{color:#EDF0FD;} + .d2-1545250783 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/all_shapes_multiple/elk/board.exp.json b/e2etests/testdata/stable/all_shapes_multiple/elk/board.exp.json index 8d0479cff..da3e013e0 100644 --- a/e2etests/testdata/stable/all_shapes_multiple/elk/board.exp.json +++ b/e2etests/testdata/stable/all_shapes_multiple/elk/board.exp.json @@ -921,7 +921,7 @@ "y": 278 }, { - "x": 454, + "x": 455, "y": 358 } ], diff --git a/e2etests/testdata/stable/all_shapes_multiple/elk/sketch.exp.svg b/e2etests/testdata/stable/all_shapes_multiple/elk/sketch.exp.svg index 76989c9dd..09cec8eb2 100644 --- a/e2etests/testdata/stable/all_shapes_multiple/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes_multiple/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud + .d2-1087937579 .fill-N1{fill:#0A0F25;} + .d2-1087937579 .fill-N2{fill:#676C7E;} + .d2-1087937579 .fill-N3{fill:#9499AB;} + .d2-1087937579 .fill-N4{fill:#CFD2DD;} + .d2-1087937579 .fill-N5{fill:#DEE1EB;} + .d2-1087937579 .fill-N6{fill:#EEF1F8;} + .d2-1087937579 .fill-N7{fill:#FFFFFF;} + .d2-1087937579 .fill-B1{fill:#0D32B2;} + .d2-1087937579 .fill-B2{fill:#0D32B2;} + .d2-1087937579 .fill-B3{fill:#E3E9FD;} + .d2-1087937579 .fill-B4{fill:#E3E9FD;} + .d2-1087937579 .fill-B5{fill:#EDF0FD;} + .d2-1087937579 .fill-B6{fill:#F7F8FE;} + .d2-1087937579 .fill-AA2{fill:#4A6FF3;} + .d2-1087937579 .fill-AA4{fill:#EDF0FD;} + .d2-1087937579 .fill-AA5{fill:#F7F8FE;} + .d2-1087937579 .fill-AB4{fill:#EDF0FD;} + .d2-1087937579 .fill-AB5{fill:#F7F8FE;} + .d2-1087937579 .stroke-N1{stroke:#0A0F25;} + .d2-1087937579 .stroke-N2{stroke:#676C7E;} + .d2-1087937579 .stroke-N3{stroke:#9499AB;} + .d2-1087937579 .stroke-N4{stroke:#CFD2DD;} + .d2-1087937579 .stroke-N5{stroke:#DEE1EB;} + .d2-1087937579 .stroke-N6{stroke:#EEF1F8;} + .d2-1087937579 .stroke-N7{stroke:#FFFFFF;} + .d2-1087937579 .stroke-B1{stroke:#0D32B2;} + .d2-1087937579 .stroke-B2{stroke:#0D32B2;} + .d2-1087937579 .stroke-B3{stroke:#E3E9FD;} + .d2-1087937579 .stroke-B4{stroke:#E3E9FD;} + .d2-1087937579 .stroke-B5{stroke:#EDF0FD;} + .d2-1087937579 .stroke-B6{stroke:#F7F8FE;} + .d2-1087937579 .stroke-AA2{stroke:#4A6FF3;} + .d2-1087937579 .stroke-AA4{stroke:#EDF0FD;} + .d2-1087937579 .stroke-AA5{stroke:#F7F8FE;} + .d2-1087937579 .stroke-AB4{stroke:#EDF0FD;} + .d2-1087937579 .stroke-AB5{stroke:#F7F8FE;} + .d2-1087937579 .background-color-N1{background-color:#0A0F25;} + .d2-1087937579 .background-color-N2{background-color:#676C7E;} + .d2-1087937579 .background-color-N3{background-color:#9499AB;} + .d2-1087937579 .background-color-N4{background-color:#CFD2DD;} + .d2-1087937579 .background-color-N5{background-color:#DEE1EB;} + .d2-1087937579 .background-color-N6{background-color:#EEF1F8;} + .d2-1087937579 .background-color-N7{background-color:#FFFFFF;} + .d2-1087937579 .background-color-B1{background-color:#0D32B2;} + .d2-1087937579 .background-color-B2{background-color:#0D32B2;} + .d2-1087937579 .background-color-B3{background-color:#E3E9FD;} + .d2-1087937579 .background-color-B4{background-color:#E3E9FD;} + .d2-1087937579 .background-color-B5{background-color:#EDF0FD;} + .d2-1087937579 .background-color-B6{background-color:#F7F8FE;} + .d2-1087937579 .background-color-AA2{background-color:#4A6FF3;} + .d2-1087937579 .background-color-AA4{background-color:#EDF0FD;} + .d2-1087937579 .background-color-AA5{background-color:#F7F8FE;} + .d2-1087937579 .background-color-AB4{background-color:#EDF0FD;} + .d2-1087937579 .background-color-AB5{background-color:#F7F8FE;} + .d2-1087937579 .color-N1{color:#0A0F25;} + .d2-1087937579 .color-N2{color:#676C7E;} + .d2-1087937579 .color-N3{color:#9499AB;} + .d2-1087937579 .color-N4{color:#CFD2DD;} + .d2-1087937579 .color-N5{color:#DEE1EB;} + .d2-1087937579 .color-N6{color:#EEF1F8;} + .d2-1087937579 .color-N7{color:#FFFFFF;} + .d2-1087937579 .color-B1{color:#0D32B2;} + .d2-1087937579 .color-B2{color:#0D32B2;} + .d2-1087937579 .color-B3{color:#E3E9FD;} + .d2-1087937579 .color-B4{color:#E3E9FD;} + .d2-1087937579 .color-B5{color:#EDF0FD;} + .d2-1087937579 .color-B6{color:#F7F8FE;} + .d2-1087937579 .color-AA2{color:#4A6FF3;} + .d2-1087937579 .color-AA4{color:#EDF0FD;} + .d2-1087937579 .color-AA5{color:#F7F8FE;} + .d2-1087937579 .color-AB4{color:#EDF0FD;} + .d2-1087937579 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -102,7 +102,7 @@ - + diff --git a/e2etests/testdata/stable/all_shapes_shadow/dagre/board.exp.json b/e2etests/testdata/stable/all_shapes_shadow/dagre/board.exp.json index 2ebf32b0d..df40e65bd 100644 --- a/e2etests/testdata/stable/all_shapes_shadow/dagre/board.exp.json +++ b/e2etests/testdata/stable/all_shapes_shadow/dagre/board.exp.json @@ -459,7 +459,7 @@ "type": "person", "pos": { "x": 653, - "y": 399 + "y": 412 }, "width": 63, "height": 66, @@ -1065,11 +1065,11 @@ }, { "x": 684.5999755859375, - "y": 348.6000061035156 + "y": 351.20001220703125 }, { "x": 685, - "y": 399 + "y": 412 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/all_shapes_shadow/dagre/sketch.exp.svg b/e2etests/testdata/stable/all_shapes_shadow/dagre/sketch.exp.svg index 4904853c2..8f2ac6d61 100644 --- a/e2etests/testdata/stable/all_shapes_shadow/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes_shadow/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-1103047328 .fill-N1{fill:#0A0F25;} + .d2-1103047328 .fill-N2{fill:#676C7E;} + .d2-1103047328 .fill-N3{fill:#9499AB;} + .d2-1103047328 .fill-N4{fill:#CFD2DD;} + .d2-1103047328 .fill-N5{fill:#DEE1EB;} + .d2-1103047328 .fill-N6{fill:#EEF1F8;} + .d2-1103047328 .fill-N7{fill:#FFFFFF;} + .d2-1103047328 .fill-B1{fill:#0D32B2;} + .d2-1103047328 .fill-B2{fill:#0D32B2;} + .d2-1103047328 .fill-B3{fill:#E3E9FD;} + .d2-1103047328 .fill-B4{fill:#E3E9FD;} + .d2-1103047328 .fill-B5{fill:#EDF0FD;} + .d2-1103047328 .fill-B6{fill:#F7F8FE;} + .d2-1103047328 .fill-AA2{fill:#4A6FF3;} + .d2-1103047328 .fill-AA4{fill:#EDF0FD;} + .d2-1103047328 .fill-AA5{fill:#F7F8FE;} + .d2-1103047328 .fill-AB4{fill:#EDF0FD;} + .d2-1103047328 .fill-AB5{fill:#F7F8FE;} + .d2-1103047328 .stroke-N1{stroke:#0A0F25;} + .d2-1103047328 .stroke-N2{stroke:#676C7E;} + .d2-1103047328 .stroke-N3{stroke:#9499AB;} + .d2-1103047328 .stroke-N4{stroke:#CFD2DD;} + .d2-1103047328 .stroke-N5{stroke:#DEE1EB;} + .d2-1103047328 .stroke-N6{stroke:#EEF1F8;} + .d2-1103047328 .stroke-N7{stroke:#FFFFFF;} + .d2-1103047328 .stroke-B1{stroke:#0D32B2;} + .d2-1103047328 .stroke-B2{stroke:#0D32B2;} + .d2-1103047328 .stroke-B3{stroke:#E3E9FD;} + .d2-1103047328 .stroke-B4{stroke:#E3E9FD;} + .d2-1103047328 .stroke-B5{stroke:#EDF0FD;} + .d2-1103047328 .stroke-B6{stroke:#F7F8FE;} + .d2-1103047328 .stroke-AA2{stroke:#4A6FF3;} + .d2-1103047328 .stroke-AA4{stroke:#EDF0FD;} + .d2-1103047328 .stroke-AA5{stroke:#F7F8FE;} + .d2-1103047328 .stroke-AB4{stroke:#EDF0FD;} + .d2-1103047328 .stroke-AB5{stroke:#F7F8FE;} + .d2-1103047328 .background-color-N1{background-color:#0A0F25;} + .d2-1103047328 .background-color-N2{background-color:#676C7E;} + .d2-1103047328 .background-color-N3{background-color:#9499AB;} + .d2-1103047328 .background-color-N4{background-color:#CFD2DD;} + .d2-1103047328 .background-color-N5{background-color:#DEE1EB;} + .d2-1103047328 .background-color-N6{background-color:#EEF1F8;} + .d2-1103047328 .background-color-N7{background-color:#FFFFFF;} + .d2-1103047328 .background-color-B1{background-color:#0D32B2;} + .d2-1103047328 .background-color-B2{background-color:#0D32B2;} + .d2-1103047328 .background-color-B3{background-color:#E3E9FD;} + .d2-1103047328 .background-color-B4{background-color:#E3E9FD;} + .d2-1103047328 .background-color-B5{background-color:#EDF0FD;} + .d2-1103047328 .background-color-B6{background-color:#F7F8FE;} + .d2-1103047328 .background-color-AA2{background-color:#4A6FF3;} + .d2-1103047328 .background-color-AA4{background-color:#EDF0FD;} + .d2-1103047328 .background-color-AA5{background-color:#F7F8FE;} + .d2-1103047328 .background-color-AB4{background-color:#EDF0FD;} + .d2-1103047328 .background-color-AB5{background-color:#F7F8FE;} + .d2-1103047328 .color-N1{color:#0A0F25;} + .d2-1103047328 .color-N2{color:#676C7E;} + .d2-1103047328 .color-N3{color:#9499AB;} + .d2-1103047328 .color-N4{color:#CFD2DD;} + .d2-1103047328 .color-N5{color:#DEE1EB;} + .d2-1103047328 .color-N6{color:#EEF1F8;} + .d2-1103047328 .color-N7{color:#FFFFFF;} + .d2-1103047328 .color-B1{color:#0D32B2;} + .d2-1103047328 .color-B2{color:#0D32B2;} + .d2-1103047328 .color-B3{color:#E3E9FD;} + .d2-1103047328 .color-B4{color:#E3E9FD;} + .d2-1103047328 .color-B5{color:#EDF0FD;} + .d2-1103047328 .color-B6{color:#F7F8FE;} + .d2-1103047328 .color-AA2{color:#4A6FF3;} + .d2-1103047328 .color-AA4{color:#EDF0FD;} + .d2-1103047328 .color-AA5{color:#F7F8FE;} + .d2-1103047328 .color-AB4{color:#EDF0FD;} + .d2-1103047328 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud +rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud @@ -110,7 +110,7 @@ - + diff --git a/e2etests/testdata/stable/all_shapes_shadow/elk/board.exp.json b/e2etests/testdata/stable/all_shapes_shadow/elk/board.exp.json index a803707f8..b1404b802 100644 --- a/e2etests/testdata/stable/all_shapes_shadow/elk/board.exp.json +++ b/e2etests/testdata/stable/all_shapes_shadow/elk/board.exp.json @@ -921,7 +921,7 @@ "y": 258 }, { - "x": 429, + "x": 430, "y": 338 } ], @@ -959,7 +959,7 @@ "y": 59 }, { - "x": 577, + "x": 576, "y": 188 } ], diff --git a/e2etests/testdata/stable/all_shapes_shadow/elk/sketch.exp.svg b/e2etests/testdata/stable/all_shapes_shadow/elk/sketch.exp.svg index 98d73c2a9..562719faa 100644 --- a/e2etests/testdata/stable/all_shapes_shadow/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/all_shapes_shadow/elk/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-1603504585 .fill-N1{fill:#0A0F25;} + .d2-1603504585 .fill-N2{fill:#676C7E;} + .d2-1603504585 .fill-N3{fill:#9499AB;} + .d2-1603504585 .fill-N4{fill:#CFD2DD;} + .d2-1603504585 .fill-N5{fill:#DEE1EB;} + .d2-1603504585 .fill-N6{fill:#EEF1F8;} + .d2-1603504585 .fill-N7{fill:#FFFFFF;} + .d2-1603504585 .fill-B1{fill:#0D32B2;} + .d2-1603504585 .fill-B2{fill:#0D32B2;} + .d2-1603504585 .fill-B3{fill:#E3E9FD;} + .d2-1603504585 .fill-B4{fill:#E3E9FD;} + .d2-1603504585 .fill-B5{fill:#EDF0FD;} + .d2-1603504585 .fill-B6{fill:#F7F8FE;} + .d2-1603504585 .fill-AA2{fill:#4A6FF3;} + .d2-1603504585 .fill-AA4{fill:#EDF0FD;} + .d2-1603504585 .fill-AA5{fill:#F7F8FE;} + .d2-1603504585 .fill-AB4{fill:#EDF0FD;} + .d2-1603504585 .fill-AB5{fill:#F7F8FE;} + .d2-1603504585 .stroke-N1{stroke:#0A0F25;} + .d2-1603504585 .stroke-N2{stroke:#676C7E;} + .d2-1603504585 .stroke-N3{stroke:#9499AB;} + .d2-1603504585 .stroke-N4{stroke:#CFD2DD;} + .d2-1603504585 .stroke-N5{stroke:#DEE1EB;} + .d2-1603504585 .stroke-N6{stroke:#EEF1F8;} + .d2-1603504585 .stroke-N7{stroke:#FFFFFF;} + .d2-1603504585 .stroke-B1{stroke:#0D32B2;} + .d2-1603504585 .stroke-B2{stroke:#0D32B2;} + .d2-1603504585 .stroke-B3{stroke:#E3E9FD;} + .d2-1603504585 .stroke-B4{stroke:#E3E9FD;} + .d2-1603504585 .stroke-B5{stroke:#EDF0FD;} + .d2-1603504585 .stroke-B6{stroke:#F7F8FE;} + .d2-1603504585 .stroke-AA2{stroke:#4A6FF3;} + .d2-1603504585 .stroke-AA4{stroke:#EDF0FD;} + .d2-1603504585 .stroke-AA5{stroke:#F7F8FE;} + .d2-1603504585 .stroke-AB4{stroke:#EDF0FD;} + .d2-1603504585 .stroke-AB5{stroke:#F7F8FE;} + .d2-1603504585 .background-color-N1{background-color:#0A0F25;} + .d2-1603504585 .background-color-N2{background-color:#676C7E;} + .d2-1603504585 .background-color-N3{background-color:#9499AB;} + .d2-1603504585 .background-color-N4{background-color:#CFD2DD;} + .d2-1603504585 .background-color-N5{background-color:#DEE1EB;} + .d2-1603504585 .background-color-N6{background-color:#EEF1F8;} + .d2-1603504585 .background-color-N7{background-color:#FFFFFF;} + .d2-1603504585 .background-color-B1{background-color:#0D32B2;} + .d2-1603504585 .background-color-B2{background-color:#0D32B2;} + .d2-1603504585 .background-color-B3{background-color:#E3E9FD;} + .d2-1603504585 .background-color-B4{background-color:#E3E9FD;} + .d2-1603504585 .background-color-B5{background-color:#EDF0FD;} + .d2-1603504585 .background-color-B6{background-color:#F7F8FE;} + .d2-1603504585 .background-color-AA2{background-color:#4A6FF3;} + .d2-1603504585 .background-color-AA4{background-color:#EDF0FD;} + .d2-1603504585 .background-color-AA5{background-color:#F7F8FE;} + .d2-1603504585 .background-color-AB4{background-color:#EDF0FD;} + .d2-1603504585 .background-color-AB5{background-color:#F7F8FE;} + .d2-1603504585 .color-N1{color:#0A0F25;} + .d2-1603504585 .color-N2{color:#676C7E;} + .d2-1603504585 .color-N3{color:#9499AB;} + .d2-1603504585 .color-N4{color:#CFD2DD;} + .d2-1603504585 .color-N5{color:#DEE1EB;} + .d2-1603504585 .color-N6{color:#EEF1F8;} + .d2-1603504585 .color-N7{color:#FFFFFF;} + .d2-1603504585 .color-B1{color:#0D32B2;} + .d2-1603504585 .color-B2{color:#0D32B2;} + .d2-1603504585 .color-B3{color:#E3E9FD;} + .d2-1603504585 .color-B4{color:#E3E9FD;} + .d2-1603504585 .color-B5{color:#EDF0FD;} + .d2-1603504585 .color-B6{color:#F7F8FE;} + .d2-1603504585 .color-AA2{color:#4A6FF3;} + .d2-1603504585 .color-AA4{color:#EDF0FD;} + .d2-1603504585 .color-AA5{color:#F7F8FE;} + .d2-1603504585 .color-AB4{color:#EDF0FD;} + .d2-1603504585 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud +rectanglesquarepageparallelogramdocumentcylinderqueuepackagestepcalloutstored_datapersondiamondovalcirclehexagoncloud diff --git a/e2etests/testdata/stable/animated/dagre/board.exp.json b/e2etests/testdata/stable/animated/dagre/board.exp.json index 808ce1b9c..7ef09c9b6 100644 --- a/e2etests/testdata/stable/animated/dagre/board.exp.json +++ b/e2etests/testdata/stable/animated/dagre/board.exp.json @@ -563,12 +563,12 @@ "labelPercentage": 0, "route": [ { - "x": 94.322998046875, - "y": 66 + "x": 94.5, + "y": 65.5 }, { - "x": 54.4640007019043, - "y": 114.4000015258789 + "x": 54.5, + "y": 114.30000305175781 }, { "x": 44.5, @@ -610,12 +610,12 @@ "labelPercentage": 0, "route": [ { - "x": 154.14700317382812, - "y": 66 + "x": 154, + "y": 65.5 }, { - "x": 202.0290069580078, - "y": 114.4000015258789 + "x": 202, + "y": 114.30000305175781 }, { "x": 214, @@ -658,11 +658,11 @@ "route": [ { "x": 405.25, - "y": 187 + "y": 187.5 }, { "x": 405.25, - "y": 138.60000610351562 + "y": 138.6999969482422 }, { "x": 405.25, @@ -705,11 +705,11 @@ "route": [ { "x": 575.75, - "y": 66 + "y": 65.5 }, { "x": 575.75, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 575.75, @@ -751,12 +751,12 @@ "labelPercentage": 0, "route": [ { - "x": 828.5, - "y": 66 + "x": 828.25, + "y": 65.5 }, { - "x": 751.5, - "y": 114.4000015258789 + "x": 751.4500122070312, + "y": 114.30000305175781 }, { "x": 732.25, @@ -798,12 +798,12 @@ "labelPercentage": 0, "route": [ { - "x": 879.5, - "y": 66 + "x": 879.75, + "y": 65.5 }, { - "x": 877.2999877929688, - "y": 114.4000015258789 + "x": 877.3499755859375, + "y": 114.30000305175781 }, { "x": 876.75, @@ -845,12 +845,12 @@ "labelPercentage": 0, "route": [ { - "x": 931.5579833984375, - "y": 66 + "x": 931.25, + "y": 65.5 }, { - "x": 1005.7109985351562, - "y": 114.4000015258789 + "x": 1005.6500244140625, + "y": 114.30000305175781 }, { "x": 1024.25, @@ -893,11 +893,11 @@ "route": [ { "x": 1175.5, - "y": 66 + "y": 65.5 }, { "x": 1175.5, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 1175.5, diff --git a/e2etests/testdata/stable/animated/dagre/sketch.exp.svg b/e2etests/testdata/stable/animated/dagre/sketch.exp.svg index 7649abeaa..162a308a3 100644 --- a/e2etests/testdata/stable/animated/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/animated/dagre/sketch.exp.svg @@ -1,22 +1,22 @@ -your love life will behappyharmoniousboredomimmortalityFridayMondayInsomniaSleepWakeDreamListenTalk hear + .d2-3267239171 .fill-N1{fill:#0A0F25;} + .d2-3267239171 .fill-N2{fill:#676C7E;} + .d2-3267239171 .fill-N3{fill:#9499AB;} + .d2-3267239171 .fill-N4{fill:#CFD2DD;} + .d2-3267239171 .fill-N5{fill:#DEE1EB;} + .d2-3267239171 .fill-N6{fill:#EEF1F8;} + .d2-3267239171 .fill-N7{fill:#FFFFFF;} + .d2-3267239171 .fill-B1{fill:#0D32B2;} + .d2-3267239171 .fill-B2{fill:#0D32B2;} + .d2-3267239171 .fill-B3{fill:#E3E9FD;} + .d2-3267239171 .fill-B4{fill:#E3E9FD;} + .d2-3267239171 .fill-B5{fill:#EDF0FD;} + .d2-3267239171 .fill-B6{fill:#F7F8FE;} + .d2-3267239171 .fill-AA2{fill:#4A6FF3;} + .d2-3267239171 .fill-AA4{fill:#EDF0FD;} + .d2-3267239171 .fill-AA5{fill:#F7F8FE;} + .d2-3267239171 .fill-AB4{fill:#EDF0FD;} + .d2-3267239171 .fill-AB5{fill:#F7F8FE;} + .d2-3267239171 .stroke-N1{stroke:#0A0F25;} + .d2-3267239171 .stroke-N2{stroke:#676C7E;} + .d2-3267239171 .stroke-N3{stroke:#9499AB;} + .d2-3267239171 .stroke-N4{stroke:#CFD2DD;} + .d2-3267239171 .stroke-N5{stroke:#DEE1EB;} + .d2-3267239171 .stroke-N6{stroke:#EEF1F8;} + .d2-3267239171 .stroke-N7{stroke:#FFFFFF;} + .d2-3267239171 .stroke-B1{stroke:#0D32B2;} + .d2-3267239171 .stroke-B2{stroke:#0D32B2;} + .d2-3267239171 .stroke-B3{stroke:#E3E9FD;} + .d2-3267239171 .stroke-B4{stroke:#E3E9FD;} + .d2-3267239171 .stroke-B5{stroke:#EDF0FD;} + .d2-3267239171 .stroke-B6{stroke:#F7F8FE;} + .d2-3267239171 .stroke-AA2{stroke:#4A6FF3;} + .d2-3267239171 .stroke-AA4{stroke:#EDF0FD;} + .d2-3267239171 .stroke-AA5{stroke:#F7F8FE;} + .d2-3267239171 .stroke-AB4{stroke:#EDF0FD;} + .d2-3267239171 .stroke-AB5{stroke:#F7F8FE;} + .d2-3267239171 .background-color-N1{background-color:#0A0F25;} + .d2-3267239171 .background-color-N2{background-color:#676C7E;} + .d2-3267239171 .background-color-N3{background-color:#9499AB;} + .d2-3267239171 .background-color-N4{background-color:#CFD2DD;} + .d2-3267239171 .background-color-N5{background-color:#DEE1EB;} + .d2-3267239171 .background-color-N6{background-color:#EEF1F8;} + .d2-3267239171 .background-color-N7{background-color:#FFFFFF;} + .d2-3267239171 .background-color-B1{background-color:#0D32B2;} + .d2-3267239171 .background-color-B2{background-color:#0D32B2;} + .d2-3267239171 .background-color-B3{background-color:#E3E9FD;} + .d2-3267239171 .background-color-B4{background-color:#E3E9FD;} + .d2-3267239171 .background-color-B5{background-color:#EDF0FD;} + .d2-3267239171 .background-color-B6{background-color:#F7F8FE;} + .d2-3267239171 .background-color-AA2{background-color:#4A6FF3;} + .d2-3267239171 .background-color-AA4{background-color:#EDF0FD;} + .d2-3267239171 .background-color-AA5{background-color:#F7F8FE;} + .d2-3267239171 .background-color-AB4{background-color:#EDF0FD;} + .d2-3267239171 .background-color-AB5{background-color:#F7F8FE;} + .d2-3267239171 .color-N1{color:#0A0F25;} + .d2-3267239171 .color-N2{color:#676C7E;} + .d2-3267239171 .color-N3{color:#9499AB;} + .d2-3267239171 .color-N4{color:#CFD2DD;} + .d2-3267239171 .color-N5{color:#DEE1EB;} + .d2-3267239171 .color-N6{color:#EEF1F8;} + .d2-3267239171 .color-N7{color:#FFFFFF;} + .d2-3267239171 .color-B1{color:#0D32B2;} + .d2-3267239171 .color-B2{color:#0D32B2;} + .d2-3267239171 .color-B3{color:#E3E9FD;} + .d2-3267239171 .color-B4{color:#E3E9FD;} + .d2-3267239171 .color-B5{color:#EDF0FD;} + .d2-3267239171 .color-B6{color:#F7F8FE;} + .d2-3267239171 .color-AA2{color:#4A6FF3;} + .d2-3267239171 .color-AA4{color:#EDF0FD;} + .d2-3267239171 .color-AA5{color:#F7F8FE;} + .d2-3267239171 .color-AB4{color:#EDF0FD;} + .d2-3267239171 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>your love life will behappyharmoniousboredomimmortalityFridayMondayInsomniaSleepWakeDreamListenTalk hear diff --git a/e2etests/testdata/stable/animated/elk/sketch.exp.svg b/e2etests/testdata/stable/animated/elk/sketch.exp.svg index 79b379bba..a500d3233 100644 --- a/e2etests/testdata/stable/animated/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/animated/elk/sketch.exp.svg @@ -1,22 +1,22 @@ -your love life will behappyharmoniousboredomimmortalityFridayMondayInsomniaSleepWakeDreamListenTalk hear + .d2-838869033 .fill-N1{fill:#0A0F25;} + .d2-838869033 .fill-N2{fill:#676C7E;} + .d2-838869033 .fill-N3{fill:#9499AB;} + .d2-838869033 .fill-N4{fill:#CFD2DD;} + .d2-838869033 .fill-N5{fill:#DEE1EB;} + .d2-838869033 .fill-N6{fill:#EEF1F8;} + .d2-838869033 .fill-N7{fill:#FFFFFF;} + .d2-838869033 .fill-B1{fill:#0D32B2;} + .d2-838869033 .fill-B2{fill:#0D32B2;} + .d2-838869033 .fill-B3{fill:#E3E9FD;} + .d2-838869033 .fill-B4{fill:#E3E9FD;} + .d2-838869033 .fill-B5{fill:#EDF0FD;} + .d2-838869033 .fill-B6{fill:#F7F8FE;} + .d2-838869033 .fill-AA2{fill:#4A6FF3;} + .d2-838869033 .fill-AA4{fill:#EDF0FD;} + .d2-838869033 .fill-AA5{fill:#F7F8FE;} + .d2-838869033 .fill-AB4{fill:#EDF0FD;} + .d2-838869033 .fill-AB5{fill:#F7F8FE;} + .d2-838869033 .stroke-N1{stroke:#0A0F25;} + .d2-838869033 .stroke-N2{stroke:#676C7E;} + .d2-838869033 .stroke-N3{stroke:#9499AB;} + .d2-838869033 .stroke-N4{stroke:#CFD2DD;} + .d2-838869033 .stroke-N5{stroke:#DEE1EB;} + .d2-838869033 .stroke-N6{stroke:#EEF1F8;} + .d2-838869033 .stroke-N7{stroke:#FFFFFF;} + .d2-838869033 .stroke-B1{stroke:#0D32B2;} + .d2-838869033 .stroke-B2{stroke:#0D32B2;} + .d2-838869033 .stroke-B3{stroke:#E3E9FD;} + .d2-838869033 .stroke-B4{stroke:#E3E9FD;} + .d2-838869033 .stroke-B5{stroke:#EDF0FD;} + .d2-838869033 .stroke-B6{stroke:#F7F8FE;} + .d2-838869033 .stroke-AA2{stroke:#4A6FF3;} + .d2-838869033 .stroke-AA4{stroke:#EDF0FD;} + .d2-838869033 .stroke-AA5{stroke:#F7F8FE;} + .d2-838869033 .stroke-AB4{stroke:#EDF0FD;} + .d2-838869033 .stroke-AB5{stroke:#F7F8FE;} + .d2-838869033 .background-color-N1{background-color:#0A0F25;} + .d2-838869033 .background-color-N2{background-color:#676C7E;} + .d2-838869033 .background-color-N3{background-color:#9499AB;} + .d2-838869033 .background-color-N4{background-color:#CFD2DD;} + .d2-838869033 .background-color-N5{background-color:#DEE1EB;} + .d2-838869033 .background-color-N6{background-color:#EEF1F8;} + .d2-838869033 .background-color-N7{background-color:#FFFFFF;} + .d2-838869033 .background-color-B1{background-color:#0D32B2;} + .d2-838869033 .background-color-B2{background-color:#0D32B2;} + .d2-838869033 .background-color-B3{background-color:#E3E9FD;} + .d2-838869033 .background-color-B4{background-color:#E3E9FD;} + .d2-838869033 .background-color-B5{background-color:#EDF0FD;} + .d2-838869033 .background-color-B6{background-color:#F7F8FE;} + .d2-838869033 .background-color-AA2{background-color:#4A6FF3;} + .d2-838869033 .background-color-AA4{background-color:#EDF0FD;} + .d2-838869033 .background-color-AA5{background-color:#F7F8FE;} + .d2-838869033 .background-color-AB4{background-color:#EDF0FD;} + .d2-838869033 .background-color-AB5{background-color:#F7F8FE;} + .d2-838869033 .color-N1{color:#0A0F25;} + .d2-838869033 .color-N2{color:#676C7E;} + .d2-838869033 .color-N3{color:#9499AB;} + .d2-838869033 .color-N4{color:#CFD2DD;} + .d2-838869033 .color-N5{color:#DEE1EB;} + .d2-838869033 .color-N6{color:#EEF1F8;} + .d2-838869033 .color-N7{color:#FFFFFF;} + .d2-838869033 .color-B1{color:#0D32B2;} + .d2-838869033 .color-B2{color:#0D32B2;} + .d2-838869033 .color-B3{color:#E3E9FD;} + .d2-838869033 .color-B4{color:#E3E9FD;} + .d2-838869033 .color-B5{color:#EDF0FD;} + .d2-838869033 .color-B6{color:#F7F8FE;} + .d2-838869033 .color-AA2{color:#4A6FF3;} + .d2-838869033 .color-AA4{color:#EDF0FD;} + .d2-838869033 .color-AA5{color:#F7F8FE;} + .d2-838869033 .color-AB4{color:#EDF0FD;} + .d2-838869033 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>your love life will behappyharmoniousboredomimmortalityFridayMondayInsomniaSleepWakeDreamListenTalk hear diff --git a/e2etests/testdata/stable/array-classes/dagre/sketch.exp.svg b/e2etests/testdata/stable/array-classes/dagre/sketch.exp.svg index 28da2492e..940d1b783 100644 --- a/e2etests/testdata/stable/array-classes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/array-classes/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -SuccessfulFailure + .d2-4042267253 .fill-N1{fill:#0A0F25;} + .d2-4042267253 .fill-N2{fill:#676C7E;} + .d2-4042267253 .fill-N3{fill:#9499AB;} + .d2-4042267253 .fill-N4{fill:#CFD2DD;} + .d2-4042267253 .fill-N5{fill:#DEE1EB;} + .d2-4042267253 .fill-N6{fill:#EEF1F8;} + .d2-4042267253 .fill-N7{fill:#FFFFFF;} + .d2-4042267253 .fill-B1{fill:#0D32B2;} + .d2-4042267253 .fill-B2{fill:#0D32B2;} + .d2-4042267253 .fill-B3{fill:#E3E9FD;} + .d2-4042267253 .fill-B4{fill:#E3E9FD;} + .d2-4042267253 .fill-B5{fill:#EDF0FD;} + .d2-4042267253 .fill-B6{fill:#F7F8FE;} + .d2-4042267253 .fill-AA2{fill:#4A6FF3;} + .d2-4042267253 .fill-AA4{fill:#EDF0FD;} + .d2-4042267253 .fill-AA5{fill:#F7F8FE;} + .d2-4042267253 .fill-AB4{fill:#EDF0FD;} + .d2-4042267253 .fill-AB5{fill:#F7F8FE;} + .d2-4042267253 .stroke-N1{stroke:#0A0F25;} + .d2-4042267253 .stroke-N2{stroke:#676C7E;} + .d2-4042267253 .stroke-N3{stroke:#9499AB;} + .d2-4042267253 .stroke-N4{stroke:#CFD2DD;} + .d2-4042267253 .stroke-N5{stroke:#DEE1EB;} + .d2-4042267253 .stroke-N6{stroke:#EEF1F8;} + .d2-4042267253 .stroke-N7{stroke:#FFFFFF;} + .d2-4042267253 .stroke-B1{stroke:#0D32B2;} + .d2-4042267253 .stroke-B2{stroke:#0D32B2;} + .d2-4042267253 .stroke-B3{stroke:#E3E9FD;} + .d2-4042267253 .stroke-B4{stroke:#E3E9FD;} + .d2-4042267253 .stroke-B5{stroke:#EDF0FD;} + .d2-4042267253 .stroke-B6{stroke:#F7F8FE;} + .d2-4042267253 .stroke-AA2{stroke:#4A6FF3;} + .d2-4042267253 .stroke-AA4{stroke:#EDF0FD;} + .d2-4042267253 .stroke-AA5{stroke:#F7F8FE;} + .d2-4042267253 .stroke-AB4{stroke:#EDF0FD;} + .d2-4042267253 .stroke-AB5{stroke:#F7F8FE;} + .d2-4042267253 .background-color-N1{background-color:#0A0F25;} + .d2-4042267253 .background-color-N2{background-color:#676C7E;} + .d2-4042267253 .background-color-N3{background-color:#9499AB;} + .d2-4042267253 .background-color-N4{background-color:#CFD2DD;} + .d2-4042267253 .background-color-N5{background-color:#DEE1EB;} + .d2-4042267253 .background-color-N6{background-color:#EEF1F8;} + .d2-4042267253 .background-color-N7{background-color:#FFFFFF;} + .d2-4042267253 .background-color-B1{background-color:#0D32B2;} + .d2-4042267253 .background-color-B2{background-color:#0D32B2;} + .d2-4042267253 .background-color-B3{background-color:#E3E9FD;} + .d2-4042267253 .background-color-B4{background-color:#E3E9FD;} + .d2-4042267253 .background-color-B5{background-color:#EDF0FD;} + .d2-4042267253 .background-color-B6{background-color:#F7F8FE;} + .d2-4042267253 .background-color-AA2{background-color:#4A6FF3;} + .d2-4042267253 .background-color-AA4{background-color:#EDF0FD;} + .d2-4042267253 .background-color-AA5{background-color:#F7F8FE;} + .d2-4042267253 .background-color-AB4{background-color:#EDF0FD;} + .d2-4042267253 .background-color-AB5{background-color:#F7F8FE;} + .d2-4042267253 .color-N1{color:#0A0F25;} + .d2-4042267253 .color-N2{color:#676C7E;} + .d2-4042267253 .color-N3{color:#9499AB;} + .d2-4042267253 .color-N4{color:#CFD2DD;} + .d2-4042267253 .color-N5{color:#DEE1EB;} + .d2-4042267253 .color-N6{color:#EEF1F8;} + .d2-4042267253 .color-N7{color:#FFFFFF;} + .d2-4042267253 .color-B1{color:#0D32B2;} + .d2-4042267253 .color-B2{color:#0D32B2;} + .d2-4042267253 .color-B3{color:#E3E9FD;} + .d2-4042267253 .color-B4{color:#E3E9FD;} + .d2-4042267253 .color-B5{color:#EDF0FD;} + .d2-4042267253 .color-B6{color:#F7F8FE;} + .d2-4042267253 .color-AA2{color:#4A6FF3;} + .d2-4042267253 .color-AA4{color:#EDF0FD;} + .d2-4042267253 .color-AA5{color:#F7F8FE;} + .d2-4042267253 .color-AB4{color:#EDF0FD;} + .d2-4042267253 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>SuccessfulFailure diff --git a/e2etests/testdata/stable/array-classes/elk/sketch.exp.svg b/e2etests/testdata/stable/array-classes/elk/sketch.exp.svg index f05e35fb7..c5b203b14 100644 --- a/e2etests/testdata/stable/array-classes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/array-classes/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -SuccessfulFailure + .d2-3383360239 .fill-N1{fill:#0A0F25;} + .d2-3383360239 .fill-N2{fill:#676C7E;} + .d2-3383360239 .fill-N3{fill:#9499AB;} + .d2-3383360239 .fill-N4{fill:#CFD2DD;} + .d2-3383360239 .fill-N5{fill:#DEE1EB;} + .d2-3383360239 .fill-N6{fill:#EEF1F8;} + .d2-3383360239 .fill-N7{fill:#FFFFFF;} + .d2-3383360239 .fill-B1{fill:#0D32B2;} + .d2-3383360239 .fill-B2{fill:#0D32B2;} + .d2-3383360239 .fill-B3{fill:#E3E9FD;} + .d2-3383360239 .fill-B4{fill:#E3E9FD;} + .d2-3383360239 .fill-B5{fill:#EDF0FD;} + .d2-3383360239 .fill-B6{fill:#F7F8FE;} + .d2-3383360239 .fill-AA2{fill:#4A6FF3;} + .d2-3383360239 .fill-AA4{fill:#EDF0FD;} + .d2-3383360239 .fill-AA5{fill:#F7F8FE;} + .d2-3383360239 .fill-AB4{fill:#EDF0FD;} + .d2-3383360239 .fill-AB5{fill:#F7F8FE;} + .d2-3383360239 .stroke-N1{stroke:#0A0F25;} + .d2-3383360239 .stroke-N2{stroke:#676C7E;} + .d2-3383360239 .stroke-N3{stroke:#9499AB;} + .d2-3383360239 .stroke-N4{stroke:#CFD2DD;} + .d2-3383360239 .stroke-N5{stroke:#DEE1EB;} + .d2-3383360239 .stroke-N6{stroke:#EEF1F8;} + .d2-3383360239 .stroke-N7{stroke:#FFFFFF;} + .d2-3383360239 .stroke-B1{stroke:#0D32B2;} + .d2-3383360239 .stroke-B2{stroke:#0D32B2;} + .d2-3383360239 .stroke-B3{stroke:#E3E9FD;} + .d2-3383360239 .stroke-B4{stroke:#E3E9FD;} + .d2-3383360239 .stroke-B5{stroke:#EDF0FD;} + .d2-3383360239 .stroke-B6{stroke:#F7F8FE;} + .d2-3383360239 .stroke-AA2{stroke:#4A6FF3;} + .d2-3383360239 .stroke-AA4{stroke:#EDF0FD;} + .d2-3383360239 .stroke-AA5{stroke:#F7F8FE;} + .d2-3383360239 .stroke-AB4{stroke:#EDF0FD;} + .d2-3383360239 .stroke-AB5{stroke:#F7F8FE;} + .d2-3383360239 .background-color-N1{background-color:#0A0F25;} + .d2-3383360239 .background-color-N2{background-color:#676C7E;} + .d2-3383360239 .background-color-N3{background-color:#9499AB;} + .d2-3383360239 .background-color-N4{background-color:#CFD2DD;} + .d2-3383360239 .background-color-N5{background-color:#DEE1EB;} + .d2-3383360239 .background-color-N6{background-color:#EEF1F8;} + .d2-3383360239 .background-color-N7{background-color:#FFFFFF;} + .d2-3383360239 .background-color-B1{background-color:#0D32B2;} + .d2-3383360239 .background-color-B2{background-color:#0D32B2;} + .d2-3383360239 .background-color-B3{background-color:#E3E9FD;} + .d2-3383360239 .background-color-B4{background-color:#E3E9FD;} + .d2-3383360239 .background-color-B5{background-color:#EDF0FD;} + .d2-3383360239 .background-color-B6{background-color:#F7F8FE;} + .d2-3383360239 .background-color-AA2{background-color:#4A6FF3;} + .d2-3383360239 .background-color-AA4{background-color:#EDF0FD;} + .d2-3383360239 .background-color-AA5{background-color:#F7F8FE;} + .d2-3383360239 .background-color-AB4{background-color:#EDF0FD;} + .d2-3383360239 .background-color-AB5{background-color:#F7F8FE;} + .d2-3383360239 .color-N1{color:#0A0F25;} + .d2-3383360239 .color-N2{color:#676C7E;} + .d2-3383360239 .color-N3{color:#9499AB;} + .d2-3383360239 .color-N4{color:#CFD2DD;} + .d2-3383360239 .color-N5{color:#DEE1EB;} + .d2-3383360239 .color-N6{color:#EEF1F8;} + .d2-3383360239 .color-N7{color:#FFFFFF;} + .d2-3383360239 .color-B1{color:#0D32B2;} + .d2-3383360239 .color-B2{color:#0D32B2;} + .d2-3383360239 .color-B3{color:#E3E9FD;} + .d2-3383360239 .color-B4{color:#E3E9FD;} + .d2-3383360239 .color-B5{color:#EDF0FD;} + .d2-3383360239 .color-B6{color:#F7F8FE;} + .d2-3383360239 .color-AA2{color:#4A6FF3;} + .d2-3383360239 .color-AA4{color:#EDF0FD;} + .d2-3383360239 .color-AA5{color:#F7F8FE;} + .d2-3383360239 .color-AB4{color:#EDF0FD;} + .d2-3383360239 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>SuccessfulFailure diff --git a/e2etests/testdata/stable/arrowhead_adjustment/dagre/sketch.exp.svg b/e2etests/testdata/stable/arrowhead_adjustment/dagre/sketch.exp.svg index df21aee3c..f4ef4e9c2 100644 --- a/e2etests/testdata/stable/arrowhead_adjustment/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/arrowhead_adjustment/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abc * + .d2-840500156 .fill-N1{fill:#0A0F25;} + .d2-840500156 .fill-N2{fill:#676C7E;} + .d2-840500156 .fill-N3{fill:#9499AB;} + .d2-840500156 .fill-N4{fill:#CFD2DD;} + .d2-840500156 .fill-N5{fill:#DEE1EB;} + .d2-840500156 .fill-N6{fill:#EEF1F8;} + .d2-840500156 .fill-N7{fill:#FFFFFF;} + .d2-840500156 .fill-B1{fill:#0D32B2;} + .d2-840500156 .fill-B2{fill:#0D32B2;} + .d2-840500156 .fill-B3{fill:#E3E9FD;} + .d2-840500156 .fill-B4{fill:#E3E9FD;} + .d2-840500156 .fill-B5{fill:#EDF0FD;} + .d2-840500156 .fill-B6{fill:#F7F8FE;} + .d2-840500156 .fill-AA2{fill:#4A6FF3;} + .d2-840500156 .fill-AA4{fill:#EDF0FD;} + .d2-840500156 .fill-AA5{fill:#F7F8FE;} + .d2-840500156 .fill-AB4{fill:#EDF0FD;} + .d2-840500156 .fill-AB5{fill:#F7F8FE;} + .d2-840500156 .stroke-N1{stroke:#0A0F25;} + .d2-840500156 .stroke-N2{stroke:#676C7E;} + .d2-840500156 .stroke-N3{stroke:#9499AB;} + .d2-840500156 .stroke-N4{stroke:#CFD2DD;} + .d2-840500156 .stroke-N5{stroke:#DEE1EB;} + .d2-840500156 .stroke-N6{stroke:#EEF1F8;} + .d2-840500156 .stroke-N7{stroke:#FFFFFF;} + .d2-840500156 .stroke-B1{stroke:#0D32B2;} + .d2-840500156 .stroke-B2{stroke:#0D32B2;} + .d2-840500156 .stroke-B3{stroke:#E3E9FD;} + .d2-840500156 .stroke-B4{stroke:#E3E9FD;} + .d2-840500156 .stroke-B5{stroke:#EDF0FD;} + .d2-840500156 .stroke-B6{stroke:#F7F8FE;} + .d2-840500156 .stroke-AA2{stroke:#4A6FF3;} + .d2-840500156 .stroke-AA4{stroke:#EDF0FD;} + .d2-840500156 .stroke-AA5{stroke:#F7F8FE;} + .d2-840500156 .stroke-AB4{stroke:#EDF0FD;} + .d2-840500156 .stroke-AB5{stroke:#F7F8FE;} + .d2-840500156 .background-color-N1{background-color:#0A0F25;} + .d2-840500156 .background-color-N2{background-color:#676C7E;} + .d2-840500156 .background-color-N3{background-color:#9499AB;} + .d2-840500156 .background-color-N4{background-color:#CFD2DD;} + .d2-840500156 .background-color-N5{background-color:#DEE1EB;} + .d2-840500156 .background-color-N6{background-color:#EEF1F8;} + .d2-840500156 .background-color-N7{background-color:#FFFFFF;} + .d2-840500156 .background-color-B1{background-color:#0D32B2;} + .d2-840500156 .background-color-B2{background-color:#0D32B2;} + .d2-840500156 .background-color-B3{background-color:#E3E9FD;} + .d2-840500156 .background-color-B4{background-color:#E3E9FD;} + .d2-840500156 .background-color-B5{background-color:#EDF0FD;} + .d2-840500156 .background-color-B6{background-color:#F7F8FE;} + .d2-840500156 .background-color-AA2{background-color:#4A6FF3;} + .d2-840500156 .background-color-AA4{background-color:#EDF0FD;} + .d2-840500156 .background-color-AA5{background-color:#F7F8FE;} + .d2-840500156 .background-color-AB4{background-color:#EDF0FD;} + .d2-840500156 .background-color-AB5{background-color:#F7F8FE;} + .d2-840500156 .color-N1{color:#0A0F25;} + .d2-840500156 .color-N2{color:#676C7E;} + .d2-840500156 .color-N3{color:#9499AB;} + .d2-840500156 .color-N4{color:#CFD2DD;} + .d2-840500156 .color-N5{color:#DEE1EB;} + .d2-840500156 .color-N6{color:#EEF1F8;} + .d2-840500156 .color-N7{color:#FFFFFF;} + .d2-840500156 .color-B1{color:#0D32B2;} + .d2-840500156 .color-B2{color:#0D32B2;} + .d2-840500156 .color-B3{color:#E3E9FD;} + .d2-840500156 .color-B4{color:#E3E9FD;} + .d2-840500156 .color-B5{color:#EDF0FD;} + .d2-840500156 .color-B6{color:#F7F8FE;} + .d2-840500156 .color-AA2{color:#4A6FF3;} + .d2-840500156 .color-AA4{color:#EDF0FD;} + .d2-840500156 .color-AA5{color:#F7F8FE;} + .d2-840500156 .color-AB4{color:#EDF0FD;} + .d2-840500156 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc * diff --git a/e2etests/testdata/stable/arrowhead_adjustment/elk/sketch.exp.svg b/e2etests/testdata/stable/arrowhead_adjustment/elk/sketch.exp.svg index 698f0aa39..2f77018bd 100644 --- a/e2etests/testdata/stable/arrowhead_adjustment/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/arrowhead_adjustment/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abc * + .d2-490476208 .fill-N1{fill:#0A0F25;} + .d2-490476208 .fill-N2{fill:#676C7E;} + .d2-490476208 .fill-N3{fill:#9499AB;} + .d2-490476208 .fill-N4{fill:#CFD2DD;} + .d2-490476208 .fill-N5{fill:#DEE1EB;} + .d2-490476208 .fill-N6{fill:#EEF1F8;} + .d2-490476208 .fill-N7{fill:#FFFFFF;} + .d2-490476208 .fill-B1{fill:#0D32B2;} + .d2-490476208 .fill-B2{fill:#0D32B2;} + .d2-490476208 .fill-B3{fill:#E3E9FD;} + .d2-490476208 .fill-B4{fill:#E3E9FD;} + .d2-490476208 .fill-B5{fill:#EDF0FD;} + .d2-490476208 .fill-B6{fill:#F7F8FE;} + .d2-490476208 .fill-AA2{fill:#4A6FF3;} + .d2-490476208 .fill-AA4{fill:#EDF0FD;} + .d2-490476208 .fill-AA5{fill:#F7F8FE;} + .d2-490476208 .fill-AB4{fill:#EDF0FD;} + .d2-490476208 .fill-AB5{fill:#F7F8FE;} + .d2-490476208 .stroke-N1{stroke:#0A0F25;} + .d2-490476208 .stroke-N2{stroke:#676C7E;} + .d2-490476208 .stroke-N3{stroke:#9499AB;} + .d2-490476208 .stroke-N4{stroke:#CFD2DD;} + .d2-490476208 .stroke-N5{stroke:#DEE1EB;} + .d2-490476208 .stroke-N6{stroke:#EEF1F8;} + .d2-490476208 .stroke-N7{stroke:#FFFFFF;} + .d2-490476208 .stroke-B1{stroke:#0D32B2;} + .d2-490476208 .stroke-B2{stroke:#0D32B2;} + .d2-490476208 .stroke-B3{stroke:#E3E9FD;} + .d2-490476208 .stroke-B4{stroke:#E3E9FD;} + .d2-490476208 .stroke-B5{stroke:#EDF0FD;} + .d2-490476208 .stroke-B6{stroke:#F7F8FE;} + .d2-490476208 .stroke-AA2{stroke:#4A6FF3;} + .d2-490476208 .stroke-AA4{stroke:#EDF0FD;} + .d2-490476208 .stroke-AA5{stroke:#F7F8FE;} + .d2-490476208 .stroke-AB4{stroke:#EDF0FD;} + .d2-490476208 .stroke-AB5{stroke:#F7F8FE;} + .d2-490476208 .background-color-N1{background-color:#0A0F25;} + .d2-490476208 .background-color-N2{background-color:#676C7E;} + .d2-490476208 .background-color-N3{background-color:#9499AB;} + .d2-490476208 .background-color-N4{background-color:#CFD2DD;} + .d2-490476208 .background-color-N5{background-color:#DEE1EB;} + .d2-490476208 .background-color-N6{background-color:#EEF1F8;} + .d2-490476208 .background-color-N7{background-color:#FFFFFF;} + .d2-490476208 .background-color-B1{background-color:#0D32B2;} + .d2-490476208 .background-color-B2{background-color:#0D32B2;} + .d2-490476208 .background-color-B3{background-color:#E3E9FD;} + .d2-490476208 .background-color-B4{background-color:#E3E9FD;} + .d2-490476208 .background-color-B5{background-color:#EDF0FD;} + .d2-490476208 .background-color-B6{background-color:#F7F8FE;} + .d2-490476208 .background-color-AA2{background-color:#4A6FF3;} + .d2-490476208 .background-color-AA4{background-color:#EDF0FD;} + .d2-490476208 .background-color-AA5{background-color:#F7F8FE;} + .d2-490476208 .background-color-AB4{background-color:#EDF0FD;} + .d2-490476208 .background-color-AB5{background-color:#F7F8FE;} + .d2-490476208 .color-N1{color:#0A0F25;} + .d2-490476208 .color-N2{color:#676C7E;} + .d2-490476208 .color-N3{color:#9499AB;} + .d2-490476208 .color-N4{color:#CFD2DD;} + .d2-490476208 .color-N5{color:#DEE1EB;} + .d2-490476208 .color-N6{color:#EEF1F8;} + .d2-490476208 .color-N7{color:#FFFFFF;} + .d2-490476208 .color-B1{color:#0D32B2;} + .d2-490476208 .color-B2{color:#0D32B2;} + .d2-490476208 .color-B3{color:#E3E9FD;} + .d2-490476208 .color-B4{color:#E3E9FD;} + .d2-490476208 .color-B5{color:#EDF0FD;} + .d2-490476208 .color-B6{color:#F7F8FE;} + .d2-490476208 .color-AA2{color:#4A6FF3;} + .d2-490476208 .color-AA4{color:#EDF0FD;} + .d2-490476208 .color-AA5{color:#F7F8FE;} + .d2-490476208 .color-AB4{color:#EDF0FD;} + .d2-490476208 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc * diff --git a/e2etests/testdata/stable/arrowhead_labels/dagre/board.exp.json b/e2etests/testdata/stable/arrowhead_labels/dagre/board.exp.json index 86ecae421..3311c9b1e 100644 --- a/e2etests/testdata/stable/arrowhead_labels/dagre/board.exp.json +++ b/e2etests/testdata/stable/arrowhead_labels/dagre/board.exp.json @@ -137,11 +137,11 @@ "route": [ { "x": 100.5, - "y": 66 + "y": 65.5 }, { "x": 100.5, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 100.5, diff --git a/e2etests/testdata/stable/arrowhead_labels/dagre/sketch.exp.svg b/e2etests/testdata/stable/arrowhead_labels/dagre/sketch.exp.svg index 73478444e..f7cc8b0bb 100644 --- a/e2etests/testdata/stable/arrowhead_labels/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/arrowhead_labels/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ab To err is human, to moo bovine1* + .d2-2318670067 .fill-N1{fill:#0A0F25;} + .d2-2318670067 .fill-N2{fill:#676C7E;} + .d2-2318670067 .fill-N3{fill:#9499AB;} + .d2-2318670067 .fill-N4{fill:#CFD2DD;} + .d2-2318670067 .fill-N5{fill:#DEE1EB;} + .d2-2318670067 .fill-N6{fill:#EEF1F8;} + .d2-2318670067 .fill-N7{fill:#FFFFFF;} + .d2-2318670067 .fill-B1{fill:#0D32B2;} + .d2-2318670067 .fill-B2{fill:#0D32B2;} + .d2-2318670067 .fill-B3{fill:#E3E9FD;} + .d2-2318670067 .fill-B4{fill:#E3E9FD;} + .d2-2318670067 .fill-B5{fill:#EDF0FD;} + .d2-2318670067 .fill-B6{fill:#F7F8FE;} + .d2-2318670067 .fill-AA2{fill:#4A6FF3;} + .d2-2318670067 .fill-AA4{fill:#EDF0FD;} + .d2-2318670067 .fill-AA5{fill:#F7F8FE;} + .d2-2318670067 .fill-AB4{fill:#EDF0FD;} + .d2-2318670067 .fill-AB5{fill:#F7F8FE;} + .d2-2318670067 .stroke-N1{stroke:#0A0F25;} + .d2-2318670067 .stroke-N2{stroke:#676C7E;} + .d2-2318670067 .stroke-N3{stroke:#9499AB;} + .d2-2318670067 .stroke-N4{stroke:#CFD2DD;} + .d2-2318670067 .stroke-N5{stroke:#DEE1EB;} + .d2-2318670067 .stroke-N6{stroke:#EEF1F8;} + .d2-2318670067 .stroke-N7{stroke:#FFFFFF;} + .d2-2318670067 .stroke-B1{stroke:#0D32B2;} + .d2-2318670067 .stroke-B2{stroke:#0D32B2;} + .d2-2318670067 .stroke-B3{stroke:#E3E9FD;} + .d2-2318670067 .stroke-B4{stroke:#E3E9FD;} + .d2-2318670067 .stroke-B5{stroke:#EDF0FD;} + .d2-2318670067 .stroke-B6{stroke:#F7F8FE;} + .d2-2318670067 .stroke-AA2{stroke:#4A6FF3;} + .d2-2318670067 .stroke-AA4{stroke:#EDF0FD;} + .d2-2318670067 .stroke-AA5{stroke:#F7F8FE;} + .d2-2318670067 .stroke-AB4{stroke:#EDF0FD;} + .d2-2318670067 .stroke-AB5{stroke:#F7F8FE;} + .d2-2318670067 .background-color-N1{background-color:#0A0F25;} + .d2-2318670067 .background-color-N2{background-color:#676C7E;} + .d2-2318670067 .background-color-N3{background-color:#9499AB;} + .d2-2318670067 .background-color-N4{background-color:#CFD2DD;} + .d2-2318670067 .background-color-N5{background-color:#DEE1EB;} + .d2-2318670067 .background-color-N6{background-color:#EEF1F8;} + .d2-2318670067 .background-color-N7{background-color:#FFFFFF;} + .d2-2318670067 .background-color-B1{background-color:#0D32B2;} + .d2-2318670067 .background-color-B2{background-color:#0D32B2;} + .d2-2318670067 .background-color-B3{background-color:#E3E9FD;} + .d2-2318670067 .background-color-B4{background-color:#E3E9FD;} + .d2-2318670067 .background-color-B5{background-color:#EDF0FD;} + .d2-2318670067 .background-color-B6{background-color:#F7F8FE;} + .d2-2318670067 .background-color-AA2{background-color:#4A6FF3;} + .d2-2318670067 .background-color-AA4{background-color:#EDF0FD;} + .d2-2318670067 .background-color-AA5{background-color:#F7F8FE;} + .d2-2318670067 .background-color-AB4{background-color:#EDF0FD;} + .d2-2318670067 .background-color-AB5{background-color:#F7F8FE;} + .d2-2318670067 .color-N1{color:#0A0F25;} + .d2-2318670067 .color-N2{color:#676C7E;} + .d2-2318670067 .color-N3{color:#9499AB;} + .d2-2318670067 .color-N4{color:#CFD2DD;} + .d2-2318670067 .color-N5{color:#DEE1EB;} + .d2-2318670067 .color-N6{color:#EEF1F8;} + .d2-2318670067 .color-N7{color:#FFFFFF;} + .d2-2318670067 .color-B1{color:#0D32B2;} + .d2-2318670067 .color-B2{color:#0D32B2;} + .d2-2318670067 .color-B3{color:#E3E9FD;} + .d2-2318670067 .color-B4{color:#E3E9FD;} + .d2-2318670067 .color-B5{color:#EDF0FD;} + .d2-2318670067 .color-B6{color:#F7F8FE;} + .d2-2318670067 .color-AA2{color:#4A6FF3;} + .d2-2318670067 .color-AA4{color:#EDF0FD;} + .d2-2318670067 .color-AA5{color:#F7F8FE;} + .d2-2318670067 .color-AB4{color:#EDF0FD;} + .d2-2318670067 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab To err is human, to moo bovine1* diff --git a/e2etests/testdata/stable/arrowhead_labels/elk/sketch.exp.svg b/e2etests/testdata/stable/arrowhead_labels/elk/sketch.exp.svg index 1ff063e32..93357f103 100644 --- a/e2etests/testdata/stable/arrowhead_labels/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/arrowhead_labels/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ab To err is human, to moo bovine1* + .d2-249188744 .fill-N1{fill:#0A0F25;} + .d2-249188744 .fill-N2{fill:#676C7E;} + .d2-249188744 .fill-N3{fill:#9499AB;} + .d2-249188744 .fill-N4{fill:#CFD2DD;} + .d2-249188744 .fill-N5{fill:#DEE1EB;} + .d2-249188744 .fill-N6{fill:#EEF1F8;} + .d2-249188744 .fill-N7{fill:#FFFFFF;} + .d2-249188744 .fill-B1{fill:#0D32B2;} + .d2-249188744 .fill-B2{fill:#0D32B2;} + .d2-249188744 .fill-B3{fill:#E3E9FD;} + .d2-249188744 .fill-B4{fill:#E3E9FD;} + .d2-249188744 .fill-B5{fill:#EDF0FD;} + .d2-249188744 .fill-B6{fill:#F7F8FE;} + .d2-249188744 .fill-AA2{fill:#4A6FF3;} + .d2-249188744 .fill-AA4{fill:#EDF0FD;} + .d2-249188744 .fill-AA5{fill:#F7F8FE;} + .d2-249188744 .fill-AB4{fill:#EDF0FD;} + .d2-249188744 .fill-AB5{fill:#F7F8FE;} + .d2-249188744 .stroke-N1{stroke:#0A0F25;} + .d2-249188744 .stroke-N2{stroke:#676C7E;} + .d2-249188744 .stroke-N3{stroke:#9499AB;} + .d2-249188744 .stroke-N4{stroke:#CFD2DD;} + .d2-249188744 .stroke-N5{stroke:#DEE1EB;} + .d2-249188744 .stroke-N6{stroke:#EEF1F8;} + .d2-249188744 .stroke-N7{stroke:#FFFFFF;} + .d2-249188744 .stroke-B1{stroke:#0D32B2;} + .d2-249188744 .stroke-B2{stroke:#0D32B2;} + .d2-249188744 .stroke-B3{stroke:#E3E9FD;} + .d2-249188744 .stroke-B4{stroke:#E3E9FD;} + .d2-249188744 .stroke-B5{stroke:#EDF0FD;} + .d2-249188744 .stroke-B6{stroke:#F7F8FE;} + .d2-249188744 .stroke-AA2{stroke:#4A6FF3;} + .d2-249188744 .stroke-AA4{stroke:#EDF0FD;} + .d2-249188744 .stroke-AA5{stroke:#F7F8FE;} + .d2-249188744 .stroke-AB4{stroke:#EDF0FD;} + .d2-249188744 .stroke-AB5{stroke:#F7F8FE;} + .d2-249188744 .background-color-N1{background-color:#0A0F25;} + .d2-249188744 .background-color-N2{background-color:#676C7E;} + .d2-249188744 .background-color-N3{background-color:#9499AB;} + .d2-249188744 .background-color-N4{background-color:#CFD2DD;} + .d2-249188744 .background-color-N5{background-color:#DEE1EB;} + .d2-249188744 .background-color-N6{background-color:#EEF1F8;} + .d2-249188744 .background-color-N7{background-color:#FFFFFF;} + .d2-249188744 .background-color-B1{background-color:#0D32B2;} + .d2-249188744 .background-color-B2{background-color:#0D32B2;} + .d2-249188744 .background-color-B3{background-color:#E3E9FD;} + .d2-249188744 .background-color-B4{background-color:#E3E9FD;} + .d2-249188744 .background-color-B5{background-color:#EDF0FD;} + .d2-249188744 .background-color-B6{background-color:#F7F8FE;} + .d2-249188744 .background-color-AA2{background-color:#4A6FF3;} + .d2-249188744 .background-color-AA4{background-color:#EDF0FD;} + .d2-249188744 .background-color-AA5{background-color:#F7F8FE;} + .d2-249188744 .background-color-AB4{background-color:#EDF0FD;} + .d2-249188744 .background-color-AB5{background-color:#F7F8FE;} + .d2-249188744 .color-N1{color:#0A0F25;} + .d2-249188744 .color-N2{color:#676C7E;} + .d2-249188744 .color-N3{color:#9499AB;} + .d2-249188744 .color-N4{color:#CFD2DD;} + .d2-249188744 .color-N5{color:#DEE1EB;} + .d2-249188744 .color-N6{color:#EEF1F8;} + .d2-249188744 .color-N7{color:#FFFFFF;} + .d2-249188744 .color-B1{color:#0D32B2;} + .d2-249188744 .color-B2{color:#0D32B2;} + .d2-249188744 .color-B3{color:#E3E9FD;} + .d2-249188744 .color-B4{color:#E3E9FD;} + .d2-249188744 .color-B5{color:#EDF0FD;} + .d2-249188744 .color-B6{color:#F7F8FE;} + .d2-249188744 .color-AA2{color:#4A6FF3;} + .d2-249188744 .color-AA4{color:#EDF0FD;} + .d2-249188744 .color-AA5{color:#F7F8FE;} + .d2-249188744 .color-AB4{color:#EDF0FD;} + .d2-249188744 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab To err is human, to moo bovine1* diff --git a/e2etests/testdata/stable/arrowhead_scaling/dagre/board.exp.json b/e2etests/testdata/stable/arrowhead_scaling/dagre/board.exp.json index 81469cb78..da688e287 100644 --- a/e2etests/testdata/stable/arrowhead_scaling/dagre/board.exp.json +++ b/e2etests/testdata/stable/arrowhead_scaling/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,11 +48,11 @@ "id": "default.start", "type": "rectangle", "pos": { - "x": 20, + "x": 30, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -88,11 +88,11 @@ "id": "default.end", "type": "rectangle", "pos": { - "x": 20, + "x": 30, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -129,7 +129,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -170,7 +170,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -211,7 +211,7 @@ "type": "rectangle", "pos": { "x": 172, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -252,7 +252,7 @@ "type": "rectangle", "pos": { "x": 172, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -293,7 +293,7 @@ "type": "rectangle", "pos": { "x": 285, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -334,7 +334,7 @@ "type": "rectangle", "pos": { "x": 285, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -375,7 +375,7 @@ "type": "rectangle", "pos": { "x": 399, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -416,7 +416,7 @@ "type": "rectangle", "pos": { "x": 399, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -457,7 +457,7 @@ "type": "rectangle", "pos": { "x": 512, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -498,7 +498,7 @@ "type": "rectangle", "pos": { "x": 512, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -539,10 +539,10 @@ "type": "rectangle", "pos": { "x": 653, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -579,11 +579,11 @@ "id": "line.start", "type": "rectangle", "pos": { - "x": 673, + "x": 683, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -619,11 +619,11 @@ "id": "line.end", "type": "rectangle", "pos": { - "x": 673, + "x": 683, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -660,7 +660,7 @@ "type": "rectangle", "pos": { "x": 713, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -701,7 +701,7 @@ "type": "rectangle", "pos": { "x": 713, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -742,7 +742,7 @@ "type": "rectangle", "pos": { "x": 825, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -783,7 +783,7 @@ "type": "rectangle", "pos": { "x": 825, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -824,7 +824,7 @@ "type": "rectangle", "pos": { "x": 938, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -865,7 +865,7 @@ "type": "rectangle", "pos": { "x": 938, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -906,7 +906,7 @@ "type": "rectangle", "pos": { "x": 1052, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -947,7 +947,7 @@ "type": "rectangle", "pos": { "x": 1052, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -988,7 +988,7 @@ "type": "rectangle", "pos": { "x": 1165, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -1029,7 +1029,7 @@ "type": "rectangle", "pos": { "x": 1165, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -1070,10 +1070,10 @@ "type": "rectangle", "pos": { "x": 1306, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1110,11 +1110,11 @@ "id": "arrow.start", "type": "rectangle", "pos": { - "x": 1326, + "x": 1336, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1150,11 +1150,11 @@ "id": "arrow.end", "type": "rectangle", "pos": { - "x": 1326, + "x": 1336, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1191,7 +1191,7 @@ "type": "rectangle", "pos": { "x": 1366, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -1232,7 +1232,7 @@ "type": "rectangle", "pos": { "x": 1366, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -1273,7 +1273,7 @@ "type": "rectangle", "pos": { "x": 1478, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -1314,7 +1314,7 @@ "type": "rectangle", "pos": { "x": 1478, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -1355,7 +1355,7 @@ "type": "rectangle", "pos": { "x": 1591, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -1396,7 +1396,7 @@ "type": "rectangle", "pos": { "x": 1591, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -1437,7 +1437,7 @@ "type": "rectangle", "pos": { "x": 1705, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -1478,7 +1478,7 @@ "type": "rectangle", "pos": { "x": 1705, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -1519,7 +1519,7 @@ "type": "rectangle", "pos": { "x": 1818, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -1560,7 +1560,7 @@ "type": "rectangle", "pos": { "x": 1818, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -1601,10 +1601,10 @@ "type": "rectangle", "pos": { "x": 1959, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1641,11 +1641,11 @@ "id": "diamond.start", "type": "rectangle", "pos": { - "x": 1979, + "x": 1989, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1681,11 +1681,11 @@ "id": "diamond.end", "type": "rectangle", "pos": { - "x": 1979, + "x": 1989, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1722,7 +1722,7 @@ "type": "rectangle", "pos": { "x": 2019, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -1763,7 +1763,7 @@ "type": "rectangle", "pos": { "x": 2019, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -1804,7 +1804,7 @@ "type": "rectangle", "pos": { "x": 2131, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -1845,7 +1845,7 @@ "type": "rectangle", "pos": { "x": 2131, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -1886,7 +1886,7 @@ "type": "rectangle", "pos": { "x": 2244, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -1927,7 +1927,7 @@ "type": "rectangle", "pos": { "x": 2244, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -1968,7 +1968,7 @@ "type": "rectangle", "pos": { "x": 2358, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -2009,7 +2009,7 @@ "type": "rectangle", "pos": { "x": 2358, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -2050,7 +2050,7 @@ "type": "rectangle", "pos": { "x": 2471, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -2091,7 +2091,7 @@ "type": "rectangle", "pos": { "x": 2471, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -2132,10 +2132,10 @@ "type": "rectangle", "pos": { "x": 2612, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2172,11 +2172,11 @@ "id": "filled diamond.start", "type": "rectangle", "pos": { - "x": 2632, + "x": 2642, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2212,11 +2212,11 @@ "id": "filled diamond.end", "type": "rectangle", "pos": { - "x": 2632, + "x": 2642, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2253,7 +2253,7 @@ "type": "rectangle", "pos": { "x": 2672, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -2294,7 +2294,7 @@ "type": "rectangle", "pos": { "x": 2672, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -2335,7 +2335,7 @@ "type": "rectangle", "pos": { "x": 2784, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -2376,7 +2376,7 @@ "type": "rectangle", "pos": { "x": 2784, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -2417,7 +2417,7 @@ "type": "rectangle", "pos": { "x": 2897, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -2458,7 +2458,7 @@ "type": "rectangle", "pos": { "x": 2897, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -2499,7 +2499,7 @@ "type": "rectangle", "pos": { "x": 3011, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -2540,7 +2540,7 @@ "type": "rectangle", "pos": { "x": 3011, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -2581,7 +2581,7 @@ "type": "rectangle", "pos": { "x": 3124, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -2622,7 +2622,7 @@ "type": "rectangle", "pos": { "x": 3124, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -2663,10 +2663,10 @@ "type": "rectangle", "pos": { "x": 3265, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2703,11 +2703,11 @@ "id": "circle.start", "type": "rectangle", "pos": { - "x": 3285, + "x": 3295, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2743,11 +2743,11 @@ "id": "circle.end", "type": "rectangle", "pos": { - "x": 3285, + "x": 3295, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2784,7 +2784,7 @@ "type": "rectangle", "pos": { "x": 3325, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -2825,7 +2825,7 @@ "type": "rectangle", "pos": { "x": 3325, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -2866,7 +2866,7 @@ "type": "rectangle", "pos": { "x": 3437, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -2907,7 +2907,7 @@ "type": "rectangle", "pos": { "x": 3437, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -2948,7 +2948,7 @@ "type": "rectangle", "pos": { "x": 3550, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -2989,7 +2989,7 @@ "type": "rectangle", "pos": { "x": 3550, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -3030,7 +3030,7 @@ "type": "rectangle", "pos": { "x": 3664, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -3071,7 +3071,7 @@ "type": "rectangle", "pos": { "x": 3664, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -3112,7 +3112,7 @@ "type": "rectangle", "pos": { "x": 3777, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -3153,7 +3153,7 @@ "type": "rectangle", "pos": { "x": 3777, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -3194,10 +3194,10 @@ "type": "rectangle", "pos": { "x": 3918, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3234,11 +3234,11 @@ "id": "filled circle.start", "type": "rectangle", "pos": { - "x": 3938, + "x": 3948, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3274,11 +3274,11 @@ "id": "filled circle.end", "type": "rectangle", "pos": { - "x": 3938, + "x": 3948, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3315,7 +3315,7 @@ "type": "rectangle", "pos": { "x": 3978, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -3356,7 +3356,7 @@ "type": "rectangle", "pos": { "x": 3978, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -3397,7 +3397,7 @@ "type": "rectangle", "pos": { "x": 4090, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -3438,7 +3438,7 @@ "type": "rectangle", "pos": { "x": 4090, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -3479,7 +3479,7 @@ "type": "rectangle", "pos": { "x": 4203, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -3520,7 +3520,7 @@ "type": "rectangle", "pos": { "x": 4203, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -3561,7 +3561,7 @@ "type": "rectangle", "pos": { "x": 4317, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -3602,7 +3602,7 @@ "type": "rectangle", "pos": { "x": 4317, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -3643,7 +3643,7 @@ "type": "rectangle", "pos": { "x": 4430, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -3684,7 +3684,7 @@ "type": "rectangle", "pos": { "x": 4430, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -3725,10 +3725,10 @@ "type": "rectangle", "pos": { "x": 4571, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3765,11 +3765,11 @@ "id": "cf one.start", "type": "rectangle", "pos": { - "x": 4591, + "x": 4601, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3805,11 +3805,11 @@ "id": "cf one.end", "type": "rectangle", "pos": { - "x": 4591, + "x": 4601, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3846,7 +3846,7 @@ "type": "rectangle", "pos": { "x": 4631, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -3887,7 +3887,7 @@ "type": "rectangle", "pos": { "x": 4631, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -3928,7 +3928,7 @@ "type": "rectangle", "pos": { "x": 4743, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -3969,7 +3969,7 @@ "type": "rectangle", "pos": { "x": 4743, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -4010,7 +4010,7 @@ "type": "rectangle", "pos": { "x": 4856, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -4051,7 +4051,7 @@ "type": "rectangle", "pos": { "x": 4856, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -4092,7 +4092,7 @@ "type": "rectangle", "pos": { "x": 4970, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -4133,7 +4133,7 @@ "type": "rectangle", "pos": { "x": 4970, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -4174,7 +4174,7 @@ "type": "rectangle", "pos": { "x": 5083, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -4215,7 +4215,7 @@ "type": "rectangle", "pos": { "x": 5083, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -4256,10 +4256,10 @@ "type": "rectangle", "pos": { "x": 5224, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4296,11 +4296,11 @@ "id": "cf one required.start", "type": "rectangle", "pos": { - "x": 5244, + "x": 5254, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4336,11 +4336,11 @@ "id": "cf one required.end", "type": "rectangle", "pos": { - "x": 5244, + "x": 5254, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4377,7 +4377,7 @@ "type": "rectangle", "pos": { "x": 5284, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -4418,7 +4418,7 @@ "type": "rectangle", "pos": { "x": 5284, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -4459,7 +4459,7 @@ "type": "rectangle", "pos": { "x": 5396, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -4500,7 +4500,7 @@ "type": "rectangle", "pos": { "x": 5396, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -4541,7 +4541,7 @@ "type": "rectangle", "pos": { "x": 5509, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -4582,7 +4582,7 @@ "type": "rectangle", "pos": { "x": 5509, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -4623,7 +4623,7 @@ "type": "rectangle", "pos": { "x": 5623, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -4664,7 +4664,7 @@ "type": "rectangle", "pos": { "x": 5623, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -4705,7 +4705,7 @@ "type": "rectangle", "pos": { "x": 5736, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -4746,7 +4746,7 @@ "type": "rectangle", "pos": { "x": 5736, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -4787,10 +4787,10 @@ "type": "rectangle", "pos": { "x": 5877, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4827,11 +4827,11 @@ "id": "cf many.start", "type": "rectangle", "pos": { - "x": 5897, + "x": 5907, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4867,11 +4867,11 @@ "id": "cf many.end", "type": "rectangle", "pos": { - "x": 5897, + "x": 5907, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4908,7 +4908,7 @@ "type": "rectangle", "pos": { "x": 5937, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -4949,7 +4949,7 @@ "type": "rectangle", "pos": { "x": 5937, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -4990,7 +4990,7 @@ "type": "rectangle", "pos": { "x": 6049, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -5031,7 +5031,7 @@ "type": "rectangle", "pos": { "x": 6049, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -5072,7 +5072,7 @@ "type": "rectangle", "pos": { "x": 6162, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -5113,7 +5113,7 @@ "type": "rectangle", "pos": { "x": 6162, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -5154,7 +5154,7 @@ "type": "rectangle", "pos": { "x": 6276, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -5195,7 +5195,7 @@ "type": "rectangle", "pos": { "x": 6276, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -5236,7 +5236,7 @@ "type": "rectangle", "pos": { "x": 6389, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -5277,7 +5277,7 @@ "type": "rectangle", "pos": { "x": 6389, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -5318,10 +5318,10 @@ "type": "rectangle", "pos": { "x": 6530, - "y": 41 + "y": 40 }, "width": 633, - "height": 512, + "height": 473, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5358,11 +5358,11 @@ "id": "cf many required.start", "type": "rectangle", "pos": { - "x": 6550, + "x": 6560, "y": 70 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5398,11 +5398,11 @@ "id": "cf many required.end", "type": "rectangle", "pos": { - "x": 6550, + "x": 6560, "y": 357 }, - "width": 593, - "height": 166, + "width": 573, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5439,7 +5439,7 @@ "type": "rectangle", "pos": { "x": 6590, - "y": 120 + "y": 100 }, "width": 52, "height": 66, @@ -5480,7 +5480,7 @@ "type": "rectangle", "pos": { "x": 6590, - "y": 407 + "y": 387 }, "width": 52, "height": 66, @@ -5521,7 +5521,7 @@ "type": "rectangle", "pos": { "x": 6702, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -5562,7 +5562,7 @@ "type": "rectangle", "pos": { "x": 6702, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -5603,7 +5603,7 @@ "type": "rectangle", "pos": { "x": 6815, - "y": 120 + "y": 100 }, "width": 54, "height": 66, @@ -5644,7 +5644,7 @@ "type": "rectangle", "pos": { "x": 6815, - "y": 407 + "y": 387 }, "width": 54, "height": 66, @@ -5685,7 +5685,7 @@ "type": "rectangle", "pos": { "x": 6929, - "y": 120 + "y": 100 }, "width": 53, "height": 66, @@ -5726,7 +5726,7 @@ "type": "rectangle", "pos": { "x": 6929, - "y": 407 + "y": 387 }, "width": 53, "height": 66, @@ -5767,7 +5767,7 @@ "type": "rectangle", "pos": { "x": 7042, - "y": 120 + "y": 100 }, "width": 61, "height": 66, @@ -5808,7 +5808,7 @@ "type": "rectangle", "pos": { "x": 7042, - "y": 407 + "y": 387 }, "width": 61, "height": 66, @@ -5872,31 +5872,31 @@ "route": [ { "x": 86, - "y": 186.5 + "y": 166 }, { "x": 86, - "y": 226.5 + "y": 206 }, { "x": 86, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 86, - "y": 266.75 + "y": 246.25 }, { "x": 86, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 86, - "y": 367.5 + "y": 347 }, { "x": 86, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -5931,31 +5931,31 @@ "route": [ { "x": 198.5, - "y": 186.5 + "y": 166 }, { "x": 198.5, - "y": 226.5 + "y": 206 }, { "x": 198.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 198.5, - "y": 266.75 + "y": 246.25 }, { "x": 198.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 198.5, - "y": 367.5 + "y": 347 }, { "x": 198.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -5990,31 +5990,31 @@ "route": [ { "x": 312, - "y": 186.5 + "y": 166 }, { "x": 312, - "y": 226.5 + "y": 206 }, { "x": 312, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 312, - "y": 266.75 + "y": 246.25 }, { "x": 312, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 312, - "y": 367.5 + "y": 347 }, { "x": 312, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6049,31 +6049,31 @@ "route": [ { "x": 425.5, - "y": 186.5 + "y": 166 }, { "x": 425.5, - "y": 226.5 + "y": 206 }, { "x": 425.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 425.5, - "y": 266.75 + "y": 246.25 }, { "x": 425.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 425.5, - "y": 367.5 + "y": 347 }, { "x": 425.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6108,31 +6108,31 @@ "route": [ { "x": 542.5, - "y": 186.5 + "y": 166 }, { "x": 542.5, - "y": 226.5 + "y": 206 }, { "x": 542.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 542.5, - "y": 266.75 + "y": 246.25 }, { "x": 542.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 542.5, - "y": 367.5 + "y": 347 }, { "x": 542.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6167,31 +6167,31 @@ "route": [ { "x": 739, - "y": 186.5 + "y": 166 }, { "x": 739, - "y": 226.5 + "y": 206 }, { "x": 739, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 739, - "y": 266.75 + "y": 246.25 }, { "x": 739, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 739, - "y": 367.5 + "y": 347 }, { "x": 739, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6226,31 +6226,31 @@ "route": [ { "x": 851.5, - "y": 186.5 + "y": 166 }, { "x": 851.5, - "y": 226.5 + "y": 206 }, { "x": 851.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 851.5, - "y": 266.75 + "y": 246.25 }, { "x": 851.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 851.5, - "y": 367.5 + "y": 347 }, { "x": 851.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6285,31 +6285,31 @@ "route": [ { "x": 965, - "y": 186.5 + "y": 166 }, { "x": 965, - "y": 226.5 + "y": 206 }, { "x": 965, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 965, - "y": 266.75 + "y": 246.25 }, { "x": 965, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 965, - "y": 367.5 + "y": 347 }, { "x": 965, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6344,31 +6344,31 @@ "route": [ { "x": 1078.5, - "y": 186.5 + "y": 166 }, { "x": 1078.5, - "y": 226.5 + "y": 206 }, { "x": 1078.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1078.5, - "y": 266.75 + "y": 246.25 }, { "x": 1078.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1078.5, - "y": 367.5 + "y": 347 }, { "x": 1078.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6403,31 +6403,31 @@ "route": [ { "x": 1195.5, - "y": 186.5 + "y": 166 }, { "x": 1195.5, - "y": 226.5 + "y": 206 }, { "x": 1195.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1195.5, - "y": 266.75 + "y": 246.25 }, { "x": 1195.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1195.5, - "y": 367.5 + "y": 347 }, { "x": 1195.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6462,31 +6462,31 @@ "route": [ { "x": 1392, - "y": 186.5 + "y": 166 }, { "x": 1392, - "y": 226.5 + "y": 206 }, { "x": 1392, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1392, - "y": 266.75 + "y": 246.25 }, { "x": 1392, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1392, - "y": 367.5 + "y": 347 }, { "x": 1392, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6521,31 +6521,31 @@ "route": [ { "x": 1504.5, - "y": 186.5 + "y": 166 }, { "x": 1504.5, - "y": 226.5 + "y": 206 }, { "x": 1504.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1504.5, - "y": 266.75 + "y": 246.25 }, { "x": 1504.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1504.5, - "y": 367.5 + "y": 347 }, { "x": 1504.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6580,31 +6580,31 @@ "route": [ { "x": 1618, - "y": 186.5 + "y": 166 }, { "x": 1618, - "y": 226.5 + "y": 206 }, { "x": 1618, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1618, - "y": 266.75 + "y": 246.25 }, { "x": 1618, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1618, - "y": 367.5 + "y": 347 }, { "x": 1618, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6639,31 +6639,31 @@ "route": [ { "x": 1731.5, - "y": 186.5 + "y": 166 }, { "x": 1731.5, - "y": 226.5 + "y": 206 }, { "x": 1731.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1731.5, - "y": 266.75 + "y": 246.25 }, { "x": 1731.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1731.5, - "y": 367.5 + "y": 347 }, { "x": 1731.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6698,31 +6698,31 @@ "route": [ { "x": 1848.5, - "y": 186.5 + "y": 166 }, { "x": 1848.5, - "y": 226.5 + "y": 206 }, { "x": 1848.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 1848.5, - "y": 266.75 + "y": 246.25 }, { "x": 1848.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 1848.5, - "y": 367.5 + "y": 347 }, { "x": 1848.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6757,31 +6757,31 @@ "route": [ { "x": 2045, - "y": 186.5 + "y": 166 }, { "x": 2045, - "y": 226.5 + "y": 206 }, { "x": 2045, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2045, - "y": 266.75 + "y": 246.25 }, { "x": 2045, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2045, - "y": 367.5 + "y": 347 }, { "x": 2045, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6816,31 +6816,31 @@ "route": [ { "x": 2157.5, - "y": 186.5 + "y": 166 }, { "x": 2157.5, - "y": 226.5 + "y": 206 }, { "x": 2157.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2157.5, - "y": 266.75 + "y": 246.25 }, { "x": 2157.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2157.5, - "y": 367.5 + "y": 347 }, { "x": 2157.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6875,31 +6875,31 @@ "route": [ { "x": 2271, - "y": 186.5 + "y": 166 }, { "x": 2271, - "y": 226.5 + "y": 206 }, { "x": 2271, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2271, - "y": 266.75 + "y": 246.25 }, { "x": 2271, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2271, - "y": 367.5 + "y": 347 }, { "x": 2271, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6934,31 +6934,31 @@ "route": [ { "x": 2384.5, - "y": 186.5 + "y": 166 }, { "x": 2384.5, - "y": 226.5 + "y": 206 }, { "x": 2384.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2384.5, - "y": 266.75 + "y": 246.25 }, { "x": 2384.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2384.5, - "y": 367.5 + "y": 347 }, { "x": 2384.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -6993,31 +6993,31 @@ "route": [ { "x": 2501.5, - "y": 186.5 + "y": 166 }, { "x": 2501.5, - "y": 226.5 + "y": 206 }, { "x": 2501.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2501.5, - "y": 266.75 + "y": 246.25 }, { "x": 2501.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2501.5, - "y": 367.5 + "y": 347 }, { "x": 2501.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7052,31 +7052,31 @@ "route": [ { "x": 2698, - "y": 186.5 + "y": 166 }, { "x": 2698, - "y": 226.5 + "y": 206 }, { "x": 2698, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2698, - "y": 266.75 + "y": 246.25 }, { "x": 2698, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2698, - "y": 367.5 + "y": 347 }, { "x": 2698, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7111,31 +7111,31 @@ "route": [ { "x": 2810.5, - "y": 186.5 + "y": 166 }, { "x": 2810.5, - "y": 226.5 + "y": 206 }, { "x": 2810.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2810.5, - "y": 266.75 + "y": 246.25 }, { "x": 2810.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2810.5, - "y": 367.5 + "y": 347 }, { "x": 2810.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7170,31 +7170,31 @@ "route": [ { "x": 2924, - "y": 186.5 + "y": 166 }, { "x": 2924, - "y": 226.5 + "y": 206 }, { "x": 2924, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 2924, - "y": 266.75 + "y": 246.25 }, { "x": 2924, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 2924, - "y": 367.5 + "y": 347 }, { "x": 2924, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7229,31 +7229,31 @@ "route": [ { "x": 3037.5, - "y": 186.5 + "y": 166 }, { "x": 3037.5, - "y": 226.5 + "y": 206 }, { "x": 3037.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3037.5, - "y": 266.75 + "y": 246.25 }, { "x": 3037.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3037.5, - "y": 367.5 + "y": 347 }, { "x": 3037.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7288,31 +7288,31 @@ "route": [ { "x": 3154.5, - "y": 186.5 + "y": 166 }, { "x": 3154.5, - "y": 226.5 + "y": 206 }, { "x": 3154.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3154.5, - "y": 266.75 + "y": 246.25 }, { "x": 3154.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3154.5, - "y": 367.5 + "y": 347 }, { "x": 3154.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7347,31 +7347,31 @@ "route": [ { "x": 3351, - "y": 186.5 + "y": 166 }, { "x": 3351, - "y": 226.5 + "y": 206 }, { "x": 3351, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3351, - "y": 266.75 + "y": 246.25 }, { "x": 3351, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3351, - "y": 367.5 + "y": 347 }, { "x": 3351, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7406,31 +7406,31 @@ "route": [ { "x": 3463.5, - "y": 186.5 + "y": 166 }, { "x": 3463.5, - "y": 226.5 + "y": 206 }, { "x": 3463.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3463.5, - "y": 266.75 + "y": 246.25 }, { "x": 3463.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3463.5, - "y": 367.5 + "y": 347 }, { "x": 3463.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7465,31 +7465,31 @@ "route": [ { "x": 3577, - "y": 186.5 + "y": 166 }, { "x": 3577, - "y": 226.5 + "y": 206 }, { "x": 3577, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3577, - "y": 266.75 + "y": 246.25 }, { "x": 3577, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3577, - "y": 367.5 + "y": 347 }, { "x": 3577, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7524,31 +7524,31 @@ "route": [ { "x": 3690.5, - "y": 186.5 + "y": 166 }, { "x": 3690.5, - "y": 226.5 + "y": 206 }, { "x": 3690.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3690.5, - "y": 266.75 + "y": 246.25 }, { "x": 3690.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3690.5, - "y": 367.5 + "y": 347 }, { "x": 3690.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7583,31 +7583,31 @@ "route": [ { "x": 3807.5, - "y": 186.5 + "y": 166 }, { "x": 3807.5, - "y": 226.5 + "y": 206 }, { "x": 3807.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 3807.5, - "y": 266.75 + "y": 246.25 }, { "x": 3807.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 3807.5, - "y": 367.5 + "y": 347 }, { "x": 3807.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7642,31 +7642,31 @@ "route": [ { "x": 4004, - "y": 186.5 + "y": 166 }, { "x": 4004, - "y": 226.5 + "y": 206 }, { "x": 4004, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4004, - "y": 266.75 + "y": 246.25 }, { "x": 4004, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4004, - "y": 367.5 + "y": 347 }, { "x": 4004, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7701,31 +7701,31 @@ "route": [ { "x": 4116.5, - "y": 186.5 + "y": 166 }, { "x": 4116.5, - "y": 226.5 + "y": 206 }, { "x": 4116.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4116.5, - "y": 266.75 + "y": 246.25 }, { "x": 4116.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4116.5, - "y": 367.5 + "y": 347 }, { "x": 4116.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7760,31 +7760,31 @@ "route": [ { "x": 4230, - "y": 186.5 + "y": 166 }, { "x": 4230, - "y": 226.5 + "y": 206 }, { "x": 4230, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4230, - "y": 266.75 + "y": 246.25 }, { "x": 4230, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4230, - "y": 367.5 + "y": 347 }, { "x": 4230, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7819,31 +7819,31 @@ "route": [ { "x": 4343.5, - "y": 186.5 + "y": 166 }, { "x": 4343.5, - "y": 226.5 + "y": 206 }, { "x": 4343.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4343.5, - "y": 266.75 + "y": 246.25 }, { "x": 4343.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4343.5, - "y": 367.5 + "y": 347 }, { "x": 4343.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7878,31 +7878,31 @@ "route": [ { "x": 4460.5, - "y": 186.5 + "y": 166 }, { "x": 4460.5, - "y": 226.5 + "y": 206 }, { "x": 4460.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4460.5, - "y": 266.75 + "y": 246.25 }, { "x": 4460.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4460.5, - "y": 367.5 + "y": 347 }, { "x": 4460.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7937,31 +7937,31 @@ "route": [ { "x": 4657, - "y": 186.5 + "y": 166 }, { "x": 4657, - "y": 226.5 + "y": 206 }, { "x": 4657, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4657, - "y": 266.75 + "y": 246.25 }, { "x": 4657, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4657, - "y": 367.5 + "y": 347 }, { "x": 4657, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -7996,31 +7996,31 @@ "route": [ { "x": 4769.5, - "y": 186.5 + "y": 166 }, { "x": 4769.5, - "y": 226.5 + "y": 206 }, { "x": 4769.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4769.5, - "y": 266.75 + "y": 246.25 }, { "x": 4769.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4769.5, - "y": 367.5 + "y": 347 }, { "x": 4769.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8055,31 +8055,31 @@ "route": [ { "x": 4883, - "y": 186.5 + "y": 166 }, { "x": 4883, - "y": 226.5 + "y": 206 }, { "x": 4883, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4883, - "y": 266.75 + "y": 246.25 }, { "x": 4883, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4883, - "y": 367.5 + "y": 347 }, { "x": 4883, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8114,31 +8114,31 @@ "route": [ { "x": 4996.5, - "y": 186.5 + "y": 166 }, { "x": 4996.5, - "y": 226.5 + "y": 206 }, { "x": 4996.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 4996.5, - "y": 266.75 + "y": 246.25 }, { "x": 4996.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 4996.5, - "y": 367.5 + "y": 347 }, { "x": 4996.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8173,31 +8173,31 @@ "route": [ { "x": 5113.5, - "y": 186.5 + "y": 166 }, { "x": 5113.5, - "y": 226.5 + "y": 206 }, { "x": 5113.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5113.5, - "y": 266.75 + "y": 246.25 }, { "x": 5113.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5113.5, - "y": 367.5 + "y": 347 }, { "x": 5113.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8232,31 +8232,31 @@ "route": [ { "x": 5310, - "y": 186.5 + "y": 166 }, { "x": 5310, - "y": 226.5 + "y": 206 }, { "x": 5310, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5310, - "y": 266.75 + "y": 246.25 }, { "x": 5310, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5310, - "y": 367.5 + "y": 347 }, { "x": 5310, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8291,31 +8291,31 @@ "route": [ { "x": 5422.5, - "y": 186.5 + "y": 166 }, { "x": 5422.5, - "y": 226.5 + "y": 206 }, { "x": 5422.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5422.5, - "y": 266.75 + "y": 246.25 }, { "x": 5422.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5422.5, - "y": 367.5 + "y": 347 }, { "x": 5422.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8350,31 +8350,31 @@ "route": [ { "x": 5536, - "y": 186.5 + "y": 166 }, { "x": 5536, - "y": 226.5 + "y": 206 }, { "x": 5536, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5536, - "y": 266.75 + "y": 246.25 }, { "x": 5536, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5536, - "y": 367.5 + "y": 347 }, { "x": 5536, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8409,31 +8409,31 @@ "route": [ { "x": 5649.5, - "y": 186.5 + "y": 166 }, { "x": 5649.5, - "y": 226.5 + "y": 206 }, { "x": 5649.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5649.5, - "y": 266.75 + "y": 246.25 }, { "x": 5649.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5649.5, - "y": 367.5 + "y": 347 }, { "x": 5649.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8468,31 +8468,31 @@ "route": [ { "x": 5766.5, - "y": 186.5 + "y": 166 }, { "x": 5766.5, - "y": 226.5 + "y": 206 }, { "x": 5766.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5766.5, - "y": 266.75 + "y": 246.25 }, { "x": 5766.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5766.5, - "y": 367.5 + "y": 347 }, { "x": 5766.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8527,31 +8527,31 @@ "route": [ { "x": 5963, - "y": 186.5 + "y": 166 }, { "x": 5963, - "y": 226.5 + "y": 206 }, { "x": 5963, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 5963, - "y": 266.75 + "y": 246.25 }, { "x": 5963, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 5963, - "y": 367.5 + "y": 347 }, { "x": 5963, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8586,31 +8586,31 @@ "route": [ { "x": 6075.5, - "y": 186.5 + "y": 166 }, { "x": 6075.5, - "y": 226.5 + "y": 206 }, { "x": 6075.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6075.5, - "y": 266.75 + "y": 246.25 }, { "x": 6075.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6075.5, - "y": 367.5 + "y": 347 }, { "x": 6075.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8645,31 +8645,31 @@ "route": [ { "x": 6189, - "y": 186.5 + "y": 166 }, { "x": 6189, - "y": 226.5 + "y": 206 }, { "x": 6189, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6189, - "y": 266.75 + "y": 246.25 }, { "x": 6189, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6189, - "y": 367.5 + "y": 347 }, { "x": 6189, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8704,31 +8704,31 @@ "route": [ { "x": 6302.5, - "y": 186.5 + "y": 166 }, { "x": 6302.5, - "y": 226.5 + "y": 206 }, { "x": 6302.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6302.5, - "y": 266.75 + "y": 246.25 }, { "x": 6302.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6302.5, - "y": 367.5 + "y": 347 }, { "x": 6302.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8763,31 +8763,31 @@ "route": [ { "x": 6419.5, - "y": 186.5 + "y": 166 }, { "x": 6419.5, - "y": 226.5 + "y": 206 }, { "x": 6419.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6419.5, - "y": 266.75 + "y": 246.25 }, { "x": 6419.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6419.5, - "y": 367.5 + "y": 347 }, { "x": 6419.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8822,31 +8822,31 @@ "route": [ { "x": 6616, - "y": 186.5 + "y": 166 }, { "x": 6616, - "y": 226.5 + "y": 206 }, { "x": 6616, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6616, - "y": 266.75 + "y": 246.25 }, { "x": 6616, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6616, - "y": 367.5 + "y": 347 }, { "x": 6616, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8881,31 +8881,31 @@ "route": [ { "x": 6728.5, - "y": 186.5 + "y": 166 }, { "x": 6728.5, - "y": 226.5 + "y": 206 }, { "x": 6728.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6728.5, - "y": 266.75 + "y": 246.25 }, { "x": 6728.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6728.5, - "y": 367.5 + "y": 347 }, { "x": 6728.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8940,31 +8940,31 @@ "route": [ { "x": 6842, - "y": 186.5 + "y": 166 }, { "x": 6842, - "y": 226.5 + "y": 206 }, { "x": 6842, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6842, - "y": 266.75 + "y": 246.25 }, { "x": 6842, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6842, - "y": 367.5 + "y": 347 }, { "x": 6842, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -8999,31 +8999,31 @@ "route": [ { "x": 6955.5, - "y": 186.5 + "y": 166 }, { "x": 6955.5, - "y": 226.5 + "y": 206 }, { "x": 6955.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 6955.5, - "y": 266.75 + "y": 246.25 }, { "x": 6955.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 6955.5, - "y": 367.5 + "y": 347 }, { "x": 6955.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, @@ -9058,31 +9058,31 @@ "route": [ { "x": 7072.5, - "y": 186.5 + "y": 166 }, { "x": 7072.5, - "y": 226.5 + "y": 206 }, { "x": 7072.5, - "y": 248.60000610351562 + "y": 228.10000610351562 }, { "x": 7072.5, - "y": 266.75 + "y": 246.25 }, { "x": 7072.5, - "y": 284.8999938964844 + "y": 264.3999938964844 }, { "x": 7072.5, - "y": 367.5 + "y": 347 }, { "x": 7072.5, - "y": 407.5 + "y": 387 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/arrowhead_scaling/dagre/sketch.exp.svg b/e2etests/testdata/stable/arrowhead_scaling/dagre/sketch.exp.svg index 0adedcfd4..3b3bf5e81 100644 --- a/e2etests/testdata/stable/arrowhead_scaling/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/arrowhead_scaling/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -defaultlinearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many required112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515 1 2 4 8 15124815 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-2315691330 .fill-N1{fill:#0A0F25;} + .d2-2315691330 .fill-N2{fill:#676C7E;} + .d2-2315691330 .fill-N3{fill:#9499AB;} + .d2-2315691330 .fill-N4{fill:#CFD2DD;} + .d2-2315691330 .fill-N5{fill:#DEE1EB;} + .d2-2315691330 .fill-N6{fill:#EEF1F8;} + .d2-2315691330 .fill-N7{fill:#FFFFFF;} + .d2-2315691330 .fill-B1{fill:#0D32B2;} + .d2-2315691330 .fill-B2{fill:#0D32B2;} + .d2-2315691330 .fill-B3{fill:#E3E9FD;} + .d2-2315691330 .fill-B4{fill:#E3E9FD;} + .d2-2315691330 .fill-B5{fill:#EDF0FD;} + .d2-2315691330 .fill-B6{fill:#F7F8FE;} + .d2-2315691330 .fill-AA2{fill:#4A6FF3;} + .d2-2315691330 .fill-AA4{fill:#EDF0FD;} + .d2-2315691330 .fill-AA5{fill:#F7F8FE;} + .d2-2315691330 .fill-AB4{fill:#EDF0FD;} + .d2-2315691330 .fill-AB5{fill:#F7F8FE;} + .d2-2315691330 .stroke-N1{stroke:#0A0F25;} + .d2-2315691330 .stroke-N2{stroke:#676C7E;} + .d2-2315691330 .stroke-N3{stroke:#9499AB;} + .d2-2315691330 .stroke-N4{stroke:#CFD2DD;} + .d2-2315691330 .stroke-N5{stroke:#DEE1EB;} + .d2-2315691330 .stroke-N6{stroke:#EEF1F8;} + .d2-2315691330 .stroke-N7{stroke:#FFFFFF;} + .d2-2315691330 .stroke-B1{stroke:#0D32B2;} + .d2-2315691330 .stroke-B2{stroke:#0D32B2;} + .d2-2315691330 .stroke-B3{stroke:#E3E9FD;} + .d2-2315691330 .stroke-B4{stroke:#E3E9FD;} + .d2-2315691330 .stroke-B5{stroke:#EDF0FD;} + .d2-2315691330 .stroke-B6{stroke:#F7F8FE;} + .d2-2315691330 .stroke-AA2{stroke:#4A6FF3;} + .d2-2315691330 .stroke-AA4{stroke:#EDF0FD;} + .d2-2315691330 .stroke-AA5{stroke:#F7F8FE;} + .d2-2315691330 .stroke-AB4{stroke:#EDF0FD;} + .d2-2315691330 .stroke-AB5{stroke:#F7F8FE;} + .d2-2315691330 .background-color-N1{background-color:#0A0F25;} + .d2-2315691330 .background-color-N2{background-color:#676C7E;} + .d2-2315691330 .background-color-N3{background-color:#9499AB;} + .d2-2315691330 .background-color-N4{background-color:#CFD2DD;} + .d2-2315691330 .background-color-N5{background-color:#DEE1EB;} + .d2-2315691330 .background-color-N6{background-color:#EEF1F8;} + .d2-2315691330 .background-color-N7{background-color:#FFFFFF;} + .d2-2315691330 .background-color-B1{background-color:#0D32B2;} + .d2-2315691330 .background-color-B2{background-color:#0D32B2;} + .d2-2315691330 .background-color-B3{background-color:#E3E9FD;} + .d2-2315691330 .background-color-B4{background-color:#E3E9FD;} + .d2-2315691330 .background-color-B5{background-color:#EDF0FD;} + .d2-2315691330 .background-color-B6{background-color:#F7F8FE;} + .d2-2315691330 .background-color-AA2{background-color:#4A6FF3;} + .d2-2315691330 .background-color-AA4{background-color:#EDF0FD;} + .d2-2315691330 .background-color-AA5{background-color:#F7F8FE;} + .d2-2315691330 .background-color-AB4{background-color:#EDF0FD;} + .d2-2315691330 .background-color-AB5{background-color:#F7F8FE;} + .d2-2315691330 .color-N1{color:#0A0F25;} + .d2-2315691330 .color-N2{color:#676C7E;} + .d2-2315691330 .color-N3{color:#9499AB;} + .d2-2315691330 .color-N4{color:#CFD2DD;} + .d2-2315691330 .color-N5{color:#DEE1EB;} + .d2-2315691330 .color-N6{color:#EEF1F8;} + .d2-2315691330 .color-N7{color:#FFFFFF;} + .d2-2315691330 .color-B1{color:#0D32B2;} + .d2-2315691330 .color-B2{color:#0D32B2;} + .d2-2315691330 .color-B3{color:#E3E9FD;} + .d2-2315691330 .color-B4{color:#E3E9FD;} + .d2-2315691330 .color-B5{color:#EDF0FD;} + .d2-2315691330 .color-B6{color:#F7F8FE;} + .d2-2315691330 .color-AA2{color:#4A6FF3;} + .d2-2315691330 .color-AA4{color:#EDF0FD;} + .d2-2315691330 .color-AA5{color:#F7F8FE;} + .d2-2315691330 .color-AB4{color:#EDF0FD;} + .d2-2315691330 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>defaultlinearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many required112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515 1 2 4 8 15124815 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/arrowhead_scaling/elk/sketch.exp.svg b/e2etests/testdata/stable/arrowhead_scaling/elk/sketch.exp.svg index 9508754c9..9152965a4 100644 --- a/e2etests/testdata/stable/arrowhead_scaling/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/arrowhead_scaling/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -defaultlinearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many required112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515 1 2 4 8 15124815 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 + .d2-3281968207 .fill-N1{fill:#0A0F25;} + .d2-3281968207 .fill-N2{fill:#676C7E;} + .d2-3281968207 .fill-N3{fill:#9499AB;} + .d2-3281968207 .fill-N4{fill:#CFD2DD;} + .d2-3281968207 .fill-N5{fill:#DEE1EB;} + .d2-3281968207 .fill-N6{fill:#EEF1F8;} + .d2-3281968207 .fill-N7{fill:#FFFFFF;} + .d2-3281968207 .fill-B1{fill:#0D32B2;} + .d2-3281968207 .fill-B2{fill:#0D32B2;} + .d2-3281968207 .fill-B3{fill:#E3E9FD;} + .d2-3281968207 .fill-B4{fill:#E3E9FD;} + .d2-3281968207 .fill-B5{fill:#EDF0FD;} + .d2-3281968207 .fill-B6{fill:#F7F8FE;} + .d2-3281968207 .fill-AA2{fill:#4A6FF3;} + .d2-3281968207 .fill-AA4{fill:#EDF0FD;} + .d2-3281968207 .fill-AA5{fill:#F7F8FE;} + .d2-3281968207 .fill-AB4{fill:#EDF0FD;} + .d2-3281968207 .fill-AB5{fill:#F7F8FE;} + .d2-3281968207 .stroke-N1{stroke:#0A0F25;} + .d2-3281968207 .stroke-N2{stroke:#676C7E;} + .d2-3281968207 .stroke-N3{stroke:#9499AB;} + .d2-3281968207 .stroke-N4{stroke:#CFD2DD;} + .d2-3281968207 .stroke-N5{stroke:#DEE1EB;} + .d2-3281968207 .stroke-N6{stroke:#EEF1F8;} + .d2-3281968207 .stroke-N7{stroke:#FFFFFF;} + .d2-3281968207 .stroke-B1{stroke:#0D32B2;} + .d2-3281968207 .stroke-B2{stroke:#0D32B2;} + .d2-3281968207 .stroke-B3{stroke:#E3E9FD;} + .d2-3281968207 .stroke-B4{stroke:#E3E9FD;} + .d2-3281968207 .stroke-B5{stroke:#EDF0FD;} + .d2-3281968207 .stroke-B6{stroke:#F7F8FE;} + .d2-3281968207 .stroke-AA2{stroke:#4A6FF3;} + .d2-3281968207 .stroke-AA4{stroke:#EDF0FD;} + .d2-3281968207 .stroke-AA5{stroke:#F7F8FE;} + .d2-3281968207 .stroke-AB4{stroke:#EDF0FD;} + .d2-3281968207 .stroke-AB5{stroke:#F7F8FE;} + .d2-3281968207 .background-color-N1{background-color:#0A0F25;} + .d2-3281968207 .background-color-N2{background-color:#676C7E;} + .d2-3281968207 .background-color-N3{background-color:#9499AB;} + .d2-3281968207 .background-color-N4{background-color:#CFD2DD;} + .d2-3281968207 .background-color-N5{background-color:#DEE1EB;} + .d2-3281968207 .background-color-N6{background-color:#EEF1F8;} + .d2-3281968207 .background-color-N7{background-color:#FFFFFF;} + .d2-3281968207 .background-color-B1{background-color:#0D32B2;} + .d2-3281968207 .background-color-B2{background-color:#0D32B2;} + .d2-3281968207 .background-color-B3{background-color:#E3E9FD;} + .d2-3281968207 .background-color-B4{background-color:#E3E9FD;} + .d2-3281968207 .background-color-B5{background-color:#EDF0FD;} + .d2-3281968207 .background-color-B6{background-color:#F7F8FE;} + .d2-3281968207 .background-color-AA2{background-color:#4A6FF3;} + .d2-3281968207 .background-color-AA4{background-color:#EDF0FD;} + .d2-3281968207 .background-color-AA5{background-color:#F7F8FE;} + .d2-3281968207 .background-color-AB4{background-color:#EDF0FD;} + .d2-3281968207 .background-color-AB5{background-color:#F7F8FE;} + .d2-3281968207 .color-N1{color:#0A0F25;} + .d2-3281968207 .color-N2{color:#676C7E;} + .d2-3281968207 .color-N3{color:#9499AB;} + .d2-3281968207 .color-N4{color:#CFD2DD;} + .d2-3281968207 .color-N5{color:#DEE1EB;} + .d2-3281968207 .color-N6{color:#EEF1F8;} + .d2-3281968207 .color-N7{color:#FFFFFF;} + .d2-3281968207 .color-B1{color:#0D32B2;} + .d2-3281968207 .color-B2{color:#0D32B2;} + .d2-3281968207 .color-B3{color:#E3E9FD;} + .d2-3281968207 .color-B4{color:#E3E9FD;} + .d2-3281968207 .color-B5{color:#EDF0FD;} + .d2-3281968207 .color-B6{color:#F7F8FE;} + .d2-3281968207 .color-AA2{color:#4A6FF3;} + .d2-3281968207 .color-AA4{color:#EDF0FD;} + .d2-3281968207 .color-AA5{color:#F7F8FE;} + .d2-3281968207 .color-AB4{color:#EDF0FD;} + .d2-3281968207 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>defaultlinearrowdiamondfilled diamondcirclefilled circlecf onecf one requiredcf manycf many required112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515112244881515 1 2 4 8 15124815 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 1 2 4 8 15 diff --git a/e2etests/testdata/stable/basic-tooltips/dagre/board.exp.json b/e2etests/testdata/stable/basic-tooltips/dagre/board.exp.json new file mode 100644 index 000000000..ade6dee49 --- /dev/null +++ b/e2etests/testdata/stable/basic-tooltips/dagre/board.exp.json @@ -0,0 +1,178 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "x", + "type": "rectangle", + "pos": { + "x": 1, + "y": 0 + }, + "width": 85, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "Total abstinence is easier than perfect moderation", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "x", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 8, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 0, + "y": 166 + }, + "width": 86, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "Gee, I feel kind of LIGHT in the head now,\nknowing I can't make my satellite dish PAYMENTS!", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "y", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(x -> y)[0]", + "src": "x", + "srcArrow": "none", + "dst": "y", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 43, + "y": 66 + }, + { + "x": 43, + "y": 106 + }, + { + "x": 43, + "y": 126 + }, + { + "x": 43, + "y": 166 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/basic-tooltips/dagre/sketch.exp.svg b/e2etests/testdata/stable/basic-tooltips/dagre/sketch.exp.svg new file mode 100644 index 000000000..468d02a4a --- /dev/null +++ b/e2etests/testdata/stable/basic-tooltips/dagre/sketch.exp.svg @@ -0,0 +1,125 @@ +xTotal abstinence is easier than perfect moderationyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! Total abstinence is easier than perfect moderation + + + + + + + + + + + + +Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/basic-tooltips/elk/board.exp.json b/e2etests/testdata/stable/basic-tooltips/elk/board.exp.json new file mode 100644 index 000000000..8c92da7b5 --- /dev/null +++ b/e2etests/testdata/stable/basic-tooltips/elk/board.exp.json @@ -0,0 +1,169 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "x", + "type": "rectangle", + "pos": { + "x": 12, + "y": 12 + }, + "width": 85, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "Total abstinence is easier than perfect moderation", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "x", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 8, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 12, + "y": 148 + }, + "width": 86, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "Gee, I feel kind of LIGHT in the head now,\nknowing I can't make my satellite dish PAYMENTS!", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "y", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(x -> y)[0]", + "src": "x", + "srcArrow": "none", + "dst": "y", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 55, + "y": 78 + }, + { + "x": 55, + "y": 148 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/basic-tooltips/elk/sketch.exp.svg b/e2etests/testdata/stable/basic-tooltips/elk/sketch.exp.svg new file mode 100644 index 000000000..a517eaa78 --- /dev/null +++ b/e2etests/testdata/stable/basic-tooltips/elk/sketch.exp.svg @@ -0,0 +1,125 @@ +xTotal abstinence is easier than perfect moderationyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! Total abstinence is easier than perfect moderation + + + + + + + + + + + + +Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/binary_tree/dagre/board.exp.json b/e2etests/testdata/stable/binary_tree/dagre/board.exp.json index 8b80123da..803757e7f 100644 --- a/e2etests/testdata/stable/binary_tree/dagre/board.exp.json +++ b/e2etests/testdata/stable/binary_tree/dagre/board.exp.json @@ -645,12 +645,12 @@ "labelPercentage": 0, "route": [ { - "x": 392.25, - "y": 42.72100067138672 + "x": 392.5, + "y": 43 }, { - "x": 232.4499969482422, - "y": 101.34400177001953 + "x": 232.5, + "y": 101.4000015258789 }, { "x": 192.5, @@ -740,11 +740,11 @@ "route": [ { "x": 166, - "y": 218.9040069580078 + "y": 219 }, { "x": 98.80000305175781, - "y": 269.3800048828125 + "y": 269.3999938964844 }, { "x": 82, @@ -786,12 +786,12 @@ "labelPercentage": 0, "route": [ { - "x": 219, - "y": 218.9499969482422 + "x": 218.75, + "y": 219 }, { - "x": 286, - "y": 269.3900146484375 + "x": 285.95001220703125, + "y": 269.3999938964844 }, { "x": 302.75, @@ -880,12 +880,12 @@ "labelPercentage": 0, "route": [ { - "x": 666.75, - "y": 218.29299926757812 + "x": 667.25, + "y": 218 }, { - "x": 736.75, - "y": 269.25799560546875 + "x": 736.8499755859375, + "y": 269.20001220703125 }, { "x": 754.25, @@ -927,11 +927,11 @@ "labelPercentage": 0, "route": [ { - "x": 59.93299865722656, + "x": 59.5, "y": 398 }, { - "x": 33.18600082397461, + "x": 33.0989990234375, "y": 438 }, { @@ -974,11 +974,11 @@ "labelPercentage": 0, "route": [ { - "x": 104.06600189208984, + "x": 104.5, "y": 398 }, { - "x": 130.81300354003906, + "x": 130.89999389648438, "y": 438 }, { @@ -1021,11 +1021,11 @@ "labelPercentage": 0, "route": [ { - "x": 280.5840148925781, + "x": 281, "y": 398 }, { - "x": 253.71600341796875, + "x": 253.8000030517578, "y": 438 }, { @@ -1068,11 +1068,11 @@ "labelPercentage": 0, "route": [ { - "x": 324.9150085449219, + "x": 324.5, "y": 398 }, { - "x": 351.7829895019531, + "x": 351.70001220703125, "y": 438 }, { @@ -1115,11 +1115,11 @@ "labelPercentage": 0, "route": [ { - "x": 503.5360107421875, + "x": 503.5, "y": 398 }, { - "x": 476.3070068359375, + "x": 476.29998779296875, "y": 438 }, { @@ -1162,11 +1162,11 @@ "labelPercentage": 0, "route": [ { - "x": 548.4630126953125, + "x": 548.5, "y": 398 }, { - "x": 575.6920166015625, + "x": 575.7000122070312, "y": 438 }, { @@ -1209,11 +1209,11 @@ "labelPercentage": 0, "route": [ { - "x": 731.6859741210938, + "x": 731.5, "y": 398 }, { - "x": 704.3369750976562, + "x": 704.2999877929688, "y": 438 }, { @@ -1256,11 +1256,11 @@ "labelPercentage": 0, "route": [ { - "x": 776.81298828125, + "x": 777, "y": 398 }, { - "x": 804.1619873046875, + "x": 804.2000122070312, "y": 438 }, { diff --git a/e2etests/testdata/stable/binary_tree/dagre/sketch.exp.svg b/e2etests/testdata/stable/binary_tree/dagre/sketch.exp.svg index 94fa5f5f4..a31c66024 100644 --- a/e2etests/testdata/stable/binary_tree/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/binary_tree/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmno + .d2-1843367973 .fill-N1{fill:#0A0F25;} + .d2-1843367973 .fill-N2{fill:#676C7E;} + .d2-1843367973 .fill-N3{fill:#9499AB;} + .d2-1843367973 .fill-N4{fill:#CFD2DD;} + .d2-1843367973 .fill-N5{fill:#DEE1EB;} + .d2-1843367973 .fill-N6{fill:#EEF1F8;} + .d2-1843367973 .fill-N7{fill:#FFFFFF;} + .d2-1843367973 .fill-B1{fill:#0D32B2;} + .d2-1843367973 .fill-B2{fill:#0D32B2;} + .d2-1843367973 .fill-B3{fill:#E3E9FD;} + .d2-1843367973 .fill-B4{fill:#E3E9FD;} + .d2-1843367973 .fill-B5{fill:#EDF0FD;} + .d2-1843367973 .fill-B6{fill:#F7F8FE;} + .d2-1843367973 .fill-AA2{fill:#4A6FF3;} + .d2-1843367973 .fill-AA4{fill:#EDF0FD;} + .d2-1843367973 .fill-AA5{fill:#F7F8FE;} + .d2-1843367973 .fill-AB4{fill:#EDF0FD;} + .d2-1843367973 .fill-AB5{fill:#F7F8FE;} + .d2-1843367973 .stroke-N1{stroke:#0A0F25;} + .d2-1843367973 .stroke-N2{stroke:#676C7E;} + .d2-1843367973 .stroke-N3{stroke:#9499AB;} + .d2-1843367973 .stroke-N4{stroke:#CFD2DD;} + .d2-1843367973 .stroke-N5{stroke:#DEE1EB;} + .d2-1843367973 .stroke-N6{stroke:#EEF1F8;} + .d2-1843367973 .stroke-N7{stroke:#FFFFFF;} + .d2-1843367973 .stroke-B1{stroke:#0D32B2;} + .d2-1843367973 .stroke-B2{stroke:#0D32B2;} + .d2-1843367973 .stroke-B3{stroke:#E3E9FD;} + .d2-1843367973 .stroke-B4{stroke:#E3E9FD;} + .d2-1843367973 .stroke-B5{stroke:#EDF0FD;} + .d2-1843367973 .stroke-B6{stroke:#F7F8FE;} + .d2-1843367973 .stroke-AA2{stroke:#4A6FF3;} + .d2-1843367973 .stroke-AA4{stroke:#EDF0FD;} + .d2-1843367973 .stroke-AA5{stroke:#F7F8FE;} + .d2-1843367973 .stroke-AB4{stroke:#EDF0FD;} + .d2-1843367973 .stroke-AB5{stroke:#F7F8FE;} + .d2-1843367973 .background-color-N1{background-color:#0A0F25;} + .d2-1843367973 .background-color-N2{background-color:#676C7E;} + .d2-1843367973 .background-color-N3{background-color:#9499AB;} + .d2-1843367973 .background-color-N4{background-color:#CFD2DD;} + .d2-1843367973 .background-color-N5{background-color:#DEE1EB;} + .d2-1843367973 .background-color-N6{background-color:#EEF1F8;} + .d2-1843367973 .background-color-N7{background-color:#FFFFFF;} + .d2-1843367973 .background-color-B1{background-color:#0D32B2;} + .d2-1843367973 .background-color-B2{background-color:#0D32B2;} + .d2-1843367973 .background-color-B3{background-color:#E3E9FD;} + .d2-1843367973 .background-color-B4{background-color:#E3E9FD;} + .d2-1843367973 .background-color-B5{background-color:#EDF0FD;} + .d2-1843367973 .background-color-B6{background-color:#F7F8FE;} + .d2-1843367973 .background-color-AA2{background-color:#4A6FF3;} + .d2-1843367973 .background-color-AA4{background-color:#EDF0FD;} + .d2-1843367973 .background-color-AA5{background-color:#F7F8FE;} + .d2-1843367973 .background-color-AB4{background-color:#EDF0FD;} + .d2-1843367973 .background-color-AB5{background-color:#F7F8FE;} + .d2-1843367973 .color-N1{color:#0A0F25;} + .d2-1843367973 .color-N2{color:#676C7E;} + .d2-1843367973 .color-N3{color:#9499AB;} + .d2-1843367973 .color-N4{color:#CFD2DD;} + .d2-1843367973 .color-N5{color:#DEE1EB;} + .d2-1843367973 .color-N6{color:#EEF1F8;} + .d2-1843367973 .color-N7{color:#FFFFFF;} + .d2-1843367973 .color-B1{color:#0D32B2;} + .d2-1843367973 .color-B2{color:#0D32B2;} + .d2-1843367973 .color-B3{color:#E3E9FD;} + .d2-1843367973 .color-B4{color:#E3E9FD;} + .d2-1843367973 .color-B5{color:#EDF0FD;} + .d2-1843367973 .color-B6{color:#F7F8FE;} + .d2-1843367973 .color-AA2{color:#4A6FF3;} + .d2-1843367973 .color-AA4{color:#EDF0FD;} + .d2-1843367973 .color-AA5{color:#F7F8FE;} + .d2-1843367973 .color-AB4{color:#EDF0FD;} + .d2-1843367973 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmno diff --git a/e2etests/testdata/stable/binary_tree/elk/sketch.exp.svg b/e2etests/testdata/stable/binary_tree/elk/sketch.exp.svg index 03e1f25ce..9db948eb2 100644 --- a/e2etests/testdata/stable/binary_tree/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/binary_tree/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmno + .d2-1983139693 .fill-N1{fill:#0A0F25;} + .d2-1983139693 .fill-N2{fill:#676C7E;} + .d2-1983139693 .fill-N3{fill:#9499AB;} + .d2-1983139693 .fill-N4{fill:#CFD2DD;} + .d2-1983139693 .fill-N5{fill:#DEE1EB;} + .d2-1983139693 .fill-N6{fill:#EEF1F8;} + .d2-1983139693 .fill-N7{fill:#FFFFFF;} + .d2-1983139693 .fill-B1{fill:#0D32B2;} + .d2-1983139693 .fill-B2{fill:#0D32B2;} + .d2-1983139693 .fill-B3{fill:#E3E9FD;} + .d2-1983139693 .fill-B4{fill:#E3E9FD;} + .d2-1983139693 .fill-B5{fill:#EDF0FD;} + .d2-1983139693 .fill-B6{fill:#F7F8FE;} + .d2-1983139693 .fill-AA2{fill:#4A6FF3;} + .d2-1983139693 .fill-AA4{fill:#EDF0FD;} + .d2-1983139693 .fill-AA5{fill:#F7F8FE;} + .d2-1983139693 .fill-AB4{fill:#EDF0FD;} + .d2-1983139693 .fill-AB5{fill:#F7F8FE;} + .d2-1983139693 .stroke-N1{stroke:#0A0F25;} + .d2-1983139693 .stroke-N2{stroke:#676C7E;} + .d2-1983139693 .stroke-N3{stroke:#9499AB;} + .d2-1983139693 .stroke-N4{stroke:#CFD2DD;} + .d2-1983139693 .stroke-N5{stroke:#DEE1EB;} + .d2-1983139693 .stroke-N6{stroke:#EEF1F8;} + .d2-1983139693 .stroke-N7{stroke:#FFFFFF;} + .d2-1983139693 .stroke-B1{stroke:#0D32B2;} + .d2-1983139693 .stroke-B2{stroke:#0D32B2;} + .d2-1983139693 .stroke-B3{stroke:#E3E9FD;} + .d2-1983139693 .stroke-B4{stroke:#E3E9FD;} + .d2-1983139693 .stroke-B5{stroke:#EDF0FD;} + .d2-1983139693 .stroke-B6{stroke:#F7F8FE;} + .d2-1983139693 .stroke-AA2{stroke:#4A6FF3;} + .d2-1983139693 .stroke-AA4{stroke:#EDF0FD;} + .d2-1983139693 .stroke-AA5{stroke:#F7F8FE;} + .d2-1983139693 .stroke-AB4{stroke:#EDF0FD;} + .d2-1983139693 .stroke-AB5{stroke:#F7F8FE;} + .d2-1983139693 .background-color-N1{background-color:#0A0F25;} + .d2-1983139693 .background-color-N2{background-color:#676C7E;} + .d2-1983139693 .background-color-N3{background-color:#9499AB;} + .d2-1983139693 .background-color-N4{background-color:#CFD2DD;} + .d2-1983139693 .background-color-N5{background-color:#DEE1EB;} + .d2-1983139693 .background-color-N6{background-color:#EEF1F8;} + .d2-1983139693 .background-color-N7{background-color:#FFFFFF;} + .d2-1983139693 .background-color-B1{background-color:#0D32B2;} + .d2-1983139693 .background-color-B2{background-color:#0D32B2;} + .d2-1983139693 .background-color-B3{background-color:#E3E9FD;} + .d2-1983139693 .background-color-B4{background-color:#E3E9FD;} + .d2-1983139693 .background-color-B5{background-color:#EDF0FD;} + .d2-1983139693 .background-color-B6{background-color:#F7F8FE;} + .d2-1983139693 .background-color-AA2{background-color:#4A6FF3;} + .d2-1983139693 .background-color-AA4{background-color:#EDF0FD;} + .d2-1983139693 .background-color-AA5{background-color:#F7F8FE;} + .d2-1983139693 .background-color-AB4{background-color:#EDF0FD;} + .d2-1983139693 .background-color-AB5{background-color:#F7F8FE;} + .d2-1983139693 .color-N1{color:#0A0F25;} + .d2-1983139693 .color-N2{color:#676C7E;} + .d2-1983139693 .color-N3{color:#9499AB;} + .d2-1983139693 .color-N4{color:#CFD2DD;} + .d2-1983139693 .color-N5{color:#DEE1EB;} + .d2-1983139693 .color-N6{color:#EEF1F8;} + .d2-1983139693 .color-N7{color:#FFFFFF;} + .d2-1983139693 .color-B1{color:#0D32B2;} + .d2-1983139693 .color-B2{color:#0D32B2;} + .d2-1983139693 .color-B3{color:#E3E9FD;} + .d2-1983139693 .color-B4{color:#E3E9FD;} + .d2-1983139693 .color-B5{color:#EDF0FD;} + .d2-1983139693 .color-B6{color:#F7F8FE;} + .d2-1983139693 .color-AA2{color:#4A6FF3;} + .d2-1983139693 .color-AA4{color:#EDF0FD;} + .d2-1983139693 .color-AA5{color:#F7F8FE;} + .d2-1983139693 .color-AB4{color:#EDF0FD;} + .d2-1983139693 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmno diff --git a/e2etests/testdata/stable/bold-mono/dagre/board.exp.json b/e2etests/testdata/stable/bold-mono/dagre/board.exp.json new file mode 100644 index 000000000..842e2a92e --- /dev/null +++ b/e2etests/testdata/stable/bold-mono/dagre/board.exp.json @@ -0,0 +1,130 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "not bold mono", + "type": "rectangle", + "pos": { + "x": 0, + "y": 0 + }, + "width": 169, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "not bold mono", + "fontSize": 16, + "fontFamily": "mono", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 124, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "bold mono", + "type": "rectangle", + "pos": { + "x": 229, + "y": 0 + }, + "width": 130, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "bold mono", + "fontSize": 16, + "fontFamily": "mono", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 85, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/bold-mono/dagre/sketch.exp.svg b/e2etests/testdata/stable/bold-mono/dagre/sketch.exp.svg new file mode 100644 index 000000000..391565010 --- /dev/null +++ b/e2etests/testdata/stable/bold-mono/dagre/sketch.exp.svg @@ -0,0 +1,103 @@ +not bold monobold mono + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/bold-mono/elk/board.exp.json b/e2etests/testdata/stable/bold-mono/elk/board.exp.json new file mode 100644 index 000000000..9da9855d4 --- /dev/null +++ b/e2etests/testdata/stable/bold-mono/elk/board.exp.json @@ -0,0 +1,130 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "not bold mono", + "type": "rectangle", + "pos": { + "x": 12, + "y": 12 + }, + "width": 169, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "not bold mono", + "fontSize": 16, + "fontFamily": "mono", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 124, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "bold mono", + "type": "rectangle", + "pos": { + "x": 201, + "y": 12 + }, + "width": 130, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "bold mono", + "fontSize": 16, + "fontFamily": "mono", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 85, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/bold-mono/elk/sketch.exp.svg b/e2etests/testdata/stable/bold-mono/elk/sketch.exp.svg new file mode 100644 index 000000000..ac945b749 --- /dev/null +++ b/e2etests/testdata/stable/bold-mono/elk/sketch.exp.svg @@ -0,0 +1,103 @@ +not bold monobold mono + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/border-radius-pill-shape/dagre/board.exp.json b/e2etests/testdata/stable/border-radius-pill-shape/dagre/board.exp.json index dfaebf0f6..1909736bc 100644 --- a/e2etests/testdata/stable/border-radius-pill-shape/dagre/board.exp.json +++ b/e2etests/testdata/stable/border-radius-pill-shape/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 8 + "y": 0 }, "width": 53, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 113, - "y": 8 + "y": 0 }, "width": 54, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 227, - "y": 13 + "y": 0 }, "width": 112, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 409, - "y": 8 + "y": 0 }, "width": 94, "height": 66, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 563, - "y": 15 + "y": 0 }, "width": 114, "height": 66, diff --git a/e2etests/testdata/stable/border-radius-pill-shape/dagre/sketch.exp.svg b/e2etests/testdata/stable/border-radius-pill-shape/dagre/sketch.exp.svg index 5e0f09e53..0036cf7c4 100644 --- a/e2etests/testdata/stable/border-radius-pill-shape/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/border-radius-pill-shape/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -xymultiple2double - -three-dee - - - - - - + .d2-681648473 .fill-N1{fill:#0A0F25;} + .d2-681648473 .fill-N2{fill:#676C7E;} + .d2-681648473 .fill-N3{fill:#9499AB;} + .d2-681648473 .fill-N4{fill:#CFD2DD;} + .d2-681648473 .fill-N5{fill:#DEE1EB;} + .d2-681648473 .fill-N6{fill:#EEF1F8;} + .d2-681648473 .fill-N7{fill:#FFFFFF;} + .d2-681648473 .fill-B1{fill:#0D32B2;} + .d2-681648473 .fill-B2{fill:#0D32B2;} + .d2-681648473 .fill-B3{fill:#E3E9FD;} + .d2-681648473 .fill-B4{fill:#E3E9FD;} + .d2-681648473 .fill-B5{fill:#EDF0FD;} + .d2-681648473 .fill-B6{fill:#F7F8FE;} + .d2-681648473 .fill-AA2{fill:#4A6FF3;} + .d2-681648473 .fill-AA4{fill:#EDF0FD;} + .d2-681648473 .fill-AA5{fill:#F7F8FE;} + .d2-681648473 .fill-AB4{fill:#EDF0FD;} + .d2-681648473 .fill-AB5{fill:#F7F8FE;} + .d2-681648473 .stroke-N1{stroke:#0A0F25;} + .d2-681648473 .stroke-N2{stroke:#676C7E;} + .d2-681648473 .stroke-N3{stroke:#9499AB;} + .d2-681648473 .stroke-N4{stroke:#CFD2DD;} + .d2-681648473 .stroke-N5{stroke:#DEE1EB;} + .d2-681648473 .stroke-N6{stroke:#EEF1F8;} + .d2-681648473 .stroke-N7{stroke:#FFFFFF;} + .d2-681648473 .stroke-B1{stroke:#0D32B2;} + .d2-681648473 .stroke-B2{stroke:#0D32B2;} + .d2-681648473 .stroke-B3{stroke:#E3E9FD;} + .d2-681648473 .stroke-B4{stroke:#E3E9FD;} + .d2-681648473 .stroke-B5{stroke:#EDF0FD;} + .d2-681648473 .stroke-B6{stroke:#F7F8FE;} + .d2-681648473 .stroke-AA2{stroke:#4A6FF3;} + .d2-681648473 .stroke-AA4{stroke:#EDF0FD;} + .d2-681648473 .stroke-AA5{stroke:#F7F8FE;} + .d2-681648473 .stroke-AB4{stroke:#EDF0FD;} + .d2-681648473 .stroke-AB5{stroke:#F7F8FE;} + .d2-681648473 .background-color-N1{background-color:#0A0F25;} + .d2-681648473 .background-color-N2{background-color:#676C7E;} + .d2-681648473 .background-color-N3{background-color:#9499AB;} + .d2-681648473 .background-color-N4{background-color:#CFD2DD;} + .d2-681648473 .background-color-N5{background-color:#DEE1EB;} + .d2-681648473 .background-color-N6{background-color:#EEF1F8;} + .d2-681648473 .background-color-N7{background-color:#FFFFFF;} + .d2-681648473 .background-color-B1{background-color:#0D32B2;} + .d2-681648473 .background-color-B2{background-color:#0D32B2;} + .d2-681648473 .background-color-B3{background-color:#E3E9FD;} + .d2-681648473 .background-color-B4{background-color:#E3E9FD;} + .d2-681648473 .background-color-B5{background-color:#EDF0FD;} + .d2-681648473 .background-color-B6{background-color:#F7F8FE;} + .d2-681648473 .background-color-AA2{background-color:#4A6FF3;} + .d2-681648473 .background-color-AA4{background-color:#EDF0FD;} + .d2-681648473 .background-color-AA5{background-color:#F7F8FE;} + .d2-681648473 .background-color-AB4{background-color:#EDF0FD;} + .d2-681648473 .background-color-AB5{background-color:#F7F8FE;} + .d2-681648473 .color-N1{color:#0A0F25;} + .d2-681648473 .color-N2{color:#676C7E;} + .d2-681648473 .color-N3{color:#9499AB;} + .d2-681648473 .color-N4{color:#CFD2DD;} + .d2-681648473 .color-N5{color:#DEE1EB;} + .d2-681648473 .color-N6{color:#EEF1F8;} + .d2-681648473 .color-N7{color:#FFFFFF;} + .d2-681648473 .color-B1{color:#0D32B2;} + .d2-681648473 .color-B2{color:#0D32B2;} + .d2-681648473 .color-B3{color:#E3E9FD;} + .d2-681648473 .color-B4{color:#E3E9FD;} + .d2-681648473 .color-B5{color:#EDF0FD;} + .d2-681648473 .color-B6{color:#F7F8FE;} + .d2-681648473 .color-AA2{color:#4A6FF3;} + .d2-681648473 .color-AA4{color:#EDF0FD;} + .d2-681648473 .color-AA5{color:#F7F8FE;} + .d2-681648473 .color-AB4{color:#EDF0FD;} + .d2-681648473 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xymultiple2double + +three-dee + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/border-radius-pill-shape/elk/sketch.exp.svg b/e2etests/testdata/stable/border-radius-pill-shape/elk/sketch.exp.svg index d9f37dbea..311a76420 100644 --- a/e2etests/testdata/stable/border-radius-pill-shape/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/border-radius-pill-shape/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -xymultiple2double + .d2-2736704302 .fill-N1{fill:#0A0F25;} + .d2-2736704302 .fill-N2{fill:#676C7E;} + .d2-2736704302 .fill-N3{fill:#9499AB;} + .d2-2736704302 .fill-N4{fill:#CFD2DD;} + .d2-2736704302 .fill-N5{fill:#DEE1EB;} + .d2-2736704302 .fill-N6{fill:#EEF1F8;} + .d2-2736704302 .fill-N7{fill:#FFFFFF;} + .d2-2736704302 .fill-B1{fill:#0D32B2;} + .d2-2736704302 .fill-B2{fill:#0D32B2;} + .d2-2736704302 .fill-B3{fill:#E3E9FD;} + .d2-2736704302 .fill-B4{fill:#E3E9FD;} + .d2-2736704302 .fill-B5{fill:#EDF0FD;} + .d2-2736704302 .fill-B6{fill:#F7F8FE;} + .d2-2736704302 .fill-AA2{fill:#4A6FF3;} + .d2-2736704302 .fill-AA4{fill:#EDF0FD;} + .d2-2736704302 .fill-AA5{fill:#F7F8FE;} + .d2-2736704302 .fill-AB4{fill:#EDF0FD;} + .d2-2736704302 .fill-AB5{fill:#F7F8FE;} + .d2-2736704302 .stroke-N1{stroke:#0A0F25;} + .d2-2736704302 .stroke-N2{stroke:#676C7E;} + .d2-2736704302 .stroke-N3{stroke:#9499AB;} + .d2-2736704302 .stroke-N4{stroke:#CFD2DD;} + .d2-2736704302 .stroke-N5{stroke:#DEE1EB;} + .d2-2736704302 .stroke-N6{stroke:#EEF1F8;} + .d2-2736704302 .stroke-N7{stroke:#FFFFFF;} + .d2-2736704302 .stroke-B1{stroke:#0D32B2;} + .d2-2736704302 .stroke-B2{stroke:#0D32B2;} + .d2-2736704302 .stroke-B3{stroke:#E3E9FD;} + .d2-2736704302 .stroke-B4{stroke:#E3E9FD;} + .d2-2736704302 .stroke-B5{stroke:#EDF0FD;} + .d2-2736704302 .stroke-B6{stroke:#F7F8FE;} + .d2-2736704302 .stroke-AA2{stroke:#4A6FF3;} + .d2-2736704302 .stroke-AA4{stroke:#EDF0FD;} + .d2-2736704302 .stroke-AA5{stroke:#F7F8FE;} + .d2-2736704302 .stroke-AB4{stroke:#EDF0FD;} + .d2-2736704302 .stroke-AB5{stroke:#F7F8FE;} + .d2-2736704302 .background-color-N1{background-color:#0A0F25;} + .d2-2736704302 .background-color-N2{background-color:#676C7E;} + .d2-2736704302 .background-color-N3{background-color:#9499AB;} + .d2-2736704302 .background-color-N4{background-color:#CFD2DD;} + .d2-2736704302 .background-color-N5{background-color:#DEE1EB;} + .d2-2736704302 .background-color-N6{background-color:#EEF1F8;} + .d2-2736704302 .background-color-N7{background-color:#FFFFFF;} + .d2-2736704302 .background-color-B1{background-color:#0D32B2;} + .d2-2736704302 .background-color-B2{background-color:#0D32B2;} + .d2-2736704302 .background-color-B3{background-color:#E3E9FD;} + .d2-2736704302 .background-color-B4{background-color:#E3E9FD;} + .d2-2736704302 .background-color-B5{background-color:#EDF0FD;} + .d2-2736704302 .background-color-B6{background-color:#F7F8FE;} + .d2-2736704302 .background-color-AA2{background-color:#4A6FF3;} + .d2-2736704302 .background-color-AA4{background-color:#EDF0FD;} + .d2-2736704302 .background-color-AA5{background-color:#F7F8FE;} + .d2-2736704302 .background-color-AB4{background-color:#EDF0FD;} + .d2-2736704302 .background-color-AB5{background-color:#F7F8FE;} + .d2-2736704302 .color-N1{color:#0A0F25;} + .d2-2736704302 .color-N2{color:#676C7E;} + .d2-2736704302 .color-N3{color:#9499AB;} + .d2-2736704302 .color-N4{color:#CFD2DD;} + .d2-2736704302 .color-N5{color:#DEE1EB;} + .d2-2736704302 .color-N6{color:#EEF1F8;} + .d2-2736704302 .color-N7{color:#FFFFFF;} + .d2-2736704302 .color-B1{color:#0D32B2;} + .d2-2736704302 .color-B2{color:#0D32B2;} + .d2-2736704302 .color-B3{color:#E3E9FD;} + .d2-2736704302 .color-B4{color:#E3E9FD;} + .d2-2736704302 .color-B5{color:#EDF0FD;} + .d2-2736704302 .color-B6{color:#F7F8FE;} + .d2-2736704302 .color-AA2{color:#4A6FF3;} + .d2-2736704302 .color-AA4{color:#EDF0FD;} + .d2-2736704302 .color-AA5{color:#F7F8FE;} + .d2-2736704302 .color-AB4{color:#EDF0FD;} + .d2-2736704302 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xymultiple2double -three-dee +three-dee diff --git a/e2etests/testdata/stable/border-radius/dagre/board.exp.json b/e2etests/testdata/stable/border-radius/dagre/board.exp.json index 5ba6f7ec5..bf1caec53 100644 --- a/e2etests/testdata/stable/border-radius/dagre/board.exp.json +++ b/e2etests/testdata/stable/border-radius/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 8 + "y": 0 }, "width": 53, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 113, - "y": 8 + "y": 0 }, "width": 54, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 227, - "y": 13 + "y": 0 }, "width": 112, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 409, - "y": 8 + "y": 0 }, "width": 94, "height": 66, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 563, - "y": 15 + "y": 0 }, "width": 114, "height": 66, diff --git a/e2etests/testdata/stable/border-radius/dagre/sketch.exp.svg b/e2etests/testdata/stable/border-radius/dagre/sketch.exp.svg index 5a593e723..b91c0326e 100644 --- a/e2etests/testdata/stable/border-radius/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/border-radius/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -xymultiple2double - -three-dee - - - - - - + .d2-985065287 .fill-N1{fill:#0A0F25;} + .d2-985065287 .fill-N2{fill:#676C7E;} + .d2-985065287 .fill-N3{fill:#9499AB;} + .d2-985065287 .fill-N4{fill:#CFD2DD;} + .d2-985065287 .fill-N5{fill:#DEE1EB;} + .d2-985065287 .fill-N6{fill:#EEF1F8;} + .d2-985065287 .fill-N7{fill:#FFFFFF;} + .d2-985065287 .fill-B1{fill:#0D32B2;} + .d2-985065287 .fill-B2{fill:#0D32B2;} + .d2-985065287 .fill-B3{fill:#E3E9FD;} + .d2-985065287 .fill-B4{fill:#E3E9FD;} + .d2-985065287 .fill-B5{fill:#EDF0FD;} + .d2-985065287 .fill-B6{fill:#F7F8FE;} + .d2-985065287 .fill-AA2{fill:#4A6FF3;} + .d2-985065287 .fill-AA4{fill:#EDF0FD;} + .d2-985065287 .fill-AA5{fill:#F7F8FE;} + .d2-985065287 .fill-AB4{fill:#EDF0FD;} + .d2-985065287 .fill-AB5{fill:#F7F8FE;} + .d2-985065287 .stroke-N1{stroke:#0A0F25;} + .d2-985065287 .stroke-N2{stroke:#676C7E;} + .d2-985065287 .stroke-N3{stroke:#9499AB;} + .d2-985065287 .stroke-N4{stroke:#CFD2DD;} + .d2-985065287 .stroke-N5{stroke:#DEE1EB;} + .d2-985065287 .stroke-N6{stroke:#EEF1F8;} + .d2-985065287 .stroke-N7{stroke:#FFFFFF;} + .d2-985065287 .stroke-B1{stroke:#0D32B2;} + .d2-985065287 .stroke-B2{stroke:#0D32B2;} + .d2-985065287 .stroke-B3{stroke:#E3E9FD;} + .d2-985065287 .stroke-B4{stroke:#E3E9FD;} + .d2-985065287 .stroke-B5{stroke:#EDF0FD;} + .d2-985065287 .stroke-B6{stroke:#F7F8FE;} + .d2-985065287 .stroke-AA2{stroke:#4A6FF3;} + .d2-985065287 .stroke-AA4{stroke:#EDF0FD;} + .d2-985065287 .stroke-AA5{stroke:#F7F8FE;} + .d2-985065287 .stroke-AB4{stroke:#EDF0FD;} + .d2-985065287 .stroke-AB5{stroke:#F7F8FE;} + .d2-985065287 .background-color-N1{background-color:#0A0F25;} + .d2-985065287 .background-color-N2{background-color:#676C7E;} + .d2-985065287 .background-color-N3{background-color:#9499AB;} + .d2-985065287 .background-color-N4{background-color:#CFD2DD;} + .d2-985065287 .background-color-N5{background-color:#DEE1EB;} + .d2-985065287 .background-color-N6{background-color:#EEF1F8;} + .d2-985065287 .background-color-N7{background-color:#FFFFFF;} + .d2-985065287 .background-color-B1{background-color:#0D32B2;} + .d2-985065287 .background-color-B2{background-color:#0D32B2;} + .d2-985065287 .background-color-B3{background-color:#E3E9FD;} + .d2-985065287 .background-color-B4{background-color:#E3E9FD;} + .d2-985065287 .background-color-B5{background-color:#EDF0FD;} + .d2-985065287 .background-color-B6{background-color:#F7F8FE;} + .d2-985065287 .background-color-AA2{background-color:#4A6FF3;} + .d2-985065287 .background-color-AA4{background-color:#EDF0FD;} + .d2-985065287 .background-color-AA5{background-color:#F7F8FE;} + .d2-985065287 .background-color-AB4{background-color:#EDF0FD;} + .d2-985065287 .background-color-AB5{background-color:#F7F8FE;} + .d2-985065287 .color-N1{color:#0A0F25;} + .d2-985065287 .color-N2{color:#676C7E;} + .d2-985065287 .color-N3{color:#9499AB;} + .d2-985065287 .color-N4{color:#CFD2DD;} + .d2-985065287 .color-N5{color:#DEE1EB;} + .d2-985065287 .color-N6{color:#EEF1F8;} + .d2-985065287 .color-N7{color:#FFFFFF;} + .d2-985065287 .color-B1{color:#0D32B2;} + .d2-985065287 .color-B2{color:#0D32B2;} + .d2-985065287 .color-B3{color:#E3E9FD;} + .d2-985065287 .color-B4{color:#E3E9FD;} + .d2-985065287 .color-B5{color:#EDF0FD;} + .d2-985065287 .color-B6{color:#F7F8FE;} + .d2-985065287 .color-AA2{color:#4A6FF3;} + .d2-985065287 .color-AA4{color:#EDF0FD;} + .d2-985065287 .color-AA5{color:#F7F8FE;} + .d2-985065287 .color-AB4{color:#EDF0FD;} + .d2-985065287 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xymultiple2double + +three-dee + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/border-radius/elk/sketch.exp.svg b/e2etests/testdata/stable/border-radius/elk/sketch.exp.svg index 3e0e0ed28..10c233c32 100644 --- a/e2etests/testdata/stable/border-radius/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/border-radius/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -xymultiple2double + .d2-1173661246 .fill-N1{fill:#0A0F25;} + .d2-1173661246 .fill-N2{fill:#676C7E;} + .d2-1173661246 .fill-N3{fill:#9499AB;} + .d2-1173661246 .fill-N4{fill:#CFD2DD;} + .d2-1173661246 .fill-N5{fill:#DEE1EB;} + .d2-1173661246 .fill-N6{fill:#EEF1F8;} + .d2-1173661246 .fill-N7{fill:#FFFFFF;} + .d2-1173661246 .fill-B1{fill:#0D32B2;} + .d2-1173661246 .fill-B2{fill:#0D32B2;} + .d2-1173661246 .fill-B3{fill:#E3E9FD;} + .d2-1173661246 .fill-B4{fill:#E3E9FD;} + .d2-1173661246 .fill-B5{fill:#EDF0FD;} + .d2-1173661246 .fill-B6{fill:#F7F8FE;} + .d2-1173661246 .fill-AA2{fill:#4A6FF3;} + .d2-1173661246 .fill-AA4{fill:#EDF0FD;} + .d2-1173661246 .fill-AA5{fill:#F7F8FE;} + .d2-1173661246 .fill-AB4{fill:#EDF0FD;} + .d2-1173661246 .fill-AB5{fill:#F7F8FE;} + .d2-1173661246 .stroke-N1{stroke:#0A0F25;} + .d2-1173661246 .stroke-N2{stroke:#676C7E;} + .d2-1173661246 .stroke-N3{stroke:#9499AB;} + .d2-1173661246 .stroke-N4{stroke:#CFD2DD;} + .d2-1173661246 .stroke-N5{stroke:#DEE1EB;} + .d2-1173661246 .stroke-N6{stroke:#EEF1F8;} + .d2-1173661246 .stroke-N7{stroke:#FFFFFF;} + .d2-1173661246 .stroke-B1{stroke:#0D32B2;} + .d2-1173661246 .stroke-B2{stroke:#0D32B2;} + .d2-1173661246 .stroke-B3{stroke:#E3E9FD;} + .d2-1173661246 .stroke-B4{stroke:#E3E9FD;} + .d2-1173661246 .stroke-B5{stroke:#EDF0FD;} + .d2-1173661246 .stroke-B6{stroke:#F7F8FE;} + .d2-1173661246 .stroke-AA2{stroke:#4A6FF3;} + .d2-1173661246 .stroke-AA4{stroke:#EDF0FD;} + .d2-1173661246 .stroke-AA5{stroke:#F7F8FE;} + .d2-1173661246 .stroke-AB4{stroke:#EDF0FD;} + .d2-1173661246 .stroke-AB5{stroke:#F7F8FE;} + .d2-1173661246 .background-color-N1{background-color:#0A0F25;} + .d2-1173661246 .background-color-N2{background-color:#676C7E;} + .d2-1173661246 .background-color-N3{background-color:#9499AB;} + .d2-1173661246 .background-color-N4{background-color:#CFD2DD;} + .d2-1173661246 .background-color-N5{background-color:#DEE1EB;} + .d2-1173661246 .background-color-N6{background-color:#EEF1F8;} + .d2-1173661246 .background-color-N7{background-color:#FFFFFF;} + .d2-1173661246 .background-color-B1{background-color:#0D32B2;} + .d2-1173661246 .background-color-B2{background-color:#0D32B2;} + .d2-1173661246 .background-color-B3{background-color:#E3E9FD;} + .d2-1173661246 .background-color-B4{background-color:#E3E9FD;} + .d2-1173661246 .background-color-B5{background-color:#EDF0FD;} + .d2-1173661246 .background-color-B6{background-color:#F7F8FE;} + .d2-1173661246 .background-color-AA2{background-color:#4A6FF3;} + .d2-1173661246 .background-color-AA4{background-color:#EDF0FD;} + .d2-1173661246 .background-color-AA5{background-color:#F7F8FE;} + .d2-1173661246 .background-color-AB4{background-color:#EDF0FD;} + .d2-1173661246 .background-color-AB5{background-color:#F7F8FE;} + .d2-1173661246 .color-N1{color:#0A0F25;} + .d2-1173661246 .color-N2{color:#676C7E;} + .d2-1173661246 .color-N3{color:#9499AB;} + .d2-1173661246 .color-N4{color:#CFD2DD;} + .d2-1173661246 .color-N5{color:#DEE1EB;} + .d2-1173661246 .color-N6{color:#EEF1F8;} + .d2-1173661246 .color-N7{color:#FFFFFF;} + .d2-1173661246 .color-B1{color:#0D32B2;} + .d2-1173661246 .color-B2{color:#0D32B2;} + .d2-1173661246 .color-B3{color:#E3E9FD;} + .d2-1173661246 .color-B4{color:#E3E9FD;} + .d2-1173661246 .color-B5{color:#EDF0FD;} + .d2-1173661246 .color-B6{color:#F7F8FE;} + .d2-1173661246 .color-AA2{color:#4A6FF3;} + .d2-1173661246 .color-AA4{color:#EDF0FD;} + .d2-1173661246 .color-AA5{color:#F7F8FE;} + .d2-1173661246 .color-AB4{color:#EDF0FD;} + .d2-1173661246 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xymultiple2double -three-dee +three-dee diff --git a/e2etests/testdata/stable/br/dagre/sketch.exp.svg b/e2etests/testdata/stable/br/dagre/sketch.exp.svg index ce21c2637..06499b293 100644 --- a/e2etests/testdata/stable/br/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/br/dagre/sketch.exp.svg @@ -1,13 +1,13 @@ -

    Headline 1

    @@ -840,7 +840,7 @@

    Headline 3

    This just disappears

    -
    +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/br/elk/sketch.exp.svg b/e2etests/testdata/stable/br/elk/sketch.exp.svg index 4dc8fdc94..1dcbf73c1 100644 --- a/e2etests/testdata/stable/br/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/br/elk/sketch.exp.svg @@ -1,13 +1,13 @@ -

    Headline 1

    @@ -840,7 +840,7 @@

    Headline 3

    This just disappears

    -
    +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/centered_horizontal_connections/dagre/board.exp.json b/e2etests/testdata/stable/centered_horizontal_connections/dagre/board.exp.json new file mode 100644 index 000000000..56fda7bc9 --- /dev/null +++ b/e2etests/testdata/stable/centered_horizontal_connections/dagre/board.exp.json @@ -0,0 +1,232 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "r1", + "type": "image", + "classes": [ + "rare" + ], + "pos": { + "x": 0, + "y": 0 + }, + "width": 32, + "height": 32, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N7", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "raw.githubusercontent.com", + "Path": "/frederic-loui/RARE-web/automated-update/docs/img/rare.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_MIDDLE_CENTER", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r1", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 14, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "r2", + "type": "image", + "classes": [ + "rare" + ], + "pos": { + "x": 132, + "y": 0 + }, + "width": 32, + "height": 32, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N7", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "raw.githubusercontent.com", + "Path": "/frederic-loui/RARE-web/automated-update/docs/img/rare.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_MIDDLE_CENTER", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r2", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 14, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(r1 <-> r2)[0]", + "src": "r1", + "srcArrow": "triangle", + "srcLabel": { + "label": "eth1", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 21 + }, + "dst": "r2", + "dstArrow": "triangle", + "dstLabel": { + "label": "eth1", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 21 + }, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 32, + "y": 16 + }, + { + "x": 72, + "y": 16 + }, + { + "x": 92, + "y": 16 + }, + { + "x": 132, + "y": 16 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "transparent", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/centered_horizontal_connections/dagre/sketch.exp.svg b/e2etests/testdata/stable/centered_horizontal_connections/dagre/sketch.exp.svg new file mode 100644 index 000000000..87efd2729 --- /dev/null +++ b/e2etests/testdata/stable/centered_horizontal_connections/dagre/sketch.exp.svg @@ -0,0 +1,103 @@ +r1r2 eth1eth1 + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/centered_horizontal_connections/elk/board.exp.json b/e2etests/testdata/stable/centered_horizontal_connections/elk/board.exp.json new file mode 100644 index 000000000..fdf65ac74 --- /dev/null +++ b/e2etests/testdata/stable/centered_horizontal_connections/elk/board.exp.json @@ -0,0 +1,223 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "r1", + "type": "image", + "classes": [ + "rare" + ], + "pos": { + "x": 12, + "y": 12 + }, + "width": 32, + "height": 32, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N7", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "raw.githubusercontent.com", + "Path": "/frederic-loui/RARE-web/automated-update/docs/img/rare.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_MIDDLE_CENTER", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r1", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 14, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "r2", + "type": "image", + "classes": [ + "rare" + ], + "pos": { + "x": 114, + "y": 12 + }, + "width": 32, + "height": 32, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N7", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "raw.githubusercontent.com", + "Path": "/frederic-loui/RARE-web/automated-update/docs/img/rare.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_MIDDLE_CENTER", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r2", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 14, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(r1 <-> r2)[0]", + "src": "r1", + "srcArrow": "triangle", + "srcLabel": { + "label": "eth1", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 21 + }, + "dst": "r2", + "dstArrow": "triangle", + "dstLabel": { + "label": "eth1", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 21 + }, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 44, + "y": 41 + }, + { + "x": 114, + "y": 41 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "transparent", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/centered_horizontal_connections/elk/sketch.exp.svg b/e2etests/testdata/stable/centered_horizontal_connections/elk/sketch.exp.svg new file mode 100644 index 000000000..e86a50c98 --- /dev/null +++ b/e2etests/testdata/stable/centered_horizontal_connections/elk/sketch.exp.svg @@ -0,0 +1,103 @@ +r1r2 eth1eth1 + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/chaos2/dagre/board.exp.json b/e2etests/testdata/stable/chaos2/dagre/board.exp.json index 6c720f8ad..6c41fddc7 100644 --- a/e2etests/testdata/stable/chaos2/dagre/board.exp.json +++ b/e2etests/testdata/stable/chaos2/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 41 + "y": 23 }, - "width": 813, - "height": 1314, + "width": 802, + "height": 1268, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,10 +49,10 @@ "type": "rectangle", "pos": { "x": 20, - "y": 106 + "y": 64 }, "width": 574, - "height": 1219, + "height": 1197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -89,11 +89,11 @@ "id": "aa.bb.cc", "type": "rectangle", "pos": { - "x": 40, - "y": 721 + "x": 42, + "y": 691 }, - "width": 343, - "height": 572, + "width": 253, + "height": 540, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -130,11 +130,11 @@ "id": "aa.bb.cc.dd", "type": "rectangle", "pos": { - "x": 62, - "y": 782 + "x": 72, + "y": 722 }, - "width": 213, - "height": 140, + "width": 193, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "text", "pos": { "x": 102, - "y": 842 + "y": 775 }, "width": 16, "height": 21, @@ -212,7 +212,7 @@ "type": "rectangle", "pos": { "x": 178, - "y": 819 + "y": 752 }, "width": 57, "height": 66, @@ -253,7 +253,7 @@ "type": "text", "pos": { "x": 171, - "y": 1043 + "y": 989 }, "width": 17, "height": 21, @@ -293,7 +293,7 @@ "type": "rectangle", "pos": { "x": 177, - "y": 1189 + "y": 1135 }, "width": 63, "height": 66, @@ -334,10 +334,10 @@ "type": "package", "pos": { "x": 140, - "y": 169 + "y": 100 }, "width": 434, - "height": 161, + "height": 192, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -375,7 +375,7 @@ "type": "diamond", "pos": { "x": 434, - "y": 204 + "y": 150 }, "width": 50, "height": 92, @@ -416,7 +416,7 @@ "type": "oval", "pos": { "x": 451, - "y": 1169 + "y": 1131 }, "width": 74, "height": 74, @@ -457,7 +457,7 @@ "type": "rectangle", "pos": { "x": 676, - "y": 772 + "y": 752 }, "width": 54, "height": 66, @@ -498,7 +498,7 @@ "type": "cylinder", "pos": { "x": 667, - "y": 433 + "y": 413 }, "width": 71, "height": 118, @@ -539,7 +539,7 @@ "type": "text", "pos": { "x": 633, - "y": 1178 + "y": 1158 }, "width": 16, "height": 21, @@ -579,7 +579,7 @@ "type": "rectangle", "pos": { "x": 709, - "y": 1155 + "y": 1135 }, "width": 63, "height": 66, @@ -643,19 +643,19 @@ "route": [ { "x": 109.75, - "y": 863.5 + "y": 796.5 }, { "x": 109.75, - "y": 910.2999877929688 + "y": 853.7000122070312 }, { "x": 121.94999694824219, - "y": 994.9000244140625 + "y": 940.9000244140625 }, { "x": 170.75, - "y": 1044.5 + "y": 990.5 } ], "isCurve": true, @@ -690,19 +690,19 @@ "route": [ { "x": 179.75, - "y": 1064 + "y": 1009.5 }, { "x": 179.75, - "y": 1112.4000244140625 + "y": 1058.300048828125 }, { "x": 183.5500030517578, - "y": 1137.5 + "y": 1083.5 }, { "x": 198.75, - "y": 1189.5 + "y": 1135.5 } ], "isCurve": true, @@ -737,43 +737,43 @@ "route": [ { "x": 192, - "y": 331 + "y": 292 }, { "x": 192.1999969482422, - "y": 379 + "y": 340.3999938964844 }, { "x": 192.25, - "y": 414.8999938964844 + "y": 376.3999938964844 }, { "x": 192.25, - "y": 450.75 + "y": 412.25 }, { "x": 192.25, - "y": 486.6000061035156 + "y": 448.1000061035156 }, { "x": 192.25, - "y": 534.4000244140625 + "y": 495.8999938964844 }, { "x": 192.25, - "y": 570.25 + "y": 531.75 }, { "x": 192.25, - "y": 606.0999755859375 + "y": 567.5999755859375 }, { "x": 192.25, - "y": 708.7999877929688 + "y": 666 }, { "x": 192.25, - "y": 782 + "y": 722 } ], "isCurve": true, @@ -808,11 +808,11 @@ "route": [ { "x": 675.75, - "y": 796.2960205078125 + "y": 775.7960205078125 }, { "x": 593.75, - "y": 804.2960205078125 + "y": 747.7960205078125 } ], "animated": false, @@ -846,19 +846,19 @@ "route": [ { "x": 667, - "y": 502 + "y": 482 }, { "x": 317.79901123046875, - "y": 590 + "y": 569.5999755859375 }, { "x": 230.5, - "y": 634 + "y": 611.5 }, { "x": 230.5, - "y": 722 + "y": 691.5 } ], "isCurve": true, @@ -893,31 +893,31 @@ "route": [ { "x": 703, - "y": 552 + "y": 531 }, { "x": 702.7999877929688, - "y": 600 + "y": 579.4000244140625 }, { "x": 702.75, - "y": 624.0999755859375 + "y": 603.5999755859375 }, { "x": 702.75, - "y": 642.25 + "y": 621.75 }, { "x": 702.75, - "y": 660.4000244140625 + "y": 639.9000244140625 }, { "x": 702.75, - "y": 732.5 + "y": 712 }, { "x": 702.75, - "y": 772.5 + "y": 752 } ], "isCurve": true, @@ -952,11 +952,11 @@ "route": [ { "x": 667, - "y": 464 + "y": 443 }, { "x": 594.25, - "y": 441.12298583984375 + "y": 384.62298583984375 } ], "animated": false, @@ -990,19 +990,19 @@ "route": [ { "x": 675.75, - "y": 810.9920043945312 + "y": 790.4920043945312 }, { "x": 370.95001220703125, - "y": 872.9979858398438 + "y": 852.4979858398438 }, { "x": 273.45001220703125, - "y": 968.8499755859375 + "y": 941.6500244140625 }, { "x": 188.25, - "y": 1048.251953125 + "y": 994.2520141601562 } ], "isCurve": true, @@ -1037,19 +1037,19 @@ "route": [ { "x": 667, - "y": 472 + "y": 451 }, { "x": 531.2000122070312, - "y": 392.79998779296875 + "y": 372.20001220703125 }, { "x": 497.20001220703125, - "y": 364.6000061035156 + "y": 340.3999938964844 }, { "x": 497, - "y": 331 + "y": 292 } ], "isCurve": true, @@ -1083,12 +1083,12 @@ "labelPercentage": 0, "route": [ { - "x": 383, - "y": 895.5 + "x": 294.75, + "y": 857.0599975585938 }, { "x": 675.75, - "y": 811.5599975585938 + "y": 791.0599975585938 } ], "animated": false, @@ -1122,55 +1122,55 @@ "route": [ { "x": 403, - "y": 331 + "y": 292 }, { "x": 402.79998779296875, - "y": 364.6000061035156 + "y": 340.3999938964844 }, { "x": 402.75, - "y": 396.8999938964844 + "y": 376.3999938964844 }, { "x": 402.75, - "y": 432.75 + "y": 412.25 }, { "x": 402.75, - "y": 468.6000061035156 + "y": 448.1000061035156 }, { "x": 402.75, - "y": 516.4000244140625 + "y": 495.8999938964844 }, { "x": 402.75, - "y": 552.25 + "y": 531.75 }, { "x": 402.75, - "y": 588.0999755859375 + "y": 567.5999755859375 }, { "x": 402.75, - "y": 624.0999755859375 + "y": 603.5999755859375 }, { "x": 402.75, - "y": 642.25 + "y": 621.75 }, { "x": 402.75, - "y": 660.4000244140625 + "y": 639.9000244140625 }, { "x": 457.3500061035156, - "y": 737.6060180664062 + "y": 717.1060180664062 }, { "x": 675.75, - "y": 798.030029296875 + "y": 777.530029296875 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/chaos2/dagre/sketch.exp.svg b/e2etests/testdata/stable/chaos2/dagre/sketch.exp.svg index ead9b6534..6c30532ad 100644 --- a/e2etests/testdata/stable/chaos2/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/chaos2/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 - - - - - - - - - - - - - - - - - - - - - - - - +aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/chaos2/elk/board.exp.json b/e2etests/testdata/stable/chaos2/elk/board.exp.json index f6c711b04..fe2d77e90 100644 --- a/e2etests/testdata/stable/chaos2/elk/board.exp.json +++ b/e2etests/testdata/stable/chaos2/elk/board.exp.json @@ -11,7 +11,7 @@ "y": 12 }, "width": 720, - "height": 1946, + "height": 1951, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -52,7 +52,7 @@ "y": 466 }, "width": 525, - "height": 1090, + "height": 1095, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 241, - "y": 816 + "y": 821 }, "width": 334, "height": 690, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 291, - "y": 866 + "y": 871 }, "width": 193, "height": 166, @@ -172,7 +172,7 @@ "type": "text", "pos": { "x": 341, - "y": 961 + "y": 966 }, "width": 16, "height": 21, @@ -212,7 +212,7 @@ "type": "rectangle", "pos": { "x": 377, - "y": 916 + "y": 921 }, "width": 57, "height": 66, @@ -253,7 +253,7 @@ "type": "text", "pos": { "x": 396, - "y": 1208 + "y": 1213 }, "width": 80, "height": 21, @@ -293,7 +293,7 @@ "type": "rectangle", "pos": { "x": 405, - "y": 1390 + "y": 1395 }, "width": 63, "height": 66, @@ -337,7 +337,7 @@ "y": 516 }, "width": 150, - "height": 215, + "height": 220, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -375,7 +375,7 @@ "type": "diamond", "pos": { "x": 200, - "y": 589 + "y": 594 }, "width": 50, "height": 92, @@ -416,7 +416,7 @@ "type": "oval", "pos": { "x": 323, - "y": 586 + "y": 589 }, "width": 74, "height": 74, @@ -457,7 +457,7 @@ "type": "rectangle", "pos": { "x": 259, - "y": 1842 + "y": 1847 }, "width": 120, "height": 66, @@ -643,19 +643,19 @@ "route": [ { "x": 349, - "y": 982 + "y": 987 }, { "x": 349, - "y": 1168 + "y": 1173 }, { "x": 423.1659851074219, - "y": 1168 + "y": 1173 }, { "x": 423.1659851074219, - "y": 1208 + "y": 1213 } ], "animated": false, @@ -689,11 +689,11 @@ "route": [ { "x": 436.5, - "y": 1229 + "y": 1234 }, { "x": 436.5, - "y": 1390 + "y": 1395 } ], "animated": false, @@ -727,19 +727,19 @@ "route": [ { "x": 250, - "y": 731 + "y": 736 }, { "x": 250, - "y": 771 + "y": 776 }, { "x": 359, - "y": 771 + "y": 776 }, { "x": 359, - "y": 866 + "y": 871 } ], "animated": false, @@ -773,15 +773,15 @@ "route": [ { "x": 279.8330078125, - "y": 1842 + "y": 1847 }, { "x": 279.8330078125, - "y": 1802 + "y": 1807 }, { "x": 70.5, - "y": 1802 + "y": 1807 }, { "x": 70.5, @@ -839,7 +839,7 @@ }, { "x": 447.25, - "y": 816 + "y": 821 } ], "animated": false, @@ -885,15 +885,15 @@ }, { "x": 680.5, - "y": 1752 + "y": 1757 }, { "x": 359.8330078125, - "y": 1752 + "y": 1757 }, { "x": 359.8330078125, - "y": 1842 + "y": 1847 } ], "animated": false, @@ -965,15 +965,15 @@ "route": [ { "x": 339.8330078125, - "y": 1842 + "y": 1847 }, { "x": 339.8330078125, - "y": 1702 + "y": 1707 }, { "x": 665, - "y": 1702 + "y": 1707 }, { "x": 665, @@ -985,15 +985,15 @@ }, { "x": 524, - "y": 1168 + "y": 1173 }, { "x": 449.8330078125, - "y": 1168 + "y": 1173 }, { "x": 449.8330078125, - "y": 1208 + "y": 1213 } ], "animated": false, @@ -1073,19 +1073,19 @@ "route": [ { "x": 309.6659851074219, - "y": 1506 + "y": 1511 }, { "x": 309.6659851074219, - "y": 1702 + "y": 1707 }, { "x": 319.8330078125, - "y": 1702 + "y": 1707 }, { "x": 319.8330078125, - "y": 1842 + "y": 1847 } ], "animated": false, @@ -1119,19 +1119,19 @@ "route": [ { "x": 200, - "y": 731 + "y": 736 }, { "x": 200, - "y": 1752 + "y": 1757 }, { "x": 299.8330078125, - "y": 1752 + "y": 1757 }, { "x": 299.8330078125, - "y": 1842 + "y": 1847 } ], "animated": false, diff --git a/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg b/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg index f5ac51868..dffb9b70b 100644 --- a/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 - +aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - - + + \ No newline at end of file diff --git a/e2etests/testdata/stable/circle_arrowhead/dagre/board.exp.json b/e2etests/testdata/stable/circle_arrowhead/dagre/board.exp.json index 3b17bb5df..233454bdb 100644 --- a/e2etests/testdata/stable/circle_arrowhead/dagre/board.exp.json +++ b/e2etests/testdata/stable/circle_arrowhead/dagre/board.exp.json @@ -195,11 +195,11 @@ "route": [ { "x": 26.5, - "y": 66 + "y": 65.5 }, { "x": 26.5, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 26.5, @@ -242,11 +242,11 @@ "route": [ { "x": 140, - "y": 66 + "y": 65.5 }, { "x": 140, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 140, diff --git a/e2etests/testdata/stable/circle_arrowhead/dagre/sketch.exp.svg b/e2etests/testdata/stable/circle_arrowhead/dagre/sketch.exp.svg index 400e0c53b..8aa6d669c 100644 --- a/e2etests/testdata/stable/circle_arrowhead/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/circle_arrowhead/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abcd circle filled-circle + .d2-1964876090 .fill-N1{fill:#0A0F25;} + .d2-1964876090 .fill-N2{fill:#676C7E;} + .d2-1964876090 .fill-N3{fill:#9499AB;} + .d2-1964876090 .fill-N4{fill:#CFD2DD;} + .d2-1964876090 .fill-N5{fill:#DEE1EB;} + .d2-1964876090 .fill-N6{fill:#EEF1F8;} + .d2-1964876090 .fill-N7{fill:#FFFFFF;} + .d2-1964876090 .fill-B1{fill:#0D32B2;} + .d2-1964876090 .fill-B2{fill:#0D32B2;} + .d2-1964876090 .fill-B3{fill:#E3E9FD;} + .d2-1964876090 .fill-B4{fill:#E3E9FD;} + .d2-1964876090 .fill-B5{fill:#EDF0FD;} + .d2-1964876090 .fill-B6{fill:#F7F8FE;} + .d2-1964876090 .fill-AA2{fill:#4A6FF3;} + .d2-1964876090 .fill-AA4{fill:#EDF0FD;} + .d2-1964876090 .fill-AA5{fill:#F7F8FE;} + .d2-1964876090 .fill-AB4{fill:#EDF0FD;} + .d2-1964876090 .fill-AB5{fill:#F7F8FE;} + .d2-1964876090 .stroke-N1{stroke:#0A0F25;} + .d2-1964876090 .stroke-N2{stroke:#676C7E;} + .d2-1964876090 .stroke-N3{stroke:#9499AB;} + .d2-1964876090 .stroke-N4{stroke:#CFD2DD;} + .d2-1964876090 .stroke-N5{stroke:#DEE1EB;} + .d2-1964876090 .stroke-N6{stroke:#EEF1F8;} + .d2-1964876090 .stroke-N7{stroke:#FFFFFF;} + .d2-1964876090 .stroke-B1{stroke:#0D32B2;} + .d2-1964876090 .stroke-B2{stroke:#0D32B2;} + .d2-1964876090 .stroke-B3{stroke:#E3E9FD;} + .d2-1964876090 .stroke-B4{stroke:#E3E9FD;} + .d2-1964876090 .stroke-B5{stroke:#EDF0FD;} + .d2-1964876090 .stroke-B6{stroke:#F7F8FE;} + .d2-1964876090 .stroke-AA2{stroke:#4A6FF3;} + .d2-1964876090 .stroke-AA4{stroke:#EDF0FD;} + .d2-1964876090 .stroke-AA5{stroke:#F7F8FE;} + .d2-1964876090 .stroke-AB4{stroke:#EDF0FD;} + .d2-1964876090 .stroke-AB5{stroke:#F7F8FE;} + .d2-1964876090 .background-color-N1{background-color:#0A0F25;} + .d2-1964876090 .background-color-N2{background-color:#676C7E;} + .d2-1964876090 .background-color-N3{background-color:#9499AB;} + .d2-1964876090 .background-color-N4{background-color:#CFD2DD;} + .d2-1964876090 .background-color-N5{background-color:#DEE1EB;} + .d2-1964876090 .background-color-N6{background-color:#EEF1F8;} + .d2-1964876090 .background-color-N7{background-color:#FFFFFF;} + .d2-1964876090 .background-color-B1{background-color:#0D32B2;} + .d2-1964876090 .background-color-B2{background-color:#0D32B2;} + .d2-1964876090 .background-color-B3{background-color:#E3E9FD;} + .d2-1964876090 .background-color-B4{background-color:#E3E9FD;} + .d2-1964876090 .background-color-B5{background-color:#EDF0FD;} + .d2-1964876090 .background-color-B6{background-color:#F7F8FE;} + .d2-1964876090 .background-color-AA2{background-color:#4A6FF3;} + .d2-1964876090 .background-color-AA4{background-color:#EDF0FD;} + .d2-1964876090 .background-color-AA5{background-color:#F7F8FE;} + .d2-1964876090 .background-color-AB4{background-color:#EDF0FD;} + .d2-1964876090 .background-color-AB5{background-color:#F7F8FE;} + .d2-1964876090 .color-N1{color:#0A0F25;} + .d2-1964876090 .color-N2{color:#676C7E;} + .d2-1964876090 .color-N3{color:#9499AB;} + .d2-1964876090 .color-N4{color:#CFD2DD;} + .d2-1964876090 .color-N5{color:#DEE1EB;} + .d2-1964876090 .color-N6{color:#EEF1F8;} + .d2-1964876090 .color-N7{color:#FFFFFF;} + .d2-1964876090 .color-B1{color:#0D32B2;} + .d2-1964876090 .color-B2{color:#0D32B2;} + .d2-1964876090 .color-B3{color:#E3E9FD;} + .d2-1964876090 .color-B4{color:#E3E9FD;} + .d2-1964876090 .color-B5{color:#EDF0FD;} + .d2-1964876090 .color-B6{color:#F7F8FE;} + .d2-1964876090 .color-AA2{color:#4A6FF3;} + .d2-1964876090 .color-AA4{color:#EDF0FD;} + .d2-1964876090 .color-AA5{color:#F7F8FE;} + .d2-1964876090 .color-AB4{color:#EDF0FD;} + .d2-1964876090 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcd circle filled-circle diff --git a/e2etests/testdata/stable/circle_arrowhead/elk/sketch.exp.svg b/e2etests/testdata/stable/circle_arrowhead/elk/sketch.exp.svg index 065ee383b..c9bf38b21 100644 --- a/e2etests/testdata/stable/circle_arrowhead/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/circle_arrowhead/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abcd circle filled-circle + .d2-2475695899 .fill-N1{fill:#0A0F25;} + .d2-2475695899 .fill-N2{fill:#676C7E;} + .d2-2475695899 .fill-N3{fill:#9499AB;} + .d2-2475695899 .fill-N4{fill:#CFD2DD;} + .d2-2475695899 .fill-N5{fill:#DEE1EB;} + .d2-2475695899 .fill-N6{fill:#EEF1F8;} + .d2-2475695899 .fill-N7{fill:#FFFFFF;} + .d2-2475695899 .fill-B1{fill:#0D32B2;} + .d2-2475695899 .fill-B2{fill:#0D32B2;} + .d2-2475695899 .fill-B3{fill:#E3E9FD;} + .d2-2475695899 .fill-B4{fill:#E3E9FD;} + .d2-2475695899 .fill-B5{fill:#EDF0FD;} + .d2-2475695899 .fill-B6{fill:#F7F8FE;} + .d2-2475695899 .fill-AA2{fill:#4A6FF3;} + .d2-2475695899 .fill-AA4{fill:#EDF0FD;} + .d2-2475695899 .fill-AA5{fill:#F7F8FE;} + .d2-2475695899 .fill-AB4{fill:#EDF0FD;} + .d2-2475695899 .fill-AB5{fill:#F7F8FE;} + .d2-2475695899 .stroke-N1{stroke:#0A0F25;} + .d2-2475695899 .stroke-N2{stroke:#676C7E;} + .d2-2475695899 .stroke-N3{stroke:#9499AB;} + .d2-2475695899 .stroke-N4{stroke:#CFD2DD;} + .d2-2475695899 .stroke-N5{stroke:#DEE1EB;} + .d2-2475695899 .stroke-N6{stroke:#EEF1F8;} + .d2-2475695899 .stroke-N7{stroke:#FFFFFF;} + .d2-2475695899 .stroke-B1{stroke:#0D32B2;} + .d2-2475695899 .stroke-B2{stroke:#0D32B2;} + .d2-2475695899 .stroke-B3{stroke:#E3E9FD;} + .d2-2475695899 .stroke-B4{stroke:#E3E9FD;} + .d2-2475695899 .stroke-B5{stroke:#EDF0FD;} + .d2-2475695899 .stroke-B6{stroke:#F7F8FE;} + .d2-2475695899 .stroke-AA2{stroke:#4A6FF3;} + .d2-2475695899 .stroke-AA4{stroke:#EDF0FD;} + .d2-2475695899 .stroke-AA5{stroke:#F7F8FE;} + .d2-2475695899 .stroke-AB4{stroke:#EDF0FD;} + .d2-2475695899 .stroke-AB5{stroke:#F7F8FE;} + .d2-2475695899 .background-color-N1{background-color:#0A0F25;} + .d2-2475695899 .background-color-N2{background-color:#676C7E;} + .d2-2475695899 .background-color-N3{background-color:#9499AB;} + .d2-2475695899 .background-color-N4{background-color:#CFD2DD;} + .d2-2475695899 .background-color-N5{background-color:#DEE1EB;} + .d2-2475695899 .background-color-N6{background-color:#EEF1F8;} + .d2-2475695899 .background-color-N7{background-color:#FFFFFF;} + .d2-2475695899 .background-color-B1{background-color:#0D32B2;} + .d2-2475695899 .background-color-B2{background-color:#0D32B2;} + .d2-2475695899 .background-color-B3{background-color:#E3E9FD;} + .d2-2475695899 .background-color-B4{background-color:#E3E9FD;} + .d2-2475695899 .background-color-B5{background-color:#EDF0FD;} + .d2-2475695899 .background-color-B6{background-color:#F7F8FE;} + .d2-2475695899 .background-color-AA2{background-color:#4A6FF3;} + .d2-2475695899 .background-color-AA4{background-color:#EDF0FD;} + .d2-2475695899 .background-color-AA5{background-color:#F7F8FE;} + .d2-2475695899 .background-color-AB4{background-color:#EDF0FD;} + .d2-2475695899 .background-color-AB5{background-color:#F7F8FE;} + .d2-2475695899 .color-N1{color:#0A0F25;} + .d2-2475695899 .color-N2{color:#676C7E;} + .d2-2475695899 .color-N3{color:#9499AB;} + .d2-2475695899 .color-N4{color:#CFD2DD;} + .d2-2475695899 .color-N5{color:#DEE1EB;} + .d2-2475695899 .color-N6{color:#EEF1F8;} + .d2-2475695899 .color-N7{color:#FFFFFF;} + .d2-2475695899 .color-B1{color:#0D32B2;} + .d2-2475695899 .color-B2{color:#0D32B2;} + .d2-2475695899 .color-B3{color:#E3E9FD;} + .d2-2475695899 .color-B4{color:#E3E9FD;} + .d2-2475695899 .color-B5{color:#EDF0FD;} + .d2-2475695899 .color-B6{color:#F7F8FE;} + .d2-2475695899 .color-AA2{color:#4A6FF3;} + .d2-2475695899 .color-AA4{color:#EDF0FD;} + .d2-2475695899 .color-AA5{color:#F7F8FE;} + .d2-2475695899 .color-AB4{color:#EDF0FD;} + .d2-2475695899 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcd circle filled-circle diff --git a/e2etests/testdata/stable/circular_dependency/dagre/board.exp.json b/e2etests/testdata/stable/circular_dependency/dagre/board.exp.json index ae5607b91..92810f68e 100644 --- a/e2etests/testdata/stable/circular_dependency/dagre/board.exp.json +++ b/e2etests/testdata/stable/circular_dependency/dagre/board.exp.json @@ -153,11 +153,11 @@ "labelPercentage": 0, "route": [ { - "x": 22.52400016784668, + "x": 22.5, "y": 66 }, { - "x": 17.70400047302246, + "x": 17.700000762939453, "y": 106 }, { @@ -200,11 +200,11 @@ "labelPercentage": 0, "route": [ { - "x": 22.52400016784668, + "x": 22.5, "y": 232 }, { - "x": 17.70400047302246, + "x": 17.700000762939453, "y": 272 }, { @@ -247,11 +247,11 @@ "labelPercentage": 0, "route": [ { - "x": 30.475000381469727, + "x": 30.5, "y": 332 }, { - "x": 35.29499816894531, + "x": 35.29999923706055, "y": 292 }, { @@ -294,11 +294,11 @@ "labelPercentage": 0, "route": [ { - "x": 30.475000381469727, + "x": 30.5, "y": 166 }, { - "x": 35.29499816894531, + "x": 35.29999923706055, "y": 126 }, { diff --git a/e2etests/testdata/stable/circular_dependency/dagre/sketch.exp.svg b/e2etests/testdata/stable/circular_dependency/dagre/sketch.exp.svg index bea32ac65..84cf11bf5 100644 --- a/e2etests/testdata/stable/circular_dependency/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/circular_dependency/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abc + .d2-3859270131 .fill-N1{fill:#0A0F25;} + .d2-3859270131 .fill-N2{fill:#676C7E;} + .d2-3859270131 .fill-N3{fill:#9499AB;} + .d2-3859270131 .fill-N4{fill:#CFD2DD;} + .d2-3859270131 .fill-N5{fill:#DEE1EB;} + .d2-3859270131 .fill-N6{fill:#EEF1F8;} + .d2-3859270131 .fill-N7{fill:#FFFFFF;} + .d2-3859270131 .fill-B1{fill:#0D32B2;} + .d2-3859270131 .fill-B2{fill:#0D32B2;} + .d2-3859270131 .fill-B3{fill:#E3E9FD;} + .d2-3859270131 .fill-B4{fill:#E3E9FD;} + .d2-3859270131 .fill-B5{fill:#EDF0FD;} + .d2-3859270131 .fill-B6{fill:#F7F8FE;} + .d2-3859270131 .fill-AA2{fill:#4A6FF3;} + .d2-3859270131 .fill-AA4{fill:#EDF0FD;} + .d2-3859270131 .fill-AA5{fill:#F7F8FE;} + .d2-3859270131 .fill-AB4{fill:#EDF0FD;} + .d2-3859270131 .fill-AB5{fill:#F7F8FE;} + .d2-3859270131 .stroke-N1{stroke:#0A0F25;} + .d2-3859270131 .stroke-N2{stroke:#676C7E;} + .d2-3859270131 .stroke-N3{stroke:#9499AB;} + .d2-3859270131 .stroke-N4{stroke:#CFD2DD;} + .d2-3859270131 .stroke-N5{stroke:#DEE1EB;} + .d2-3859270131 .stroke-N6{stroke:#EEF1F8;} + .d2-3859270131 .stroke-N7{stroke:#FFFFFF;} + .d2-3859270131 .stroke-B1{stroke:#0D32B2;} + .d2-3859270131 .stroke-B2{stroke:#0D32B2;} + .d2-3859270131 .stroke-B3{stroke:#E3E9FD;} + .d2-3859270131 .stroke-B4{stroke:#E3E9FD;} + .d2-3859270131 .stroke-B5{stroke:#EDF0FD;} + .d2-3859270131 .stroke-B6{stroke:#F7F8FE;} + .d2-3859270131 .stroke-AA2{stroke:#4A6FF3;} + .d2-3859270131 .stroke-AA4{stroke:#EDF0FD;} + .d2-3859270131 .stroke-AA5{stroke:#F7F8FE;} + .d2-3859270131 .stroke-AB4{stroke:#EDF0FD;} + .d2-3859270131 .stroke-AB5{stroke:#F7F8FE;} + .d2-3859270131 .background-color-N1{background-color:#0A0F25;} + .d2-3859270131 .background-color-N2{background-color:#676C7E;} + .d2-3859270131 .background-color-N3{background-color:#9499AB;} + .d2-3859270131 .background-color-N4{background-color:#CFD2DD;} + .d2-3859270131 .background-color-N5{background-color:#DEE1EB;} + .d2-3859270131 .background-color-N6{background-color:#EEF1F8;} + .d2-3859270131 .background-color-N7{background-color:#FFFFFF;} + .d2-3859270131 .background-color-B1{background-color:#0D32B2;} + .d2-3859270131 .background-color-B2{background-color:#0D32B2;} + .d2-3859270131 .background-color-B3{background-color:#E3E9FD;} + .d2-3859270131 .background-color-B4{background-color:#E3E9FD;} + .d2-3859270131 .background-color-B5{background-color:#EDF0FD;} + .d2-3859270131 .background-color-B6{background-color:#F7F8FE;} + .d2-3859270131 .background-color-AA2{background-color:#4A6FF3;} + .d2-3859270131 .background-color-AA4{background-color:#EDF0FD;} + .d2-3859270131 .background-color-AA5{background-color:#F7F8FE;} + .d2-3859270131 .background-color-AB4{background-color:#EDF0FD;} + .d2-3859270131 .background-color-AB5{background-color:#F7F8FE;} + .d2-3859270131 .color-N1{color:#0A0F25;} + .d2-3859270131 .color-N2{color:#676C7E;} + .d2-3859270131 .color-N3{color:#9499AB;} + .d2-3859270131 .color-N4{color:#CFD2DD;} + .d2-3859270131 .color-N5{color:#DEE1EB;} + .d2-3859270131 .color-N6{color:#EEF1F8;} + .d2-3859270131 .color-N7{color:#FFFFFF;} + .d2-3859270131 .color-B1{color:#0D32B2;} + .d2-3859270131 .color-B2{color:#0D32B2;} + .d2-3859270131 .color-B3{color:#E3E9FD;} + .d2-3859270131 .color-B4{color:#E3E9FD;} + .d2-3859270131 .color-B5{color:#EDF0FD;} + .d2-3859270131 .color-B6{color:#F7F8FE;} + .d2-3859270131 .color-AA2{color:#4A6FF3;} + .d2-3859270131 .color-AA4{color:#EDF0FD;} + .d2-3859270131 .color-AA5{color:#F7F8FE;} + .d2-3859270131 .color-AB4{color:#EDF0FD;} + .d2-3859270131 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc diff --git a/e2etests/testdata/stable/circular_dependency/elk/sketch.exp.svg b/e2etests/testdata/stable/circular_dependency/elk/sketch.exp.svg index 2bf96323b..01b29bea0 100644 --- a/e2etests/testdata/stable/circular_dependency/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/circular_dependency/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abc + .d2-3022025952 .fill-N1{fill:#0A0F25;} + .d2-3022025952 .fill-N2{fill:#676C7E;} + .d2-3022025952 .fill-N3{fill:#9499AB;} + .d2-3022025952 .fill-N4{fill:#CFD2DD;} + .d2-3022025952 .fill-N5{fill:#DEE1EB;} + .d2-3022025952 .fill-N6{fill:#EEF1F8;} + .d2-3022025952 .fill-N7{fill:#FFFFFF;} + .d2-3022025952 .fill-B1{fill:#0D32B2;} + .d2-3022025952 .fill-B2{fill:#0D32B2;} + .d2-3022025952 .fill-B3{fill:#E3E9FD;} + .d2-3022025952 .fill-B4{fill:#E3E9FD;} + .d2-3022025952 .fill-B5{fill:#EDF0FD;} + .d2-3022025952 .fill-B6{fill:#F7F8FE;} + .d2-3022025952 .fill-AA2{fill:#4A6FF3;} + .d2-3022025952 .fill-AA4{fill:#EDF0FD;} + .d2-3022025952 .fill-AA5{fill:#F7F8FE;} + .d2-3022025952 .fill-AB4{fill:#EDF0FD;} + .d2-3022025952 .fill-AB5{fill:#F7F8FE;} + .d2-3022025952 .stroke-N1{stroke:#0A0F25;} + .d2-3022025952 .stroke-N2{stroke:#676C7E;} + .d2-3022025952 .stroke-N3{stroke:#9499AB;} + .d2-3022025952 .stroke-N4{stroke:#CFD2DD;} + .d2-3022025952 .stroke-N5{stroke:#DEE1EB;} + .d2-3022025952 .stroke-N6{stroke:#EEF1F8;} + .d2-3022025952 .stroke-N7{stroke:#FFFFFF;} + .d2-3022025952 .stroke-B1{stroke:#0D32B2;} + .d2-3022025952 .stroke-B2{stroke:#0D32B2;} + .d2-3022025952 .stroke-B3{stroke:#E3E9FD;} + .d2-3022025952 .stroke-B4{stroke:#E3E9FD;} + .d2-3022025952 .stroke-B5{stroke:#EDF0FD;} + .d2-3022025952 .stroke-B6{stroke:#F7F8FE;} + .d2-3022025952 .stroke-AA2{stroke:#4A6FF3;} + .d2-3022025952 .stroke-AA4{stroke:#EDF0FD;} + .d2-3022025952 .stroke-AA5{stroke:#F7F8FE;} + .d2-3022025952 .stroke-AB4{stroke:#EDF0FD;} + .d2-3022025952 .stroke-AB5{stroke:#F7F8FE;} + .d2-3022025952 .background-color-N1{background-color:#0A0F25;} + .d2-3022025952 .background-color-N2{background-color:#676C7E;} + .d2-3022025952 .background-color-N3{background-color:#9499AB;} + .d2-3022025952 .background-color-N4{background-color:#CFD2DD;} + .d2-3022025952 .background-color-N5{background-color:#DEE1EB;} + .d2-3022025952 .background-color-N6{background-color:#EEF1F8;} + .d2-3022025952 .background-color-N7{background-color:#FFFFFF;} + .d2-3022025952 .background-color-B1{background-color:#0D32B2;} + .d2-3022025952 .background-color-B2{background-color:#0D32B2;} + .d2-3022025952 .background-color-B3{background-color:#E3E9FD;} + .d2-3022025952 .background-color-B4{background-color:#E3E9FD;} + .d2-3022025952 .background-color-B5{background-color:#EDF0FD;} + .d2-3022025952 .background-color-B6{background-color:#F7F8FE;} + .d2-3022025952 .background-color-AA2{background-color:#4A6FF3;} + .d2-3022025952 .background-color-AA4{background-color:#EDF0FD;} + .d2-3022025952 .background-color-AA5{background-color:#F7F8FE;} + .d2-3022025952 .background-color-AB4{background-color:#EDF0FD;} + .d2-3022025952 .background-color-AB5{background-color:#F7F8FE;} + .d2-3022025952 .color-N1{color:#0A0F25;} + .d2-3022025952 .color-N2{color:#676C7E;} + .d2-3022025952 .color-N3{color:#9499AB;} + .d2-3022025952 .color-N4{color:#CFD2DD;} + .d2-3022025952 .color-N5{color:#DEE1EB;} + .d2-3022025952 .color-N6{color:#EEF1F8;} + .d2-3022025952 .color-N7{color:#FFFFFF;} + .d2-3022025952 .color-B1{color:#0D32B2;} + .d2-3022025952 .color-B2{color:#0D32B2;} + .d2-3022025952 .color-B3{color:#E3E9FD;} + .d2-3022025952 .color-B4{color:#E3E9FD;} + .d2-3022025952 .color-B5{color:#EDF0FD;} + .d2-3022025952 .color-B6{color:#F7F8FE;} + .d2-3022025952 .color-AA2{color:#4A6FF3;} + .d2-3022025952 .color-AA4{color:#EDF0FD;} + .d2-3022025952 .color-AA5{color:#F7F8FE;} + .d2-3022025952 .color-AB4{color:#EDF0FD;} + .d2-3022025952 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abc diff --git a/e2etests/testdata/stable/class/dagre/sketch.exp.svg b/e2etests/testdata/stable/class/dagre/sketch.exp.svg index 39f265fc0..fd5c0aeb7 100644 --- a/e2etests/testdata/stable/class/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/class/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-2730605657 .fill-N1{fill:#0A0F25;} + .d2-2730605657 .fill-N2{fill:#676C7E;} + .d2-2730605657 .fill-N3{fill:#9499AB;} + .d2-2730605657 .fill-N4{fill:#CFD2DD;} + .d2-2730605657 .fill-N5{fill:#DEE1EB;} + .d2-2730605657 .fill-N6{fill:#EEF1F8;} + .d2-2730605657 .fill-N7{fill:#FFFFFF;} + .d2-2730605657 .fill-B1{fill:#0D32B2;} + .d2-2730605657 .fill-B2{fill:#0D32B2;} + .d2-2730605657 .fill-B3{fill:#E3E9FD;} + .d2-2730605657 .fill-B4{fill:#E3E9FD;} + .d2-2730605657 .fill-B5{fill:#EDF0FD;} + .d2-2730605657 .fill-B6{fill:#F7F8FE;} + .d2-2730605657 .fill-AA2{fill:#4A6FF3;} + .d2-2730605657 .fill-AA4{fill:#EDF0FD;} + .d2-2730605657 .fill-AA5{fill:#F7F8FE;} + .d2-2730605657 .fill-AB4{fill:#EDF0FD;} + .d2-2730605657 .fill-AB5{fill:#F7F8FE;} + .d2-2730605657 .stroke-N1{stroke:#0A0F25;} + .d2-2730605657 .stroke-N2{stroke:#676C7E;} + .d2-2730605657 .stroke-N3{stroke:#9499AB;} + .d2-2730605657 .stroke-N4{stroke:#CFD2DD;} + .d2-2730605657 .stroke-N5{stroke:#DEE1EB;} + .d2-2730605657 .stroke-N6{stroke:#EEF1F8;} + .d2-2730605657 .stroke-N7{stroke:#FFFFFF;} + .d2-2730605657 .stroke-B1{stroke:#0D32B2;} + .d2-2730605657 .stroke-B2{stroke:#0D32B2;} + .d2-2730605657 .stroke-B3{stroke:#E3E9FD;} + .d2-2730605657 .stroke-B4{stroke:#E3E9FD;} + .d2-2730605657 .stroke-B5{stroke:#EDF0FD;} + .d2-2730605657 .stroke-B6{stroke:#F7F8FE;} + .d2-2730605657 .stroke-AA2{stroke:#4A6FF3;} + .d2-2730605657 .stroke-AA4{stroke:#EDF0FD;} + .d2-2730605657 .stroke-AA5{stroke:#F7F8FE;} + .d2-2730605657 .stroke-AB4{stroke:#EDF0FD;} + .d2-2730605657 .stroke-AB5{stroke:#F7F8FE;} + .d2-2730605657 .background-color-N1{background-color:#0A0F25;} + .d2-2730605657 .background-color-N2{background-color:#676C7E;} + .d2-2730605657 .background-color-N3{background-color:#9499AB;} + .d2-2730605657 .background-color-N4{background-color:#CFD2DD;} + .d2-2730605657 .background-color-N5{background-color:#DEE1EB;} + .d2-2730605657 .background-color-N6{background-color:#EEF1F8;} + .d2-2730605657 .background-color-N7{background-color:#FFFFFF;} + .d2-2730605657 .background-color-B1{background-color:#0D32B2;} + .d2-2730605657 .background-color-B2{background-color:#0D32B2;} + .d2-2730605657 .background-color-B3{background-color:#E3E9FD;} + .d2-2730605657 .background-color-B4{background-color:#E3E9FD;} + .d2-2730605657 .background-color-B5{background-color:#EDF0FD;} + .d2-2730605657 .background-color-B6{background-color:#F7F8FE;} + .d2-2730605657 .background-color-AA2{background-color:#4A6FF3;} + .d2-2730605657 .background-color-AA4{background-color:#EDF0FD;} + .d2-2730605657 .background-color-AA5{background-color:#F7F8FE;} + .d2-2730605657 .background-color-AB4{background-color:#EDF0FD;} + .d2-2730605657 .background-color-AB5{background-color:#F7F8FE;} + .d2-2730605657 .color-N1{color:#0A0F25;} + .d2-2730605657 .color-N2{color:#676C7E;} + .d2-2730605657 .color-N3{color:#9499AB;} + .d2-2730605657 .color-N4{color:#CFD2DD;} + .d2-2730605657 .color-N5{color:#DEE1EB;} + .d2-2730605657 .color-N6{color:#EEF1F8;} + .d2-2730605657 .color-N7{color:#FFFFFF;} + .d2-2730605657 .color-B1{color:#0D32B2;} + .d2-2730605657 .color-B2{color:#0D32B2;} + .d2-2730605657 .color-B3{color:#E3E9FD;} + .d2-2730605657 .color-B4{color:#E3E9FD;} + .d2-2730605657 .color-B5{color:#EDF0FD;} + .d2-2730605657 .color-B6{color:#F7F8FE;} + .d2-2730605657 .color-AA2{color:#4A6FF3;} + .d2-2730605657 .color-AA4{color:#EDF0FD;} + .d2-2730605657 .color-AA5{color:#F7F8FE;} + .d2-2730605657 .color-AB4{color:#EDF0FD;} + .d2-2730605657 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/e2etests/testdata/stable/class/elk/sketch.exp.svg b/e2etests/testdata/stable/class/elk/sketch.exp.svg index 0c81471f0..9e9d67dfb 100644 --- a/e2etests/testdata/stable/class/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/class/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-3545685585 .fill-N1{fill:#0A0F25;} + .d2-3545685585 .fill-N2{fill:#676C7E;} + .d2-3545685585 .fill-N3{fill:#9499AB;} + .d2-3545685585 .fill-N4{fill:#CFD2DD;} + .d2-3545685585 .fill-N5{fill:#DEE1EB;} + .d2-3545685585 .fill-N6{fill:#EEF1F8;} + .d2-3545685585 .fill-N7{fill:#FFFFFF;} + .d2-3545685585 .fill-B1{fill:#0D32B2;} + .d2-3545685585 .fill-B2{fill:#0D32B2;} + .d2-3545685585 .fill-B3{fill:#E3E9FD;} + .d2-3545685585 .fill-B4{fill:#E3E9FD;} + .d2-3545685585 .fill-B5{fill:#EDF0FD;} + .d2-3545685585 .fill-B6{fill:#F7F8FE;} + .d2-3545685585 .fill-AA2{fill:#4A6FF3;} + .d2-3545685585 .fill-AA4{fill:#EDF0FD;} + .d2-3545685585 .fill-AA5{fill:#F7F8FE;} + .d2-3545685585 .fill-AB4{fill:#EDF0FD;} + .d2-3545685585 .fill-AB5{fill:#F7F8FE;} + .d2-3545685585 .stroke-N1{stroke:#0A0F25;} + .d2-3545685585 .stroke-N2{stroke:#676C7E;} + .d2-3545685585 .stroke-N3{stroke:#9499AB;} + .d2-3545685585 .stroke-N4{stroke:#CFD2DD;} + .d2-3545685585 .stroke-N5{stroke:#DEE1EB;} + .d2-3545685585 .stroke-N6{stroke:#EEF1F8;} + .d2-3545685585 .stroke-N7{stroke:#FFFFFF;} + .d2-3545685585 .stroke-B1{stroke:#0D32B2;} + .d2-3545685585 .stroke-B2{stroke:#0D32B2;} + .d2-3545685585 .stroke-B3{stroke:#E3E9FD;} + .d2-3545685585 .stroke-B4{stroke:#E3E9FD;} + .d2-3545685585 .stroke-B5{stroke:#EDF0FD;} + .d2-3545685585 .stroke-B6{stroke:#F7F8FE;} + .d2-3545685585 .stroke-AA2{stroke:#4A6FF3;} + .d2-3545685585 .stroke-AA4{stroke:#EDF0FD;} + .d2-3545685585 .stroke-AA5{stroke:#F7F8FE;} + .d2-3545685585 .stroke-AB4{stroke:#EDF0FD;} + .d2-3545685585 .stroke-AB5{stroke:#F7F8FE;} + .d2-3545685585 .background-color-N1{background-color:#0A0F25;} + .d2-3545685585 .background-color-N2{background-color:#676C7E;} + .d2-3545685585 .background-color-N3{background-color:#9499AB;} + .d2-3545685585 .background-color-N4{background-color:#CFD2DD;} + .d2-3545685585 .background-color-N5{background-color:#DEE1EB;} + .d2-3545685585 .background-color-N6{background-color:#EEF1F8;} + .d2-3545685585 .background-color-N7{background-color:#FFFFFF;} + .d2-3545685585 .background-color-B1{background-color:#0D32B2;} + .d2-3545685585 .background-color-B2{background-color:#0D32B2;} + .d2-3545685585 .background-color-B3{background-color:#E3E9FD;} + .d2-3545685585 .background-color-B4{background-color:#E3E9FD;} + .d2-3545685585 .background-color-B5{background-color:#EDF0FD;} + .d2-3545685585 .background-color-B6{background-color:#F7F8FE;} + .d2-3545685585 .background-color-AA2{background-color:#4A6FF3;} + .d2-3545685585 .background-color-AA4{background-color:#EDF0FD;} + .d2-3545685585 .background-color-AA5{background-color:#F7F8FE;} + .d2-3545685585 .background-color-AB4{background-color:#EDF0FD;} + .d2-3545685585 .background-color-AB5{background-color:#F7F8FE;} + .d2-3545685585 .color-N1{color:#0A0F25;} + .d2-3545685585 .color-N2{color:#676C7E;} + .d2-3545685585 .color-N3{color:#9499AB;} + .d2-3545685585 .color-N4{color:#CFD2DD;} + .d2-3545685585 .color-N5{color:#DEE1EB;} + .d2-3545685585 .color-N6{color:#EEF1F8;} + .d2-3545685585 .color-N7{color:#FFFFFF;} + .d2-3545685585 .color-B1{color:#0D32B2;} + .d2-3545685585 .color-B2{color:#0D32B2;} + .d2-3545685585 .color-B3{color:#E3E9FD;} + .d2-3545685585 .color-B4{color:#E3E9FD;} + .d2-3545685585 .color-B5{color:#EDF0FD;} + .d2-3545685585 .color-B6{color:#F7F8FE;} + .d2-3545685585 .color-AA2{color:#4A6FF3;} + .d2-3545685585 .color-AA4{color:#EDF0FD;} + .d2-3545685585 .color-AA5{color:#F7F8FE;} + .d2-3545685585 .color-AB4{color:#EDF0FD;} + .d2-3545685585 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg b/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg index 3690ed24f..f9c8bbae4 100644 --- a/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ - aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d + .d2-1612300372 .fill-N1{fill:#0A0F25;} + .d2-1612300372 .fill-N2{fill:#676C7E;} + .d2-1612300372 .fill-N3{fill:#9499AB;} + .d2-1612300372 .fill-N4{fill:#CFD2DD;} + .d2-1612300372 .fill-N5{fill:#DEE1EB;} + .d2-1612300372 .fill-N6{fill:#EEF1F8;} + .d2-1612300372 .fill-N7{fill:#FFFFFF;} + .d2-1612300372 .fill-B1{fill:#0D32B2;} + .d2-1612300372 .fill-B2{fill:#0D32B2;} + .d2-1612300372 .fill-B3{fill:#E3E9FD;} + .d2-1612300372 .fill-B4{fill:#E3E9FD;} + .d2-1612300372 .fill-B5{fill:#EDF0FD;} + .d2-1612300372 .fill-B6{fill:#F7F8FE;} + .d2-1612300372 .fill-AA2{fill:#4A6FF3;} + .d2-1612300372 .fill-AA4{fill:#EDF0FD;} + .d2-1612300372 .fill-AA5{fill:#F7F8FE;} + .d2-1612300372 .fill-AB4{fill:#EDF0FD;} + .d2-1612300372 .fill-AB5{fill:#F7F8FE;} + .d2-1612300372 .stroke-N1{stroke:#0A0F25;} + .d2-1612300372 .stroke-N2{stroke:#676C7E;} + .d2-1612300372 .stroke-N3{stroke:#9499AB;} + .d2-1612300372 .stroke-N4{stroke:#CFD2DD;} + .d2-1612300372 .stroke-N5{stroke:#DEE1EB;} + .d2-1612300372 .stroke-N6{stroke:#EEF1F8;} + .d2-1612300372 .stroke-N7{stroke:#FFFFFF;} + .d2-1612300372 .stroke-B1{stroke:#0D32B2;} + .d2-1612300372 .stroke-B2{stroke:#0D32B2;} + .d2-1612300372 .stroke-B3{stroke:#E3E9FD;} + .d2-1612300372 .stroke-B4{stroke:#E3E9FD;} + .d2-1612300372 .stroke-B5{stroke:#EDF0FD;} + .d2-1612300372 .stroke-B6{stroke:#F7F8FE;} + .d2-1612300372 .stroke-AA2{stroke:#4A6FF3;} + .d2-1612300372 .stroke-AA4{stroke:#EDF0FD;} + .d2-1612300372 .stroke-AA5{stroke:#F7F8FE;} + .d2-1612300372 .stroke-AB4{stroke:#EDF0FD;} + .d2-1612300372 .stroke-AB5{stroke:#F7F8FE;} + .d2-1612300372 .background-color-N1{background-color:#0A0F25;} + .d2-1612300372 .background-color-N2{background-color:#676C7E;} + .d2-1612300372 .background-color-N3{background-color:#9499AB;} + .d2-1612300372 .background-color-N4{background-color:#CFD2DD;} + .d2-1612300372 .background-color-N5{background-color:#DEE1EB;} + .d2-1612300372 .background-color-N6{background-color:#EEF1F8;} + .d2-1612300372 .background-color-N7{background-color:#FFFFFF;} + .d2-1612300372 .background-color-B1{background-color:#0D32B2;} + .d2-1612300372 .background-color-B2{background-color:#0D32B2;} + .d2-1612300372 .background-color-B3{background-color:#E3E9FD;} + .d2-1612300372 .background-color-B4{background-color:#E3E9FD;} + .d2-1612300372 .background-color-B5{background-color:#EDF0FD;} + .d2-1612300372 .background-color-B6{background-color:#F7F8FE;} + .d2-1612300372 .background-color-AA2{background-color:#4A6FF3;} + .d2-1612300372 .background-color-AA4{background-color:#EDF0FD;} + .d2-1612300372 .background-color-AA5{background-color:#F7F8FE;} + .d2-1612300372 .background-color-AB4{background-color:#EDF0FD;} + .d2-1612300372 .background-color-AB5{background-color:#F7F8FE;} + .d2-1612300372 .color-N1{color:#0A0F25;} + .d2-1612300372 .color-N2{color:#676C7E;} + .d2-1612300372 .color-N3{color:#9499AB;} + .d2-1612300372 .color-N4{color:#CFD2DD;} + .d2-1612300372 .color-N5{color:#DEE1EB;} + .d2-1612300372 .color-N6{color:#EEF1F8;} + .d2-1612300372 .color-N7{color:#FFFFFF;} + .d2-1612300372 .color-B1{color:#0D32B2;} + .d2-1612300372 .color-B2{color:#0D32B2;} + .d2-1612300372 .color-B3{color:#E3E9FD;} + .d2-1612300372 .color-B4{color:#E3E9FD;} + .d2-1612300372 .color-B5{color:#EDF0FD;} + .d2-1612300372 .color-B6{color:#F7F8FE;} + .d2-1612300372 .color-AA2{color:#4A6FF3;} + .d2-1612300372 .color-AA4{color:#EDF0FD;} + .d2-1612300372 .color-AA5{color:#F7F8FE;} + .d2-1612300372 .color-AB4{color:#EDF0FD;} + .d2-1612300372 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d \ No newline at end of file diff --git a/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg b/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg index 00db2bd81..9ad45d8b0 100644 --- a/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg @@ -1,16 +1,16 @@ - aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d + .d2-264894640 .fill-N1{fill:#0A0F25;} + .d2-264894640 .fill-N2{fill:#676C7E;} + .d2-264894640 .fill-N3{fill:#9499AB;} + .d2-264894640 .fill-N4{fill:#CFD2DD;} + .d2-264894640 .fill-N5{fill:#DEE1EB;} + .d2-264894640 .fill-N6{fill:#EEF1F8;} + .d2-264894640 .fill-N7{fill:#FFFFFF;} + .d2-264894640 .fill-B1{fill:#0D32B2;} + .d2-264894640 .fill-B2{fill:#0D32B2;} + .d2-264894640 .fill-B3{fill:#E3E9FD;} + .d2-264894640 .fill-B4{fill:#E3E9FD;} + .d2-264894640 .fill-B5{fill:#EDF0FD;} + .d2-264894640 .fill-B6{fill:#F7F8FE;} + .d2-264894640 .fill-AA2{fill:#4A6FF3;} + .d2-264894640 .fill-AA4{fill:#EDF0FD;} + .d2-264894640 .fill-AA5{fill:#F7F8FE;} + .d2-264894640 .fill-AB4{fill:#EDF0FD;} + .d2-264894640 .fill-AB5{fill:#F7F8FE;} + .d2-264894640 .stroke-N1{stroke:#0A0F25;} + .d2-264894640 .stroke-N2{stroke:#676C7E;} + .d2-264894640 .stroke-N3{stroke:#9499AB;} + .d2-264894640 .stroke-N4{stroke:#CFD2DD;} + .d2-264894640 .stroke-N5{stroke:#DEE1EB;} + .d2-264894640 .stroke-N6{stroke:#EEF1F8;} + .d2-264894640 .stroke-N7{stroke:#FFFFFF;} + .d2-264894640 .stroke-B1{stroke:#0D32B2;} + .d2-264894640 .stroke-B2{stroke:#0D32B2;} + .d2-264894640 .stroke-B3{stroke:#E3E9FD;} + .d2-264894640 .stroke-B4{stroke:#E3E9FD;} + .d2-264894640 .stroke-B5{stroke:#EDF0FD;} + .d2-264894640 .stroke-B6{stroke:#F7F8FE;} + .d2-264894640 .stroke-AA2{stroke:#4A6FF3;} + .d2-264894640 .stroke-AA4{stroke:#EDF0FD;} + .d2-264894640 .stroke-AA5{stroke:#F7F8FE;} + .d2-264894640 .stroke-AB4{stroke:#EDF0FD;} + .d2-264894640 .stroke-AB5{stroke:#F7F8FE;} + .d2-264894640 .background-color-N1{background-color:#0A0F25;} + .d2-264894640 .background-color-N2{background-color:#676C7E;} + .d2-264894640 .background-color-N3{background-color:#9499AB;} + .d2-264894640 .background-color-N4{background-color:#CFD2DD;} + .d2-264894640 .background-color-N5{background-color:#DEE1EB;} + .d2-264894640 .background-color-N6{background-color:#EEF1F8;} + .d2-264894640 .background-color-N7{background-color:#FFFFFF;} + .d2-264894640 .background-color-B1{background-color:#0D32B2;} + .d2-264894640 .background-color-B2{background-color:#0D32B2;} + .d2-264894640 .background-color-B3{background-color:#E3E9FD;} + .d2-264894640 .background-color-B4{background-color:#E3E9FD;} + .d2-264894640 .background-color-B5{background-color:#EDF0FD;} + .d2-264894640 .background-color-B6{background-color:#F7F8FE;} + .d2-264894640 .background-color-AA2{background-color:#4A6FF3;} + .d2-264894640 .background-color-AA4{background-color:#EDF0FD;} + .d2-264894640 .background-color-AA5{background-color:#F7F8FE;} + .d2-264894640 .background-color-AB4{background-color:#EDF0FD;} + .d2-264894640 .background-color-AB5{background-color:#F7F8FE;} + .d2-264894640 .color-N1{color:#0A0F25;} + .d2-264894640 .color-N2{color:#676C7E;} + .d2-264894640 .color-N3{color:#9499AB;} + .d2-264894640 .color-N4{color:#CFD2DD;} + .d2-264894640 .color-N5{color:#DEE1EB;} + .d2-264894640 .color-N6{color:#EEF1F8;} + .d2-264894640 .color-N7{color:#FFFFFF;} + .d2-264894640 .color-B1{color:#0D32B2;} + .d2-264894640 .color-B2{color:#0D32B2;} + .d2-264894640 .color-B3{color:#E3E9FD;} + .d2-264894640 .color-B4{color:#E3E9FD;} + .d2-264894640 .color-B5{color:#EDF0FD;} + .d2-264894640 .color-B6{color:#F7F8FE;} + .d2-264894640 .color-AA2{color:#4A6FF3;} + .d2-264894640 .color-AA4{color:#EDF0FD;} + .d2-264894640 .color-AA5{color:#F7F8FE;} + .d2-264894640 .color-AB4{color:#EDF0FD;} + .d2-264894640 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d \ No newline at end of file diff --git a/e2etests/testdata/stable/classes/dagre/sketch.exp.svg b/e2etests/testdata/stable/classes/dagre/sketch.exp.svg index e8388a3da..21660a50c 100644 --- a/e2etests/testdata/stable/classes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/classes/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -*** thenthen + .d2-3999366538 .fill-N1{fill:#0A0F25;} + .d2-3999366538 .fill-N2{fill:#676C7E;} + .d2-3999366538 .fill-N3{fill:#9499AB;} + .d2-3999366538 .fill-N4{fill:#CFD2DD;} + .d2-3999366538 .fill-N5{fill:#DEE1EB;} + .d2-3999366538 .fill-N6{fill:#EEF1F8;} + .d2-3999366538 .fill-N7{fill:#FFFFFF;} + .d2-3999366538 .fill-B1{fill:#0D32B2;} + .d2-3999366538 .fill-B2{fill:#0D32B2;} + .d2-3999366538 .fill-B3{fill:#E3E9FD;} + .d2-3999366538 .fill-B4{fill:#E3E9FD;} + .d2-3999366538 .fill-B5{fill:#EDF0FD;} + .d2-3999366538 .fill-B6{fill:#F7F8FE;} + .d2-3999366538 .fill-AA2{fill:#4A6FF3;} + .d2-3999366538 .fill-AA4{fill:#EDF0FD;} + .d2-3999366538 .fill-AA5{fill:#F7F8FE;} + .d2-3999366538 .fill-AB4{fill:#EDF0FD;} + .d2-3999366538 .fill-AB5{fill:#F7F8FE;} + .d2-3999366538 .stroke-N1{stroke:#0A0F25;} + .d2-3999366538 .stroke-N2{stroke:#676C7E;} + .d2-3999366538 .stroke-N3{stroke:#9499AB;} + .d2-3999366538 .stroke-N4{stroke:#CFD2DD;} + .d2-3999366538 .stroke-N5{stroke:#DEE1EB;} + .d2-3999366538 .stroke-N6{stroke:#EEF1F8;} + .d2-3999366538 .stroke-N7{stroke:#FFFFFF;} + .d2-3999366538 .stroke-B1{stroke:#0D32B2;} + .d2-3999366538 .stroke-B2{stroke:#0D32B2;} + .d2-3999366538 .stroke-B3{stroke:#E3E9FD;} + .d2-3999366538 .stroke-B4{stroke:#E3E9FD;} + .d2-3999366538 .stroke-B5{stroke:#EDF0FD;} + .d2-3999366538 .stroke-B6{stroke:#F7F8FE;} + .d2-3999366538 .stroke-AA2{stroke:#4A6FF3;} + .d2-3999366538 .stroke-AA4{stroke:#EDF0FD;} + .d2-3999366538 .stroke-AA5{stroke:#F7F8FE;} + .d2-3999366538 .stroke-AB4{stroke:#EDF0FD;} + .d2-3999366538 .stroke-AB5{stroke:#F7F8FE;} + .d2-3999366538 .background-color-N1{background-color:#0A0F25;} + .d2-3999366538 .background-color-N2{background-color:#676C7E;} + .d2-3999366538 .background-color-N3{background-color:#9499AB;} + .d2-3999366538 .background-color-N4{background-color:#CFD2DD;} + .d2-3999366538 .background-color-N5{background-color:#DEE1EB;} + .d2-3999366538 .background-color-N6{background-color:#EEF1F8;} + .d2-3999366538 .background-color-N7{background-color:#FFFFFF;} + .d2-3999366538 .background-color-B1{background-color:#0D32B2;} + .d2-3999366538 .background-color-B2{background-color:#0D32B2;} + .d2-3999366538 .background-color-B3{background-color:#E3E9FD;} + .d2-3999366538 .background-color-B4{background-color:#E3E9FD;} + .d2-3999366538 .background-color-B5{background-color:#EDF0FD;} + .d2-3999366538 .background-color-B6{background-color:#F7F8FE;} + .d2-3999366538 .background-color-AA2{background-color:#4A6FF3;} + .d2-3999366538 .background-color-AA4{background-color:#EDF0FD;} + .d2-3999366538 .background-color-AA5{background-color:#F7F8FE;} + .d2-3999366538 .background-color-AB4{background-color:#EDF0FD;} + .d2-3999366538 .background-color-AB5{background-color:#F7F8FE;} + .d2-3999366538 .color-N1{color:#0A0F25;} + .d2-3999366538 .color-N2{color:#676C7E;} + .d2-3999366538 .color-N3{color:#9499AB;} + .d2-3999366538 .color-N4{color:#CFD2DD;} + .d2-3999366538 .color-N5{color:#DEE1EB;} + .d2-3999366538 .color-N6{color:#EEF1F8;} + .d2-3999366538 .color-N7{color:#FFFFFF;} + .d2-3999366538 .color-B1{color:#0D32B2;} + .d2-3999366538 .color-B2{color:#0D32B2;} + .d2-3999366538 .color-B3{color:#E3E9FD;} + .d2-3999366538 .color-B4{color:#E3E9FD;} + .d2-3999366538 .color-B5{color:#EDF0FD;} + .d2-3999366538 .color-B6{color:#F7F8FE;} + .d2-3999366538 .color-AA2{color:#4A6FF3;} + .d2-3999366538 .color-AA4{color:#EDF0FD;} + .d2-3999366538 .color-AA5{color:#F7F8FE;} + .d2-3999366538 .color-AB4{color:#EDF0FD;} + .d2-3999366538 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>*** thenthen diff --git a/e2etests/testdata/stable/classes/elk/sketch.exp.svg b/e2etests/testdata/stable/classes/elk/sketch.exp.svg index dfeb45004..01e4308c1 100644 --- a/e2etests/testdata/stable/classes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/classes/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -*** thenthen + .d2-2398321321 .fill-N1{fill:#0A0F25;} + .d2-2398321321 .fill-N2{fill:#676C7E;} + .d2-2398321321 .fill-N3{fill:#9499AB;} + .d2-2398321321 .fill-N4{fill:#CFD2DD;} + .d2-2398321321 .fill-N5{fill:#DEE1EB;} + .d2-2398321321 .fill-N6{fill:#EEF1F8;} + .d2-2398321321 .fill-N7{fill:#FFFFFF;} + .d2-2398321321 .fill-B1{fill:#0D32B2;} + .d2-2398321321 .fill-B2{fill:#0D32B2;} + .d2-2398321321 .fill-B3{fill:#E3E9FD;} + .d2-2398321321 .fill-B4{fill:#E3E9FD;} + .d2-2398321321 .fill-B5{fill:#EDF0FD;} + .d2-2398321321 .fill-B6{fill:#F7F8FE;} + .d2-2398321321 .fill-AA2{fill:#4A6FF3;} + .d2-2398321321 .fill-AA4{fill:#EDF0FD;} + .d2-2398321321 .fill-AA5{fill:#F7F8FE;} + .d2-2398321321 .fill-AB4{fill:#EDF0FD;} + .d2-2398321321 .fill-AB5{fill:#F7F8FE;} + .d2-2398321321 .stroke-N1{stroke:#0A0F25;} + .d2-2398321321 .stroke-N2{stroke:#676C7E;} + .d2-2398321321 .stroke-N3{stroke:#9499AB;} + .d2-2398321321 .stroke-N4{stroke:#CFD2DD;} + .d2-2398321321 .stroke-N5{stroke:#DEE1EB;} + .d2-2398321321 .stroke-N6{stroke:#EEF1F8;} + .d2-2398321321 .stroke-N7{stroke:#FFFFFF;} + .d2-2398321321 .stroke-B1{stroke:#0D32B2;} + .d2-2398321321 .stroke-B2{stroke:#0D32B2;} + .d2-2398321321 .stroke-B3{stroke:#E3E9FD;} + .d2-2398321321 .stroke-B4{stroke:#E3E9FD;} + .d2-2398321321 .stroke-B5{stroke:#EDF0FD;} + .d2-2398321321 .stroke-B6{stroke:#F7F8FE;} + .d2-2398321321 .stroke-AA2{stroke:#4A6FF3;} + .d2-2398321321 .stroke-AA4{stroke:#EDF0FD;} + .d2-2398321321 .stroke-AA5{stroke:#F7F8FE;} + .d2-2398321321 .stroke-AB4{stroke:#EDF0FD;} + .d2-2398321321 .stroke-AB5{stroke:#F7F8FE;} + .d2-2398321321 .background-color-N1{background-color:#0A0F25;} + .d2-2398321321 .background-color-N2{background-color:#676C7E;} + .d2-2398321321 .background-color-N3{background-color:#9499AB;} + .d2-2398321321 .background-color-N4{background-color:#CFD2DD;} + .d2-2398321321 .background-color-N5{background-color:#DEE1EB;} + .d2-2398321321 .background-color-N6{background-color:#EEF1F8;} + .d2-2398321321 .background-color-N7{background-color:#FFFFFF;} + .d2-2398321321 .background-color-B1{background-color:#0D32B2;} + .d2-2398321321 .background-color-B2{background-color:#0D32B2;} + .d2-2398321321 .background-color-B3{background-color:#E3E9FD;} + .d2-2398321321 .background-color-B4{background-color:#E3E9FD;} + .d2-2398321321 .background-color-B5{background-color:#EDF0FD;} + .d2-2398321321 .background-color-B6{background-color:#F7F8FE;} + .d2-2398321321 .background-color-AA2{background-color:#4A6FF3;} + .d2-2398321321 .background-color-AA4{background-color:#EDF0FD;} + .d2-2398321321 .background-color-AA5{background-color:#F7F8FE;} + .d2-2398321321 .background-color-AB4{background-color:#EDF0FD;} + .d2-2398321321 .background-color-AB5{background-color:#F7F8FE;} + .d2-2398321321 .color-N1{color:#0A0F25;} + .d2-2398321321 .color-N2{color:#676C7E;} + .d2-2398321321 .color-N3{color:#9499AB;} + .d2-2398321321 .color-N4{color:#CFD2DD;} + .d2-2398321321 .color-N5{color:#DEE1EB;} + .d2-2398321321 .color-N6{color:#EEF1F8;} + .d2-2398321321 .color-N7{color:#FFFFFF;} + .d2-2398321321 .color-B1{color:#0D32B2;} + .d2-2398321321 .color-B2{color:#0D32B2;} + .d2-2398321321 .color-B3{color:#E3E9FD;} + .d2-2398321321 .color-B4{color:#E3E9FD;} + .d2-2398321321 .color-B5{color:#EDF0FD;} + .d2-2398321321 .color-B6{color:#F7F8FE;} + .d2-2398321321 .color-AA2{color:#4A6FF3;} + .d2-2398321321 .color-AA4{color:#EDF0FD;} + .d2-2398321321 .color-AA5{color:#F7F8FE;} + .d2-2398321321 .color-AB4{color:#EDF0FD;} + .d2-2398321321 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>*** thenthen diff --git a/e2etests/testdata/stable/code_snippet/dagre/sketch.exp.svg b/e2etests/testdata/stable/code_snippet/dagre/sketch.exp.svg index a50c9a775..1acd62e46 100644 --- a/e2etests/testdata/stable/code_snippet/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/code_snippet/dagre/sketch.exp.svg @@ -1,30 +1,30 @@ -// RegisterHash registers a function that returns a new instance of the given + .d2-3528049809 .fill-N1{fill:#0A0F25;} + .d2-3528049809 .fill-N2{fill:#676C7E;} + .d2-3528049809 .fill-N3{fill:#9499AB;} + .d2-3528049809 .fill-N4{fill:#CFD2DD;} + .d2-3528049809 .fill-N5{fill:#DEE1EB;} + .d2-3528049809 .fill-N6{fill:#EEF1F8;} + .d2-3528049809 .fill-N7{fill:#FFFFFF;} + .d2-3528049809 .fill-B1{fill:#0D32B2;} + .d2-3528049809 .fill-B2{fill:#0D32B2;} + .d2-3528049809 .fill-B3{fill:#E3E9FD;} + .d2-3528049809 .fill-B4{fill:#E3E9FD;} + .d2-3528049809 .fill-B5{fill:#EDF0FD;} + .d2-3528049809 .fill-B6{fill:#F7F8FE;} + .d2-3528049809 .fill-AA2{fill:#4A6FF3;} + .d2-3528049809 .fill-AA4{fill:#EDF0FD;} + .d2-3528049809 .fill-AA5{fill:#F7F8FE;} + .d2-3528049809 .fill-AB4{fill:#EDF0FD;} + .d2-3528049809 .fill-AB5{fill:#F7F8FE;} + .d2-3528049809 .stroke-N1{stroke:#0A0F25;} + .d2-3528049809 .stroke-N2{stroke:#676C7E;} + .d2-3528049809 .stroke-N3{stroke:#9499AB;} + .d2-3528049809 .stroke-N4{stroke:#CFD2DD;} + .d2-3528049809 .stroke-N5{stroke:#DEE1EB;} + .d2-3528049809 .stroke-N6{stroke:#EEF1F8;} + .d2-3528049809 .stroke-N7{stroke:#FFFFFF;} + .d2-3528049809 .stroke-B1{stroke:#0D32B2;} + .d2-3528049809 .stroke-B2{stroke:#0D32B2;} + .d2-3528049809 .stroke-B3{stroke:#E3E9FD;} + .d2-3528049809 .stroke-B4{stroke:#E3E9FD;} + .d2-3528049809 .stroke-B5{stroke:#EDF0FD;} + .d2-3528049809 .stroke-B6{stroke:#F7F8FE;} + .d2-3528049809 .stroke-AA2{stroke:#4A6FF3;} + .d2-3528049809 .stroke-AA4{stroke:#EDF0FD;} + .d2-3528049809 .stroke-AA5{stroke:#F7F8FE;} + .d2-3528049809 .stroke-AB4{stroke:#EDF0FD;} + .d2-3528049809 .stroke-AB5{stroke:#F7F8FE;} + .d2-3528049809 .background-color-N1{background-color:#0A0F25;} + .d2-3528049809 .background-color-N2{background-color:#676C7E;} + .d2-3528049809 .background-color-N3{background-color:#9499AB;} + .d2-3528049809 .background-color-N4{background-color:#CFD2DD;} + .d2-3528049809 .background-color-N5{background-color:#DEE1EB;} + .d2-3528049809 .background-color-N6{background-color:#EEF1F8;} + .d2-3528049809 .background-color-N7{background-color:#FFFFFF;} + .d2-3528049809 .background-color-B1{background-color:#0D32B2;} + .d2-3528049809 .background-color-B2{background-color:#0D32B2;} + .d2-3528049809 .background-color-B3{background-color:#E3E9FD;} + .d2-3528049809 .background-color-B4{background-color:#E3E9FD;} + .d2-3528049809 .background-color-B5{background-color:#EDF0FD;} + .d2-3528049809 .background-color-B6{background-color:#F7F8FE;} + .d2-3528049809 .background-color-AA2{background-color:#4A6FF3;} + .d2-3528049809 .background-color-AA4{background-color:#EDF0FD;} + .d2-3528049809 .background-color-AA5{background-color:#F7F8FE;} + .d2-3528049809 .background-color-AB4{background-color:#EDF0FD;} + .d2-3528049809 .background-color-AB5{background-color:#F7F8FE;} + .d2-3528049809 .color-N1{color:#0A0F25;} + .d2-3528049809 .color-N2{color:#676C7E;} + .d2-3528049809 .color-N3{color:#9499AB;} + .d2-3528049809 .color-N4{color:#CFD2DD;} + .d2-3528049809 .color-N5{color:#DEE1EB;} + .d2-3528049809 .color-N6{color:#EEF1F8;} + .d2-3528049809 .color-N7{color:#FFFFFF;} + .d2-3528049809 .color-B1{color:#0D32B2;} + .d2-3528049809 .color-B2{color:#0D32B2;} + .d2-3528049809 .color-B3{color:#E3E9FD;} + .d2-3528049809 .color-B4{color:#E3E9FD;} + .d2-3528049809 .color-B5{color:#EDF0FD;} + .d2-3528049809 .color-B6{color:#F7F8FE;} + .d2-3528049809 .color-AA2{color:#4A6FF3;} + .d2-3528049809 .color-AA4{color:#EDF0FD;} + .d2-3528049809 .color-AA5{color:#F7F8FE;} + .d2-3528049809 .color-AB4{color:#EDF0FD;} + .d2-3528049809 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>// RegisterHash registers a function that returns a new instance of the given // hash function. This is intended to be called from the init function in // packages that implement hash functions. func RegisterHash(h Hash, f func() hash.Hash) { @@ -126,7 +126,7 @@         panic("crypto: RegisterHash of unknown hash function")     }     hashes[h] = f -}xy +}xy diff --git a/e2etests/testdata/stable/code_snippet/elk/sketch.exp.svg b/e2etests/testdata/stable/code_snippet/elk/sketch.exp.svg index 5739de56b..5da7f5ee6 100644 --- a/e2etests/testdata/stable/code_snippet/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/code_snippet/elk/sketch.exp.svg @@ -1,30 +1,30 @@ -// RegisterHash registers a function that returns a new instance of the given + .d2-3358777174 .fill-N1{fill:#0A0F25;} + .d2-3358777174 .fill-N2{fill:#676C7E;} + .d2-3358777174 .fill-N3{fill:#9499AB;} + .d2-3358777174 .fill-N4{fill:#CFD2DD;} + .d2-3358777174 .fill-N5{fill:#DEE1EB;} + .d2-3358777174 .fill-N6{fill:#EEF1F8;} + .d2-3358777174 .fill-N7{fill:#FFFFFF;} + .d2-3358777174 .fill-B1{fill:#0D32B2;} + .d2-3358777174 .fill-B2{fill:#0D32B2;} + .d2-3358777174 .fill-B3{fill:#E3E9FD;} + .d2-3358777174 .fill-B4{fill:#E3E9FD;} + .d2-3358777174 .fill-B5{fill:#EDF0FD;} + .d2-3358777174 .fill-B6{fill:#F7F8FE;} + .d2-3358777174 .fill-AA2{fill:#4A6FF3;} + .d2-3358777174 .fill-AA4{fill:#EDF0FD;} + .d2-3358777174 .fill-AA5{fill:#F7F8FE;} + .d2-3358777174 .fill-AB4{fill:#EDF0FD;} + .d2-3358777174 .fill-AB5{fill:#F7F8FE;} + .d2-3358777174 .stroke-N1{stroke:#0A0F25;} + .d2-3358777174 .stroke-N2{stroke:#676C7E;} + .d2-3358777174 .stroke-N3{stroke:#9499AB;} + .d2-3358777174 .stroke-N4{stroke:#CFD2DD;} + .d2-3358777174 .stroke-N5{stroke:#DEE1EB;} + .d2-3358777174 .stroke-N6{stroke:#EEF1F8;} + .d2-3358777174 .stroke-N7{stroke:#FFFFFF;} + .d2-3358777174 .stroke-B1{stroke:#0D32B2;} + .d2-3358777174 .stroke-B2{stroke:#0D32B2;} + .d2-3358777174 .stroke-B3{stroke:#E3E9FD;} + .d2-3358777174 .stroke-B4{stroke:#E3E9FD;} + .d2-3358777174 .stroke-B5{stroke:#EDF0FD;} + .d2-3358777174 .stroke-B6{stroke:#F7F8FE;} + .d2-3358777174 .stroke-AA2{stroke:#4A6FF3;} + .d2-3358777174 .stroke-AA4{stroke:#EDF0FD;} + .d2-3358777174 .stroke-AA5{stroke:#F7F8FE;} + .d2-3358777174 .stroke-AB4{stroke:#EDF0FD;} + .d2-3358777174 .stroke-AB5{stroke:#F7F8FE;} + .d2-3358777174 .background-color-N1{background-color:#0A0F25;} + .d2-3358777174 .background-color-N2{background-color:#676C7E;} + .d2-3358777174 .background-color-N3{background-color:#9499AB;} + .d2-3358777174 .background-color-N4{background-color:#CFD2DD;} + .d2-3358777174 .background-color-N5{background-color:#DEE1EB;} + .d2-3358777174 .background-color-N6{background-color:#EEF1F8;} + .d2-3358777174 .background-color-N7{background-color:#FFFFFF;} + .d2-3358777174 .background-color-B1{background-color:#0D32B2;} + .d2-3358777174 .background-color-B2{background-color:#0D32B2;} + .d2-3358777174 .background-color-B3{background-color:#E3E9FD;} + .d2-3358777174 .background-color-B4{background-color:#E3E9FD;} + .d2-3358777174 .background-color-B5{background-color:#EDF0FD;} + .d2-3358777174 .background-color-B6{background-color:#F7F8FE;} + .d2-3358777174 .background-color-AA2{background-color:#4A6FF3;} + .d2-3358777174 .background-color-AA4{background-color:#EDF0FD;} + .d2-3358777174 .background-color-AA5{background-color:#F7F8FE;} + .d2-3358777174 .background-color-AB4{background-color:#EDF0FD;} + .d2-3358777174 .background-color-AB5{background-color:#F7F8FE;} + .d2-3358777174 .color-N1{color:#0A0F25;} + .d2-3358777174 .color-N2{color:#676C7E;} + .d2-3358777174 .color-N3{color:#9499AB;} + .d2-3358777174 .color-N4{color:#CFD2DD;} + .d2-3358777174 .color-N5{color:#DEE1EB;} + .d2-3358777174 .color-N6{color:#EEF1F8;} + .d2-3358777174 .color-N7{color:#FFFFFF;} + .d2-3358777174 .color-B1{color:#0D32B2;} + .d2-3358777174 .color-B2{color:#0D32B2;} + .d2-3358777174 .color-B3{color:#E3E9FD;} + .d2-3358777174 .color-B4{color:#E3E9FD;} + .d2-3358777174 .color-B5{color:#EDF0FD;} + .d2-3358777174 .color-B6{color:#F7F8FE;} + .d2-3358777174 .color-AA2{color:#4A6FF3;} + .d2-3358777174 .color-AA4{color:#EDF0FD;} + .d2-3358777174 .color-AA5{color:#F7F8FE;} + .d2-3358777174 .color-AB4{color:#EDF0FD;} + .d2-3358777174 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>// RegisterHash registers a function that returns a new instance of the given // hash function. This is intended to be called from the init function in // packages that implement hash functions. func RegisterHash(h Hash, f func() hash.Hash) { @@ -126,7 +126,7 @@         panic("crypto: RegisterHash of unknown hash function")     }     hashes[h] = f -}xy +}xy diff --git a/e2etests/testdata/stable/complex-layers/dagre/board.exp.json b/e2etests/testdata/stable/complex-layers/dagre/board.exp.json index 7994d67f4..3f1c76ab7 100644 --- a/e2etests/testdata/stable/complex-layers/dagre/board.exp.json +++ b/e2etests/testdata/stable/complex-layers/dagre/board.exp.json @@ -602,7 +602,7 @@ }, { "name": "repair", - "isFolderOnly": false, + "isFolderOnly": true, "fontFamily": "SourceSansPro", "shapes": [], "connections": [], @@ -656,11 +656,11 @@ "id": "find contractors", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 361, - "height": 125, + "width": 341, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -698,7 +698,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 110, "height": 66, @@ -739,7 +739,7 @@ "type": "rectangle", "pos": { "x": 210, - "y": 70 + "y": 50 }, "width": 111, "height": 66, @@ -827,11 +827,11 @@ "id": "find contractors", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 361, - "height": 125, + "width": 341, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -869,7 +869,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 110, "height": 66, @@ -910,7 +910,7 @@ "type": "rectangle", "pos": { "x": 210, - "y": 70 + "y": 50 }, "width": 111, "height": 66, @@ -1015,11 +1015,11 @@ "route": [ { "x": 265.5, - "y": 166 + "y": 146 }, { "x": 265.5, - "y": 206 + "y": 202 }, { "x": 265.5, @@ -1087,11 +1087,11 @@ "id": "find contractors", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 361, - "height": 125, + "width": 341, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1129,7 +1129,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 110, "height": 66, @@ -1170,7 +1170,7 @@ "type": "rectangle", "pos": { "x": 210, - "y": 70 + "y": 50 }, "width": 111, "height": 66, @@ -1357,11 +1357,11 @@ "route": [ { "x": 265.5, - "y": 166 + "y": 146 }, { "x": 265.5, - "y": 206 + "y": 202 }, { "x": 265.5, @@ -1476,11 +1476,11 @@ "id": "find contractors", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 361, - "height": 125, + "width": 341, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1518,7 +1518,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 110, "height": 66, @@ -1559,7 +1559,7 @@ "type": "rectangle", "pos": { "x": 210, - "y": 70 + "y": 50 }, "width": 111, "height": 66, @@ -1787,11 +1787,11 @@ "route": [ { "x": 265.5, - "y": 166 + "y": 146 }, { "x": 265.5, - "y": 206 + "y": 202 }, { "x": 265.5, diff --git a/e2etests/testdata/stable/complex-layers/dagre/sketch.exp.svg b/e2etests/testdata/stable/complex-layers/dagre/sketch.exp.svg index a7c854fa5..d2c2103e2 100644 --- a/e2etests/testdata/stable/complex-layers/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/complex-layers/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -windowroofgarage +}]]>windowroofgarage -blindsglass +blindsglass -shinglesstarlinkutility hookup +shinglesstarlinkutility hookup -toolsvehicles +toolsvehicles - - - -find contractorscraigslistfacebook - - - - -find contractorssolicit quotescraigslistfacebook - - +find contractorscraigslistfacebook + + + + +find contractorssolicit quotescraigslistfacebook + + - - -find contractorssolicit quotesobtain quotesnegotiatecraigslistfacebook - - + + +find contractorssolicit quotesobtain quotesnegotiatecraigslistfacebook + + - - -find contractorssolicit quotesobtain quotesnegotiatebook the best bidcraigslistfacebook - - + + +find contractorssolicit quotesobtain quotesnegotiatebook the best bidcraigslistfacebook + + - - -windowroofgaragewaterrainthunder + + +windowroofgaragewaterrainthunder diff --git a/e2etests/testdata/stable/complex-layers/elk/board.exp.json b/e2etests/testdata/stable/complex-layers/elk/board.exp.json index 277381b1d..cd538c972 100644 --- a/e2etests/testdata/stable/complex-layers/elk/board.exp.json +++ b/e2etests/testdata/stable/complex-layers/elk/board.exp.json @@ -602,7 +602,7 @@ }, { "name": "repair", - "isFolderOnly": false, + "isFolderOnly": true, "fontFamily": "SourceSansPro", "shapes": [], "connections": [], diff --git a/e2etests/testdata/stable/complex-layers/elk/sketch.exp.svg b/e2etests/testdata/stable/complex-layers/elk/sketch.exp.svg index 2df6ed2a5..41f280f8e 100644 --- a/e2etests/testdata/stable/complex-layers/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/complex-layers/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -windowroofgarage +}]]>windowroofgarage -blindsglass +blindsglass -shinglesstarlinkutility hookup +shinglesstarlinkutility hookup -toolsvehicles +toolsvehicles - - - -find contractorscraigslistfacebook +find contractorscraigslistfacebook -find contractorssolicit quotescraigslistfacebook +find contractorssolicit quotescraigslistfacebook -find contractorssolicit quotesobtain quotesnegotiatecraigslistfacebook +find contractorssolicit quotesobtain quotesnegotiatecraigslistfacebook @@ -233,7 +220,7 @@ -find contractorssolicit quotesobtain quotesnegotiatebook the best bidcraigslistfacebook +find contractorssolicit quotesobtain quotesnegotiatebook the best bidcraigslistfacebook @@ -242,7 +229,7 @@ -windowroofgaragewaterrainthunder +windowroofgaragewaterrainthunder diff --git a/e2etests/testdata/stable/connected_container/dagre/board.exp.json b/e2etests/testdata/stable/connected_container/dagre/board.exp.json index 8f545f1fc..a90ceb89c 100644 --- a/e2etests/testdata/stable/connected_container/dagre/board.exp.json +++ b/e2etests/testdata/stable/connected_container/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "a", "type": "rectangle", "pos": { - "x": 21, - "y": 41 + "x": 31, + "y": 20 }, - "width": 133, - "height": 125, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -89,11 +89,11 @@ "id": "c", "type": "rectangle", "pos": { - "x": 20, - "y": 307 + "x": 30, + "y": 286 }, - "width": 134, - "height": 125, + "width": 114, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 336 + "y": 316 }, "width": 54, "height": 66, @@ -172,10 +172,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 573 + "y": 561 }, "width": 174, - "height": 225, + "height": 197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -212,11 +212,11 @@ "id": "f.h", "type": "rectangle", "pos": { - "x": 20, - "y": 638 + "x": 30, + "y": 602 }, - "width": 134, - "height": 130, + "width": 114, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 670 + "y": 632 }, "width": 54, "height": 66, @@ -318,11 +318,11 @@ "route": [ { "x": 87, - "y": 136.5 + "y": 116 }, { "x": 87, - "y": 160.10000610351562 + "y": 156 }, { "x": 87, @@ -338,11 +338,11 @@ }, { "x": 87, - "y": 280.1000061035156 + "y": 276 }, { "x": 87, - "y": 336.5 + "y": 316 } ], "isCurve": true, @@ -377,11 +377,11 @@ "route": [ { "x": 87, - "y": 402.5 + "y": 382 }, { "x": 87, - "y": 426.1000061035156 + "y": 422 }, { "x": 87, @@ -409,11 +409,11 @@ }, { "x": 87, - "y": 599.7000122070312 + "y": 592 }, { "x": 87, - "y": 670.5 + "y": 632 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/connected_container/dagre/sketch.exp.svg b/e2etests/testdata/stable/connected_container/dagre/sketch.exp.svg index 179dd14c5..e33fb7477 100644 --- a/e2etests/testdata/stable/connected_container/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/connected_container/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -acfbdhg - - - - - - - - + .d2-140937193 .fill-N1{fill:#0A0F25;} + .d2-140937193 .fill-N2{fill:#676C7E;} + .d2-140937193 .fill-N3{fill:#9499AB;} + .d2-140937193 .fill-N4{fill:#CFD2DD;} + .d2-140937193 .fill-N5{fill:#DEE1EB;} + .d2-140937193 .fill-N6{fill:#EEF1F8;} + .d2-140937193 .fill-N7{fill:#FFFFFF;} + .d2-140937193 .fill-B1{fill:#0D32B2;} + .d2-140937193 .fill-B2{fill:#0D32B2;} + .d2-140937193 .fill-B3{fill:#E3E9FD;} + .d2-140937193 .fill-B4{fill:#E3E9FD;} + .d2-140937193 .fill-B5{fill:#EDF0FD;} + .d2-140937193 .fill-B6{fill:#F7F8FE;} + .d2-140937193 .fill-AA2{fill:#4A6FF3;} + .d2-140937193 .fill-AA4{fill:#EDF0FD;} + .d2-140937193 .fill-AA5{fill:#F7F8FE;} + .d2-140937193 .fill-AB4{fill:#EDF0FD;} + .d2-140937193 .fill-AB5{fill:#F7F8FE;} + .d2-140937193 .stroke-N1{stroke:#0A0F25;} + .d2-140937193 .stroke-N2{stroke:#676C7E;} + .d2-140937193 .stroke-N3{stroke:#9499AB;} + .d2-140937193 .stroke-N4{stroke:#CFD2DD;} + .d2-140937193 .stroke-N5{stroke:#DEE1EB;} + .d2-140937193 .stroke-N6{stroke:#EEF1F8;} + .d2-140937193 .stroke-N7{stroke:#FFFFFF;} + .d2-140937193 .stroke-B1{stroke:#0D32B2;} + .d2-140937193 .stroke-B2{stroke:#0D32B2;} + .d2-140937193 .stroke-B3{stroke:#E3E9FD;} + .d2-140937193 .stroke-B4{stroke:#E3E9FD;} + .d2-140937193 .stroke-B5{stroke:#EDF0FD;} + .d2-140937193 .stroke-B6{stroke:#F7F8FE;} + .d2-140937193 .stroke-AA2{stroke:#4A6FF3;} + .d2-140937193 .stroke-AA4{stroke:#EDF0FD;} + .d2-140937193 .stroke-AA5{stroke:#F7F8FE;} + .d2-140937193 .stroke-AB4{stroke:#EDF0FD;} + .d2-140937193 .stroke-AB5{stroke:#F7F8FE;} + .d2-140937193 .background-color-N1{background-color:#0A0F25;} + .d2-140937193 .background-color-N2{background-color:#676C7E;} + .d2-140937193 .background-color-N3{background-color:#9499AB;} + .d2-140937193 .background-color-N4{background-color:#CFD2DD;} + .d2-140937193 .background-color-N5{background-color:#DEE1EB;} + .d2-140937193 .background-color-N6{background-color:#EEF1F8;} + .d2-140937193 .background-color-N7{background-color:#FFFFFF;} + .d2-140937193 .background-color-B1{background-color:#0D32B2;} + .d2-140937193 .background-color-B2{background-color:#0D32B2;} + .d2-140937193 .background-color-B3{background-color:#E3E9FD;} + .d2-140937193 .background-color-B4{background-color:#E3E9FD;} + .d2-140937193 .background-color-B5{background-color:#EDF0FD;} + .d2-140937193 .background-color-B6{background-color:#F7F8FE;} + .d2-140937193 .background-color-AA2{background-color:#4A6FF3;} + .d2-140937193 .background-color-AA4{background-color:#EDF0FD;} + .d2-140937193 .background-color-AA5{background-color:#F7F8FE;} + .d2-140937193 .background-color-AB4{background-color:#EDF0FD;} + .d2-140937193 .background-color-AB5{background-color:#F7F8FE;} + .d2-140937193 .color-N1{color:#0A0F25;} + .d2-140937193 .color-N2{color:#676C7E;} + .d2-140937193 .color-N3{color:#9499AB;} + .d2-140937193 .color-N4{color:#CFD2DD;} + .d2-140937193 .color-N5{color:#DEE1EB;} + .d2-140937193 .color-N6{color:#EEF1F8;} + .d2-140937193 .color-N7{color:#FFFFFF;} + .d2-140937193 .color-B1{color:#0D32B2;} + .d2-140937193 .color-B2{color:#0D32B2;} + .d2-140937193 .color-B3{color:#E3E9FD;} + .d2-140937193 .color-B4{color:#E3E9FD;} + .d2-140937193 .color-B5{color:#EDF0FD;} + .d2-140937193 .color-B6{color:#F7F8FE;} + .d2-140937193 .color-AA2{color:#4A6FF3;} + .d2-140937193 .color-AA4{color:#EDF0FD;} + .d2-140937193 .color-AA5{color:#F7F8FE;} + .d2-140937193 .color-AB4{color:#EDF0FD;} + .d2-140937193 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acfbdhg + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/connected_container/elk/sketch.exp.svg b/e2etests/testdata/stable/connected_container/elk/sketch.exp.svg index d72caaf5c..20bc8fdf5 100644 --- a/e2etests/testdata/stable/connected_container/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/connected_container/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -acfbdhg + .d2-1664589405 .fill-N1{fill:#0A0F25;} + .d2-1664589405 .fill-N2{fill:#676C7E;} + .d2-1664589405 .fill-N3{fill:#9499AB;} + .d2-1664589405 .fill-N4{fill:#CFD2DD;} + .d2-1664589405 .fill-N5{fill:#DEE1EB;} + .d2-1664589405 .fill-N6{fill:#EEF1F8;} + .d2-1664589405 .fill-N7{fill:#FFFFFF;} + .d2-1664589405 .fill-B1{fill:#0D32B2;} + .d2-1664589405 .fill-B2{fill:#0D32B2;} + .d2-1664589405 .fill-B3{fill:#E3E9FD;} + .d2-1664589405 .fill-B4{fill:#E3E9FD;} + .d2-1664589405 .fill-B5{fill:#EDF0FD;} + .d2-1664589405 .fill-B6{fill:#F7F8FE;} + .d2-1664589405 .fill-AA2{fill:#4A6FF3;} + .d2-1664589405 .fill-AA4{fill:#EDF0FD;} + .d2-1664589405 .fill-AA5{fill:#F7F8FE;} + .d2-1664589405 .fill-AB4{fill:#EDF0FD;} + .d2-1664589405 .fill-AB5{fill:#F7F8FE;} + .d2-1664589405 .stroke-N1{stroke:#0A0F25;} + .d2-1664589405 .stroke-N2{stroke:#676C7E;} + .d2-1664589405 .stroke-N3{stroke:#9499AB;} + .d2-1664589405 .stroke-N4{stroke:#CFD2DD;} + .d2-1664589405 .stroke-N5{stroke:#DEE1EB;} + .d2-1664589405 .stroke-N6{stroke:#EEF1F8;} + .d2-1664589405 .stroke-N7{stroke:#FFFFFF;} + .d2-1664589405 .stroke-B1{stroke:#0D32B2;} + .d2-1664589405 .stroke-B2{stroke:#0D32B2;} + .d2-1664589405 .stroke-B3{stroke:#E3E9FD;} + .d2-1664589405 .stroke-B4{stroke:#E3E9FD;} + .d2-1664589405 .stroke-B5{stroke:#EDF0FD;} + .d2-1664589405 .stroke-B6{stroke:#F7F8FE;} + .d2-1664589405 .stroke-AA2{stroke:#4A6FF3;} + .d2-1664589405 .stroke-AA4{stroke:#EDF0FD;} + .d2-1664589405 .stroke-AA5{stroke:#F7F8FE;} + .d2-1664589405 .stroke-AB4{stroke:#EDF0FD;} + .d2-1664589405 .stroke-AB5{stroke:#F7F8FE;} + .d2-1664589405 .background-color-N1{background-color:#0A0F25;} + .d2-1664589405 .background-color-N2{background-color:#676C7E;} + .d2-1664589405 .background-color-N3{background-color:#9499AB;} + .d2-1664589405 .background-color-N4{background-color:#CFD2DD;} + .d2-1664589405 .background-color-N5{background-color:#DEE1EB;} + .d2-1664589405 .background-color-N6{background-color:#EEF1F8;} + .d2-1664589405 .background-color-N7{background-color:#FFFFFF;} + .d2-1664589405 .background-color-B1{background-color:#0D32B2;} + .d2-1664589405 .background-color-B2{background-color:#0D32B2;} + .d2-1664589405 .background-color-B3{background-color:#E3E9FD;} + .d2-1664589405 .background-color-B4{background-color:#E3E9FD;} + .d2-1664589405 .background-color-B5{background-color:#EDF0FD;} + .d2-1664589405 .background-color-B6{background-color:#F7F8FE;} + .d2-1664589405 .background-color-AA2{background-color:#4A6FF3;} + .d2-1664589405 .background-color-AA4{background-color:#EDF0FD;} + .d2-1664589405 .background-color-AA5{background-color:#F7F8FE;} + .d2-1664589405 .background-color-AB4{background-color:#EDF0FD;} + .d2-1664589405 .background-color-AB5{background-color:#F7F8FE;} + .d2-1664589405 .color-N1{color:#0A0F25;} + .d2-1664589405 .color-N2{color:#676C7E;} + .d2-1664589405 .color-N3{color:#9499AB;} + .d2-1664589405 .color-N4{color:#CFD2DD;} + .d2-1664589405 .color-N5{color:#DEE1EB;} + .d2-1664589405 .color-N6{color:#EEF1F8;} + .d2-1664589405 .color-N7{color:#FFFFFF;} + .d2-1664589405 .color-B1{color:#0D32B2;} + .d2-1664589405 .color-B2{color:#0D32B2;} + .d2-1664589405 .color-B3{color:#E3E9FD;} + .d2-1664589405 .color-B4{color:#E3E9FD;} + .d2-1664589405 .color-B5{color:#EDF0FD;} + .d2-1664589405 .color-B6{color:#F7F8FE;} + .d2-1664589405 .color-AA2{color:#4A6FF3;} + .d2-1664589405 .color-AA4{color:#EDF0FD;} + .d2-1664589405 .color-AA5{color:#F7F8FE;} + .d2-1664589405 .color-AB4{color:#EDF0FD;} + .d2-1664589405 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acfbdhg diff --git a/e2etests/testdata/stable/constant_near_stress/dagre/sketch.exp.svg b/e2etests/testdata/stable/constant_near_stress/dagre/sketch.exp.svg index c441d40e2..78134855a 100644 --- a/e2etests/testdata/stable/constant_near_stress/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/constant_near_stress/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -xyThe top of the mountain

    Cats, no less liquid than their shadows, offer no angles to the wind.

    If we can't fix it, it ain't broke.

    Dieters live life in the fasting lane.

    -
    JoeDonaldi am top lefti am top righti am bottom lefti am bottom right +
    JoeDonaldi am top lefti am top righti am bottom lefti am bottom right diff --git a/e2etests/testdata/stable/constant_near_stress/elk/sketch.exp.svg b/e2etests/testdata/stable/constant_near_stress/elk/sketch.exp.svg index 3131f9fdd..d85bffe5b 100644 --- a/e2etests/testdata/stable/constant_near_stress/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/constant_near_stress/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -xyThe top of the mountain

    Cats, no less liquid than their shadows, offer no angles to the wind.

    If we can't fix it, it ain't broke.

    Dieters live life in the fasting lane.

    -
    JoeDonaldi am top lefti am top righti am bottom lefti am bottom right +
    JoeDonaldi am top lefti am top righti am bottom lefti am bottom right diff --git a/e2etests/testdata/stable/constant_near_title/dagre/board.exp.json b/e2etests/testdata/stable/constant_near_title/dagre/board.exp.json index 84fec31bf..ac0d6e0df 100644 --- a/e2etests/testdata/stable/constant_near_title/dagre/board.exp.json +++ b/e2etests/testdata/stable/constant_near_title/dagre/board.exp.json @@ -275,11 +275,11 @@ "labelPercentage": 0, "route": [ { - "x": 188.70399475097656, + "x": 188.5, "y": 66 }, { - "x": 227.74000549316406, + "x": 227.6999969482422, "y": 106 }, { @@ -322,11 +322,11 @@ "labelPercentage": 0, "route": [ { - "x": 201.31900024414062, + "x": 201.5, "y": 232 }, { - "x": 157.46299743652344, + "x": 157.5, "y": 272 }, { @@ -369,11 +369,11 @@ "labelPercentage": 0, "route": [ { - "x": 61.52399826049805, + "x": 61.5, "y": 332 }, { - "x": 56.70399856567383, + "x": 56.70000076293945, "y": 292 }, { @@ -428,11 +428,11 @@ "labelPercentage": 0, "route": [ { - "x": 241.47500610351562, + "x": 241.5, "y": 232 }, { - "x": 246.2949981689453, + "x": 246.3000030517578, "y": 272 }, { diff --git a/e2etests/testdata/stable/constant_near_title/dagre/sketch.exp.svg b/e2etests/testdata/stable/constant_near_title/dagre/sketch.exp.svg index 2d767b093..91cd0cab6 100644 --- a/e2etests/testdata/stable/constant_near_title/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/constant_near_title/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -poll the peopleresultsunfavorablefavorablewill of the people

    A winning strategy

    -
    + diff --git a/e2etests/testdata/stable/constant_near_title/elk/sketch.exp.svg b/e2etests/testdata/stable/constant_near_title/elk/sketch.exp.svg index c5bbf70df..8d6e6ec78 100644 --- a/e2etests/testdata/stable/constant_near_title/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/constant_near_title/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -poll the peopleresultsunfavorablefavorablewill of the people

    A winning strategy

    -
    + diff --git a/e2etests/testdata/stable/container_edges/dagre/board.exp.json b/e2etests/testdata/stable/container_edges/dagre/board.exp.json index 9fd39e265..94aba95e2 100644 --- a/e2etests/testdata/stable/container_edges/dagre/board.exp.json +++ b/e2etests/testdata/stable/container_edges/dagre/board.exp.json @@ -48,11 +48,11 @@ "id": "g", "type": "rectangle", "pos": { - "x": 0, - "y": 207 + "x": 10, + "y": 186 }, - "width": 133, - "height": 657, + "width": 113, + "height": 658, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -131,10 +131,10 @@ "type": "rectangle", "pos": { "x": 153, - "y": 423 + "y": 411 }, "width": 173, - "height": 225, + "height": 197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -171,11 +171,11 @@ "id": "d.h", "type": "rectangle", "pos": { - "x": 173, - "y": 488 + "x": 183, + "y": 452 }, - "width": 133, - "height": 130, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 213, - "y": 520 + "y": 482 }, "width": 53, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 768 + "y": 748 }, "width": 53, "height": 66, @@ -367,11 +367,11 @@ }, { "x": 66.5, - "y": 180.10000610351562 + "y": 176 }, { "x": 66.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -406,11 +406,11 @@ "route": [ { "x": 66.5, - "y": 302.5 + "y": 282 }, { "x": 66.5, - "y": 326.1000061035156 + "y": 322 }, { "x": 66.5, @@ -426,11 +426,11 @@ }, { "x": 95.9000015258789, - "y": 453.70001220703125 + "y": 446 }, { "x": 213.5, - "y": 540.5 + "y": 502 } ], "isCurve": true, @@ -465,19 +465,19 @@ "route": [ { "x": 226.25, - "y": 648 + "y": 608 }, { "x": 79.8499984741211, - "y": 688 + "y": 680 }, { "x": 46.04999923706055, - "y": 712.0999755859375 + "y": 708 }, { "x": 57.25, - "y": 768.5 + "y": 748 } ], "isCurve": true, @@ -511,12 +511,12 @@ "labelPercentage": 0, "route": [ { - "x": 61.23099899291992, - "y": 834.5 + "x": 61.25, + "y": 814 }, { - "x": 54.84600067138672, - "y": 858.0999755859375 + "x": 54.849998474121094, + "y": 854 }, { "x": 54.849998474121094, @@ -558,20 +558,20 @@ "labelPercentage": 0, "route": [ { - "x": 75.74299621582031, + "x": 75.75, "y": 964 }, { - "x": 86.947998046875, + "x": 86.94999694824219, "y": 924 }, { "x": 89.75, - "y": 904 + "y": 900 }, { "x": 89.75, - "y": 864 + "y": 844 } ], "isCurve": true, @@ -605,20 +605,20 @@ "labelPercentage": 0, "route": [ { - "x": 132.75, - "y": 726 + "x": 122.75, + "y": 685 }, { - "x": 236.75, - "y": 663.5999755859375 + "x": 234.75, + "y": 655.4000244140625 }, { "x": 262.75, - "y": 642.0999755859375 + "y": 634 }, { "x": 262.75, - "y": 618.5 + "y": 578 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/container_edges/dagre/sketch.exp.svg b/e2etests/testdata/stable/container_edges/dagre/sketch.exp.svg index b6eedb676..ad2dae02d 100644 --- a/e2etests/testdata/stable/container_edges/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/container_edges/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -agdfbhec - + .d2-2124593193 .fill-N1{fill:#0A0F25;} + .d2-2124593193 .fill-N2{fill:#676C7E;} + .d2-2124593193 .fill-N3{fill:#9499AB;} + .d2-2124593193 .fill-N4{fill:#CFD2DD;} + .d2-2124593193 .fill-N5{fill:#DEE1EB;} + .d2-2124593193 .fill-N6{fill:#EEF1F8;} + .d2-2124593193 .fill-N7{fill:#FFFFFF;} + .d2-2124593193 .fill-B1{fill:#0D32B2;} + .d2-2124593193 .fill-B2{fill:#0D32B2;} + .d2-2124593193 .fill-B3{fill:#E3E9FD;} + .d2-2124593193 .fill-B4{fill:#E3E9FD;} + .d2-2124593193 .fill-B5{fill:#EDF0FD;} + .d2-2124593193 .fill-B6{fill:#F7F8FE;} + .d2-2124593193 .fill-AA2{fill:#4A6FF3;} + .d2-2124593193 .fill-AA4{fill:#EDF0FD;} + .d2-2124593193 .fill-AA5{fill:#F7F8FE;} + .d2-2124593193 .fill-AB4{fill:#EDF0FD;} + .d2-2124593193 .fill-AB5{fill:#F7F8FE;} + .d2-2124593193 .stroke-N1{stroke:#0A0F25;} + .d2-2124593193 .stroke-N2{stroke:#676C7E;} + .d2-2124593193 .stroke-N3{stroke:#9499AB;} + .d2-2124593193 .stroke-N4{stroke:#CFD2DD;} + .d2-2124593193 .stroke-N5{stroke:#DEE1EB;} + .d2-2124593193 .stroke-N6{stroke:#EEF1F8;} + .d2-2124593193 .stroke-N7{stroke:#FFFFFF;} + .d2-2124593193 .stroke-B1{stroke:#0D32B2;} + .d2-2124593193 .stroke-B2{stroke:#0D32B2;} + .d2-2124593193 .stroke-B3{stroke:#E3E9FD;} + .d2-2124593193 .stroke-B4{stroke:#E3E9FD;} + .d2-2124593193 .stroke-B5{stroke:#EDF0FD;} + .d2-2124593193 .stroke-B6{stroke:#F7F8FE;} + .d2-2124593193 .stroke-AA2{stroke:#4A6FF3;} + .d2-2124593193 .stroke-AA4{stroke:#EDF0FD;} + .d2-2124593193 .stroke-AA5{stroke:#F7F8FE;} + .d2-2124593193 .stroke-AB4{stroke:#EDF0FD;} + .d2-2124593193 .stroke-AB5{stroke:#F7F8FE;} + .d2-2124593193 .background-color-N1{background-color:#0A0F25;} + .d2-2124593193 .background-color-N2{background-color:#676C7E;} + .d2-2124593193 .background-color-N3{background-color:#9499AB;} + .d2-2124593193 .background-color-N4{background-color:#CFD2DD;} + .d2-2124593193 .background-color-N5{background-color:#DEE1EB;} + .d2-2124593193 .background-color-N6{background-color:#EEF1F8;} + .d2-2124593193 .background-color-N7{background-color:#FFFFFF;} + .d2-2124593193 .background-color-B1{background-color:#0D32B2;} + .d2-2124593193 .background-color-B2{background-color:#0D32B2;} + .d2-2124593193 .background-color-B3{background-color:#E3E9FD;} + .d2-2124593193 .background-color-B4{background-color:#E3E9FD;} + .d2-2124593193 .background-color-B5{background-color:#EDF0FD;} + .d2-2124593193 .background-color-B6{background-color:#F7F8FE;} + .d2-2124593193 .background-color-AA2{background-color:#4A6FF3;} + .d2-2124593193 .background-color-AA4{background-color:#EDF0FD;} + .d2-2124593193 .background-color-AA5{background-color:#F7F8FE;} + .d2-2124593193 .background-color-AB4{background-color:#EDF0FD;} + .d2-2124593193 .background-color-AB5{background-color:#F7F8FE;} + .d2-2124593193 .color-N1{color:#0A0F25;} + .d2-2124593193 .color-N2{color:#676C7E;} + .d2-2124593193 .color-N3{color:#9499AB;} + .d2-2124593193 .color-N4{color:#CFD2DD;} + .d2-2124593193 .color-N5{color:#DEE1EB;} + .d2-2124593193 .color-N6{color:#EEF1F8;} + .d2-2124593193 .color-N7{color:#FFFFFF;} + .d2-2124593193 .color-B1{color:#0D32B2;} + .d2-2124593193 .color-B2{color:#0D32B2;} + .d2-2124593193 .color-B3{color:#E3E9FD;} + .d2-2124593193 .color-B4{color:#E3E9FD;} + .d2-2124593193 .color-B5{color:#EDF0FD;} + .d2-2124593193 .color-B6{color:#F7F8FE;} + .d2-2124593193 .color-AA2{color:#4A6FF3;} + .d2-2124593193 .color-AA4{color:#EDF0FD;} + .d2-2124593193 .color-AA5{color:#F7F8FE;} + .d2-2124593193 .color-AB4{color:#EDF0FD;} + .d2-2124593193 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>agdfbhec + - - + + - - - - + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/container_edges/elk/sketch.exp.svg b/e2etests/testdata/stable/container_edges/elk/sketch.exp.svg index e17bc75a3..8f92d058f 100644 --- a/e2etests/testdata/stable/container_edges/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/container_edges/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -agdfbhec + .d2-62429622 .fill-N1{fill:#0A0F25;} + .d2-62429622 .fill-N2{fill:#676C7E;} + .d2-62429622 .fill-N3{fill:#9499AB;} + .d2-62429622 .fill-N4{fill:#CFD2DD;} + .d2-62429622 .fill-N5{fill:#DEE1EB;} + .d2-62429622 .fill-N6{fill:#EEF1F8;} + .d2-62429622 .fill-N7{fill:#FFFFFF;} + .d2-62429622 .fill-B1{fill:#0D32B2;} + .d2-62429622 .fill-B2{fill:#0D32B2;} + .d2-62429622 .fill-B3{fill:#E3E9FD;} + .d2-62429622 .fill-B4{fill:#E3E9FD;} + .d2-62429622 .fill-B5{fill:#EDF0FD;} + .d2-62429622 .fill-B6{fill:#F7F8FE;} + .d2-62429622 .fill-AA2{fill:#4A6FF3;} + .d2-62429622 .fill-AA4{fill:#EDF0FD;} + .d2-62429622 .fill-AA5{fill:#F7F8FE;} + .d2-62429622 .fill-AB4{fill:#EDF0FD;} + .d2-62429622 .fill-AB5{fill:#F7F8FE;} + .d2-62429622 .stroke-N1{stroke:#0A0F25;} + .d2-62429622 .stroke-N2{stroke:#676C7E;} + .d2-62429622 .stroke-N3{stroke:#9499AB;} + .d2-62429622 .stroke-N4{stroke:#CFD2DD;} + .d2-62429622 .stroke-N5{stroke:#DEE1EB;} + .d2-62429622 .stroke-N6{stroke:#EEF1F8;} + .d2-62429622 .stroke-N7{stroke:#FFFFFF;} + .d2-62429622 .stroke-B1{stroke:#0D32B2;} + .d2-62429622 .stroke-B2{stroke:#0D32B2;} + .d2-62429622 .stroke-B3{stroke:#E3E9FD;} + .d2-62429622 .stroke-B4{stroke:#E3E9FD;} + .d2-62429622 .stroke-B5{stroke:#EDF0FD;} + .d2-62429622 .stroke-B6{stroke:#F7F8FE;} + .d2-62429622 .stroke-AA2{stroke:#4A6FF3;} + .d2-62429622 .stroke-AA4{stroke:#EDF0FD;} + .d2-62429622 .stroke-AA5{stroke:#F7F8FE;} + .d2-62429622 .stroke-AB4{stroke:#EDF0FD;} + .d2-62429622 .stroke-AB5{stroke:#F7F8FE;} + .d2-62429622 .background-color-N1{background-color:#0A0F25;} + .d2-62429622 .background-color-N2{background-color:#676C7E;} + .d2-62429622 .background-color-N3{background-color:#9499AB;} + .d2-62429622 .background-color-N4{background-color:#CFD2DD;} + .d2-62429622 .background-color-N5{background-color:#DEE1EB;} + .d2-62429622 .background-color-N6{background-color:#EEF1F8;} + .d2-62429622 .background-color-N7{background-color:#FFFFFF;} + .d2-62429622 .background-color-B1{background-color:#0D32B2;} + .d2-62429622 .background-color-B2{background-color:#0D32B2;} + .d2-62429622 .background-color-B3{background-color:#E3E9FD;} + .d2-62429622 .background-color-B4{background-color:#E3E9FD;} + .d2-62429622 .background-color-B5{background-color:#EDF0FD;} + .d2-62429622 .background-color-B6{background-color:#F7F8FE;} + .d2-62429622 .background-color-AA2{background-color:#4A6FF3;} + .d2-62429622 .background-color-AA4{background-color:#EDF0FD;} + .d2-62429622 .background-color-AA5{background-color:#F7F8FE;} + .d2-62429622 .background-color-AB4{background-color:#EDF0FD;} + .d2-62429622 .background-color-AB5{background-color:#F7F8FE;} + .d2-62429622 .color-N1{color:#0A0F25;} + .d2-62429622 .color-N2{color:#676C7E;} + .d2-62429622 .color-N3{color:#9499AB;} + .d2-62429622 .color-N4{color:#CFD2DD;} + .d2-62429622 .color-N5{color:#DEE1EB;} + .d2-62429622 .color-N6{color:#EEF1F8;} + .d2-62429622 .color-N7{color:#FFFFFF;} + .d2-62429622 .color-B1{color:#0D32B2;} + .d2-62429622 .color-B2{color:#0D32B2;} + .d2-62429622 .color-B3{color:#E3E9FD;} + .d2-62429622 .color-B4{color:#E3E9FD;} + .d2-62429622 .color-B5{color:#EDF0FD;} + .d2-62429622 .color-B6{color:#F7F8FE;} + .d2-62429622 .color-AA2{color:#4A6FF3;} + .d2-62429622 .color-AA4{color:#EDF0FD;} + .d2-62429622 .color-AA5{color:#F7F8FE;} + .d2-62429622 .color-AB4{color:#EDF0FD;} + .d2-62429622 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>agdfbhec diff --git a/e2etests/testdata/stable/crow_foot_arrowhead/dagre/sketch.exp.svg b/e2etests/testdata/stable/crow_foot_arrowhead/dagre/sketch.exp.svg index 885fa8bca..d5ebb4a34 100644 --- a/e2etests/testdata/stable/crow_foot_arrowhead/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/crow_foot_arrowhead/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf + .d2-2476952213 .fill-N1{fill:#0A0F25;} + .d2-2476952213 .fill-N2{fill:#676C7E;} + .d2-2476952213 .fill-N3{fill:#9499AB;} + .d2-2476952213 .fill-N4{fill:#CFD2DD;} + .d2-2476952213 .fill-N5{fill:#DEE1EB;} + .d2-2476952213 .fill-N6{fill:#EEF1F8;} + .d2-2476952213 .fill-N7{fill:#FFFFFF;} + .d2-2476952213 .fill-B1{fill:#0D32B2;} + .d2-2476952213 .fill-B2{fill:#0D32B2;} + .d2-2476952213 .fill-B3{fill:#E3E9FD;} + .d2-2476952213 .fill-B4{fill:#E3E9FD;} + .d2-2476952213 .fill-B5{fill:#EDF0FD;} + .d2-2476952213 .fill-B6{fill:#F7F8FE;} + .d2-2476952213 .fill-AA2{fill:#4A6FF3;} + .d2-2476952213 .fill-AA4{fill:#EDF0FD;} + .d2-2476952213 .fill-AA5{fill:#F7F8FE;} + .d2-2476952213 .fill-AB4{fill:#EDF0FD;} + .d2-2476952213 .fill-AB5{fill:#F7F8FE;} + .d2-2476952213 .stroke-N1{stroke:#0A0F25;} + .d2-2476952213 .stroke-N2{stroke:#676C7E;} + .d2-2476952213 .stroke-N3{stroke:#9499AB;} + .d2-2476952213 .stroke-N4{stroke:#CFD2DD;} + .d2-2476952213 .stroke-N5{stroke:#DEE1EB;} + .d2-2476952213 .stroke-N6{stroke:#EEF1F8;} + .d2-2476952213 .stroke-N7{stroke:#FFFFFF;} + .d2-2476952213 .stroke-B1{stroke:#0D32B2;} + .d2-2476952213 .stroke-B2{stroke:#0D32B2;} + .d2-2476952213 .stroke-B3{stroke:#E3E9FD;} + .d2-2476952213 .stroke-B4{stroke:#E3E9FD;} + .d2-2476952213 .stroke-B5{stroke:#EDF0FD;} + .d2-2476952213 .stroke-B6{stroke:#F7F8FE;} + .d2-2476952213 .stroke-AA2{stroke:#4A6FF3;} + .d2-2476952213 .stroke-AA4{stroke:#EDF0FD;} + .d2-2476952213 .stroke-AA5{stroke:#F7F8FE;} + .d2-2476952213 .stroke-AB4{stroke:#EDF0FD;} + .d2-2476952213 .stroke-AB5{stroke:#F7F8FE;} + .d2-2476952213 .background-color-N1{background-color:#0A0F25;} + .d2-2476952213 .background-color-N2{background-color:#676C7E;} + .d2-2476952213 .background-color-N3{background-color:#9499AB;} + .d2-2476952213 .background-color-N4{background-color:#CFD2DD;} + .d2-2476952213 .background-color-N5{background-color:#DEE1EB;} + .d2-2476952213 .background-color-N6{background-color:#EEF1F8;} + .d2-2476952213 .background-color-N7{background-color:#FFFFFF;} + .d2-2476952213 .background-color-B1{background-color:#0D32B2;} + .d2-2476952213 .background-color-B2{background-color:#0D32B2;} + .d2-2476952213 .background-color-B3{background-color:#E3E9FD;} + .d2-2476952213 .background-color-B4{background-color:#E3E9FD;} + .d2-2476952213 .background-color-B5{background-color:#EDF0FD;} + .d2-2476952213 .background-color-B6{background-color:#F7F8FE;} + .d2-2476952213 .background-color-AA2{background-color:#4A6FF3;} + .d2-2476952213 .background-color-AA4{background-color:#EDF0FD;} + .d2-2476952213 .background-color-AA5{background-color:#F7F8FE;} + .d2-2476952213 .background-color-AB4{background-color:#EDF0FD;} + .d2-2476952213 .background-color-AB5{background-color:#F7F8FE;} + .d2-2476952213 .color-N1{color:#0A0F25;} + .d2-2476952213 .color-N2{color:#676C7E;} + .d2-2476952213 .color-N3{color:#9499AB;} + .d2-2476952213 .color-N4{color:#CFD2DD;} + .d2-2476952213 .color-N5{color:#DEE1EB;} + .d2-2476952213 .color-N6{color:#EEF1F8;} + .d2-2476952213 .color-N7{color:#FFFFFF;} + .d2-2476952213 .color-B1{color:#0D32B2;} + .d2-2476952213 .color-B2{color:#0D32B2;} + .d2-2476952213 .color-B3{color:#E3E9FD;} + .d2-2476952213 .color-B4{color:#E3E9FD;} + .d2-2476952213 .color-B5{color:#EDF0FD;} + .d2-2476952213 .color-B6{color:#F7F8FE;} + .d2-2476952213 .color-AA2{color:#4A6FF3;} + .d2-2476952213 .color-AA4{color:#EDF0FD;} + .d2-2476952213 .color-AA5{color:#F7F8FE;} + .d2-2476952213 .color-AB4{color:#EDF0FD;} + .d2-2476952213 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf diff --git a/e2etests/testdata/stable/crow_foot_arrowhead/elk/sketch.exp.svg b/e2etests/testdata/stable/crow_foot_arrowhead/elk/sketch.exp.svg index a483f9cbe..9b2a5d4bc 100644 --- a/e2etests/testdata/stable/crow_foot_arrowhead/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/crow_foot_arrowhead/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf + .d2-2427018465 .fill-N1{fill:#0A0F25;} + .d2-2427018465 .fill-N2{fill:#676C7E;} + .d2-2427018465 .fill-N3{fill:#9499AB;} + .d2-2427018465 .fill-N4{fill:#CFD2DD;} + .d2-2427018465 .fill-N5{fill:#DEE1EB;} + .d2-2427018465 .fill-N6{fill:#EEF1F8;} + .d2-2427018465 .fill-N7{fill:#FFFFFF;} + .d2-2427018465 .fill-B1{fill:#0D32B2;} + .d2-2427018465 .fill-B2{fill:#0D32B2;} + .d2-2427018465 .fill-B3{fill:#E3E9FD;} + .d2-2427018465 .fill-B4{fill:#E3E9FD;} + .d2-2427018465 .fill-B5{fill:#EDF0FD;} + .d2-2427018465 .fill-B6{fill:#F7F8FE;} + .d2-2427018465 .fill-AA2{fill:#4A6FF3;} + .d2-2427018465 .fill-AA4{fill:#EDF0FD;} + .d2-2427018465 .fill-AA5{fill:#F7F8FE;} + .d2-2427018465 .fill-AB4{fill:#EDF0FD;} + .d2-2427018465 .fill-AB5{fill:#F7F8FE;} + .d2-2427018465 .stroke-N1{stroke:#0A0F25;} + .d2-2427018465 .stroke-N2{stroke:#676C7E;} + .d2-2427018465 .stroke-N3{stroke:#9499AB;} + .d2-2427018465 .stroke-N4{stroke:#CFD2DD;} + .d2-2427018465 .stroke-N5{stroke:#DEE1EB;} + .d2-2427018465 .stroke-N6{stroke:#EEF1F8;} + .d2-2427018465 .stroke-N7{stroke:#FFFFFF;} + .d2-2427018465 .stroke-B1{stroke:#0D32B2;} + .d2-2427018465 .stroke-B2{stroke:#0D32B2;} + .d2-2427018465 .stroke-B3{stroke:#E3E9FD;} + .d2-2427018465 .stroke-B4{stroke:#E3E9FD;} + .d2-2427018465 .stroke-B5{stroke:#EDF0FD;} + .d2-2427018465 .stroke-B6{stroke:#F7F8FE;} + .d2-2427018465 .stroke-AA2{stroke:#4A6FF3;} + .d2-2427018465 .stroke-AA4{stroke:#EDF0FD;} + .d2-2427018465 .stroke-AA5{stroke:#F7F8FE;} + .d2-2427018465 .stroke-AB4{stroke:#EDF0FD;} + .d2-2427018465 .stroke-AB5{stroke:#F7F8FE;} + .d2-2427018465 .background-color-N1{background-color:#0A0F25;} + .d2-2427018465 .background-color-N2{background-color:#676C7E;} + .d2-2427018465 .background-color-N3{background-color:#9499AB;} + .d2-2427018465 .background-color-N4{background-color:#CFD2DD;} + .d2-2427018465 .background-color-N5{background-color:#DEE1EB;} + .d2-2427018465 .background-color-N6{background-color:#EEF1F8;} + .d2-2427018465 .background-color-N7{background-color:#FFFFFF;} + .d2-2427018465 .background-color-B1{background-color:#0D32B2;} + .d2-2427018465 .background-color-B2{background-color:#0D32B2;} + .d2-2427018465 .background-color-B3{background-color:#E3E9FD;} + .d2-2427018465 .background-color-B4{background-color:#E3E9FD;} + .d2-2427018465 .background-color-B5{background-color:#EDF0FD;} + .d2-2427018465 .background-color-B6{background-color:#F7F8FE;} + .d2-2427018465 .background-color-AA2{background-color:#4A6FF3;} + .d2-2427018465 .background-color-AA4{background-color:#EDF0FD;} + .d2-2427018465 .background-color-AA5{background-color:#F7F8FE;} + .d2-2427018465 .background-color-AB4{background-color:#EDF0FD;} + .d2-2427018465 .background-color-AB5{background-color:#F7F8FE;} + .d2-2427018465 .color-N1{color:#0A0F25;} + .d2-2427018465 .color-N2{color:#676C7E;} + .d2-2427018465 .color-N3{color:#9499AB;} + .d2-2427018465 .color-N4{color:#CFD2DD;} + .d2-2427018465 .color-N5{color:#DEE1EB;} + .d2-2427018465 .color-N6{color:#EEF1F8;} + .d2-2427018465 .color-N7{color:#FFFFFF;} + .d2-2427018465 .color-B1{color:#0D32B2;} + .d2-2427018465 .color-B2{color:#0D32B2;} + .d2-2427018465 .color-B3{color:#E3E9FD;} + .d2-2427018465 .color-B4{color:#E3E9FD;} + .d2-2427018465 .color-B5{color:#EDF0FD;} + .d2-2427018465 .color-B6{color:#F7F8FE;} + .d2-2427018465 .color-AA2{color:#4A6FF3;} + .d2-2427018465 .color-AA4{color:#EDF0FD;} + .d2-2427018465 .color-AA5{color:#F7F8FE;} + .d2-2427018465 .color-AB4{color:#EDF0FD;} + .d2-2427018465 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a1b1a2b2a3b3c1d1c2d2c3d3e1f1e2f2e3f3g1h1g2h2g3h3cdf diff --git a/e2etests/testdata/stable/cycle-order/dagre/board.exp.json b/e2etests/testdata/stable/cycle-order/dagre/board.exp.json index 860aaa8f7..aae8b0aa5 100644 --- a/e2etests/testdata/stable/cycle-order/dagre/board.exp.json +++ b/e2etests/testdata/stable/cycle-order/dagre/board.exp.json @@ -10,11 +10,11 @@ "group" ], "pos": { - "x": 0, - "y": 41 + "x": 20, + "y": 150 }, - "width": 170, - "height": 216, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -54,11 +54,11 @@ "group" ], "pos": { - "x": 270, - "y": 41 + "x": 290, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -98,11 +98,11 @@ "group" ], "pos": { - "x": 540, - "y": 41 + "x": 560, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -142,11 +142,11 @@ "group" ], "pos": { - "x": 810, - "y": 41 + "x": 830, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -186,11 +186,11 @@ "group" ], "pos": { - "x": 1080, - "y": 41 + "x": 1100, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -230,11 +230,11 @@ "group" ], "pos": { - "x": 1350, - "y": 41 + "x": 1370, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -274,11 +274,11 @@ "group" ], "pos": { - "x": 1620, - "y": 41 + "x": 1640, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -318,11 +318,11 @@ "group" ], "pos": { - "x": 1890, - "y": 41 + "x": 1910, + "y": 56 }, - "width": 170, - "height": 117, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -362,11 +362,11 @@ "group" ], "pos": { - "x": 2160, - "y": 41 + "x": 2180, + "y": 150 }, - "width": 170, - "height": 216, + "width": 130, + "height": 131, "opacity": 1, "strokeDash": 5, "strokeWidth": 2, @@ -407,7 +407,7 @@ ], "pos": { "x": 50, - "y": 111 + "y": 180 }, "width": 70, "height": 70, @@ -463,7 +463,7 @@ ], "pos": { "x": 320, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -519,7 +519,7 @@ ], "pos": { "x": 590, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -575,7 +575,7 @@ ], "pos": { "x": 860, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -631,7 +631,7 @@ ], "pos": { "x": 1130, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -687,7 +687,7 @@ ], "pos": { "x": 1400, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -743,7 +743,7 @@ ], "pos": { "x": 1670, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -799,7 +799,7 @@ ], "pos": { "x": 1940, - "y": 52 + "y": 86 }, "width": 70, "height": 70, @@ -855,7 +855,7 @@ ], "pos": { "x": 2210, - "y": 111 + "y": 180 }, "width": 70, "height": 70, @@ -930,20 +930,20 @@ "labelPercentage": 0, "route": [ { - "x": 170, - "y": 80 + "x": 150, + "y": 167 }, { - "x": 210, - "y": 80 + "x": 206, + "y": 167 }, { - "x": 230, - "y": 80 + "x": 234, + "y": 167 }, { - "x": 270, - "y": 80 + "x": 290, + "y": 167 } ], "isCurve": true, @@ -977,20 +977,20 @@ "labelPercentage": 0, "route": [ { - "x": 440, - "y": 80 + "x": 420, + "y": 121 }, { - "x": 480, - "y": 80 + "x": 476, + "y": 121 }, { - "x": 500, - "y": 80 + "x": 504, + "y": 121 }, { - "x": 540, - "y": 80 + "x": 560, + "y": 121 } ], "isCurve": true, @@ -1024,20 +1024,20 @@ "labelPercentage": 0, "route": [ { - "x": 710, - "y": 80 + "x": 690, + "y": 121 }, { - "x": 750, - "y": 80 + "x": 746, + "y": 121 }, { - "x": 770, - "y": 80 + "x": 774, + "y": 121 }, { - "x": 810, - "y": 80 + "x": 830, + "y": 121 } ], "isCurve": true, @@ -1071,20 +1071,20 @@ "labelPercentage": 0, "route": [ { - "x": 980, - "y": 80 + "x": 960, + "y": 121 }, { - "x": 1020, - "y": 80 + "x": 1016, + "y": 121 }, { - "x": 1040, - "y": 80 + "x": 1044, + "y": 121 }, { - "x": 1080, - "y": 80 + "x": 1100, + "y": 121 } ], "isCurve": true, @@ -1118,20 +1118,20 @@ "labelPercentage": 0, "route": [ { - "x": 1250, - "y": 80 + "x": 1230, + "y": 121 }, { - "x": 1290, - "y": 80 + "x": 1286, + "y": 121 }, { - "x": 1310, - "y": 80 + "x": 1314, + "y": 121 }, { - "x": 1350, - "y": 80 + "x": 1370, + "y": 121 } ], "isCurve": true, @@ -1165,20 +1165,20 @@ "labelPercentage": 0, "route": [ { - "x": 1520, - "y": 80 + "x": 1500, + "y": 121 }, { - "x": 1560, - "y": 80 + "x": 1556, + "y": 121 }, { - "x": 1580, - "y": 80 + "x": 1584, + "y": 121 }, { - "x": 1620, - "y": 80 + "x": 1640, + "y": 121 } ], "isCurve": true, @@ -1212,20 +1212,20 @@ "labelPercentage": 0, "route": [ { - "x": 1790, - "y": 80 + "x": 1770, + "y": 121 }, { - "x": 1830, - "y": 80 + "x": 1826, + "y": 121 }, { - "x": 1850, - "y": 80 + "x": 1854, + "y": 121 }, { - "x": 1890, - "y": 80 + "x": 1910, + "y": 121 } ], "isCurve": true, @@ -1259,20 +1259,20 @@ "labelPercentage": 0, "route": [ { - "x": 2060, - "y": 80 + "x": 2040, + "y": 167 }, { - "x": 2100, - "y": 80 + "x": 2096, + "y": 167 }, { - "x": 2120, - "y": 80 + "x": 2124, + "y": 167 }, { - "x": 2160, - "y": 80 + "x": 2180, + "y": 167 } ], "isCurve": true, @@ -1306,344 +1306,344 @@ "labelPercentage": 0, "route": [ { - "x": 2160, - "y": 198 + "x": 2180, + "y": 262 }, { - "x": 2120, - "y": 198 + "x": 2124, + "y": 262 }, { "x": 2100, - "y": 198 + "y": 262 }, { "x": 2085, - "y": 198 + "y": 262 }, { "x": 2070, - "y": 198 + "y": 262 }, { "x": 2043, - "y": 198 + "y": 262 }, { "x": 2017.5, - "y": 198 + "y": 262 }, { "x": 1992, - "y": 198 + "y": 262 }, { "x": 1958, - "y": 198 + "y": 262 }, { "x": 1932.5, - "y": 198 + "y": 262 }, { "x": 1907, - "y": 198 + "y": 262 }, { "x": 1880, - "y": 198 + "y": 262 }, { "x": 1865, - "y": 198 + "y": 262 }, { "x": 1850, - "y": 198 + "y": 262 }, { "x": 1830, - "y": 198 + "y": 262 }, { "x": 1815, - "y": 198 + "y": 262 }, { "x": 1800, - "y": 198 + "y": 262 }, { "x": 1773, - "y": 198 + "y": 262 }, { "x": 1747.5, - "y": 198 + "y": 262 }, { "x": 1722, - "y": 198 + "y": 262 }, { "x": 1688, - "y": 198 + "y": 262 }, { "x": 1662.5, - "y": 198 + "y": 262 }, { "x": 1637, - "y": 198 + "y": 262 }, { "x": 1610, - "y": 198 + "y": 262 }, { "x": 1595, - "y": 198 + "y": 262 }, { "x": 1580, - "y": 198 + "y": 262 }, { "x": 1560, - "y": 198 + "y": 262 }, { "x": 1545, - "y": 198 + "y": 262 }, { "x": 1530, - "y": 198 + "y": 262 }, { "x": 1503, - "y": 198 + "y": 262 }, { "x": 1477.5, - "y": 198 + "y": 262 }, { "x": 1452, - "y": 198 + "y": 262 }, { "x": 1418, - "y": 198 + "y": 262 }, { "x": 1392.5, - "y": 198 + "y": 262 }, { "x": 1367, - "y": 198 + "y": 262 }, { "x": 1340, - "y": 198 + "y": 262 }, { "x": 1325, - "y": 198 + "y": 262 }, { "x": 1310, - "y": 198 + "y": 262 }, { "x": 1290, - "y": 198 + "y": 262 }, { "x": 1275, - "y": 198 + "y": 262 }, { "x": 1260, - "y": 198 + "y": 262 }, { "x": 1233, - "y": 198 + "y": 262 }, { "x": 1207.5, - "y": 198 + "y": 262 }, { "x": 1182, - "y": 198 + "y": 262 }, { "x": 1148, - "y": 198 + "y": 262 }, { "x": 1122.5, - "y": 198 + "y": 262 }, { "x": 1097, - "y": 198 + "y": 262 }, { "x": 1070, - "y": 198 + "y": 262 }, { "x": 1055, - "y": 198 + "y": 262 }, { "x": 1040, - "y": 198 + "y": 262 }, { "x": 1020, - "y": 198 + "y": 262 }, { "x": 1005, - "y": 198 + "y": 262 }, { "x": 990, - "y": 198 + "y": 262 }, { "x": 963, - "y": 198 + "y": 262 }, { "x": 937.5, - "y": 198 + "y": 262 }, { "x": 912, - "y": 198 + "y": 262 }, { "x": 878, - "y": 198 + "y": 262 }, { "x": 852.5, - "y": 198 + "y": 262 }, { "x": 827, - "y": 198 + "y": 262 }, { "x": 800, - "y": 198 + "y": 262 }, { "x": 785, - "y": 198 + "y": 262 }, { "x": 770, - "y": 198 + "y": 262 }, { "x": 750, - "y": 198 + "y": 262 }, { "x": 735, - "y": 198 + "y": 262 }, { "x": 720, - "y": 198 + "y": 262 }, { "x": 693, - "y": 198 + "y": 262 }, { "x": 667.5, - "y": 198 + "y": 262 }, { "x": 642, - "y": 198 + "y": 262 }, { "x": 608, - "y": 198 + "y": 262 }, { "x": 582.5, - "y": 198 + "y": 262 }, { "x": 557, - "y": 198 + "y": 262 }, { "x": 530, - "y": 198 + "y": 262 }, { "x": 515, - "y": 198 + "y": 262 }, { "x": 500, - "y": 198 + "y": 262 }, { "x": 480, - "y": 198 + "y": 262 }, { "x": 465, - "y": 198 + "y": 262 }, { "x": 450, - "y": 198 + "y": 262 }, { "x": 423, - "y": 198 + "y": 262 }, { "x": 397.5, - "y": 198 + "y": 262 }, { "x": 372, - "y": 198 + "y": 262 }, { "x": 338, - "y": 198 + "y": 262 }, { "x": 312.5, - "y": 198 + "y": 262 }, { "x": 287, - "y": 198 + "y": 262 }, { - "x": 210, - "y": 198 + "x": 206, + "y": 262 }, { - "x": 170, - "y": 198 + "x": 150, + "y": 262 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/cycle-order/dagre/sketch.exp.svg b/e2etests/testdata/stable/cycle-order/dagre/sketch.exp.svg index 78deb234b..b3f13373b 100644 --- a/e2etests/testdata/stable/cycle-order/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/cycle-order/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -PlanCodeBuildTestCheckReleaseDeployOperateMonitorClickUpGitDockerPlaywrightTruffleHogGithub ActionAWS CopilotAWS ECSGrafana - - - - - - - - - - - - - - - - - - - + .d2-1034147298 .fill-N1{fill:#0A0F25;} + .d2-1034147298 .fill-N2{fill:#676C7E;} + .d2-1034147298 .fill-N3{fill:#9499AB;} + .d2-1034147298 .fill-N4{fill:#CFD2DD;} + .d2-1034147298 .fill-N5{fill:#DEE1EB;} + .d2-1034147298 .fill-N6{fill:#EEF1F8;} + .d2-1034147298 .fill-N7{fill:#FFFFFF;} + .d2-1034147298 .fill-B1{fill:#0D32B2;} + .d2-1034147298 .fill-B2{fill:#0D32B2;} + .d2-1034147298 .fill-B3{fill:#E3E9FD;} + .d2-1034147298 .fill-B4{fill:#E3E9FD;} + .d2-1034147298 .fill-B5{fill:#EDF0FD;} + .d2-1034147298 .fill-B6{fill:#F7F8FE;} + .d2-1034147298 .fill-AA2{fill:#4A6FF3;} + .d2-1034147298 .fill-AA4{fill:#EDF0FD;} + .d2-1034147298 .fill-AA5{fill:#F7F8FE;} + .d2-1034147298 .fill-AB4{fill:#EDF0FD;} + .d2-1034147298 .fill-AB5{fill:#F7F8FE;} + .d2-1034147298 .stroke-N1{stroke:#0A0F25;} + .d2-1034147298 .stroke-N2{stroke:#676C7E;} + .d2-1034147298 .stroke-N3{stroke:#9499AB;} + .d2-1034147298 .stroke-N4{stroke:#CFD2DD;} + .d2-1034147298 .stroke-N5{stroke:#DEE1EB;} + .d2-1034147298 .stroke-N6{stroke:#EEF1F8;} + .d2-1034147298 .stroke-N7{stroke:#FFFFFF;} + .d2-1034147298 .stroke-B1{stroke:#0D32B2;} + .d2-1034147298 .stroke-B2{stroke:#0D32B2;} + .d2-1034147298 .stroke-B3{stroke:#E3E9FD;} + .d2-1034147298 .stroke-B4{stroke:#E3E9FD;} + .d2-1034147298 .stroke-B5{stroke:#EDF0FD;} + .d2-1034147298 .stroke-B6{stroke:#F7F8FE;} + .d2-1034147298 .stroke-AA2{stroke:#4A6FF3;} + .d2-1034147298 .stroke-AA4{stroke:#EDF0FD;} + .d2-1034147298 .stroke-AA5{stroke:#F7F8FE;} + .d2-1034147298 .stroke-AB4{stroke:#EDF0FD;} + .d2-1034147298 .stroke-AB5{stroke:#F7F8FE;} + .d2-1034147298 .background-color-N1{background-color:#0A0F25;} + .d2-1034147298 .background-color-N2{background-color:#676C7E;} + .d2-1034147298 .background-color-N3{background-color:#9499AB;} + .d2-1034147298 .background-color-N4{background-color:#CFD2DD;} + .d2-1034147298 .background-color-N5{background-color:#DEE1EB;} + .d2-1034147298 .background-color-N6{background-color:#EEF1F8;} + .d2-1034147298 .background-color-N7{background-color:#FFFFFF;} + .d2-1034147298 .background-color-B1{background-color:#0D32B2;} + .d2-1034147298 .background-color-B2{background-color:#0D32B2;} + .d2-1034147298 .background-color-B3{background-color:#E3E9FD;} + .d2-1034147298 .background-color-B4{background-color:#E3E9FD;} + .d2-1034147298 .background-color-B5{background-color:#EDF0FD;} + .d2-1034147298 .background-color-B6{background-color:#F7F8FE;} + .d2-1034147298 .background-color-AA2{background-color:#4A6FF3;} + .d2-1034147298 .background-color-AA4{background-color:#EDF0FD;} + .d2-1034147298 .background-color-AA5{background-color:#F7F8FE;} + .d2-1034147298 .background-color-AB4{background-color:#EDF0FD;} + .d2-1034147298 .background-color-AB5{background-color:#F7F8FE;} + .d2-1034147298 .color-N1{color:#0A0F25;} + .d2-1034147298 .color-N2{color:#676C7E;} + .d2-1034147298 .color-N3{color:#9499AB;} + .d2-1034147298 .color-N4{color:#CFD2DD;} + .d2-1034147298 .color-N5{color:#DEE1EB;} + .d2-1034147298 .color-N6{color:#EEF1F8;} + .d2-1034147298 .color-N7{color:#FFFFFF;} + .d2-1034147298 .color-B1{color:#0D32B2;} + .d2-1034147298 .color-B2{color:#0D32B2;} + .d2-1034147298 .color-B3{color:#E3E9FD;} + .d2-1034147298 .color-B4{color:#E3E9FD;} + .d2-1034147298 .color-B5{color:#EDF0FD;} + .d2-1034147298 .color-B6{color:#F7F8FE;} + .d2-1034147298 .color-AA2{color:#4A6FF3;} + .d2-1034147298 .color-AA4{color:#EDF0FD;} + .d2-1034147298 .color-AA5{color:#F7F8FE;} + .d2-1034147298 .color-AB4{color:#EDF0FD;} + .d2-1034147298 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>PlanCodeBuildTestCheckReleaseDeployOperateMonitorClickUpGitDockerPlaywrightTruffleHogGithub ActionAWS CopilotAWS ECSGrafana + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/cycle-order/elk/sketch.exp.svg b/e2etests/testdata/stable/cycle-order/elk/sketch.exp.svg index b7c95be02..b6de61434 100644 --- a/e2etests/testdata/stable/cycle-order/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/cycle-order/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -PlanCodeBuildTestCheckReleaseDeployOperateMonitorClickUpGitDockerPlaywrightTruffleHogGithub ActionAWS CopilotAWS ECSGrafana + .d2-1417103532 .fill-N1{fill:#0A0F25;} + .d2-1417103532 .fill-N2{fill:#676C7E;} + .d2-1417103532 .fill-N3{fill:#9499AB;} + .d2-1417103532 .fill-N4{fill:#CFD2DD;} + .d2-1417103532 .fill-N5{fill:#DEE1EB;} + .d2-1417103532 .fill-N6{fill:#EEF1F8;} + .d2-1417103532 .fill-N7{fill:#FFFFFF;} + .d2-1417103532 .fill-B1{fill:#0D32B2;} + .d2-1417103532 .fill-B2{fill:#0D32B2;} + .d2-1417103532 .fill-B3{fill:#E3E9FD;} + .d2-1417103532 .fill-B4{fill:#E3E9FD;} + .d2-1417103532 .fill-B5{fill:#EDF0FD;} + .d2-1417103532 .fill-B6{fill:#F7F8FE;} + .d2-1417103532 .fill-AA2{fill:#4A6FF3;} + .d2-1417103532 .fill-AA4{fill:#EDF0FD;} + .d2-1417103532 .fill-AA5{fill:#F7F8FE;} + .d2-1417103532 .fill-AB4{fill:#EDF0FD;} + .d2-1417103532 .fill-AB5{fill:#F7F8FE;} + .d2-1417103532 .stroke-N1{stroke:#0A0F25;} + .d2-1417103532 .stroke-N2{stroke:#676C7E;} + .d2-1417103532 .stroke-N3{stroke:#9499AB;} + .d2-1417103532 .stroke-N4{stroke:#CFD2DD;} + .d2-1417103532 .stroke-N5{stroke:#DEE1EB;} + .d2-1417103532 .stroke-N6{stroke:#EEF1F8;} + .d2-1417103532 .stroke-N7{stroke:#FFFFFF;} + .d2-1417103532 .stroke-B1{stroke:#0D32B2;} + .d2-1417103532 .stroke-B2{stroke:#0D32B2;} + .d2-1417103532 .stroke-B3{stroke:#E3E9FD;} + .d2-1417103532 .stroke-B4{stroke:#E3E9FD;} + .d2-1417103532 .stroke-B5{stroke:#EDF0FD;} + .d2-1417103532 .stroke-B6{stroke:#F7F8FE;} + .d2-1417103532 .stroke-AA2{stroke:#4A6FF3;} + .d2-1417103532 .stroke-AA4{stroke:#EDF0FD;} + .d2-1417103532 .stroke-AA5{stroke:#F7F8FE;} + .d2-1417103532 .stroke-AB4{stroke:#EDF0FD;} + .d2-1417103532 .stroke-AB5{stroke:#F7F8FE;} + .d2-1417103532 .background-color-N1{background-color:#0A0F25;} + .d2-1417103532 .background-color-N2{background-color:#676C7E;} + .d2-1417103532 .background-color-N3{background-color:#9499AB;} + .d2-1417103532 .background-color-N4{background-color:#CFD2DD;} + .d2-1417103532 .background-color-N5{background-color:#DEE1EB;} + .d2-1417103532 .background-color-N6{background-color:#EEF1F8;} + .d2-1417103532 .background-color-N7{background-color:#FFFFFF;} + .d2-1417103532 .background-color-B1{background-color:#0D32B2;} + .d2-1417103532 .background-color-B2{background-color:#0D32B2;} + .d2-1417103532 .background-color-B3{background-color:#E3E9FD;} + .d2-1417103532 .background-color-B4{background-color:#E3E9FD;} + .d2-1417103532 .background-color-B5{background-color:#EDF0FD;} + .d2-1417103532 .background-color-B6{background-color:#F7F8FE;} + .d2-1417103532 .background-color-AA2{background-color:#4A6FF3;} + .d2-1417103532 .background-color-AA4{background-color:#EDF0FD;} + .d2-1417103532 .background-color-AA5{background-color:#F7F8FE;} + .d2-1417103532 .background-color-AB4{background-color:#EDF0FD;} + .d2-1417103532 .background-color-AB5{background-color:#F7F8FE;} + .d2-1417103532 .color-N1{color:#0A0F25;} + .d2-1417103532 .color-N2{color:#676C7E;} + .d2-1417103532 .color-N3{color:#9499AB;} + .d2-1417103532 .color-N4{color:#CFD2DD;} + .d2-1417103532 .color-N5{color:#DEE1EB;} + .d2-1417103532 .color-N6{color:#EEF1F8;} + .d2-1417103532 .color-N7{color:#FFFFFF;} + .d2-1417103532 .color-B1{color:#0D32B2;} + .d2-1417103532 .color-B2{color:#0D32B2;} + .d2-1417103532 .color-B3{color:#E3E9FD;} + .d2-1417103532 .color-B4{color:#E3E9FD;} + .d2-1417103532 .color-B5{color:#EDF0FD;} + .d2-1417103532 .color-B6{color:#F7F8FE;} + .d2-1417103532 .color-AA2{color:#4A6FF3;} + .d2-1417103532 .color-AA4{color:#EDF0FD;} + .d2-1417103532 .color-AA5{color:#F7F8FE;} + .d2-1417103532 .color-AB4{color:#EDF0FD;} + .d2-1417103532 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>PlanCodeBuildTestCheckReleaseDeployOperateMonitorClickUpGitDockerPlaywrightTruffleHogGithub ActionAWS CopilotAWS ECSGrafana diff --git a/e2etests/testdata/stable/dagger_grid/dagre/sketch.exp.svg b/e2etests/testdata/stable/dagger_grid/dagre/sketch.exp.svg index 1e1c40b21..f3e6aa1cf 100644 --- a/e2etests/testdata/stable/dagger_grid/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/dagger_grid/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -DAGGER ENGINEANY DOCKER COMPATIBLE RUNTIMEANY CIWINDOWSLINUXMACOSKUBERNETES + .d2-3202020967 .fill-N1{fill:#0A0F25;} + .d2-3202020967 .fill-N2{fill:#676C7E;} + .d2-3202020967 .fill-N3{fill:#9499AB;} + .d2-3202020967 .fill-N4{fill:#CFD2DD;} + .d2-3202020967 .fill-N5{fill:#DEE1EB;} + .d2-3202020967 .fill-N6{fill:#EEF1F8;} + .d2-3202020967 .fill-N7{fill:#FFFFFF;} + .d2-3202020967 .fill-B1{fill:#0D32B2;} + .d2-3202020967 .fill-B2{fill:#0D32B2;} + .d2-3202020967 .fill-B3{fill:#E3E9FD;} + .d2-3202020967 .fill-B4{fill:#E3E9FD;} + .d2-3202020967 .fill-B5{fill:#EDF0FD;} + .d2-3202020967 .fill-B6{fill:#F7F8FE;} + .d2-3202020967 .fill-AA2{fill:#4A6FF3;} + .d2-3202020967 .fill-AA4{fill:#EDF0FD;} + .d2-3202020967 .fill-AA5{fill:#F7F8FE;} + .d2-3202020967 .fill-AB4{fill:#EDF0FD;} + .d2-3202020967 .fill-AB5{fill:#F7F8FE;} + .d2-3202020967 .stroke-N1{stroke:#0A0F25;} + .d2-3202020967 .stroke-N2{stroke:#676C7E;} + .d2-3202020967 .stroke-N3{stroke:#9499AB;} + .d2-3202020967 .stroke-N4{stroke:#CFD2DD;} + .d2-3202020967 .stroke-N5{stroke:#DEE1EB;} + .d2-3202020967 .stroke-N6{stroke:#EEF1F8;} + .d2-3202020967 .stroke-N7{stroke:#FFFFFF;} + .d2-3202020967 .stroke-B1{stroke:#0D32B2;} + .d2-3202020967 .stroke-B2{stroke:#0D32B2;} + .d2-3202020967 .stroke-B3{stroke:#E3E9FD;} + .d2-3202020967 .stroke-B4{stroke:#E3E9FD;} + .d2-3202020967 .stroke-B5{stroke:#EDF0FD;} + .d2-3202020967 .stroke-B6{stroke:#F7F8FE;} + .d2-3202020967 .stroke-AA2{stroke:#4A6FF3;} + .d2-3202020967 .stroke-AA4{stroke:#EDF0FD;} + .d2-3202020967 .stroke-AA5{stroke:#F7F8FE;} + .d2-3202020967 .stroke-AB4{stroke:#EDF0FD;} + .d2-3202020967 .stroke-AB5{stroke:#F7F8FE;} + .d2-3202020967 .background-color-N1{background-color:#0A0F25;} + .d2-3202020967 .background-color-N2{background-color:#676C7E;} + .d2-3202020967 .background-color-N3{background-color:#9499AB;} + .d2-3202020967 .background-color-N4{background-color:#CFD2DD;} + .d2-3202020967 .background-color-N5{background-color:#DEE1EB;} + .d2-3202020967 .background-color-N6{background-color:#EEF1F8;} + .d2-3202020967 .background-color-N7{background-color:#FFFFFF;} + .d2-3202020967 .background-color-B1{background-color:#0D32B2;} + .d2-3202020967 .background-color-B2{background-color:#0D32B2;} + .d2-3202020967 .background-color-B3{background-color:#E3E9FD;} + .d2-3202020967 .background-color-B4{background-color:#E3E9FD;} + .d2-3202020967 .background-color-B5{background-color:#EDF0FD;} + .d2-3202020967 .background-color-B6{background-color:#F7F8FE;} + .d2-3202020967 .background-color-AA2{background-color:#4A6FF3;} + .d2-3202020967 .background-color-AA4{background-color:#EDF0FD;} + .d2-3202020967 .background-color-AA5{background-color:#F7F8FE;} + .d2-3202020967 .background-color-AB4{background-color:#EDF0FD;} + .d2-3202020967 .background-color-AB5{background-color:#F7F8FE;} + .d2-3202020967 .color-N1{color:#0A0F25;} + .d2-3202020967 .color-N2{color:#676C7E;} + .d2-3202020967 .color-N3{color:#9499AB;} + .d2-3202020967 .color-N4{color:#CFD2DD;} + .d2-3202020967 .color-N5{color:#DEE1EB;} + .d2-3202020967 .color-N6{color:#EEF1F8;} + .d2-3202020967 .color-N7{color:#FFFFFF;} + .d2-3202020967 .color-B1{color:#0D32B2;} + .d2-3202020967 .color-B2{color:#0D32B2;} + .d2-3202020967 .color-B3{color:#E3E9FD;} + .d2-3202020967 .color-B4{color:#E3E9FD;} + .d2-3202020967 .color-B5{color:#EDF0FD;} + .d2-3202020967 .color-B6{color:#F7F8FE;} + .d2-3202020967 .color-AA2{color:#4A6FF3;} + .d2-3202020967 .color-AA4{color:#EDF0FD;} + .d2-3202020967 .color-AA5{color:#F7F8FE;} + .d2-3202020967 .color-AB4{color:#EDF0FD;} + .d2-3202020967 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>DAGGER ENGINEANY DOCKER COMPATIBLE RUNTIMEANY CIWINDOWSLINUXMACOSKUBERNETES diff --git a/e2etests/testdata/stable/dagger_grid/elk/sketch.exp.svg b/e2etests/testdata/stable/dagger_grid/elk/sketch.exp.svg index 1e1c40b21..f3e6aa1cf 100644 --- a/e2etests/testdata/stable/dagger_grid/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/dagger_grid/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -DAGGER ENGINEANY DOCKER COMPATIBLE RUNTIMEANY CIWINDOWSLINUXMACOSKUBERNETES + .d2-3202020967 .fill-N1{fill:#0A0F25;} + .d2-3202020967 .fill-N2{fill:#676C7E;} + .d2-3202020967 .fill-N3{fill:#9499AB;} + .d2-3202020967 .fill-N4{fill:#CFD2DD;} + .d2-3202020967 .fill-N5{fill:#DEE1EB;} + .d2-3202020967 .fill-N6{fill:#EEF1F8;} + .d2-3202020967 .fill-N7{fill:#FFFFFF;} + .d2-3202020967 .fill-B1{fill:#0D32B2;} + .d2-3202020967 .fill-B2{fill:#0D32B2;} + .d2-3202020967 .fill-B3{fill:#E3E9FD;} + .d2-3202020967 .fill-B4{fill:#E3E9FD;} + .d2-3202020967 .fill-B5{fill:#EDF0FD;} + .d2-3202020967 .fill-B6{fill:#F7F8FE;} + .d2-3202020967 .fill-AA2{fill:#4A6FF3;} + .d2-3202020967 .fill-AA4{fill:#EDF0FD;} + .d2-3202020967 .fill-AA5{fill:#F7F8FE;} + .d2-3202020967 .fill-AB4{fill:#EDF0FD;} + .d2-3202020967 .fill-AB5{fill:#F7F8FE;} + .d2-3202020967 .stroke-N1{stroke:#0A0F25;} + .d2-3202020967 .stroke-N2{stroke:#676C7E;} + .d2-3202020967 .stroke-N3{stroke:#9499AB;} + .d2-3202020967 .stroke-N4{stroke:#CFD2DD;} + .d2-3202020967 .stroke-N5{stroke:#DEE1EB;} + .d2-3202020967 .stroke-N6{stroke:#EEF1F8;} + .d2-3202020967 .stroke-N7{stroke:#FFFFFF;} + .d2-3202020967 .stroke-B1{stroke:#0D32B2;} + .d2-3202020967 .stroke-B2{stroke:#0D32B2;} + .d2-3202020967 .stroke-B3{stroke:#E3E9FD;} + .d2-3202020967 .stroke-B4{stroke:#E3E9FD;} + .d2-3202020967 .stroke-B5{stroke:#EDF0FD;} + .d2-3202020967 .stroke-B6{stroke:#F7F8FE;} + .d2-3202020967 .stroke-AA2{stroke:#4A6FF3;} + .d2-3202020967 .stroke-AA4{stroke:#EDF0FD;} + .d2-3202020967 .stroke-AA5{stroke:#F7F8FE;} + .d2-3202020967 .stroke-AB4{stroke:#EDF0FD;} + .d2-3202020967 .stroke-AB5{stroke:#F7F8FE;} + .d2-3202020967 .background-color-N1{background-color:#0A0F25;} + .d2-3202020967 .background-color-N2{background-color:#676C7E;} + .d2-3202020967 .background-color-N3{background-color:#9499AB;} + .d2-3202020967 .background-color-N4{background-color:#CFD2DD;} + .d2-3202020967 .background-color-N5{background-color:#DEE1EB;} + .d2-3202020967 .background-color-N6{background-color:#EEF1F8;} + .d2-3202020967 .background-color-N7{background-color:#FFFFFF;} + .d2-3202020967 .background-color-B1{background-color:#0D32B2;} + .d2-3202020967 .background-color-B2{background-color:#0D32B2;} + .d2-3202020967 .background-color-B3{background-color:#E3E9FD;} + .d2-3202020967 .background-color-B4{background-color:#E3E9FD;} + .d2-3202020967 .background-color-B5{background-color:#EDF0FD;} + .d2-3202020967 .background-color-B6{background-color:#F7F8FE;} + .d2-3202020967 .background-color-AA2{background-color:#4A6FF3;} + .d2-3202020967 .background-color-AA4{background-color:#EDF0FD;} + .d2-3202020967 .background-color-AA5{background-color:#F7F8FE;} + .d2-3202020967 .background-color-AB4{background-color:#EDF0FD;} + .d2-3202020967 .background-color-AB5{background-color:#F7F8FE;} + .d2-3202020967 .color-N1{color:#0A0F25;} + .d2-3202020967 .color-N2{color:#676C7E;} + .d2-3202020967 .color-N3{color:#9499AB;} + .d2-3202020967 .color-N4{color:#CFD2DD;} + .d2-3202020967 .color-N5{color:#DEE1EB;} + .d2-3202020967 .color-N6{color:#EEF1F8;} + .d2-3202020967 .color-N7{color:#FFFFFF;} + .d2-3202020967 .color-B1{color:#0D32B2;} + .d2-3202020967 .color-B2{color:#0D32B2;} + .d2-3202020967 .color-B3{color:#E3E9FD;} + .d2-3202020967 .color-B4{color:#E3E9FD;} + .d2-3202020967 .color-B5{color:#EDF0FD;} + .d2-3202020967 .color-B6{color:#F7F8FE;} + .d2-3202020967 .color-AA2{color:#4A6FF3;} + .d2-3202020967 .color-AA4{color:#EDF0FD;} + .d2-3202020967 .color-AA5{color:#F7F8FE;} + .d2-3202020967 .color-AB4{color:#EDF0FD;} + .d2-3202020967 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>DAGGER ENGINEANY DOCKER COMPATIBLE RUNTIMEANY CIWINDOWSLINUXMACOSKUBERNETES diff --git a/e2etests/testdata/stable/dagre-container/dagre/board.exp.json b/e2etests/testdata/stable/dagre-container/dagre/board.exp.json index ff93ed8e0..e74934654 100644 --- a/e2etests/testdata/stable/dagre-container/dagre/board.exp.json +++ b/e2etests/testdata/stable/dagre-container/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "a", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 359, - "height": 125, + "width": 339, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 153, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 266, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -171,11 +171,11 @@ "id": "b", "type": "rectangle", "pos": { - "x": 0, - "y": 307 + "x": 10, + "y": 286 }, - "width": 359, - "height": 125, + "width": 339, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 336 + "y": 316 }, "width": 53, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 153, - "y": 336 + "y": 316 }, "width": 53, "height": 66, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 266, - "y": 336 + "y": 316 }, "width": 53, "height": 66, @@ -359,19 +359,19 @@ "route": [ { "x": 179.5, - "y": 166 + "y": 146 }, { "x": 179.5, - "y": 206 + "y": 202 }, { "x": 179.5, - "y": 226 + "y": 221.8000030517578 }, { "x": 179.5, - "y": 266 + "y": 245 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/dagre-container/dagre/sketch.exp.svg b/e2etests/testdata/stable/dagre-container/dagre/sketch.exp.svg index 116abf33f..a7ef6b48a 100644 --- a/e2etests/testdata/stable/dagre-container/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/dagre-container/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ababcabc - - - - - - - - - + .d2-4204566465 .fill-N1{fill:#0A0F25;} + .d2-4204566465 .fill-N2{fill:#676C7E;} + .d2-4204566465 .fill-N3{fill:#9499AB;} + .d2-4204566465 .fill-N4{fill:#CFD2DD;} + .d2-4204566465 .fill-N5{fill:#DEE1EB;} + .d2-4204566465 .fill-N6{fill:#EEF1F8;} + .d2-4204566465 .fill-N7{fill:#FFFFFF;} + .d2-4204566465 .fill-B1{fill:#0D32B2;} + .d2-4204566465 .fill-B2{fill:#0D32B2;} + .d2-4204566465 .fill-B3{fill:#E3E9FD;} + .d2-4204566465 .fill-B4{fill:#E3E9FD;} + .d2-4204566465 .fill-B5{fill:#EDF0FD;} + .d2-4204566465 .fill-B6{fill:#F7F8FE;} + .d2-4204566465 .fill-AA2{fill:#4A6FF3;} + .d2-4204566465 .fill-AA4{fill:#EDF0FD;} + .d2-4204566465 .fill-AA5{fill:#F7F8FE;} + .d2-4204566465 .fill-AB4{fill:#EDF0FD;} + .d2-4204566465 .fill-AB5{fill:#F7F8FE;} + .d2-4204566465 .stroke-N1{stroke:#0A0F25;} + .d2-4204566465 .stroke-N2{stroke:#676C7E;} + .d2-4204566465 .stroke-N3{stroke:#9499AB;} + .d2-4204566465 .stroke-N4{stroke:#CFD2DD;} + .d2-4204566465 .stroke-N5{stroke:#DEE1EB;} + .d2-4204566465 .stroke-N6{stroke:#EEF1F8;} + .d2-4204566465 .stroke-N7{stroke:#FFFFFF;} + .d2-4204566465 .stroke-B1{stroke:#0D32B2;} + .d2-4204566465 .stroke-B2{stroke:#0D32B2;} + .d2-4204566465 .stroke-B3{stroke:#E3E9FD;} + .d2-4204566465 .stroke-B4{stroke:#E3E9FD;} + .d2-4204566465 .stroke-B5{stroke:#EDF0FD;} + .d2-4204566465 .stroke-B6{stroke:#F7F8FE;} + .d2-4204566465 .stroke-AA2{stroke:#4A6FF3;} + .d2-4204566465 .stroke-AA4{stroke:#EDF0FD;} + .d2-4204566465 .stroke-AA5{stroke:#F7F8FE;} + .d2-4204566465 .stroke-AB4{stroke:#EDF0FD;} + .d2-4204566465 .stroke-AB5{stroke:#F7F8FE;} + .d2-4204566465 .background-color-N1{background-color:#0A0F25;} + .d2-4204566465 .background-color-N2{background-color:#676C7E;} + .d2-4204566465 .background-color-N3{background-color:#9499AB;} + .d2-4204566465 .background-color-N4{background-color:#CFD2DD;} + .d2-4204566465 .background-color-N5{background-color:#DEE1EB;} + .d2-4204566465 .background-color-N6{background-color:#EEF1F8;} + .d2-4204566465 .background-color-N7{background-color:#FFFFFF;} + .d2-4204566465 .background-color-B1{background-color:#0D32B2;} + .d2-4204566465 .background-color-B2{background-color:#0D32B2;} + .d2-4204566465 .background-color-B3{background-color:#E3E9FD;} + .d2-4204566465 .background-color-B4{background-color:#E3E9FD;} + .d2-4204566465 .background-color-B5{background-color:#EDF0FD;} + .d2-4204566465 .background-color-B6{background-color:#F7F8FE;} + .d2-4204566465 .background-color-AA2{background-color:#4A6FF3;} + .d2-4204566465 .background-color-AA4{background-color:#EDF0FD;} + .d2-4204566465 .background-color-AA5{background-color:#F7F8FE;} + .d2-4204566465 .background-color-AB4{background-color:#EDF0FD;} + .d2-4204566465 .background-color-AB5{background-color:#F7F8FE;} + .d2-4204566465 .color-N1{color:#0A0F25;} + .d2-4204566465 .color-N2{color:#676C7E;} + .d2-4204566465 .color-N3{color:#9499AB;} + .d2-4204566465 .color-N4{color:#CFD2DD;} + .d2-4204566465 .color-N5{color:#DEE1EB;} + .d2-4204566465 .color-N6{color:#EEF1F8;} + .d2-4204566465 .color-N7{color:#FFFFFF;} + .d2-4204566465 .color-B1{color:#0D32B2;} + .d2-4204566465 .color-B2{color:#0D32B2;} + .d2-4204566465 .color-B3{color:#E3E9FD;} + .d2-4204566465 .color-B4{color:#E3E9FD;} + .d2-4204566465 .color-B5{color:#EDF0FD;} + .d2-4204566465 .color-B6{color:#F7F8FE;} + .d2-4204566465 .color-AA2{color:#4A6FF3;} + .d2-4204566465 .color-AA4{color:#EDF0FD;} + .d2-4204566465 .color-AA5{color:#F7F8FE;} + .d2-4204566465 .color-AB4{color:#EDF0FD;} + .d2-4204566465 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ababcabc + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/dagre-container/elk/sketch.exp.svg b/e2etests/testdata/stable/dagre-container/elk/sketch.exp.svg index d7d1c79bd..af3a2bad4 100644 --- a/e2etests/testdata/stable/dagre-container/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/dagre-container/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ababcabc + .d2-1725799876 .fill-N1{fill:#0A0F25;} + .d2-1725799876 .fill-N2{fill:#676C7E;} + .d2-1725799876 .fill-N3{fill:#9499AB;} + .d2-1725799876 .fill-N4{fill:#CFD2DD;} + .d2-1725799876 .fill-N5{fill:#DEE1EB;} + .d2-1725799876 .fill-N6{fill:#EEF1F8;} + .d2-1725799876 .fill-N7{fill:#FFFFFF;} + .d2-1725799876 .fill-B1{fill:#0D32B2;} + .d2-1725799876 .fill-B2{fill:#0D32B2;} + .d2-1725799876 .fill-B3{fill:#E3E9FD;} + .d2-1725799876 .fill-B4{fill:#E3E9FD;} + .d2-1725799876 .fill-B5{fill:#EDF0FD;} + .d2-1725799876 .fill-B6{fill:#F7F8FE;} + .d2-1725799876 .fill-AA2{fill:#4A6FF3;} + .d2-1725799876 .fill-AA4{fill:#EDF0FD;} + .d2-1725799876 .fill-AA5{fill:#F7F8FE;} + .d2-1725799876 .fill-AB4{fill:#EDF0FD;} + .d2-1725799876 .fill-AB5{fill:#F7F8FE;} + .d2-1725799876 .stroke-N1{stroke:#0A0F25;} + .d2-1725799876 .stroke-N2{stroke:#676C7E;} + .d2-1725799876 .stroke-N3{stroke:#9499AB;} + .d2-1725799876 .stroke-N4{stroke:#CFD2DD;} + .d2-1725799876 .stroke-N5{stroke:#DEE1EB;} + .d2-1725799876 .stroke-N6{stroke:#EEF1F8;} + .d2-1725799876 .stroke-N7{stroke:#FFFFFF;} + .d2-1725799876 .stroke-B1{stroke:#0D32B2;} + .d2-1725799876 .stroke-B2{stroke:#0D32B2;} + .d2-1725799876 .stroke-B3{stroke:#E3E9FD;} + .d2-1725799876 .stroke-B4{stroke:#E3E9FD;} + .d2-1725799876 .stroke-B5{stroke:#EDF0FD;} + .d2-1725799876 .stroke-B6{stroke:#F7F8FE;} + .d2-1725799876 .stroke-AA2{stroke:#4A6FF3;} + .d2-1725799876 .stroke-AA4{stroke:#EDF0FD;} + .d2-1725799876 .stroke-AA5{stroke:#F7F8FE;} + .d2-1725799876 .stroke-AB4{stroke:#EDF0FD;} + .d2-1725799876 .stroke-AB5{stroke:#F7F8FE;} + .d2-1725799876 .background-color-N1{background-color:#0A0F25;} + .d2-1725799876 .background-color-N2{background-color:#676C7E;} + .d2-1725799876 .background-color-N3{background-color:#9499AB;} + .d2-1725799876 .background-color-N4{background-color:#CFD2DD;} + .d2-1725799876 .background-color-N5{background-color:#DEE1EB;} + .d2-1725799876 .background-color-N6{background-color:#EEF1F8;} + .d2-1725799876 .background-color-N7{background-color:#FFFFFF;} + .d2-1725799876 .background-color-B1{background-color:#0D32B2;} + .d2-1725799876 .background-color-B2{background-color:#0D32B2;} + .d2-1725799876 .background-color-B3{background-color:#E3E9FD;} + .d2-1725799876 .background-color-B4{background-color:#E3E9FD;} + .d2-1725799876 .background-color-B5{background-color:#EDF0FD;} + .d2-1725799876 .background-color-B6{background-color:#F7F8FE;} + .d2-1725799876 .background-color-AA2{background-color:#4A6FF3;} + .d2-1725799876 .background-color-AA4{background-color:#EDF0FD;} + .d2-1725799876 .background-color-AA5{background-color:#F7F8FE;} + .d2-1725799876 .background-color-AB4{background-color:#EDF0FD;} + .d2-1725799876 .background-color-AB5{background-color:#F7F8FE;} + .d2-1725799876 .color-N1{color:#0A0F25;} + .d2-1725799876 .color-N2{color:#676C7E;} + .d2-1725799876 .color-N3{color:#9499AB;} + .d2-1725799876 .color-N4{color:#CFD2DD;} + .d2-1725799876 .color-N5{color:#DEE1EB;} + .d2-1725799876 .color-N6{color:#EEF1F8;} + .d2-1725799876 .color-N7{color:#FFFFFF;} + .d2-1725799876 .color-B1{color:#0D32B2;} + .d2-1725799876 .color-B2{color:#0D32B2;} + .d2-1725799876 .color-B3{color:#E3E9FD;} + .d2-1725799876 .color-B4{color:#E3E9FD;} + .d2-1725799876 .color-B5{color:#EDF0FD;} + .d2-1725799876 .color-B6{color:#F7F8FE;} + .d2-1725799876 .color-AA2{color:#4A6FF3;} + .d2-1725799876 .color-AA4{color:#EDF0FD;} + .d2-1725799876 .color-AA5{color:#F7F8FE;} + .d2-1725799876 .color-AB4{color:#EDF0FD;} + .d2-1725799876 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ababcabc diff --git a/e2etests/testdata/stable/dagre_spacing/dagre/board.exp.json b/e2etests/testdata/stable/dagre_spacing/dagre/board.exp.json new file mode 100644 index 000000000..e8ecc9ba9 --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing/dagre/board.exp.json @@ -0,0 +1,1798 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "a", + "type": "rectangle", + "pos": { + "x": 0, + "y": 19 + }, + "width": 498, + "height": 1888, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "a", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "a.k", + "type": "rectangle", + "pos": { + "x": 32, + "y": 60 + }, + "width": 111, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.k.t", + "type": "rectangle", + "pos": { + "x": 62, + "y": 90 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "t", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f", + "type": "rectangle", + "pos": { + "x": 30, + "y": 441 + }, + "width": 438, + "height": 164, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 8, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.f.i", + "type": "rectangle", + "classes": [ + "OutsideTopCenter" + ], + "pos": { + "x": 60, + "y": 488 + }, + "width": 54, + "height": 82, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i\nii", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 37, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.g", + "type": "rectangle", + "pos": { + "x": 174, + "y": 496 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s", + "type": "rectangle", + "pos": { + "x": 669, + "y": 817 + }, + "width": 259, + "height": 682, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "s.n", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 699, + "y": 891 + }, + "width": 111, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "red", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "n", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "k", + "type": "rectangle", + "pos": { + "x": 1524, + "y": 466 + }, + "width": 112, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "k.s", + "type": "rectangle", + "pos": { + "x": 1554, + "y": 496 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u", + "type": "rectangle", + "pos": { + "x": 948, + "y": 861 + }, + "width": 689, + "height": 270, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "u", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "u.o", + "type": "rectangle", + "pos": { + "x": 1553, + "y": 921 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "o", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h", + "type": "rectangle", + "pos": { + "x": 842, + "y": 19 + }, + "width": 172, + "height": 197, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "h", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "h.m", + "type": "rectangle", + "pos": { + "x": 872, + "y": 60 + }, + "width": 112, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "m", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 18, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h.m.s", + "type": "rectangle", + "pos": { + "x": 902, + "y": 90 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.j", + "type": "rectangle", + "classes": [ + "icon", + "IconOutsideLeftTop" + ], + "pos": { + "x": 362, + "y": 483 + }, + "width": 76, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_TOP", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.s", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 978, + "y": 891 + }, + "width": 110, + "height": 127, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s\ns\ns\ns", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 103, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u.s.j", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 1008, + "y": 921 + }, + "width": 50, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.c", + "type": "rectangle", + "classes": [ + "OutsideRightMiddle" + ], + "pos": { + "x": 1138, + "y": 921 + }, + "width": 195, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cccccccccccccccccccc", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 150, + "labelHeight": 21, + "labelPosition": "OUTSIDE_RIGHT_MIDDLE", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z", + "type": "rectangle", + "pos": { + "x": 785, + "y": 1343 + }, + "width": 113, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "z", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z.c", + "type": "rectangle", + "pos": { + "x": 815, + "y": 1373 + }, + "width": 53, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "c", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 8, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s.n.f", + "type": "rectangle", + "pos": { + "x": 729, + "y": 921 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 528, + "y": 1343 + }, + "width": 111, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "y", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 13, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y.r", + "type": "rectangle", + "pos": { + "x": 558, + "y": 1373 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g", + "type": "rectangle", + "pos": { + "x": 158, + "y": 1751 + }, + "width": 109, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g.i", + "type": "rectangle", + "pos": { + "x": 188, + "y": 1781 + }, + "width": 49, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 4, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + } + ], + "connections": [ + { + "id": "a.(k.t -> f.i)[0]", + "src": "a.k.t", + "srcArrow": "none", + "dst": "a.f.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 87, + "y": 155.5 + }, + { + "x": 87, + "y": 199.5 + }, + { + "x": 87, + "y": 221.39999389648438 + }, + { + "x": 87, + "y": 237.75 + }, + { + "x": 87, + "y": 254.10000610351562 + }, + { + "x": 87, + "y": 275.8999938964844 + }, + { + "x": 87, + "y": 292.25 + }, + { + "x": 87, + "y": 308.6000061035156 + }, + { + "x": 87, + "y": 330.3999938964844 + }, + { + "x": 87, + "y": 346.75 + }, + { + "x": 87, + "y": 363.1000061035156 + }, + { + "x": 87, + "y": 432.1000061035156 + }, + { + "x": 87, + "y": 446.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.g -> s.n)[0]", + "src": "a.f.g", + "srcArrow": "none", + "dst": "s.n", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 201, + "y": 561.5 + }, + { + "x": 201, + "y": 615.9000244140625 + }, + { + "x": 201, + "y": 640.4000244140625 + }, + { + "x": 201, + "y": 656.75 + }, + { + "x": 201, + "y": 673.0999755859375 + }, + { + "x": 201, + "y": 694.9000244140625 + }, + { + "x": 201, + "y": 711.25 + }, + { + "x": 201, + "y": 727.5999755859375 + }, + { + "x": 201, + "y": 749.4000244140625 + }, + { + "x": 201, + "y": 765.75 + }, + { + "x": 201, + "y": 782.0999755859375 + }, + { + "x": 300.6000061035156, + "y": 881.7000122070312 + }, + { + "x": 699, + "y": 942.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(k.s <-> u.o)[0]", + "src": "k.s", + "srcArrow": "triangle", + "dst": "u.o", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 1579.5, + "y": 561.5 + }, + { + "x": 1579.5, + "y": 615.9000244140625 + }, + { + "x": 1579.5, + "y": 640.4000244140625 + }, + { + "x": 1579.5, + "y": 656.75 + }, + { + "x": 1579.5, + "y": 673.0999755859375 + }, + { + "x": 1579.5, + "y": 694.9000244140625 + }, + { + "x": 1579.5, + "y": 711.25 + }, + { + "x": 1579.5, + "y": 727.5999755859375 + }, + { + "x": 1579.5, + "y": 749.4000244140625 + }, + { + "x": 1579.5, + "y": 765.75 + }, + { + "x": 1579.5, + "y": 782.0999755859375 + }, + { + "x": 1579.5, + "y": 877.5 + }, + { + "x": 1579.5, + "y": 921.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(h.m.s -> a.f.g)[0]", + "src": "h.m.s", + "srcArrow": "none", + "dst": "a.f.g", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 928.25, + "y": 155.5 + }, + { + "x": 928.25, + "y": 199.5 + }, + { + "x": 928.25, + "y": 221.39999389648438 + }, + { + "x": 928.25, + "y": 237.75 + }, + { + "x": 928.25, + "y": 254.10000610351562 + }, + { + "x": 782.7999877929688, + "y": 275.8999938964844 + }, + { + "x": 564.625, + "y": 292.25 + }, + { + "x": 346.4490051269531, + "y": 308.6000061035156 + }, + { + "x": 201, + "y": 330.3999938964844 + }, + { + "x": 201, + "y": 346.75 + }, + { + "x": 201, + "y": 363.1000061035156 + }, + { + "x": 201, + "y": 442.1000061035156 + }, + { + "x": 201, + "y": 496.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.j -> u.s.j)[0]", + "src": "a.f.j", + "srcArrow": "none", + "dst": "u.s.j", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 400, + "y": 574.5 + }, + { + "x": 400, + "y": 618.5 + }, + { + "x": 400, + "y": 640.4000244140625 + }, + { + "x": 400, + "y": 656.75 + }, + { + "x": 400, + "y": 673.0999755859375 + }, + { + "x": 400, + "y": 694.9000244140625 + }, + { + "x": 400, + "y": 711.25 + }, + { + "x": 400, + "y": 727.5999755859375 + }, + { + "x": 400, + "y": 749.4000244140625 + }, + { + "x": 400, + "y": 765.75 + }, + { + "x": 400, + "y": 782.0999755859375 + }, + { + "x": 521.5, + "y": 883.3079833984375 + }, + { + "x": 1007.5, + "y": 950.541015625 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(u.c -> s.z.c)[0]", + "src": "u.c", + "srcArrow": "none", + "dst": "s.z.c", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 1235, + "y": 986.5 + }, + { + "x": 1235, + "y": 1030.5 + }, + { + "x": 1235, + "y": 1064.199951171875 + }, + { + "x": 1235, + "y": 1098.25 + }, + { + "x": 1235, + "y": 1132.300048828125 + }, + { + "x": 1156.199951171875, + "y": 1165.9000244140625 + }, + { + "x": 1038, + "y": 1182.25 + }, + { + "x": 919.7999877929688, + "y": 1198.5999755859375 + }, + { + "x": 841, + "y": 1220.4000244140625 + }, + { + "x": 841, + "y": 1236.75 + }, + { + "x": 841, + "y": 1253.0999755859375 + }, + { + "x": 841, + "y": 1329.5 + }, + { + "x": 841, + "y": 1373.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(s.n -> y.r)[0]", + "src": "s.n", + "srcArrow": "none", + "dst": "y.r", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 8, + "stroke": "red", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 754.5, + "y": 1017.5 + }, + { + "x": 754.5, + "y": 1127.5 + }, + { + "x": 754.5, + "y": 1165.9000244140625 + }, + { + "x": 754.5, + "y": 1182.25 + }, + { + "x": 754.5, + "y": 1198.5999755859375 + }, + { + "x": 754.5, + "y": 1220.4000244140625 + }, + { + "x": 754.5, + "y": 1236.75 + }, + { + "x": 754.5, + "y": 1253.0999755859375 + }, + { + "x": 725.2999877929688, + "y": 1333.300048828125 + }, + { + "x": 608.5, + "y": 1392.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(y.r -> a.g.i)[0]", + "src": "y.r", + "srcArrow": "none", + "dst": "a.g.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "1\n2\n3\n4", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 69, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPercentage": 0, + "route": [ + { + "x": 583.5, + "y": 1438.5 + }, + { + "x": 583.5, + "y": 1482.5 + }, + { + "x": 583.5, + "y": 1504.4000244140625 + }, + { + "x": 583.5, + "y": 1520.75 + }, + { + "x": 583.5, + "y": 1537.0999755859375 + }, + { + "x": 509.20001220703125, + "y": 1565.800048828125 + }, + { + "x": 397.75, + "y": 1592.5 + }, + { + "x": 286.29998779296875, + "y": 1619.199951171875 + }, + { + "x": 212, + "y": 1736.9000244140625 + }, + { + "x": 212, + "y": 1780.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/dagre_spacing/dagre/sketch.exp.svg b/e2etests/testdata/stable/dagre_spacing/dagre/sketch.exp.svg new file mode 100644 index 000000000..da60dfe42 --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing/dagre/sketch.exp.svg @@ -0,0 +1,135 @@ +askuhykfnsomsssscccccccccccccccccccczrgtiiigsjjcfi 1234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/dagre_spacing/elk/board.exp.json b/e2etests/testdata/stable/dagre_spacing/elk/board.exp.json new file mode 100644 index 000000000..bf4ed86cf --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing/elk/board.exp.json @@ -0,0 +1,1526 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "a", + "type": "rectangle", + "pos": { + "x": 184, + "y": 373 + }, + "width": 513, + "height": 579, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "a", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "a.k", + "type": "rectangle", + "pos": { + "x": 234, + "y": 423 + }, + "width": 151, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.k.t", + "type": "rectangle", + "pos": { + "x": 284, + "y": 473 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "t", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f", + "type": "rectangle", + "pos": { + "x": 253, + "y": 679 + }, + "width": 393, + "height": 218, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 8, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.f.i", + "type": "rectangle", + "classes": [ + "OutsideTopCenter" + ], + "pos": { + "x": 303, + "y": 729 + }, + "width": 54, + "height": 82, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i\nii", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 37, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.g", + "type": "rectangle", + "pos": { + "x": 377, + "y": 755 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s", + "type": "rectangle", + "pos": { + "x": 387, + "y": 1453 + }, + "width": 424, + "height": 290, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "s.n", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 437, + "y": 1503 + }, + "width": 151, + "height": 190, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "red", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "n", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "k", + "type": "rectangle", + "pos": { + "x": 12, + "y": 786 + }, + "width": 152, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "k.s", + "type": "rectangle", + "pos": { + "x": 62, + "y": 836 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u", + "type": "rectangle", + "pos": { + "x": 255, + "y": 1092 + }, + "width": 694, + "height": 271, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "u", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "u.o", + "type": "rectangle", + "pos": { + "x": 305, + "y": 1147 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "o", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h", + "type": "rectangle", + "pos": { + "x": 299, + "y": 12 + }, + "width": 252, + "height": 271, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "h", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "h.m", + "type": "rectangle", + "pos": { + "x": 349, + "y": 62 + }, + "width": 152, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "m", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 18, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h.m.s", + "type": "rectangle", + "pos": { + "x": 399, + "y": 112 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.j", + "type": "rectangle", + "classes": [ + "icon", + "IconOutsideLeftTop" + ], + "pos": { + "x": 520, + "y": 729 + }, + "width": 76, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_TOP", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.s", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 379, + "y": 1147 + }, + "width": 150, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s\ns\ns\ns", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 103, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u.s.j", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 429, + "y": 1197 + }, + "width": 50, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.c", + "type": "rectangle", + "classes": [ + "OutsideRightMiddle" + ], + "pos": { + "x": 549, + "y": 1247 + }, + "width": 195, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cccccccccccccccccccc", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 150, + "labelHeight": 21, + "labelPosition": "OUTSIDE_RIGHT_MIDDLE", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z", + "type": "rectangle", + "pos": { + "x": 608, + "y": 1508 + }, + "width": 153, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "z", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z.c", + "type": "rectangle", + "pos": { + "x": 658, + "y": 1558 + }, + "width": 53, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "c", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 8, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s.n.f", + "type": "rectangle", + "pos": { + "x": 487, + "y": 1577 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 437, + "y": 1823 + }, + "width": 151, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "y", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 13, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y.r", + "type": "rectangle", + "pos": { + "x": 487, + "y": 1873 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g", + "type": "rectangle", + "pos": { + "x": 466, + "y": 428 + }, + "width": 149, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g.i", + "type": "rectangle", + "pos": { + "x": 516, + "y": 478 + }, + "width": 49, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 4, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + } + ], + "connections": [ + { + "id": "a.(k.t -> f.i)[0]", + "src": "a.k.t", + "srcArrow": "none", + "dst": "a.f.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 309.5, + "y": 539 + }, + { + "x": 309.5, + "y": 634 + }, + { + "x": 330.25, + "y": 634 + }, + { + "x": 330.25, + "y": 687 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.g -> s.n)[0]", + "src": "a.f.g", + "srcArrow": "none", + "dst": "s.n", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 404.25, + "y": 821 + }, + { + "x": 404.25, + "y": 997 + }, + { + "x": 214, + "y": 997 + }, + { + "x": 214, + "y": 1408 + }, + { + "x": 513, + "y": 1408 + }, + { + "x": 513, + "y": 1503 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(k.s <-> u.o)[0]", + "src": "k.s", + "srcArrow": "triangle", + "dst": "u.o", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 88, + "y": 902 + }, + { + "x": 88, + "y": 1047 + }, + { + "x": 332, + "y": 1047 + }, + { + "x": 332, + "y": 1147 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(h.m.s -> a.f.g)[0]", + "src": "h.m.s", + "srcArrow": "none", + "dst": "a.f.g", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 425, + "y": 178 + }, + { + "x": 425, + "y": 634 + }, + { + "x": 404.25, + "y": 634 + }, + { + "x": 404.25, + "y": 755 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.j -> u.s.j)[0]", + "src": "a.f.j", + "srcArrow": "none", + "dst": "u.s.j", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 523.75, + "y": 847 + }, + { + "x": 523.75, + "y": 997 + }, + { + "x": 454, + "y": 997 + }, + { + "x": 454, + "y": 1197 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(u.c -> s.z.c)[0]", + "src": "u.c", + "srcArrow": "none", + "dst": "s.z.c", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 685, + "y": 1313 + }, + { + "x": 685, + "y": 1558 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(s.n -> y.r)[0]", + "src": "s.n", + "srcArrow": "none", + "dst": "y.r", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 8, + "stroke": "red", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 513, + "y": 1693 + }, + { + "x": 513, + "y": 1873 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(y.r -> a.g.i)[0]", + "src": "y.r", + "srcArrow": "none", + "dst": "a.g.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "1\n2\n3\n4", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 69, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPercentage": 0, + "route": [ + { + "x": 513, + "y": 1939 + }, + { + "x": 513, + "y": 2034 + }, + { + "x": 973.5, + "y": 2034 + }, + { + "x": 973.5, + "y": 328 + }, + { + "x": 540.5, + "y": 328 + }, + { + "x": 540.5, + "y": 478 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/dagre_spacing/elk/sketch.exp.svg b/e2etests/testdata/stable/dagre_spacing/elk/sketch.exp.svg new file mode 100644 index 000000000..b46d93fdc --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing/elk/sketch.exp.svg @@ -0,0 +1,135 @@ +askuhykfnsomsssscccccccccccccccccccczrgtiiigsjjcfi 1234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/dagre_spacing_right/dagre/board.exp.json b/e2etests/testdata/stable/dagre_spacing_right/dagre/board.exp.json new file mode 100644 index 000000000..b53b2c7b7 --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing_right/dagre/board.exp.json @@ -0,0 +1,1798 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "a", + "type": "rectangle", + "pos": { + "x": 17, + "y": 147 + }, + "width": 1787, + "height": 580, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "a", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "a.k", + "type": "rectangle", + "pos": { + "x": 47, + "y": 213 + }, + "width": 111, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.k.t", + "type": "rectangle", + "pos": { + "x": 77, + "y": 243 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "t", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f", + "type": "rectangle", + "pos": { + "x": 378, + "y": 188 + }, + "width": 180, + "height": 509, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 8, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.f.i", + "type": "rectangle", + "classes": [ + "OutsideTopCenter" + ], + "pos": { + "x": 463, + "y": 235 + }, + "width": 54, + "height": 82, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i\nii", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 37, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.g", + "type": "rectangle", + "pos": { + "x": 463, + "y": 418 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s", + "type": "rectangle", + "pos": { + "x": 840, + "y": 1035 + }, + "width": 656, + "height": 364, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "s.n", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 870, + "y": 1109 + }, + "width": 111, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "red", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "n", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "k", + "type": "rectangle", + "pos": { + "x": 434, + "y": 1911 + }, + "width": 112, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "k.s", + "type": "rectangle", + "pos": { + "x": 464, + "y": 1941 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u", + "type": "rectangle", + "pos": { + "x": 798, + "y": 1465 + }, + "width": 385, + "height": 572, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "u", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "u.o", + "type": "rectangle", + "pos": { + "x": 899, + "y": 1941 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "o", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h", + "type": "rectangle", + "pos": { + "x": 16, + "y": 1105 + }, + "width": 172, + "height": 197, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "h", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "h.m", + "type": "rectangle", + "pos": { + "x": 46, + "y": 1146 + }, + "width": 112, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "m", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 18, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h.m.s", + "type": "rectangle", + "pos": { + "x": 76, + "y": 1176 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.j", + "type": "rectangle", + "classes": [ + "icon", + "IconOutsideLeftTop" + ], + "pos": { + "x": 452, + "y": 544 + }, + "width": 76, + "height": 123, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_TOP", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.s", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 871, + "y": 1495 + }, + "width": 110, + "height": 127, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s\ns\ns\ns", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 103, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u.s.j", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 901, + "y": 1525 + }, + "width": 50, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.c", + "type": "rectangle", + "classes": [ + "OutsideRightMiddle" + ], + "pos": { + "x": 828, + "y": 1815 + }, + "width": 195, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cccccccccccccccccccc", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 150, + "labelHeight": 21, + "labelPosition": "OUTSIDE_RIGHT_MIDDLE", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z", + "type": "rectangle", + "pos": { + "x": 1353, + "y": 1243 + }, + "width": 113, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "z", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z.c", + "type": "rectangle", + "pos": { + "x": 1383, + "y": 1273 + }, + "width": 53, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "c", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 8, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s.n.f", + "type": "rectangle", + "pos": { + "x": 900, + "y": 1139 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 1354, + "y": 803 + }, + "width": 111, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "y", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 13, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y.r", + "type": "rectangle", + "pos": { + "x": 1384, + "y": 833 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g", + "type": "rectangle", + "pos": { + "x": 1665, + "y": 393 + }, + "width": 109, + "height": 126, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g.i", + "type": "rectangle", + "pos": { + "x": 1695, + "y": 423 + }, + "width": 49, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 4, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + } + ], + "connections": [ + { + "id": "a.(k.t -> f.i)[0]", + "src": "a.k.t", + "srcArrow": "none", + "dst": "a.f.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 128.5, + "y": 276 + }, + { + "x": 168.10000610351562, + "y": 276 + }, + { + "x": 188, + "y": 276 + }, + { + "x": 203, + "y": 276 + }, + { + "x": 218, + "y": 276 + }, + { + "x": 238, + "y": 276 + }, + { + "x": 253, + "y": 276 + }, + { + "x": 268, + "y": 276 + }, + { + "x": 288, + "y": 276 + }, + { + "x": 303, + "y": 276 + }, + { + "x": 318, + "y": 276 + }, + { + "x": 395, + "y": 276 + }, + { + "x": 463, + "y": 276 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.g -> s.n)[0]", + "src": "a.f.g", + "srcArrow": "none", + "dst": "s.n", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 517, + "y": 451 + }, + { + "x": 565.7999877929688, + "y": 451 + }, + { + "x": 588, + "y": 451 + }, + { + "x": 603, + "y": 451 + }, + { + "x": 618, + "y": 451 + }, + { + "x": 638, + "y": 451 + }, + { + "x": 653, + "y": 451 + }, + { + "x": 668, + "y": 451 + }, + { + "x": 688, + "y": 451 + }, + { + "x": 703, + "y": 451 + }, + { + "x": 718, + "y": 451 + }, + { + "x": 803.4000244140625, + "y": 582.5999755859375 + }, + { + "x": 905, + "y": 1109 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(k.s <-> u.o)[0]", + "src": "k.s", + "srcArrow": "triangle", + "dst": "u.o", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 516, + "y": 1974 + }, + { + "x": 565.5999755859375, + "y": 1974 + }, + { + "x": 588, + "y": 1974 + }, + { + "x": 603, + "y": 1974 + }, + { + "x": 618, + "y": 1974 + }, + { + "x": 638, + "y": 1974 + }, + { + "x": 653, + "y": 1974 + }, + { + "x": 668, + "y": 1974 + }, + { + "x": 688, + "y": 1974 + }, + { + "x": 703, + "y": 1974 + }, + { + "x": 718, + "y": 1974 + }, + { + "x": 802.0999755859375, + "y": 1974 + }, + { + "x": 898.5, + "y": 1974 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(h.m.s -> a.f.g)[0]", + "src": "h.m.s", + "srcArrow": "none", + "dst": "a.f.g", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 128, + "y": 1208.5 + }, + { + "x": 168, + "y": 1208.5 + }, + { + "x": 188, + "y": 1208.5 + }, + { + "x": 203, + "y": 1208.5 + }, + { + "x": 218, + "y": 1208.5 + }, + { + "x": 238, + "y": 1057 + }, + { + "x": 253, + "y": 829.75 + }, + { + "x": 268, + "y": 602.5 + }, + { + "x": 288, + "y": 451 + }, + { + "x": 303, + "y": 451 + }, + { + "x": 318, + "y": 451 + }, + { + "x": 395, + "y": 451 + }, + { + "x": 463, + "y": 451 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.j -> u.s.j)[0]", + "src": "a.f.j", + "srcArrow": "none", + "dst": "u.s.j", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 528, + "y": 621 + }, + { + "x": 568, + "y": 621 + }, + { + "x": 588, + "y": 621 + }, + { + "x": 603, + "y": 621 + }, + { + "x": 618, + "y": 621 + }, + { + "x": 638, + "y": 621 + }, + { + "x": 653, + "y": 621 + }, + { + "x": 668, + "y": 621 + }, + { + "x": 688, + "y": 621 + }, + { + "x": 703, + "y": 621 + }, + { + "x": 718, + "y": 621 + }, + { + "x": 806, + "y": 801.7999877929688 + }, + { + "x": 918, + "y": 1525 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(u.c -> s.z.c)[0]", + "src": "u.c", + "srcArrow": "none", + "dst": "s.z.c", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 1023, + "y": 1848 + }, + { + "x": 1063, + "y": 1848 + }, + { + "x": 1095, + "y": 1848 + }, + { + "x": 1128, + "y": 1848 + }, + { + "x": 1161, + "y": 1848 + }, + { + "x": 1193, + "y": 1739.5999755859375 + }, + { + "x": 1208, + "y": 1577 + }, + { + "x": 1223, + "y": 1414.4000244140625 + }, + { + "x": 1243, + "y": 1306 + }, + { + "x": 1258, + "y": 1306 + }, + { + "x": 1273, + "y": 1306 + }, + { + "x": 1343, + "y": 1306 + }, + { + "x": 1383, + "y": 1306 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(s.n -> y.r)[0]", + "src": "s.n", + "srcArrow": "none", + "dst": "y.r", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 8, + "stroke": "red", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 981, + "y": 1172 + }, + { + "x": 1142.5999755859375, + "y": 1172 + }, + { + "x": 1193, + "y": 1172 + }, + { + "x": 1208, + "y": 1172 + }, + { + "x": 1223, + "y": 1172 + }, + { + "x": 1243, + "y": 1172 + }, + { + "x": 1258, + "y": 1172 + }, + { + "x": 1273, + "y": 1172 + }, + { + "x": 1345.5999755859375, + "y": 1117.4000244140625 + }, + { + "x": 1396, + "y": 899 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(y.r -> a.g.i)[0]", + "src": "y.r", + "srcArrow": "none", + "dst": "a.g.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "1\n2\n3\n4", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 69, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPercentage": 0, + "route": [ + { + "x": 1435, + "y": 866 + }, + { + "x": 1475.800048828125, + "y": 866 + }, + { + "x": 1496, + "y": 866 + }, + { + "x": 1511, + "y": 866 + }, + { + "x": 1526, + "y": 866 + }, + { + "x": 1546.9000244140625, + "y": 784 + }, + { + "x": 1563.25, + "y": 661 + }, + { + "x": 1579.5999755859375, + "y": 538 + }, + { + "x": 1655, + "y": 456 + }, + { + "x": 1695, + "y": 456 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/dagre_spacing_right/dagre/sketch.exp.svg b/e2etests/testdata/stable/dagre_spacing_right/dagre/sketch.exp.svg new file mode 100644 index 000000000..7efeeed53 --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing_right/dagre/sketch.exp.svg @@ -0,0 +1,135 @@ +askuhykfnsomsssscccccccccccccccccccczrgtiiigsjjcfi 1234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/dagre_spacing_right/elk/board.exp.json b/e2etests/testdata/stable/dagre_spacing_right/elk/board.exp.json new file mode 100644 index 000000000..3cb0c0cf7 --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing_right/elk/board.exp.json @@ -0,0 +1,1518 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "a", + "type": "rectangle", + "pos": { + "x": 359, + "y": 198 + }, + "width": 591, + "height": 513, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "a", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "a.k", + "type": "rectangle", + "pos": { + "x": 409, + "y": 248 + }, + "width": 151, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.k.t", + "type": "rectangle", + "pos": { + "x": 459, + "y": 298 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "t", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f", + "type": "rectangle", + "pos": { + "x": 650, + "y": 254 + }, + "width": 245, + "height": 406, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 8, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.f.i", + "type": "rectangle", + "classes": [ + "OutsideTopCenter" + ], + "pos": { + "x": 700, + "y": 304 + }, + "width": 54, + "height": 82, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i\nii", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 37, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.g", + "type": "rectangle", + "pos": { + "x": 745, + "y": 406 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s", + "type": "rectangle", + "pos": { + "x": 1630, + "y": 319 + }, + "width": 258, + "height": 476, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "s.n", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 1683, + "y": 369 + }, + "width": 151, + "height": 190, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "red", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "n", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "k", + "type": "rectangle", + "pos": { + "x": 798, + "y": 12 + }, + "width": 152, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "k", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "k.s", + "type": "rectangle", + "pos": { + "x": 848, + "y": 62 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u", + "type": "rectangle", + "pos": { + "x": 1090, + "y": 332 + }, + "width": 450, + "height": 438, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "u", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "u.o", + "type": "rectangle", + "pos": { + "x": 1145, + "y": 382 + }, + "width": 54, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "o", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h", + "type": "rectangle", + "pos": { + "x": 12, + "y": 321 + }, + "width": 257, + "height": 266, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "h", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 12, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "h.m", + "type": "rectangle", + "pos": { + "x": 62, + "y": 371 + }, + "width": 152, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "m", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 18, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "h.m.s", + "type": "rectangle", + "pos": { + "x": 112, + "y": 421 + }, + "width": 52, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 7, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "a.f.j", + "type": "rectangle", + "classes": [ + "icon", + "IconOutsideLeftTop" + ], + "pos": { + "x": 769, + "y": 492 + }, + "width": 76, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_TOP", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.s", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 1145, + "y": 468 + }, + "width": 150, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "s\ns\ns\ns", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 103, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "u.s.j", + "type": "rectangle", + "classes": [ + "OutsideBottomCenter" + ], + "pos": { + "x": 1195, + "y": 518 + }, + "width": 50, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "j", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 5, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "u.c", + "type": "rectangle", + "classes": [ + "OutsideRightMiddle" + ], + "pos": { + "x": 1140, + "y": 654 + }, + "width": 195, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cccccccccccccccccccc", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 150, + "labelHeight": 21, + "labelPosition": "OUTSIDE_RIGHT_MIDDLE", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z", + "type": "rectangle", + "pos": { + "x": 1685, + "y": 579 + }, + "width": 153, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "z", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "s.z.c", + "type": "rectangle", + "pos": { + "x": 1735, + "y": 629 + }, + "width": 53, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "c", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 8, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "s.n.f", + "type": "rectangle", + "pos": { + "x": 1733, + "y": 443 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "f", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 1968, + "y": 381 + }, + "width": 151, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "y", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 13, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y.r", + "type": "rectangle", + "pos": { + "x": 2018, + "y": 431 + }, + "width": 51, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "r", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 6, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g", + "type": "rectangle", + "pos": { + "x": 414, + "y": 495 + }, + "width": 149, + "height": 166, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "g", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 11, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "a.g.i", + "type": "rectangle", + "pos": { + "x": 464, + "y": 545 + }, + "width": 49, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "i", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 4, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 3 + } + ], + "connections": [ + { + "id": "a.(k.t -> f.i)[0]", + "src": "a.k.t", + "srcArrow": "none", + "dst": "a.f.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 510, + "y": 345.5 + }, + { + "x": 700, + "y": 345.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.g -> s.n)[0]", + "src": "a.f.g", + "srcArrow": "none", + "dst": "s.n", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 799, + "y": 439.5 + }, + { + "x": 995, + "y": 439.5 + }, + { + "x": 995, + "y": 291.5 + }, + { + "x": 1585, + "y": 291.5 + }, + { + "x": 1585, + "y": 464.5 + }, + { + "x": 1684, + "y": 464.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(k.s <-> u.o)[0]", + "src": "k.s", + "srcArrow": "triangle", + "dst": "u.o", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 900, + "y": 95 + }, + { + "x": 1045, + "y": 95 + }, + { + "x": 1045, + "y": 415.5 + }, + { + "x": 1145, + "y": 415.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(h.m.s -> a.f.g)[0]", + "src": "h.m.s", + "srcArrow": "none", + "dst": "a.f.g", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 164, + "y": 454 + }, + { + "x": 605, + "y": 454 + }, + { + "x": 605, + "y": 439.5 + }, + { + "x": 746, + "y": 439.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(a.f.j -> u.s.j)[0]", + "src": "a.f.j", + "srcArrow": "none", + "dst": "u.s.j", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 845, + "y": 551.5 + }, + { + "x": 1195, + "y": 551.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(u.c -> s.z.c)[0]", + "src": "u.c", + "srcArrow": "none", + "dst": "s.z.c", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 1495, + "y": 687.5 + }, + { + "x": 1585, + "y": 687.5 + }, + { + "x": 1585, + "y": 662.5 + }, + { + "x": 1735, + "y": 662.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(s.n -> y.r)[0]", + "src": "s.n", + "srcArrow": "none", + "dst": "y.r", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 8, + "stroke": "red", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 1834, + "y": 464.5 + }, + { + "x": 2018, + "y": 464.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(y.r -> a.g.i)[0]", + "src": "y.r", + "srcArrow": "none", + "dst": "a.g.i", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "1\n2\n3\n4", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 69, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPercentage": 0, + "route": [ + { + "x": 2069, + "y": 464.5 + }, + { + "x": 2164, + "y": 464.5 + }, + { + "x": 2164, + "y": 898.75 + }, + { + "x": 314, + "y": 898.75 + }, + { + "x": 314, + "y": 578 + }, + { + "x": 464, + "y": 578 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/dagre_spacing_right/elk/sketch.exp.svg b/e2etests/testdata/stable/dagre_spacing_right/elk/sketch.exp.svg new file mode 100644 index 000000000..a19e70bc9 --- /dev/null +++ b/e2etests/testdata/stable/dagre_spacing_right/elk/sketch.exp.svg @@ -0,0 +1,135 @@ +askuhykfnsomsssscccccccccccccccccccczrgtiiigsjjcfi 1234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/dense/dagre/board.exp.json b/e2etests/testdata/stable/dense/dagre/board.exp.json index a38d85848..1e0ce8804 100644 --- a/e2etests/testdata/stable/dense/dagre/board.exp.json +++ b/e2etests/testdata/stable/dense/dagre/board.exp.json @@ -775,11 +775,11 @@ "route": [ { "x": 117, - "y": 511.447998046875 + "y": 511 }, { "x": 185.8000030517578, - "y": 460.6889953613281 + "y": 460.6000061035156 }, { "x": 203, @@ -951,12 +951,12 @@ "labelPercentage": 0, "route": [ { - "x": 340, - "y": 210.01100158691406 + "x": 340.25, + "y": 210 }, { - "x": 478.6000061035156, - "y": 267.60198974609375 + "x": 478.6499938964844, + "y": 267.6000061035156 }, { "x": 513.25, @@ -1010,12 +1010,12 @@ "labelPercentage": 0, "route": [ { - "x": 340, - "y": 206.61000061035156 + "x": 339.5, + "y": 207 }, { - "x": 550, - "y": 266.9219970703125 + "x": 549.9000244140625, + "y": 267 }, { "x": 602.5, @@ -1104,12 +1104,12 @@ "labelPercentage": 0, "route": [ { - "x": 287, - "y": 211.42599487304688 + "x": 287.5, + "y": 211 }, { - "x": 166.60000610351562, - "y": 267.885009765625 + "x": 166.6999969482422, + "y": 267.79998779296875 }, { "x": 136.5, @@ -1151,11 +1151,11 @@ "labelPercentage": 0, "route": [ { - "x": 322.8429870605469, + "x": 323, "y": 232 }, { - "x": 334.1679992675781, + "x": 334.20001220703125, "y": 272 }, { @@ -1259,11 +1259,11 @@ "route": [ { "x": 340, - "y": 212.2100067138672 + "y": 212 }, { "x": 452, - "y": 268.0419921875 + "y": 268 }, { "x": 480, @@ -1364,11 +1364,11 @@ "labelPercentage": 0, "route": [ { - "x": 37.92100143432617, + "x": 37.5, "y": 332 }, { - "x": 53.58399963378906, + "x": 53.5, "y": 292 }, { @@ -1424,11 +1424,11 @@ "route": [ { "x": 287, - "y": 206.6230010986328 + "y": 207 }, { "x": 77.39900207519531, - "y": 266.92401123046875 + "y": 267 }, { "x": 25, @@ -1517,12 +1517,12 @@ "labelPercentage": 0, "route": [ { - "x": 507, - "y": 544.2210083007812 + "x": 506.5, + "y": 544 }, { - "x": 621, - "y": 600.0440063476562 + "x": 620.9000244140625, + "y": 600 }, { "x": 666.5, @@ -1611,11 +1611,11 @@ "labelPercentage": 0, "route": [ { - "x": 710.4749755859375, + "x": 710.5, "y": 564 }, { - "x": 715.2949829101562, + "x": 715.2999877929688, "y": 604 }, { @@ -1658,12 +1658,12 @@ "labelPercentage": 0, "route": [ { - "x": 678, - "y": 538.47900390625 + "x": 678.25, + "y": 538 }, { - "x": 447.79901123046875, - "y": 598.89501953125 + "x": 447.8500061035156, + "y": 598.7999877929688 }, { "x": 393.04998779296875, @@ -1752,11 +1752,11 @@ "labelPercentage": 0, "route": [ { - "x": 453.55999755859375, + "x": 453.5, "y": 564 }, { - "x": 421.5119934082031, + "x": 421.5, "y": 604 }, { @@ -1799,12 +1799,12 @@ "labelPercentage": 0, "route": [ { - "x": 567, - "y": 544.5889892578125 + "x": 566.75, + "y": 545 }, { - "x": 462.79998779296875, - "y": 600.1170043945312 + "x": 462.75, + "y": 600.2000122070312 }, { "x": 433.95001220703125, @@ -1846,11 +1846,11 @@ "labelPercentage": 0, "route": [ { - "x": 296.2040100097656, + "x": 296, "y": 232 }, { - "x": 275.239990234375, + "x": 275.20001220703125, "y": 272 }, { @@ -1902,11 +1902,11 @@ }, { "x": 817.9000244140625, - "y": 624.4000244140625 + "y": 624.2000122070312 }, { "x": 783.5, - "y": 666 + "y": 665 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/dense/dagre/sketch.exp.svg b/e2etests/testdata/stable/dense/dagre/sketch.exp.svg index 6aedcc551..01c1a2823 100644 --- a/e2etests/testdata/stable/dense/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/dense/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmnopq + .d2-4142769503 .fill-N1{fill:#0A0F25;} + .d2-4142769503 .fill-N2{fill:#676C7E;} + .d2-4142769503 .fill-N3{fill:#9499AB;} + .d2-4142769503 .fill-N4{fill:#CFD2DD;} + .d2-4142769503 .fill-N5{fill:#DEE1EB;} + .d2-4142769503 .fill-N6{fill:#EEF1F8;} + .d2-4142769503 .fill-N7{fill:#FFFFFF;} + .d2-4142769503 .fill-B1{fill:#0D32B2;} + .d2-4142769503 .fill-B2{fill:#0D32B2;} + .d2-4142769503 .fill-B3{fill:#E3E9FD;} + .d2-4142769503 .fill-B4{fill:#E3E9FD;} + .d2-4142769503 .fill-B5{fill:#EDF0FD;} + .d2-4142769503 .fill-B6{fill:#F7F8FE;} + .d2-4142769503 .fill-AA2{fill:#4A6FF3;} + .d2-4142769503 .fill-AA4{fill:#EDF0FD;} + .d2-4142769503 .fill-AA5{fill:#F7F8FE;} + .d2-4142769503 .fill-AB4{fill:#EDF0FD;} + .d2-4142769503 .fill-AB5{fill:#F7F8FE;} + .d2-4142769503 .stroke-N1{stroke:#0A0F25;} + .d2-4142769503 .stroke-N2{stroke:#676C7E;} + .d2-4142769503 .stroke-N3{stroke:#9499AB;} + .d2-4142769503 .stroke-N4{stroke:#CFD2DD;} + .d2-4142769503 .stroke-N5{stroke:#DEE1EB;} + .d2-4142769503 .stroke-N6{stroke:#EEF1F8;} + .d2-4142769503 .stroke-N7{stroke:#FFFFFF;} + .d2-4142769503 .stroke-B1{stroke:#0D32B2;} + .d2-4142769503 .stroke-B2{stroke:#0D32B2;} + .d2-4142769503 .stroke-B3{stroke:#E3E9FD;} + .d2-4142769503 .stroke-B4{stroke:#E3E9FD;} + .d2-4142769503 .stroke-B5{stroke:#EDF0FD;} + .d2-4142769503 .stroke-B6{stroke:#F7F8FE;} + .d2-4142769503 .stroke-AA2{stroke:#4A6FF3;} + .d2-4142769503 .stroke-AA4{stroke:#EDF0FD;} + .d2-4142769503 .stroke-AA5{stroke:#F7F8FE;} + .d2-4142769503 .stroke-AB4{stroke:#EDF0FD;} + .d2-4142769503 .stroke-AB5{stroke:#F7F8FE;} + .d2-4142769503 .background-color-N1{background-color:#0A0F25;} + .d2-4142769503 .background-color-N2{background-color:#676C7E;} + .d2-4142769503 .background-color-N3{background-color:#9499AB;} + .d2-4142769503 .background-color-N4{background-color:#CFD2DD;} + .d2-4142769503 .background-color-N5{background-color:#DEE1EB;} + .d2-4142769503 .background-color-N6{background-color:#EEF1F8;} + .d2-4142769503 .background-color-N7{background-color:#FFFFFF;} + .d2-4142769503 .background-color-B1{background-color:#0D32B2;} + .d2-4142769503 .background-color-B2{background-color:#0D32B2;} + .d2-4142769503 .background-color-B3{background-color:#E3E9FD;} + .d2-4142769503 .background-color-B4{background-color:#E3E9FD;} + .d2-4142769503 .background-color-B5{background-color:#EDF0FD;} + .d2-4142769503 .background-color-B6{background-color:#F7F8FE;} + .d2-4142769503 .background-color-AA2{background-color:#4A6FF3;} + .d2-4142769503 .background-color-AA4{background-color:#EDF0FD;} + .d2-4142769503 .background-color-AA5{background-color:#F7F8FE;} + .d2-4142769503 .background-color-AB4{background-color:#EDF0FD;} + .d2-4142769503 .background-color-AB5{background-color:#F7F8FE;} + .d2-4142769503 .color-N1{color:#0A0F25;} + .d2-4142769503 .color-N2{color:#676C7E;} + .d2-4142769503 .color-N3{color:#9499AB;} + .d2-4142769503 .color-N4{color:#CFD2DD;} + .d2-4142769503 .color-N5{color:#DEE1EB;} + .d2-4142769503 .color-N6{color:#EEF1F8;} + .d2-4142769503 .color-N7{color:#FFFFFF;} + .d2-4142769503 .color-B1{color:#0D32B2;} + .d2-4142769503 .color-B2{color:#0D32B2;} + .d2-4142769503 .color-B3{color:#E3E9FD;} + .d2-4142769503 .color-B4{color:#E3E9FD;} + .d2-4142769503 .color-B5{color:#EDF0FD;} + .d2-4142769503 .color-B6{color:#F7F8FE;} + .d2-4142769503 .color-AA2{color:#4A6FF3;} + .d2-4142769503 .color-AA4{color:#EDF0FD;} + .d2-4142769503 .color-AA5{color:#F7F8FE;} + .d2-4142769503 .color-AB4{color:#EDF0FD;} + .d2-4142769503 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmnopq diff --git a/e2etests/testdata/stable/dense/elk/sketch.exp.svg b/e2etests/testdata/stable/dense/elk/sketch.exp.svg index e3d92c538..c0470cedd 100644 --- a/e2etests/testdata/stable/dense/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/dense/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmnopq + .d2-3932570534 .fill-N1{fill:#0A0F25;} + .d2-3932570534 .fill-N2{fill:#676C7E;} + .d2-3932570534 .fill-N3{fill:#9499AB;} + .d2-3932570534 .fill-N4{fill:#CFD2DD;} + .d2-3932570534 .fill-N5{fill:#DEE1EB;} + .d2-3932570534 .fill-N6{fill:#EEF1F8;} + .d2-3932570534 .fill-N7{fill:#FFFFFF;} + .d2-3932570534 .fill-B1{fill:#0D32B2;} + .d2-3932570534 .fill-B2{fill:#0D32B2;} + .d2-3932570534 .fill-B3{fill:#E3E9FD;} + .d2-3932570534 .fill-B4{fill:#E3E9FD;} + .d2-3932570534 .fill-B5{fill:#EDF0FD;} + .d2-3932570534 .fill-B6{fill:#F7F8FE;} + .d2-3932570534 .fill-AA2{fill:#4A6FF3;} + .d2-3932570534 .fill-AA4{fill:#EDF0FD;} + .d2-3932570534 .fill-AA5{fill:#F7F8FE;} + .d2-3932570534 .fill-AB4{fill:#EDF0FD;} + .d2-3932570534 .fill-AB5{fill:#F7F8FE;} + .d2-3932570534 .stroke-N1{stroke:#0A0F25;} + .d2-3932570534 .stroke-N2{stroke:#676C7E;} + .d2-3932570534 .stroke-N3{stroke:#9499AB;} + .d2-3932570534 .stroke-N4{stroke:#CFD2DD;} + .d2-3932570534 .stroke-N5{stroke:#DEE1EB;} + .d2-3932570534 .stroke-N6{stroke:#EEF1F8;} + .d2-3932570534 .stroke-N7{stroke:#FFFFFF;} + .d2-3932570534 .stroke-B1{stroke:#0D32B2;} + .d2-3932570534 .stroke-B2{stroke:#0D32B2;} + .d2-3932570534 .stroke-B3{stroke:#E3E9FD;} + .d2-3932570534 .stroke-B4{stroke:#E3E9FD;} + .d2-3932570534 .stroke-B5{stroke:#EDF0FD;} + .d2-3932570534 .stroke-B6{stroke:#F7F8FE;} + .d2-3932570534 .stroke-AA2{stroke:#4A6FF3;} + .d2-3932570534 .stroke-AA4{stroke:#EDF0FD;} + .d2-3932570534 .stroke-AA5{stroke:#F7F8FE;} + .d2-3932570534 .stroke-AB4{stroke:#EDF0FD;} + .d2-3932570534 .stroke-AB5{stroke:#F7F8FE;} + .d2-3932570534 .background-color-N1{background-color:#0A0F25;} + .d2-3932570534 .background-color-N2{background-color:#676C7E;} + .d2-3932570534 .background-color-N3{background-color:#9499AB;} + .d2-3932570534 .background-color-N4{background-color:#CFD2DD;} + .d2-3932570534 .background-color-N5{background-color:#DEE1EB;} + .d2-3932570534 .background-color-N6{background-color:#EEF1F8;} + .d2-3932570534 .background-color-N7{background-color:#FFFFFF;} + .d2-3932570534 .background-color-B1{background-color:#0D32B2;} + .d2-3932570534 .background-color-B2{background-color:#0D32B2;} + .d2-3932570534 .background-color-B3{background-color:#E3E9FD;} + .d2-3932570534 .background-color-B4{background-color:#E3E9FD;} + .d2-3932570534 .background-color-B5{background-color:#EDF0FD;} + .d2-3932570534 .background-color-B6{background-color:#F7F8FE;} + .d2-3932570534 .background-color-AA2{background-color:#4A6FF3;} + .d2-3932570534 .background-color-AA4{background-color:#EDF0FD;} + .d2-3932570534 .background-color-AA5{background-color:#F7F8FE;} + .d2-3932570534 .background-color-AB4{background-color:#EDF0FD;} + .d2-3932570534 .background-color-AB5{background-color:#F7F8FE;} + .d2-3932570534 .color-N1{color:#0A0F25;} + .d2-3932570534 .color-N2{color:#676C7E;} + .d2-3932570534 .color-N3{color:#9499AB;} + .d2-3932570534 .color-N4{color:#CFD2DD;} + .d2-3932570534 .color-N5{color:#DEE1EB;} + .d2-3932570534 .color-N6{color:#EEF1F8;} + .d2-3932570534 .color-N7{color:#FFFFFF;} + .d2-3932570534 .color-B1{color:#0D32B2;} + .d2-3932570534 .color-B2{color:#0D32B2;} + .d2-3932570534 .color-B3{color:#E3E9FD;} + .d2-3932570534 .color-B4{color:#E3E9FD;} + .d2-3932570534 .color-B5{color:#EDF0FD;} + .d2-3932570534 .color-B6{color:#F7F8FE;} + .d2-3932570534 .color-AA2{color:#4A6FF3;} + .d2-3932570534 .color-AA4{color:#EDF0FD;} + .d2-3932570534 .color-AA5{color:#F7F8FE;} + .d2-3932570534 .color-AB4{color:#EDF0FD;} + .d2-3932570534 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmnopq diff --git a/e2etests/testdata/stable/different_subgraphs/dagre/board.exp.json b/e2etests/testdata/stable/different_subgraphs/dagre/board.exp.json index 6fd0f433d..641c7ddcd 100644 --- a/e2etests/testdata/stable/different_subgraphs/dagre/board.exp.json +++ b/e2etests/testdata/stable/different_subgraphs/dagre/board.exp.json @@ -499,11 +499,11 @@ "id": "finally", "type": "rectangle", "pos": { - "x": 863, - "y": 41 + "x": 873, + "y": 20 }, - "width": 312, - "height": 623, + "width": 288, + "height": 624, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -705,7 +705,7 @@ "type": "rectangle", "pos": { "x": 1000, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -746,7 +746,7 @@ "type": "rectangle", "pos": { "x": 922, - "y": 402 + "y": 382 }, "width": 74, "height": 66, @@ -787,7 +787,7 @@ "type": "rectangle", "pos": { "x": 982, - "y": 70 + "y": 50 }, "width": 88, "height": 66, @@ -828,7 +828,7 @@ "type": "rectangle", "pos": { "x": 903, - "y": 568 + "y": 548 }, "width": 113, "height": 66, @@ -869,7 +869,7 @@ "type": "rectangle", "pos": { "x": 1056, - "y": 402 + "y": 382 }, "width": 75, "height": 66, @@ -933,11 +933,11 @@ "route": [ { "x": 301, - "y": 93.20600128173828 + "y": 93 }, { "x": 149.7989959716797, - "y": 151.4409942626953 + "y": 151.39999389648438 }, { "x": 112, @@ -1027,11 +1027,11 @@ "route": [ { "x": 354, - "y": 98.76699829101562 + "y": 99 }, { "x": 444.3999938964844, - "y": 152.55299377441406 + "y": 152.60000610351562 }, { "x": 467, @@ -1120,11 +1120,11 @@ "labelPercentage": 0, "route": [ { - "x": 83.5719985961914, + "x": 83.5, "y": 282 }, { - "x": 49.11399841308594, + "x": 49.099998474121094, "y": 322 }, { @@ -1167,11 +1167,11 @@ "labelPercentage": 0, "route": [ { - "x": 140.427001953125, + "x": 140.5, "y": 282 }, { - "x": 174.88499450683594, + "x": 174.89999389648438, "y": 322 }, { @@ -1214,11 +1214,11 @@ "labelPercentage": 0, "route": [ { - "x": 614.5239868164062, + "x": 614.5, "y": 116 }, { - "x": 609.7039794921875, + "x": 609.7000122070312, "y": 156 }, { @@ -1355,11 +1355,11 @@ "labelPercentage": 0, "route": [ { - "x": 649.2130126953125, + "x": 648.75, "y": 116 }, { - "x": 686.4420166015625, + "x": 686.3499755859375, "y": 156 }, { @@ -1403,11 +1403,11 @@ "route": [ { "x": 930.75, - "y": 664 + "y": 644 }, { "x": 930.75, - "y": 704 + "y": 700 }, { "x": 930.75, @@ -1544,11 +1544,11 @@ "route": [ { "x": 1055, - "y": 664 + "y": 644 }, { "x": 1055, - "y": 704 + "y": 700 }, { "x": 1077.550048828125, @@ -1591,19 +1591,19 @@ "route": [ { "x": 999.75, - "y": 302.20599365234375 + "y": 281.70599365234375 }, { "x": 967.1500244140625, - "y": 342.4410095214844 + "y": 321.9410095214844 }, { "x": 959, - "y": 362.5 + "y": 342 }, { "x": 959, - "y": 402.5 + "y": 382 } ], "isCurve": true, @@ -1638,19 +1638,19 @@ "route": [ { "x": 1026.25, - "y": 136.5 + "y": 116 }, { "x": 1026.25, - "y": 176.5 + "y": 156 }, { "x": 1026.25, - "y": 196.5 + "y": 176 }, { "x": 1026.25, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -1685,19 +1685,19 @@ "route": [ { "x": 959, - "y": 468.5 + "y": 448 }, { "x": 959, - "y": 508.5 + "y": 488 }, { "x": 959, - "y": 528.5 + "y": 508 }, { "x": 959, - "y": 568.5 + "y": 548 } ], "isCurve": true, @@ -1731,20 +1731,20 @@ "labelPercentage": 0, "route": [ { - "x": 1052.75, - "y": 302.20599365234375 + "x": 1052.5, + "y": 282 }, { - "x": 1085.3499755859375, - "y": 342.4410095214844 + "x": 1085.300048828125, + "y": 322 }, { "x": 1093.5, - "y": 362.5 + "y": 342 }, { "x": 1093.5, - "y": 402.5 + "y": 382 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/different_subgraphs/dagre/sketch.exp.svg b/e2etests/testdata/stable/different_subgraphs/dagre/sketch.exp.svg index c555a97a2..d35d8be97 100644 --- a/e2etests/testdata/stable/different_subgraphs/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/different_subgraphs/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -atreeandnodessomemoremanythenhereyouhavehierarchyfinallyanotherofnestingtreesatreeinsidehierarchyroot - + .d2-696853950 .fill-N1{fill:#0A0F25;} + .d2-696853950 .fill-N2{fill:#676C7E;} + .d2-696853950 .fill-N3{fill:#9499AB;} + .d2-696853950 .fill-N4{fill:#CFD2DD;} + .d2-696853950 .fill-N5{fill:#DEE1EB;} + .d2-696853950 .fill-N6{fill:#EEF1F8;} + .d2-696853950 .fill-N7{fill:#FFFFFF;} + .d2-696853950 .fill-B1{fill:#0D32B2;} + .d2-696853950 .fill-B2{fill:#0D32B2;} + .d2-696853950 .fill-B3{fill:#E3E9FD;} + .d2-696853950 .fill-B4{fill:#E3E9FD;} + .d2-696853950 .fill-B5{fill:#EDF0FD;} + .d2-696853950 .fill-B6{fill:#F7F8FE;} + .d2-696853950 .fill-AA2{fill:#4A6FF3;} + .d2-696853950 .fill-AA4{fill:#EDF0FD;} + .d2-696853950 .fill-AA5{fill:#F7F8FE;} + .d2-696853950 .fill-AB4{fill:#EDF0FD;} + .d2-696853950 .fill-AB5{fill:#F7F8FE;} + .d2-696853950 .stroke-N1{stroke:#0A0F25;} + .d2-696853950 .stroke-N2{stroke:#676C7E;} + .d2-696853950 .stroke-N3{stroke:#9499AB;} + .d2-696853950 .stroke-N4{stroke:#CFD2DD;} + .d2-696853950 .stroke-N5{stroke:#DEE1EB;} + .d2-696853950 .stroke-N6{stroke:#EEF1F8;} + .d2-696853950 .stroke-N7{stroke:#FFFFFF;} + .d2-696853950 .stroke-B1{stroke:#0D32B2;} + .d2-696853950 .stroke-B2{stroke:#0D32B2;} + .d2-696853950 .stroke-B3{stroke:#E3E9FD;} + .d2-696853950 .stroke-B4{stroke:#E3E9FD;} + .d2-696853950 .stroke-B5{stroke:#EDF0FD;} + .d2-696853950 .stroke-B6{stroke:#F7F8FE;} + .d2-696853950 .stroke-AA2{stroke:#4A6FF3;} + .d2-696853950 .stroke-AA4{stroke:#EDF0FD;} + .d2-696853950 .stroke-AA5{stroke:#F7F8FE;} + .d2-696853950 .stroke-AB4{stroke:#EDF0FD;} + .d2-696853950 .stroke-AB5{stroke:#F7F8FE;} + .d2-696853950 .background-color-N1{background-color:#0A0F25;} + .d2-696853950 .background-color-N2{background-color:#676C7E;} + .d2-696853950 .background-color-N3{background-color:#9499AB;} + .d2-696853950 .background-color-N4{background-color:#CFD2DD;} + .d2-696853950 .background-color-N5{background-color:#DEE1EB;} + .d2-696853950 .background-color-N6{background-color:#EEF1F8;} + .d2-696853950 .background-color-N7{background-color:#FFFFFF;} + .d2-696853950 .background-color-B1{background-color:#0D32B2;} + .d2-696853950 .background-color-B2{background-color:#0D32B2;} + .d2-696853950 .background-color-B3{background-color:#E3E9FD;} + .d2-696853950 .background-color-B4{background-color:#E3E9FD;} + .d2-696853950 .background-color-B5{background-color:#EDF0FD;} + .d2-696853950 .background-color-B6{background-color:#F7F8FE;} + .d2-696853950 .background-color-AA2{background-color:#4A6FF3;} + .d2-696853950 .background-color-AA4{background-color:#EDF0FD;} + .d2-696853950 .background-color-AA5{background-color:#F7F8FE;} + .d2-696853950 .background-color-AB4{background-color:#EDF0FD;} + .d2-696853950 .background-color-AB5{background-color:#F7F8FE;} + .d2-696853950 .color-N1{color:#0A0F25;} + .d2-696853950 .color-N2{color:#676C7E;} + .d2-696853950 .color-N3{color:#9499AB;} + .d2-696853950 .color-N4{color:#CFD2DD;} + .d2-696853950 .color-N5{color:#DEE1EB;} + .d2-696853950 .color-N6{color:#EEF1F8;} + .d2-696853950 .color-N7{color:#FFFFFF;} + .d2-696853950 .color-B1{color:#0D32B2;} + .d2-696853950 .color-B2{color:#0D32B2;} + .d2-696853950 .color-B3{color:#E3E9FD;} + .d2-696853950 .color-B4{color:#E3E9FD;} + .d2-696853950 .color-B5{color:#EDF0FD;} + .d2-696853950 .color-B6{color:#F7F8FE;} + .d2-696853950 .color-AA2{color:#4A6FF3;} + .d2-696853950 .color-AA4{color:#EDF0FD;} + .d2-696853950 .color-AA5{color:#F7F8FE;} + .d2-696853950 .color-AB4{color:#EDF0FD;} + .d2-696853950 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>atreeandnodessomemoremanythenhereyouhavehierarchyfinallyanotherofnestingtreesatreeinsidehierarchyroot + @@ -110,14 +110,14 @@ - + - - - - - + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/different_subgraphs/elk/sketch.exp.svg b/e2etests/testdata/stable/different_subgraphs/elk/sketch.exp.svg index 7e967cd64..bf0d562fb 100644 --- a/e2etests/testdata/stable/different_subgraphs/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/different_subgraphs/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -atreeandnodessomemoremanythenhereyouhavehierarchyfinallyanotherofnestingtreesatreeinsidehierarchyroot + .d2-1096842315 .fill-N1{fill:#0A0F25;} + .d2-1096842315 .fill-N2{fill:#676C7E;} + .d2-1096842315 .fill-N3{fill:#9499AB;} + .d2-1096842315 .fill-N4{fill:#CFD2DD;} + .d2-1096842315 .fill-N5{fill:#DEE1EB;} + .d2-1096842315 .fill-N6{fill:#EEF1F8;} + .d2-1096842315 .fill-N7{fill:#FFFFFF;} + .d2-1096842315 .fill-B1{fill:#0D32B2;} + .d2-1096842315 .fill-B2{fill:#0D32B2;} + .d2-1096842315 .fill-B3{fill:#E3E9FD;} + .d2-1096842315 .fill-B4{fill:#E3E9FD;} + .d2-1096842315 .fill-B5{fill:#EDF0FD;} + .d2-1096842315 .fill-B6{fill:#F7F8FE;} + .d2-1096842315 .fill-AA2{fill:#4A6FF3;} + .d2-1096842315 .fill-AA4{fill:#EDF0FD;} + .d2-1096842315 .fill-AA5{fill:#F7F8FE;} + .d2-1096842315 .fill-AB4{fill:#EDF0FD;} + .d2-1096842315 .fill-AB5{fill:#F7F8FE;} + .d2-1096842315 .stroke-N1{stroke:#0A0F25;} + .d2-1096842315 .stroke-N2{stroke:#676C7E;} + .d2-1096842315 .stroke-N3{stroke:#9499AB;} + .d2-1096842315 .stroke-N4{stroke:#CFD2DD;} + .d2-1096842315 .stroke-N5{stroke:#DEE1EB;} + .d2-1096842315 .stroke-N6{stroke:#EEF1F8;} + .d2-1096842315 .stroke-N7{stroke:#FFFFFF;} + .d2-1096842315 .stroke-B1{stroke:#0D32B2;} + .d2-1096842315 .stroke-B2{stroke:#0D32B2;} + .d2-1096842315 .stroke-B3{stroke:#E3E9FD;} + .d2-1096842315 .stroke-B4{stroke:#E3E9FD;} + .d2-1096842315 .stroke-B5{stroke:#EDF0FD;} + .d2-1096842315 .stroke-B6{stroke:#F7F8FE;} + .d2-1096842315 .stroke-AA2{stroke:#4A6FF3;} + .d2-1096842315 .stroke-AA4{stroke:#EDF0FD;} + .d2-1096842315 .stroke-AA5{stroke:#F7F8FE;} + .d2-1096842315 .stroke-AB4{stroke:#EDF0FD;} + .d2-1096842315 .stroke-AB5{stroke:#F7F8FE;} + .d2-1096842315 .background-color-N1{background-color:#0A0F25;} + .d2-1096842315 .background-color-N2{background-color:#676C7E;} + .d2-1096842315 .background-color-N3{background-color:#9499AB;} + .d2-1096842315 .background-color-N4{background-color:#CFD2DD;} + .d2-1096842315 .background-color-N5{background-color:#DEE1EB;} + .d2-1096842315 .background-color-N6{background-color:#EEF1F8;} + .d2-1096842315 .background-color-N7{background-color:#FFFFFF;} + .d2-1096842315 .background-color-B1{background-color:#0D32B2;} + .d2-1096842315 .background-color-B2{background-color:#0D32B2;} + .d2-1096842315 .background-color-B3{background-color:#E3E9FD;} + .d2-1096842315 .background-color-B4{background-color:#E3E9FD;} + .d2-1096842315 .background-color-B5{background-color:#EDF0FD;} + .d2-1096842315 .background-color-B6{background-color:#F7F8FE;} + .d2-1096842315 .background-color-AA2{background-color:#4A6FF3;} + .d2-1096842315 .background-color-AA4{background-color:#EDF0FD;} + .d2-1096842315 .background-color-AA5{background-color:#F7F8FE;} + .d2-1096842315 .background-color-AB4{background-color:#EDF0FD;} + .d2-1096842315 .background-color-AB5{background-color:#F7F8FE;} + .d2-1096842315 .color-N1{color:#0A0F25;} + .d2-1096842315 .color-N2{color:#676C7E;} + .d2-1096842315 .color-N3{color:#9499AB;} + .d2-1096842315 .color-N4{color:#CFD2DD;} + .d2-1096842315 .color-N5{color:#DEE1EB;} + .d2-1096842315 .color-N6{color:#EEF1F8;} + .d2-1096842315 .color-N7{color:#FFFFFF;} + .d2-1096842315 .color-B1{color:#0D32B2;} + .d2-1096842315 .color-B2{color:#0D32B2;} + .d2-1096842315 .color-B3{color:#E3E9FD;} + .d2-1096842315 .color-B4{color:#E3E9FD;} + .d2-1096842315 .color-B5{color:#EDF0FD;} + .d2-1096842315 .color-B6{color:#F7F8FE;} + .d2-1096842315 .color-AA2{color:#4A6FF3;} + .d2-1096842315 .color-AA4{color:#EDF0FD;} + .d2-1096842315 .color-AA5{color:#F7F8FE;} + .d2-1096842315 .color-AB4{color:#EDF0FD;} + .d2-1096842315 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>atreeandnodessomemoremanythenhereyouhavehierarchyfinallyanotherofnestingtreesatreeinsidehierarchyroot diff --git a/e2etests/testdata/stable/direction/dagre/board.exp.json b/e2etests/testdata/stable/direction/dagre/board.exp.json index 26c15544e..51c75f9e1 100644 --- a/e2etests/testdata/stable/direction/dagre/board.exp.json +++ b/e2etests/testdata/stable/direction/dagre/board.exp.json @@ -49,10 +49,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 207 + "y": 186 }, "width": 174, - "height": 1553, + "height": 1554, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 236 + "y": 216 }, "width": 52, "height": 66, @@ -253,11 +253,11 @@ "id": "b.2", "type": "rectangle", "pos": { - "x": 20, - "y": 438 + "x": 30, + "y": 402 }, - "width": 134, - "height": 794, + "width": 114, + "height": 790, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 1332 + "y": 1312 }, "width": 53, "height": 66, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 1498 + "y": 1478 }, "width": 54, "height": 66, @@ -377,7 +377,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 1664 + "y": 1644 }, "width": 53, "height": 66, @@ -418,7 +418,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 470 + "y": 432 }, "width": 53, "height": 66, @@ -459,7 +459,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 636 + "y": 598 }, "width": 53, "height": 66, @@ -500,7 +500,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 802 + "y": 764 }, "width": 53, "height": 66, @@ -541,7 +541,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 968 + "y": 930 }, "width": 54, "height": 66, @@ -582,7 +582,7 @@ "type": "rectangle", "pos": { "x": 61, - "y": 1134 + "y": 1096 }, "width": 53, "height": 66, @@ -654,11 +654,11 @@ }, { "x": 87, - "y": 126 + "y": 121.80000305175781 }, { "x": 87, - "y": 166 + "y": 145 } ], "isCurve": true, @@ -693,11 +693,11 @@ "route": [ { "x": 87, - "y": 1760 + "y": 1740 }, { "x": 87, - "y": 1800 + "y": 1796 }, { "x": 87, @@ -834,19 +834,19 @@ "route": [ { "x": 87, - "y": 302.5 + "y": 282 }, { "x": 87, - "y": 342.5 + "y": 322 }, { "x": 87, - "y": 362.5 + "y": 338.79998779296875 }, { "x": 87, - "y": 402.5 + "y": 366 } ], "isCurve": true, @@ -881,19 +881,19 @@ "route": [ { "x": 87, - "y": 1232.5 + "y": 1192 }, { "x": 87, - "y": 1272.5 + "y": 1248 }, { "x": 87, - "y": 1292.5 + "y": 1272 }, { "x": 87, - "y": 1332.5 + "y": 1312 } ], "isCurve": true, @@ -928,19 +928,19 @@ "route": [ { "x": 87, - "y": 1398.5 + "y": 1378 }, { "x": 87, - "y": 1438.5 + "y": 1418 }, { "x": 87, - "y": 1458.5 + "y": 1438 }, { "x": 87, - "y": 1498.5 + "y": 1478 } ], "isCurve": true, @@ -975,19 +975,19 @@ "route": [ { "x": 87, - "y": 1564.5 + "y": 1544 }, { "x": 87, - "y": 1604.5 + "y": 1584 }, { "x": 87, - "y": 1624.5 + "y": 1604 }, { "x": 87, - "y": 1664.5 + "y": 1644 } ], "isCurve": true, @@ -1022,19 +1022,19 @@ "route": [ { "x": 87, - "y": 536.5 + "y": 498 }, { "x": 87, - "y": 576.5 + "y": 538 }, { "x": 87, - "y": 596.5 + "y": 558 }, { "x": 87, - "y": 636.5 + "y": 598 } ], "isCurve": true, @@ -1069,19 +1069,19 @@ "route": [ { "x": 87, - "y": 702.5 + "y": 664 }, { "x": 87, - "y": 742.5 + "y": 704 }, { "x": 87, - "y": 762.5 + "y": 724 }, { "x": 87, - "y": 802.5 + "y": 764 } ], "isCurve": true, @@ -1116,19 +1116,19 @@ "route": [ { "x": 87, - "y": 868.5 + "y": 830 }, { "x": 87, - "y": 908.5 + "y": 870 }, { "x": 87, - "y": 928.5 + "y": 890 }, { "x": 87, - "y": 968.5 + "y": 930 } ], "isCurve": true, @@ -1163,19 +1163,19 @@ "route": [ { "x": 87, - "y": 1034.5 + "y": 996 }, { "x": 87, - "y": 1074.5 + "y": 1036 }, { "x": 87, - "y": 1094.5 + "y": 1056 }, { "x": 87, - "y": 1134.5 + "y": 1096 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/direction/dagre/sketch.exp.svg b/e2etests/testdata/stable/direction/dagre/sketch.exp.svg index 40417f25e..38d6d0a20 100644 --- a/e2etests/testdata/stable/direction/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/direction/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abcde12345abcde + .d2-1191740353 .fill-N1{fill:#0A0F25;} + .d2-1191740353 .fill-N2{fill:#676C7E;} + .d2-1191740353 .fill-N3{fill:#9499AB;} + .d2-1191740353 .fill-N4{fill:#CFD2DD;} + .d2-1191740353 .fill-N5{fill:#DEE1EB;} + .d2-1191740353 .fill-N6{fill:#EEF1F8;} + .d2-1191740353 .fill-N7{fill:#FFFFFF;} + .d2-1191740353 .fill-B1{fill:#0D32B2;} + .d2-1191740353 .fill-B2{fill:#0D32B2;} + .d2-1191740353 .fill-B3{fill:#E3E9FD;} + .d2-1191740353 .fill-B4{fill:#E3E9FD;} + .d2-1191740353 .fill-B5{fill:#EDF0FD;} + .d2-1191740353 .fill-B6{fill:#F7F8FE;} + .d2-1191740353 .fill-AA2{fill:#4A6FF3;} + .d2-1191740353 .fill-AA4{fill:#EDF0FD;} + .d2-1191740353 .fill-AA5{fill:#F7F8FE;} + .d2-1191740353 .fill-AB4{fill:#EDF0FD;} + .d2-1191740353 .fill-AB5{fill:#F7F8FE;} + .d2-1191740353 .stroke-N1{stroke:#0A0F25;} + .d2-1191740353 .stroke-N2{stroke:#676C7E;} + .d2-1191740353 .stroke-N3{stroke:#9499AB;} + .d2-1191740353 .stroke-N4{stroke:#CFD2DD;} + .d2-1191740353 .stroke-N5{stroke:#DEE1EB;} + .d2-1191740353 .stroke-N6{stroke:#EEF1F8;} + .d2-1191740353 .stroke-N7{stroke:#FFFFFF;} + .d2-1191740353 .stroke-B1{stroke:#0D32B2;} + .d2-1191740353 .stroke-B2{stroke:#0D32B2;} + .d2-1191740353 .stroke-B3{stroke:#E3E9FD;} + .d2-1191740353 .stroke-B4{stroke:#E3E9FD;} + .d2-1191740353 .stroke-B5{stroke:#EDF0FD;} + .d2-1191740353 .stroke-B6{stroke:#F7F8FE;} + .d2-1191740353 .stroke-AA2{stroke:#4A6FF3;} + .d2-1191740353 .stroke-AA4{stroke:#EDF0FD;} + .d2-1191740353 .stroke-AA5{stroke:#F7F8FE;} + .d2-1191740353 .stroke-AB4{stroke:#EDF0FD;} + .d2-1191740353 .stroke-AB5{stroke:#F7F8FE;} + .d2-1191740353 .background-color-N1{background-color:#0A0F25;} + .d2-1191740353 .background-color-N2{background-color:#676C7E;} + .d2-1191740353 .background-color-N3{background-color:#9499AB;} + .d2-1191740353 .background-color-N4{background-color:#CFD2DD;} + .d2-1191740353 .background-color-N5{background-color:#DEE1EB;} + .d2-1191740353 .background-color-N6{background-color:#EEF1F8;} + .d2-1191740353 .background-color-N7{background-color:#FFFFFF;} + .d2-1191740353 .background-color-B1{background-color:#0D32B2;} + .d2-1191740353 .background-color-B2{background-color:#0D32B2;} + .d2-1191740353 .background-color-B3{background-color:#E3E9FD;} + .d2-1191740353 .background-color-B4{background-color:#E3E9FD;} + .d2-1191740353 .background-color-B5{background-color:#EDF0FD;} + .d2-1191740353 .background-color-B6{background-color:#F7F8FE;} + .d2-1191740353 .background-color-AA2{background-color:#4A6FF3;} + .d2-1191740353 .background-color-AA4{background-color:#EDF0FD;} + .d2-1191740353 .background-color-AA5{background-color:#F7F8FE;} + .d2-1191740353 .background-color-AB4{background-color:#EDF0FD;} + .d2-1191740353 .background-color-AB5{background-color:#F7F8FE;} + .d2-1191740353 .color-N1{color:#0A0F25;} + .d2-1191740353 .color-N2{color:#676C7E;} + .d2-1191740353 .color-N3{color:#9499AB;} + .d2-1191740353 .color-N4{color:#CFD2DD;} + .d2-1191740353 .color-N5{color:#DEE1EB;} + .d2-1191740353 .color-N6{color:#EEF1F8;} + .d2-1191740353 .color-N7{color:#FFFFFF;} + .d2-1191740353 .color-B1{color:#0D32B2;} + .d2-1191740353 .color-B2{color:#0D32B2;} + .d2-1191740353 .color-B3{color:#E3E9FD;} + .d2-1191740353 .color-B4{color:#E3E9FD;} + .d2-1191740353 .color-B5{color:#EDF0FD;} + .d2-1191740353 .color-B6{color:#F7F8FE;} + .d2-1191740353 .color-AA2{color:#4A6FF3;} + .d2-1191740353 .color-AA4{color:#EDF0FD;} + .d2-1191740353 .color-AA5{color:#F7F8FE;} + .d2-1191740353 .color-AB4{color:#EDF0FD;} + .d2-1191740353 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcde12345abcde - + - - - - - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/direction/elk/sketch.exp.svg b/e2etests/testdata/stable/direction/elk/sketch.exp.svg index 35730f487..eb02a78ec 100644 --- a/e2etests/testdata/stable/direction/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/direction/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abcde12345abcde + .d2-514344385 .fill-N1{fill:#0A0F25;} + .d2-514344385 .fill-N2{fill:#676C7E;} + .d2-514344385 .fill-N3{fill:#9499AB;} + .d2-514344385 .fill-N4{fill:#CFD2DD;} + .d2-514344385 .fill-N5{fill:#DEE1EB;} + .d2-514344385 .fill-N6{fill:#EEF1F8;} + .d2-514344385 .fill-N7{fill:#FFFFFF;} + .d2-514344385 .fill-B1{fill:#0D32B2;} + .d2-514344385 .fill-B2{fill:#0D32B2;} + .d2-514344385 .fill-B3{fill:#E3E9FD;} + .d2-514344385 .fill-B4{fill:#E3E9FD;} + .d2-514344385 .fill-B5{fill:#EDF0FD;} + .d2-514344385 .fill-B6{fill:#F7F8FE;} + .d2-514344385 .fill-AA2{fill:#4A6FF3;} + .d2-514344385 .fill-AA4{fill:#EDF0FD;} + .d2-514344385 .fill-AA5{fill:#F7F8FE;} + .d2-514344385 .fill-AB4{fill:#EDF0FD;} + .d2-514344385 .fill-AB5{fill:#F7F8FE;} + .d2-514344385 .stroke-N1{stroke:#0A0F25;} + .d2-514344385 .stroke-N2{stroke:#676C7E;} + .d2-514344385 .stroke-N3{stroke:#9499AB;} + .d2-514344385 .stroke-N4{stroke:#CFD2DD;} + .d2-514344385 .stroke-N5{stroke:#DEE1EB;} + .d2-514344385 .stroke-N6{stroke:#EEF1F8;} + .d2-514344385 .stroke-N7{stroke:#FFFFFF;} + .d2-514344385 .stroke-B1{stroke:#0D32B2;} + .d2-514344385 .stroke-B2{stroke:#0D32B2;} + .d2-514344385 .stroke-B3{stroke:#E3E9FD;} + .d2-514344385 .stroke-B4{stroke:#E3E9FD;} + .d2-514344385 .stroke-B5{stroke:#EDF0FD;} + .d2-514344385 .stroke-B6{stroke:#F7F8FE;} + .d2-514344385 .stroke-AA2{stroke:#4A6FF3;} + .d2-514344385 .stroke-AA4{stroke:#EDF0FD;} + .d2-514344385 .stroke-AA5{stroke:#F7F8FE;} + .d2-514344385 .stroke-AB4{stroke:#EDF0FD;} + .d2-514344385 .stroke-AB5{stroke:#F7F8FE;} + .d2-514344385 .background-color-N1{background-color:#0A0F25;} + .d2-514344385 .background-color-N2{background-color:#676C7E;} + .d2-514344385 .background-color-N3{background-color:#9499AB;} + .d2-514344385 .background-color-N4{background-color:#CFD2DD;} + .d2-514344385 .background-color-N5{background-color:#DEE1EB;} + .d2-514344385 .background-color-N6{background-color:#EEF1F8;} + .d2-514344385 .background-color-N7{background-color:#FFFFFF;} + .d2-514344385 .background-color-B1{background-color:#0D32B2;} + .d2-514344385 .background-color-B2{background-color:#0D32B2;} + .d2-514344385 .background-color-B3{background-color:#E3E9FD;} + .d2-514344385 .background-color-B4{background-color:#E3E9FD;} + .d2-514344385 .background-color-B5{background-color:#EDF0FD;} + .d2-514344385 .background-color-B6{background-color:#F7F8FE;} + .d2-514344385 .background-color-AA2{background-color:#4A6FF3;} + .d2-514344385 .background-color-AA4{background-color:#EDF0FD;} + .d2-514344385 .background-color-AA5{background-color:#F7F8FE;} + .d2-514344385 .background-color-AB4{background-color:#EDF0FD;} + .d2-514344385 .background-color-AB5{background-color:#F7F8FE;} + .d2-514344385 .color-N1{color:#0A0F25;} + .d2-514344385 .color-N2{color:#676C7E;} + .d2-514344385 .color-N3{color:#9499AB;} + .d2-514344385 .color-N4{color:#CFD2DD;} + .d2-514344385 .color-N5{color:#DEE1EB;} + .d2-514344385 .color-N6{color:#EEF1F8;} + .d2-514344385 .color-N7{color:#FFFFFF;} + .d2-514344385 .color-B1{color:#0D32B2;} + .d2-514344385 .color-B2{color:#0D32B2;} + .d2-514344385 .color-B3{color:#E3E9FD;} + .d2-514344385 .color-B4{color:#E3E9FD;} + .d2-514344385 .color-B5{color:#EDF0FD;} + .d2-514344385 .color-B6{color:#F7F8FE;} + .d2-514344385 .color-AA2{color:#4A6FF3;} + .d2-514344385 .color-AA4{color:#EDF0FD;} + .d2-514344385 .color-AA5{color:#F7F8FE;} + .d2-514344385 .color-AB4{color:#EDF0FD;} + .d2-514344385 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcde12345abcde diff --git a/e2etests/testdata/stable/edge-label-overflow/dagre/board.exp.json b/e2etests/testdata/stable/edge-label-overflow/dagre/board.exp.json index e813748fb..4b3264707 100644 --- a/e2etests/testdata/stable/edge-label-overflow/dagre/board.exp.json +++ b/e2etests/testdata/stable/edge-label-overflow/dagre/board.exp.json @@ -153,19 +153,19 @@ "labelPercentage": 0, "route": [ { - "x": 126.13200378417969, - "y": 66 - }, - { - "x": 76.82599639892578, - "y": 114.4000015258789 + "x": 126.5, + "y": 65.5 }, { "x": 76.9000015258789, + "y": 114.30000305175781 + }, + { + "x": 76.69999694824219, "y": 138.6999969482422 }, { - "x": 126.5, + "x": 125.5, "y": 187.5 } ], @@ -200,19 +200,19 @@ "labelPercentage": 0, "route": [ { - "x": 193.36700439453125, - "y": 66 - }, - { - "x": 242.67300415039062, - "y": 114.4000015258789 + "x": 193, + "y": 65.5 }, { "x": 242.60000610351562, + "y": 114.30000305175781 + }, + { + "x": 242.8000030517578, "y": 138.6999969482422 }, { - "x": 193, + "x": 194, "y": 187.5 } ], @@ -248,11 +248,11 @@ "route": [ { "x": 159.75, - "y": 253 + "y": 252.5 }, { "x": 159.75, - "y": 301.3999938964844 + "y": 301.29998779296875 }, { "x": 159.75, diff --git a/e2etests/testdata/stable/edge-label-overflow/dagre/sketch.exp.svg b/e2etests/testdata/stable/edge-label-overflow/dagre/sketch.exp.svg index ec8c7d7b3..108151eb9 100644 --- a/e2etests/testdata/stable/edge-label-overflow/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/edge-label-overflow/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -studentcommittee chaircommittee Apply for appeal Deny. Need more informationAccept appeal + .d2-4227359708 .fill-N1{fill:#0A0F25;} + .d2-4227359708 .fill-N2{fill:#676C7E;} + .d2-4227359708 .fill-N3{fill:#9499AB;} + .d2-4227359708 .fill-N4{fill:#CFD2DD;} + .d2-4227359708 .fill-N5{fill:#DEE1EB;} + .d2-4227359708 .fill-N6{fill:#EEF1F8;} + .d2-4227359708 .fill-N7{fill:#FFFFFF;} + .d2-4227359708 .fill-B1{fill:#0D32B2;} + .d2-4227359708 .fill-B2{fill:#0D32B2;} + .d2-4227359708 .fill-B3{fill:#E3E9FD;} + .d2-4227359708 .fill-B4{fill:#E3E9FD;} + .d2-4227359708 .fill-B5{fill:#EDF0FD;} + .d2-4227359708 .fill-B6{fill:#F7F8FE;} + .d2-4227359708 .fill-AA2{fill:#4A6FF3;} + .d2-4227359708 .fill-AA4{fill:#EDF0FD;} + .d2-4227359708 .fill-AA5{fill:#F7F8FE;} + .d2-4227359708 .fill-AB4{fill:#EDF0FD;} + .d2-4227359708 .fill-AB5{fill:#F7F8FE;} + .d2-4227359708 .stroke-N1{stroke:#0A0F25;} + .d2-4227359708 .stroke-N2{stroke:#676C7E;} + .d2-4227359708 .stroke-N3{stroke:#9499AB;} + .d2-4227359708 .stroke-N4{stroke:#CFD2DD;} + .d2-4227359708 .stroke-N5{stroke:#DEE1EB;} + .d2-4227359708 .stroke-N6{stroke:#EEF1F8;} + .d2-4227359708 .stroke-N7{stroke:#FFFFFF;} + .d2-4227359708 .stroke-B1{stroke:#0D32B2;} + .d2-4227359708 .stroke-B2{stroke:#0D32B2;} + .d2-4227359708 .stroke-B3{stroke:#E3E9FD;} + .d2-4227359708 .stroke-B4{stroke:#E3E9FD;} + .d2-4227359708 .stroke-B5{stroke:#EDF0FD;} + .d2-4227359708 .stroke-B6{stroke:#F7F8FE;} + .d2-4227359708 .stroke-AA2{stroke:#4A6FF3;} + .d2-4227359708 .stroke-AA4{stroke:#EDF0FD;} + .d2-4227359708 .stroke-AA5{stroke:#F7F8FE;} + .d2-4227359708 .stroke-AB4{stroke:#EDF0FD;} + .d2-4227359708 .stroke-AB5{stroke:#F7F8FE;} + .d2-4227359708 .background-color-N1{background-color:#0A0F25;} + .d2-4227359708 .background-color-N2{background-color:#676C7E;} + .d2-4227359708 .background-color-N3{background-color:#9499AB;} + .d2-4227359708 .background-color-N4{background-color:#CFD2DD;} + .d2-4227359708 .background-color-N5{background-color:#DEE1EB;} + .d2-4227359708 .background-color-N6{background-color:#EEF1F8;} + .d2-4227359708 .background-color-N7{background-color:#FFFFFF;} + .d2-4227359708 .background-color-B1{background-color:#0D32B2;} + .d2-4227359708 .background-color-B2{background-color:#0D32B2;} + .d2-4227359708 .background-color-B3{background-color:#E3E9FD;} + .d2-4227359708 .background-color-B4{background-color:#E3E9FD;} + .d2-4227359708 .background-color-B5{background-color:#EDF0FD;} + .d2-4227359708 .background-color-B6{background-color:#F7F8FE;} + .d2-4227359708 .background-color-AA2{background-color:#4A6FF3;} + .d2-4227359708 .background-color-AA4{background-color:#EDF0FD;} + .d2-4227359708 .background-color-AA5{background-color:#F7F8FE;} + .d2-4227359708 .background-color-AB4{background-color:#EDF0FD;} + .d2-4227359708 .background-color-AB5{background-color:#F7F8FE;} + .d2-4227359708 .color-N1{color:#0A0F25;} + .d2-4227359708 .color-N2{color:#676C7E;} + .d2-4227359708 .color-N3{color:#9499AB;} + .d2-4227359708 .color-N4{color:#CFD2DD;} + .d2-4227359708 .color-N5{color:#DEE1EB;} + .d2-4227359708 .color-N6{color:#EEF1F8;} + .d2-4227359708 .color-N7{color:#FFFFFF;} + .d2-4227359708 .color-B1{color:#0D32B2;} + .d2-4227359708 .color-B2{color:#0D32B2;} + .d2-4227359708 .color-B3{color:#E3E9FD;} + .d2-4227359708 .color-B4{color:#E3E9FD;} + .d2-4227359708 .color-B5{color:#EDF0FD;} + .d2-4227359708 .color-B6{color:#F7F8FE;} + .d2-4227359708 .color-AA2{color:#4A6FF3;} + .d2-4227359708 .color-AA4{color:#EDF0FD;} + .d2-4227359708 .color-AA5{color:#F7F8FE;} + .d2-4227359708 .color-AB4{color:#EDF0FD;} + .d2-4227359708 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>studentcommittee chaircommittee Apply for appeal Deny. Need more informationAccept appeal diff --git a/e2etests/testdata/stable/edge-label-overflow/elk/sketch.exp.svg b/e2etests/testdata/stable/edge-label-overflow/elk/sketch.exp.svg index 7a8c0e914..068cfd674 100644 --- a/e2etests/testdata/stable/edge-label-overflow/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/edge-label-overflow/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -studentcommittee chaircommittee Apply for appeal Deny. Need more informationAccept appeal + .d2-1480834410 .fill-N1{fill:#0A0F25;} + .d2-1480834410 .fill-N2{fill:#676C7E;} + .d2-1480834410 .fill-N3{fill:#9499AB;} + .d2-1480834410 .fill-N4{fill:#CFD2DD;} + .d2-1480834410 .fill-N5{fill:#DEE1EB;} + .d2-1480834410 .fill-N6{fill:#EEF1F8;} + .d2-1480834410 .fill-N7{fill:#FFFFFF;} + .d2-1480834410 .fill-B1{fill:#0D32B2;} + .d2-1480834410 .fill-B2{fill:#0D32B2;} + .d2-1480834410 .fill-B3{fill:#E3E9FD;} + .d2-1480834410 .fill-B4{fill:#E3E9FD;} + .d2-1480834410 .fill-B5{fill:#EDF0FD;} + .d2-1480834410 .fill-B6{fill:#F7F8FE;} + .d2-1480834410 .fill-AA2{fill:#4A6FF3;} + .d2-1480834410 .fill-AA4{fill:#EDF0FD;} + .d2-1480834410 .fill-AA5{fill:#F7F8FE;} + .d2-1480834410 .fill-AB4{fill:#EDF0FD;} + .d2-1480834410 .fill-AB5{fill:#F7F8FE;} + .d2-1480834410 .stroke-N1{stroke:#0A0F25;} + .d2-1480834410 .stroke-N2{stroke:#676C7E;} + .d2-1480834410 .stroke-N3{stroke:#9499AB;} + .d2-1480834410 .stroke-N4{stroke:#CFD2DD;} + .d2-1480834410 .stroke-N5{stroke:#DEE1EB;} + .d2-1480834410 .stroke-N6{stroke:#EEF1F8;} + .d2-1480834410 .stroke-N7{stroke:#FFFFFF;} + .d2-1480834410 .stroke-B1{stroke:#0D32B2;} + .d2-1480834410 .stroke-B2{stroke:#0D32B2;} + .d2-1480834410 .stroke-B3{stroke:#E3E9FD;} + .d2-1480834410 .stroke-B4{stroke:#E3E9FD;} + .d2-1480834410 .stroke-B5{stroke:#EDF0FD;} + .d2-1480834410 .stroke-B6{stroke:#F7F8FE;} + .d2-1480834410 .stroke-AA2{stroke:#4A6FF3;} + .d2-1480834410 .stroke-AA4{stroke:#EDF0FD;} + .d2-1480834410 .stroke-AA5{stroke:#F7F8FE;} + .d2-1480834410 .stroke-AB4{stroke:#EDF0FD;} + .d2-1480834410 .stroke-AB5{stroke:#F7F8FE;} + .d2-1480834410 .background-color-N1{background-color:#0A0F25;} + .d2-1480834410 .background-color-N2{background-color:#676C7E;} + .d2-1480834410 .background-color-N3{background-color:#9499AB;} + .d2-1480834410 .background-color-N4{background-color:#CFD2DD;} + .d2-1480834410 .background-color-N5{background-color:#DEE1EB;} + .d2-1480834410 .background-color-N6{background-color:#EEF1F8;} + .d2-1480834410 .background-color-N7{background-color:#FFFFFF;} + .d2-1480834410 .background-color-B1{background-color:#0D32B2;} + .d2-1480834410 .background-color-B2{background-color:#0D32B2;} + .d2-1480834410 .background-color-B3{background-color:#E3E9FD;} + .d2-1480834410 .background-color-B4{background-color:#E3E9FD;} + .d2-1480834410 .background-color-B5{background-color:#EDF0FD;} + .d2-1480834410 .background-color-B6{background-color:#F7F8FE;} + .d2-1480834410 .background-color-AA2{background-color:#4A6FF3;} + .d2-1480834410 .background-color-AA4{background-color:#EDF0FD;} + .d2-1480834410 .background-color-AA5{background-color:#F7F8FE;} + .d2-1480834410 .background-color-AB4{background-color:#EDF0FD;} + .d2-1480834410 .background-color-AB5{background-color:#F7F8FE;} + .d2-1480834410 .color-N1{color:#0A0F25;} + .d2-1480834410 .color-N2{color:#676C7E;} + .d2-1480834410 .color-N3{color:#9499AB;} + .d2-1480834410 .color-N4{color:#CFD2DD;} + .d2-1480834410 .color-N5{color:#DEE1EB;} + .d2-1480834410 .color-N6{color:#EEF1F8;} + .d2-1480834410 .color-N7{color:#FFFFFF;} + .d2-1480834410 .color-B1{color:#0D32B2;} + .d2-1480834410 .color-B2{color:#0D32B2;} + .d2-1480834410 .color-B3{color:#E3E9FD;} + .d2-1480834410 .color-B4{color:#E3E9FD;} + .d2-1480834410 .color-B5{color:#EDF0FD;} + .d2-1480834410 .color-B6{color:#F7F8FE;} + .d2-1480834410 .color-AA2{color:#4A6FF3;} + .d2-1480834410 .color-AA4{color:#EDF0FD;} + .d2-1480834410 .color-AA5{color:#F7F8FE;} + .d2-1480834410 .color-AB4{color:#EDF0FD;} + .d2-1480834410 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>studentcommittee chaircommittee Apply for appeal Deny. Need more informationAccept appeal diff --git a/e2etests/testdata/stable/elk_border_radius/dagre/board.exp.json b/e2etests/testdata/stable/elk_border_radius/dagre/board.exp.json index a37440eb6..8539ce287 100644 --- a/e2etests/testdata/stable/elk_border_radius/dagre/board.exp.json +++ b/e2etests/testdata/stable/elk_border_radius/dagre/board.exp.json @@ -276,12 +276,12 @@ "labelPercentage": 0, "route": [ { - "x": 226, - "y": 42.731998443603516 + "x": 226.5, + "y": 43 }, { - "x": 66.39900207519531, - "y": 101.34600067138672 + "x": 66.5, + "y": 101.4000015258789 }, { "x": 26.5, @@ -322,12 +322,12 @@ "labelPercentage": 0, "route": [ { - "x": 226, - "y": 52.4640007019043 + "x": 226.5, + "y": 52 }, { - "x": 156.8000030517578, - "y": 103.29199981689453 + "x": 156.8990020751953, + "y": 103.19999694824219 }, { "x": 139.5, @@ -416,12 +416,12 @@ "labelPercentage": 0, "route": [ { - "x": 279, - "y": 52.63800048828125 + "x": 278.5, + "y": 53 }, { - "x": 347.3999938964844, - "y": 103.3270034790039 + "x": 347.29998779296875, + "y": 103.4000015258789 }, { "x": 364.5, @@ -464,11 +464,11 @@ "route": [ { "x": 279, - "y": 42.797000885009766 + "y": 43 }, { "x": 437.3999938964844, - "y": 101.35900115966797 + "y": 101.4000015258789 }, { "x": 477, diff --git a/e2etests/testdata/stable/elk_border_radius/dagre/sketch.exp.svg b/e2etests/testdata/stable/elk_border_radius/dagre/sketch.exp.svg index d203f3c31..05e74ed57 100644 --- a/e2etests/testdata/stable/elk_border_radius/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/elk_border_radius/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abcefg + .d2-2026819057 .fill-N1{fill:#0A0F25;} + .d2-2026819057 .fill-N2{fill:#676C7E;} + .d2-2026819057 .fill-N3{fill:#9499AB;} + .d2-2026819057 .fill-N4{fill:#CFD2DD;} + .d2-2026819057 .fill-N5{fill:#DEE1EB;} + .d2-2026819057 .fill-N6{fill:#EEF1F8;} + .d2-2026819057 .fill-N7{fill:#FFFFFF;} + .d2-2026819057 .fill-B1{fill:#0D32B2;} + .d2-2026819057 .fill-B2{fill:#0D32B2;} + .d2-2026819057 .fill-B3{fill:#E3E9FD;} + .d2-2026819057 .fill-B4{fill:#E3E9FD;} + .d2-2026819057 .fill-B5{fill:#EDF0FD;} + .d2-2026819057 .fill-B6{fill:#F7F8FE;} + .d2-2026819057 .fill-AA2{fill:#4A6FF3;} + .d2-2026819057 .fill-AA4{fill:#EDF0FD;} + .d2-2026819057 .fill-AA5{fill:#F7F8FE;} + .d2-2026819057 .fill-AB4{fill:#EDF0FD;} + .d2-2026819057 .fill-AB5{fill:#F7F8FE;} + .d2-2026819057 .stroke-N1{stroke:#0A0F25;} + .d2-2026819057 .stroke-N2{stroke:#676C7E;} + .d2-2026819057 .stroke-N3{stroke:#9499AB;} + .d2-2026819057 .stroke-N4{stroke:#CFD2DD;} + .d2-2026819057 .stroke-N5{stroke:#DEE1EB;} + .d2-2026819057 .stroke-N6{stroke:#EEF1F8;} + .d2-2026819057 .stroke-N7{stroke:#FFFFFF;} + .d2-2026819057 .stroke-B1{stroke:#0D32B2;} + .d2-2026819057 .stroke-B2{stroke:#0D32B2;} + .d2-2026819057 .stroke-B3{stroke:#E3E9FD;} + .d2-2026819057 .stroke-B4{stroke:#E3E9FD;} + .d2-2026819057 .stroke-B5{stroke:#EDF0FD;} + .d2-2026819057 .stroke-B6{stroke:#F7F8FE;} + .d2-2026819057 .stroke-AA2{stroke:#4A6FF3;} + .d2-2026819057 .stroke-AA4{stroke:#EDF0FD;} + .d2-2026819057 .stroke-AA5{stroke:#F7F8FE;} + .d2-2026819057 .stroke-AB4{stroke:#EDF0FD;} + .d2-2026819057 .stroke-AB5{stroke:#F7F8FE;} + .d2-2026819057 .background-color-N1{background-color:#0A0F25;} + .d2-2026819057 .background-color-N2{background-color:#676C7E;} + .d2-2026819057 .background-color-N3{background-color:#9499AB;} + .d2-2026819057 .background-color-N4{background-color:#CFD2DD;} + .d2-2026819057 .background-color-N5{background-color:#DEE1EB;} + .d2-2026819057 .background-color-N6{background-color:#EEF1F8;} + .d2-2026819057 .background-color-N7{background-color:#FFFFFF;} + .d2-2026819057 .background-color-B1{background-color:#0D32B2;} + .d2-2026819057 .background-color-B2{background-color:#0D32B2;} + .d2-2026819057 .background-color-B3{background-color:#E3E9FD;} + .d2-2026819057 .background-color-B4{background-color:#E3E9FD;} + .d2-2026819057 .background-color-B5{background-color:#EDF0FD;} + .d2-2026819057 .background-color-B6{background-color:#F7F8FE;} + .d2-2026819057 .background-color-AA2{background-color:#4A6FF3;} + .d2-2026819057 .background-color-AA4{background-color:#EDF0FD;} + .d2-2026819057 .background-color-AA5{background-color:#F7F8FE;} + .d2-2026819057 .background-color-AB4{background-color:#EDF0FD;} + .d2-2026819057 .background-color-AB5{background-color:#F7F8FE;} + .d2-2026819057 .color-N1{color:#0A0F25;} + .d2-2026819057 .color-N2{color:#676C7E;} + .d2-2026819057 .color-N3{color:#9499AB;} + .d2-2026819057 .color-N4{color:#CFD2DD;} + .d2-2026819057 .color-N5{color:#DEE1EB;} + .d2-2026819057 .color-N6{color:#EEF1F8;} + .d2-2026819057 .color-N7{color:#FFFFFF;} + .d2-2026819057 .color-B1{color:#0D32B2;} + .d2-2026819057 .color-B2{color:#0D32B2;} + .d2-2026819057 .color-B3{color:#E3E9FD;} + .d2-2026819057 .color-B4{color:#E3E9FD;} + .d2-2026819057 .color-B5{color:#EDF0FD;} + .d2-2026819057 .color-B6{color:#F7F8FE;} + .d2-2026819057 .color-AA2{color:#4A6FF3;} + .d2-2026819057 .color-AA4{color:#EDF0FD;} + .d2-2026819057 .color-AA5{color:#F7F8FE;} + .d2-2026819057 .color-AB4{color:#EDF0FD;} + .d2-2026819057 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcefg diff --git a/e2etests/testdata/stable/elk_border_radius/elk/sketch.exp.svg b/e2etests/testdata/stable/elk_border_radius/elk/sketch.exp.svg index e9f202658..b2637e64e 100644 --- a/e2etests/testdata/stable/elk_border_radius/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/elk_border_radius/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abcefg + .d2-1553621327 .fill-N1{fill:#0A0F25;} + .d2-1553621327 .fill-N2{fill:#676C7E;} + .d2-1553621327 .fill-N3{fill:#9499AB;} + .d2-1553621327 .fill-N4{fill:#CFD2DD;} + .d2-1553621327 .fill-N5{fill:#DEE1EB;} + .d2-1553621327 .fill-N6{fill:#EEF1F8;} + .d2-1553621327 .fill-N7{fill:#FFFFFF;} + .d2-1553621327 .fill-B1{fill:#0D32B2;} + .d2-1553621327 .fill-B2{fill:#0D32B2;} + .d2-1553621327 .fill-B3{fill:#E3E9FD;} + .d2-1553621327 .fill-B4{fill:#E3E9FD;} + .d2-1553621327 .fill-B5{fill:#EDF0FD;} + .d2-1553621327 .fill-B6{fill:#F7F8FE;} + .d2-1553621327 .fill-AA2{fill:#4A6FF3;} + .d2-1553621327 .fill-AA4{fill:#EDF0FD;} + .d2-1553621327 .fill-AA5{fill:#F7F8FE;} + .d2-1553621327 .fill-AB4{fill:#EDF0FD;} + .d2-1553621327 .fill-AB5{fill:#F7F8FE;} + .d2-1553621327 .stroke-N1{stroke:#0A0F25;} + .d2-1553621327 .stroke-N2{stroke:#676C7E;} + .d2-1553621327 .stroke-N3{stroke:#9499AB;} + .d2-1553621327 .stroke-N4{stroke:#CFD2DD;} + .d2-1553621327 .stroke-N5{stroke:#DEE1EB;} + .d2-1553621327 .stroke-N6{stroke:#EEF1F8;} + .d2-1553621327 .stroke-N7{stroke:#FFFFFF;} + .d2-1553621327 .stroke-B1{stroke:#0D32B2;} + .d2-1553621327 .stroke-B2{stroke:#0D32B2;} + .d2-1553621327 .stroke-B3{stroke:#E3E9FD;} + .d2-1553621327 .stroke-B4{stroke:#E3E9FD;} + .d2-1553621327 .stroke-B5{stroke:#EDF0FD;} + .d2-1553621327 .stroke-B6{stroke:#F7F8FE;} + .d2-1553621327 .stroke-AA2{stroke:#4A6FF3;} + .d2-1553621327 .stroke-AA4{stroke:#EDF0FD;} + .d2-1553621327 .stroke-AA5{stroke:#F7F8FE;} + .d2-1553621327 .stroke-AB4{stroke:#EDF0FD;} + .d2-1553621327 .stroke-AB5{stroke:#F7F8FE;} + .d2-1553621327 .background-color-N1{background-color:#0A0F25;} + .d2-1553621327 .background-color-N2{background-color:#676C7E;} + .d2-1553621327 .background-color-N3{background-color:#9499AB;} + .d2-1553621327 .background-color-N4{background-color:#CFD2DD;} + .d2-1553621327 .background-color-N5{background-color:#DEE1EB;} + .d2-1553621327 .background-color-N6{background-color:#EEF1F8;} + .d2-1553621327 .background-color-N7{background-color:#FFFFFF;} + .d2-1553621327 .background-color-B1{background-color:#0D32B2;} + .d2-1553621327 .background-color-B2{background-color:#0D32B2;} + .d2-1553621327 .background-color-B3{background-color:#E3E9FD;} + .d2-1553621327 .background-color-B4{background-color:#E3E9FD;} + .d2-1553621327 .background-color-B5{background-color:#EDF0FD;} + .d2-1553621327 .background-color-B6{background-color:#F7F8FE;} + .d2-1553621327 .background-color-AA2{background-color:#4A6FF3;} + .d2-1553621327 .background-color-AA4{background-color:#EDF0FD;} + .d2-1553621327 .background-color-AA5{background-color:#F7F8FE;} + .d2-1553621327 .background-color-AB4{background-color:#EDF0FD;} + .d2-1553621327 .background-color-AB5{background-color:#F7F8FE;} + .d2-1553621327 .color-N1{color:#0A0F25;} + .d2-1553621327 .color-N2{color:#676C7E;} + .d2-1553621327 .color-N3{color:#9499AB;} + .d2-1553621327 .color-N4{color:#CFD2DD;} + .d2-1553621327 .color-N5{color:#DEE1EB;} + .d2-1553621327 .color-N6{color:#EEF1F8;} + .d2-1553621327 .color-N7{color:#FFFFFF;} + .d2-1553621327 .color-B1{color:#0D32B2;} + .d2-1553621327 .color-B2{color:#0D32B2;} + .d2-1553621327 .color-B3{color:#E3E9FD;} + .d2-1553621327 .color-B4{color:#E3E9FD;} + .d2-1553621327 .color-B5{color:#EDF0FD;} + .d2-1553621327 .color-B6{color:#F7F8FE;} + .d2-1553621327 .color-AA2{color:#4A6FF3;} + .d2-1553621327 .color-AA4{color:#EDF0FD;} + .d2-1553621327 .color-AA5{color:#F7F8FE;} + .d2-1553621327 .color-AB4{color:#EDF0FD;} + .d2-1553621327 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcefg diff --git a/e2etests/testdata/stable/elk_container_height/dagre/board.exp.json b/e2etests/testdata/stable/elk_container_height/dagre/board.exp.json index 864aefcf0..33cdbc41a 100644 --- a/e2etests/testdata/stable/elk_container_height/dagre/board.exp.json +++ b/e2etests/testdata/stable/elk_container_height/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "cylinder", "pos": { "x": 0, - "y": 41 + "y": 0 }, "width": 133, - "height": 125, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 53, "height": 66, diff --git a/e2etests/testdata/stable/elk_container_height/dagre/sketch.exp.svg b/e2etests/testdata/stable/elk_container_height/dagre/sketch.exp.svg index 63f9fc52e..141c7c649 100644 --- a/e2etests/testdata/stable/elk_container_height/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/elk_container_height/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -i can not see the titlex - - - + .d2-156367713 .fill-N1{fill:#0A0F25;} + .d2-156367713 .fill-N2{fill:#676C7E;} + .d2-156367713 .fill-N3{fill:#9499AB;} + .d2-156367713 .fill-N4{fill:#CFD2DD;} + .d2-156367713 .fill-N5{fill:#DEE1EB;} + .d2-156367713 .fill-N6{fill:#EEF1F8;} + .d2-156367713 .fill-N7{fill:#FFFFFF;} + .d2-156367713 .fill-B1{fill:#0D32B2;} + .d2-156367713 .fill-B2{fill:#0D32B2;} + .d2-156367713 .fill-B3{fill:#E3E9FD;} + .d2-156367713 .fill-B4{fill:#E3E9FD;} + .d2-156367713 .fill-B5{fill:#EDF0FD;} + .d2-156367713 .fill-B6{fill:#F7F8FE;} + .d2-156367713 .fill-AA2{fill:#4A6FF3;} + .d2-156367713 .fill-AA4{fill:#EDF0FD;} + .d2-156367713 .fill-AA5{fill:#F7F8FE;} + .d2-156367713 .fill-AB4{fill:#EDF0FD;} + .d2-156367713 .fill-AB5{fill:#F7F8FE;} + .d2-156367713 .stroke-N1{stroke:#0A0F25;} + .d2-156367713 .stroke-N2{stroke:#676C7E;} + .d2-156367713 .stroke-N3{stroke:#9499AB;} + .d2-156367713 .stroke-N4{stroke:#CFD2DD;} + .d2-156367713 .stroke-N5{stroke:#DEE1EB;} + .d2-156367713 .stroke-N6{stroke:#EEF1F8;} + .d2-156367713 .stroke-N7{stroke:#FFFFFF;} + .d2-156367713 .stroke-B1{stroke:#0D32B2;} + .d2-156367713 .stroke-B2{stroke:#0D32B2;} + .d2-156367713 .stroke-B3{stroke:#E3E9FD;} + .d2-156367713 .stroke-B4{stroke:#E3E9FD;} + .d2-156367713 .stroke-B5{stroke:#EDF0FD;} + .d2-156367713 .stroke-B6{stroke:#F7F8FE;} + .d2-156367713 .stroke-AA2{stroke:#4A6FF3;} + .d2-156367713 .stroke-AA4{stroke:#EDF0FD;} + .d2-156367713 .stroke-AA5{stroke:#F7F8FE;} + .d2-156367713 .stroke-AB4{stroke:#EDF0FD;} + .d2-156367713 .stroke-AB5{stroke:#F7F8FE;} + .d2-156367713 .background-color-N1{background-color:#0A0F25;} + .d2-156367713 .background-color-N2{background-color:#676C7E;} + .d2-156367713 .background-color-N3{background-color:#9499AB;} + .d2-156367713 .background-color-N4{background-color:#CFD2DD;} + .d2-156367713 .background-color-N5{background-color:#DEE1EB;} + .d2-156367713 .background-color-N6{background-color:#EEF1F8;} + .d2-156367713 .background-color-N7{background-color:#FFFFFF;} + .d2-156367713 .background-color-B1{background-color:#0D32B2;} + .d2-156367713 .background-color-B2{background-color:#0D32B2;} + .d2-156367713 .background-color-B3{background-color:#E3E9FD;} + .d2-156367713 .background-color-B4{background-color:#E3E9FD;} + .d2-156367713 .background-color-B5{background-color:#EDF0FD;} + .d2-156367713 .background-color-B6{background-color:#F7F8FE;} + .d2-156367713 .background-color-AA2{background-color:#4A6FF3;} + .d2-156367713 .background-color-AA4{background-color:#EDF0FD;} + .d2-156367713 .background-color-AA5{background-color:#F7F8FE;} + .d2-156367713 .background-color-AB4{background-color:#EDF0FD;} + .d2-156367713 .background-color-AB5{background-color:#F7F8FE;} + .d2-156367713 .color-N1{color:#0A0F25;} + .d2-156367713 .color-N2{color:#676C7E;} + .d2-156367713 .color-N3{color:#9499AB;} + .d2-156367713 .color-N4{color:#CFD2DD;} + .d2-156367713 .color-N5{color:#DEE1EB;} + .d2-156367713 .color-N6{color:#EEF1F8;} + .d2-156367713 .color-N7{color:#FFFFFF;} + .d2-156367713 .color-B1{color:#0D32B2;} + .d2-156367713 .color-B2{color:#0D32B2;} + .d2-156367713 .color-B3{color:#E3E9FD;} + .d2-156367713 .color-B4{color:#E3E9FD;} + .d2-156367713 .color-B5{color:#EDF0FD;} + .d2-156367713 .color-B6{color:#F7F8FE;} + .d2-156367713 .color-AA2{color:#4A6FF3;} + .d2-156367713 .color-AA4{color:#EDF0FD;} + .d2-156367713 .color-AA5{color:#F7F8FE;} + .d2-156367713 .color-AB4{color:#EDF0FD;} + .d2-156367713 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>i can not see the titlex + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/elk_container_height/elk/board.exp.json b/e2etests/testdata/stable/elk_container_height/elk/board.exp.json index 2e9e53561..d13aaf328 100644 --- a/e2etests/testdata/stable/elk_container_height/elk/board.exp.json +++ b/e2etests/testdata/stable/elk_container_height/elk/board.exp.json @@ -11,7 +11,7 @@ "y": 12 }, "width": 286, - "height": 229, + "height": 210, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 128, - "y": 125 + "y": 106 }, "width": 53, "height": 66, diff --git a/e2etests/testdata/stable/elk_container_height/elk/sketch.exp.svg b/e2etests/testdata/stable/elk_container_height/elk/sketch.exp.svg index c97859b14..d751d599a 100644 --- a/e2etests/testdata/stable/elk_container_height/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/elk_container_height/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -i can not see the titlex - + .d2-3769327294 .fill-N1{fill:#0A0F25;} + .d2-3769327294 .fill-N2{fill:#676C7E;} + .d2-3769327294 .fill-N3{fill:#9499AB;} + .d2-3769327294 .fill-N4{fill:#CFD2DD;} + .d2-3769327294 .fill-N5{fill:#DEE1EB;} + .d2-3769327294 .fill-N6{fill:#EEF1F8;} + .d2-3769327294 .fill-N7{fill:#FFFFFF;} + .d2-3769327294 .fill-B1{fill:#0D32B2;} + .d2-3769327294 .fill-B2{fill:#0D32B2;} + .d2-3769327294 .fill-B3{fill:#E3E9FD;} + .d2-3769327294 .fill-B4{fill:#E3E9FD;} + .d2-3769327294 .fill-B5{fill:#EDF0FD;} + .d2-3769327294 .fill-B6{fill:#F7F8FE;} + .d2-3769327294 .fill-AA2{fill:#4A6FF3;} + .d2-3769327294 .fill-AA4{fill:#EDF0FD;} + .d2-3769327294 .fill-AA5{fill:#F7F8FE;} + .d2-3769327294 .fill-AB4{fill:#EDF0FD;} + .d2-3769327294 .fill-AB5{fill:#F7F8FE;} + .d2-3769327294 .stroke-N1{stroke:#0A0F25;} + .d2-3769327294 .stroke-N2{stroke:#676C7E;} + .d2-3769327294 .stroke-N3{stroke:#9499AB;} + .d2-3769327294 .stroke-N4{stroke:#CFD2DD;} + .d2-3769327294 .stroke-N5{stroke:#DEE1EB;} + .d2-3769327294 .stroke-N6{stroke:#EEF1F8;} + .d2-3769327294 .stroke-N7{stroke:#FFFFFF;} + .d2-3769327294 .stroke-B1{stroke:#0D32B2;} + .d2-3769327294 .stroke-B2{stroke:#0D32B2;} + .d2-3769327294 .stroke-B3{stroke:#E3E9FD;} + .d2-3769327294 .stroke-B4{stroke:#E3E9FD;} + .d2-3769327294 .stroke-B5{stroke:#EDF0FD;} + .d2-3769327294 .stroke-B6{stroke:#F7F8FE;} + .d2-3769327294 .stroke-AA2{stroke:#4A6FF3;} + .d2-3769327294 .stroke-AA4{stroke:#EDF0FD;} + .d2-3769327294 .stroke-AA5{stroke:#F7F8FE;} + .d2-3769327294 .stroke-AB4{stroke:#EDF0FD;} + .d2-3769327294 .stroke-AB5{stroke:#F7F8FE;} + .d2-3769327294 .background-color-N1{background-color:#0A0F25;} + .d2-3769327294 .background-color-N2{background-color:#676C7E;} + .d2-3769327294 .background-color-N3{background-color:#9499AB;} + .d2-3769327294 .background-color-N4{background-color:#CFD2DD;} + .d2-3769327294 .background-color-N5{background-color:#DEE1EB;} + .d2-3769327294 .background-color-N6{background-color:#EEF1F8;} + .d2-3769327294 .background-color-N7{background-color:#FFFFFF;} + .d2-3769327294 .background-color-B1{background-color:#0D32B2;} + .d2-3769327294 .background-color-B2{background-color:#0D32B2;} + .d2-3769327294 .background-color-B3{background-color:#E3E9FD;} + .d2-3769327294 .background-color-B4{background-color:#E3E9FD;} + .d2-3769327294 .background-color-B5{background-color:#EDF0FD;} + .d2-3769327294 .background-color-B6{background-color:#F7F8FE;} + .d2-3769327294 .background-color-AA2{background-color:#4A6FF3;} + .d2-3769327294 .background-color-AA4{background-color:#EDF0FD;} + .d2-3769327294 .background-color-AA5{background-color:#F7F8FE;} + .d2-3769327294 .background-color-AB4{background-color:#EDF0FD;} + .d2-3769327294 .background-color-AB5{background-color:#F7F8FE;} + .d2-3769327294 .color-N1{color:#0A0F25;} + .d2-3769327294 .color-N2{color:#676C7E;} + .d2-3769327294 .color-N3{color:#9499AB;} + .d2-3769327294 .color-N4{color:#CFD2DD;} + .d2-3769327294 .color-N5{color:#DEE1EB;} + .d2-3769327294 .color-N6{color:#EEF1F8;} + .d2-3769327294 .color-N7{color:#FFFFFF;} + .d2-3769327294 .color-B1{color:#0D32B2;} + .d2-3769327294 .color-B2{color:#0D32B2;} + .d2-3769327294 .color-B3{color:#E3E9FD;} + .d2-3769327294 .color-B4{color:#E3E9FD;} + .d2-3769327294 .color-B5{color:#EDF0FD;} + .d2-3769327294 .color-B6{color:#F7F8FE;} + .d2-3769327294 .color-AA2{color:#4A6FF3;} + .d2-3769327294 .color-AA4{color:#EDF0FD;} + .d2-3769327294 .color-AA5{color:#F7F8FE;} + .d2-3769327294 .color-AB4{color:#EDF0FD;} + .d2-3769327294 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>i can not see the titlex + - + \ No newline at end of file diff --git a/e2etests/testdata/stable/elk_shim/dagre/board.exp.json b/e2etests/testdata/stable/elk_shim/dagre/board.exp.json index ca89deedb..cbad13b6e 100644 --- a/e2etests/testdata/stable/elk_shim/dagre/board.exp.json +++ b/e2etests/testdata/stable/elk_shim/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "network", "type": "rectangle", "pos": { - "x": 0, - "y": 275 + "x": 7, + "y": 227 }, - "width": 418, - "height": 1245, + "width": 398, + "height": 1188, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,11 +48,11 @@ "id": "network.cell tower", "type": "rectangle", "pos": { - "x": 95, - "y": 340 + "x": 127, + "y": 268 }, - "width": 303, - "height": 317, + "width": 248, + "height": 313, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -89,8 +89,8 @@ "id": "network.cell tower.satellites", "type": "stored_data", "pos": { - "x": 171, - "y": 382 + "x": 176, + "y": 308 }, "width": 140, "height": 61, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 176, - "y": 564 + "y": 490 }, "width": 140, "height": 61, @@ -171,11 +171,11 @@ "id": "network.online portal", "type": "rectangle", "pos": { - "x": 20, - "y": 1329 + "x": 37, + "y": 1256 }, - "width": 144, - "height": 161, + "width": 119, + "height": 129, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -212,8 +212,8 @@ "id": "network.online portal.ui", "type": "hexagon", "pos": { - "x": 65, - "y": 1375 + "x": 67, + "y": 1286 }, "width": 59, "height": 69, @@ -253,11 +253,11 @@ "id": "network.data processor", "type": "rectangle", "pos": { - "x": 152, - "y": 814 + "x": 167, + "y": 732 }, - "width": 189, - "height": 192, + "width": 169, + "height": 188, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -294,8 +294,8 @@ "id": "network.data processor.storage", "type": "cylinder", "pos": { - "x": 192, - "y": 856 + "x": 197, + "y": 772 }, "width": 99, "height": 118, @@ -376,8 +376,8 @@ "id": "api server", "type": "rectangle", "pos": { - "x": 457, - "y": 1086 + "x": 477, + "y": 1040 }, "width": 116, "height": 66, @@ -417,8 +417,8 @@ "id": "logs", "type": "page", "pos": { - "x": 474, - "y": 1333 + "x": 499, + "y": 1277 }, "width": 73, "height": 87, @@ -481,20 +481,20 @@ "labelPercentage": 0, "route": [ { - "x": 219, - "y": 444 - }, - { - "x": 182.1999969482422, - "y": 492 + "x": 222, + "y": 369 }, { "x": 182.8000030517578, - "y": 516.2000122070312 + "y": 417.3999938964844 + }, + { + "x": 182.8000030517578, + "y": 441.70001220703125 }, { "x": 222, - "y": 565 + "y": 490.5 } ], "isCurve": true, @@ -529,19 +529,19 @@ "route": [ { "x": 246, - "y": 444 + "y": 369 }, { "x": 246, - "y": 492 + "y": 417.3999938964844 }, { "x": 246, - "y": 516.2000122070312 + "y": 441.70001220703125 }, { "x": 246, - "y": 565 + "y": 490.5 } ], "isCurve": true, @@ -575,20 +575,20 @@ "labelPercentage": 0, "route": [ { - "x": 273, - "y": 444 + "x": 270, + "y": 369 }, { - "x": 309.79998779296875, - "y": 492 + "x": 317.20001220703125, + "y": 417.3999938964844 }, { - "x": 309.20001220703125, - "y": 516.2000122070312 + "x": 317.20001220703125, + "y": 441.70001220703125 }, { "x": 270, - "y": 565 + "y": 490.5 } ], "isCurve": true, @@ -623,31 +623,31 @@ "route": [ { "x": 246, - "y": 625.5 + "y": 551 }, { "x": 246, - "y": 651.0999755859375 + "y": 591 }, { "x": 246, - "y": 669.5999755859375 + "y": 613.0999755859375 }, { "x": 246, - "y": 687.75 + "y": 631.25 }, { "x": 246, - "y": 705.9000244140625 + "y": 649.4000244140625 }, { "x": 246, - "y": 792.2000122070312 + "y": 730 }, { "x": 246, - "y": 847 + "y": 762 } ], "isCurve": true, @@ -681,20 +681,20 @@ "labelPercentage": 0, "route": [ { - "x": 171, + "x": 187, "y": 87 }, { - "x": 231, - "y": 156.1999969482422 + "x": 234.1999969482422, + "y": 135.39999389648438 }, { "x": 246, - "y": 248.1999969482422 + "y": 212.8000030517578 }, { "x": 246, - "y": 305 + "y": 232 } ], "isCurve": true, @@ -728,176 +728,176 @@ "labelPercentage": 0, "route": [ { - "x": 126, + "x": 115, "y": 87 }, { - "x": 85, - "y": 156.1999969482422 + "x": 82.80000305175781, + "y": 135.39999389648438 }, { "x": 74.75, - "y": 185.60000610351562 + "y": 159.60000610351562 }, { "x": 74.75, - "y": 203.75 + "y": 177.75 }, { "x": 74.75, - "y": 221.89999389648438 + "y": 195.89999389648438 }, { "x": 74.75, - "y": 244 + "y": 218 }, { "x": 74.75, - "y": 259 + "y": 233 }, { "x": 74.75, - "y": 274 + "y": 248 }, { "x": 74.75, - "y": 301.1000061035156 + "y": 274.1000061035156 }, { "x": 74.75, - "y": 326.75 + "y": 298.25 }, { "x": 74.75, - "y": 352.3999938964844 + "y": 322.3999938964844 }, { "x": 74.75, - "y": 388.70001220703125 + "y": 356.70001220703125 }, { "x": 74.75, - "y": 417.5 + "y": 384 }, { "x": 74.75, - "y": 446.29998779296875 + "y": 411.29998779296875 }, { "x": 74.75, - "y": 483.70001220703125 + "y": 447.70001220703125 }, { "x": 74.75, - "y": 511 + "y": 475 }, { "x": 74.75, - "y": 538.2999877929688 + "y": 502.29998779296875 }, { "x": 74.75, - "y": 572.5999755859375 + "y": 536.5999755859375 }, { "x": 74.75, - "y": 596.75 + "y": 560.75 }, { "x": 74.75, - "y": 620.9000244140625 + "y": 584.9000244140625 }, { "x": 74.75, - "y": 649.0999755859375 + "y": 613.0999755859375 }, { "x": 74.75, - "y": 667.25 + "y": 631.25 }, { "x": 74.75, - "y": 685.4000244140625 + "y": 649.4000244140625 }, { "x": 74.75, - "y": 709.5999755859375 + "y": 673.5999755859375 }, { "x": 74.75, - "y": 727.75 + "y": 691.75 }, { "x": 74.75, - "y": 745.9000244140625 + "y": 709.9000244140625 }, { "x": 74.75, - "y": 780.7999877929688 + "y": 743.7999877929688 }, { "x": 74.75, - "y": 815 + "y": 776.5 }, { "x": 74.75, - "y": 849.2000122070312 + "y": 809.2000122070312 }, { "x": 74.75, - "y": 894.7999877929688 + "y": 852.7999877929688 }, { "x": 74.75, - "y": 929 + "y": 885.5 }, { "x": 74.75, - "y": 963.2000122070312 + "y": 918.2000122070312 }, { "x": 74.75, - "y": 996 + "y": 950 }, { "x": 74.75, - "y": 1011 + "y": 965 }, { "x": 74.75, - "y": 1026 + "y": 980 }, { "x": 74.75, - "y": 1052.5999755859375 + "y": 1006.5999755859375 }, { "x": 74.75, - "y": 1077.5 + "y": 1031.5 }, { "x": 74.75, - "y": 1102.4000244140625 + "y": 1056.4000244140625 }, { "x": 74.75, - "y": 1137.699951171875 + "y": 1091.699951171875 }, { "x": 74.75, - "y": 1165.75 + "y": 1119.75 }, { "x": 74.75, - "y": 1193.800048828125 + "y": 1147.800048828125 }, { - "x": 77.4000015258789, - "y": 1293.5999755859375 + "x": 77.5999984741211, + "y": 1238.800048828125 }, { - "x": 88, - "y": 1376 + "x": 89, + "y": 1286 } ], "isCurve": true, @@ -931,20 +931,20 @@ "labelPercentage": 0, "route": [ { - "x": 457.25, - "y": 1132.77197265625 + "x": 477.5, + "y": 1086.5 }, { - "x": 188.6490020751953, - "y": 1196.553955078125 + "x": 192.6999969482422, + "y": 1150.5 }, { - "x": 117.80000305175781, - "y": 1293.5999755859375 + "x": 118.4000015258789, + "y": 1238.800048828125 }, { - "x": 103, - "y": 1376 + "x": 106, + "y": 1286 } ], "isCurve": true, @@ -978,20 +978,20 @@ "labelPercentage": 0, "route": [ { - "x": 515.25, - "y": 1152 + "x": 535.25, + "y": 1105.5 }, { - "x": 515.25, - "y": 1200.4000244140625 + "x": 535.25, + "y": 1154.300048828125 }, { - "x": 515.2000122070312, - "y": 1283 + "x": 535.2000122070312, + "y": 1235 }, { - "x": 515, - "y": 1323 + "x": 535, + "y": 1267 } ], "isCurve": true, @@ -1026,19 +1026,19 @@ "route": [ { "x": 246, - "y": 1006.5 + "y": 920 }, { "x": 246, - "y": 1030.0989990234375 + "y": 976 }, { - "x": 288.20001220703125, - "y": 1049 + "x": 292.20001220703125, + "y": 1003 }, { - "x": 457, - "y": 1101 + "x": 477, + "y": 1055 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/elk_shim/dagre/sketch.exp.svg b/e2etests/testdata/stable/elk_shim/dagre/sketch.exp.svg index 74064c23d..b89d60b5d 100644 --- a/e2etests/testdata/stable/elk_shim/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/elk_shim/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -networkuserapi serverlogscell towerONLINE PORTALLLLdata processorsatellitestransmitteruistorage sendsendsendphone logsmake call accessdisplaypersist - - + .d2-3062169964 .fill-N1{fill:#0A0F25;} + .d2-3062169964 .fill-N2{fill:#676C7E;} + .d2-3062169964 .fill-N3{fill:#9499AB;} + .d2-3062169964 .fill-N4{fill:#CFD2DD;} + .d2-3062169964 .fill-N5{fill:#DEE1EB;} + .d2-3062169964 .fill-N6{fill:#EEF1F8;} + .d2-3062169964 .fill-N7{fill:#FFFFFF;} + .d2-3062169964 .fill-B1{fill:#0D32B2;} + .d2-3062169964 .fill-B2{fill:#0D32B2;} + .d2-3062169964 .fill-B3{fill:#E3E9FD;} + .d2-3062169964 .fill-B4{fill:#E3E9FD;} + .d2-3062169964 .fill-B5{fill:#EDF0FD;} + .d2-3062169964 .fill-B6{fill:#F7F8FE;} + .d2-3062169964 .fill-AA2{fill:#4A6FF3;} + .d2-3062169964 .fill-AA4{fill:#EDF0FD;} + .d2-3062169964 .fill-AA5{fill:#F7F8FE;} + .d2-3062169964 .fill-AB4{fill:#EDF0FD;} + .d2-3062169964 .fill-AB5{fill:#F7F8FE;} + .d2-3062169964 .stroke-N1{stroke:#0A0F25;} + .d2-3062169964 .stroke-N2{stroke:#676C7E;} + .d2-3062169964 .stroke-N3{stroke:#9499AB;} + .d2-3062169964 .stroke-N4{stroke:#CFD2DD;} + .d2-3062169964 .stroke-N5{stroke:#DEE1EB;} + .d2-3062169964 .stroke-N6{stroke:#EEF1F8;} + .d2-3062169964 .stroke-N7{stroke:#FFFFFF;} + .d2-3062169964 .stroke-B1{stroke:#0D32B2;} + .d2-3062169964 .stroke-B2{stroke:#0D32B2;} + .d2-3062169964 .stroke-B3{stroke:#E3E9FD;} + .d2-3062169964 .stroke-B4{stroke:#E3E9FD;} + .d2-3062169964 .stroke-B5{stroke:#EDF0FD;} + .d2-3062169964 .stroke-B6{stroke:#F7F8FE;} + .d2-3062169964 .stroke-AA2{stroke:#4A6FF3;} + .d2-3062169964 .stroke-AA4{stroke:#EDF0FD;} + .d2-3062169964 .stroke-AA5{stroke:#F7F8FE;} + .d2-3062169964 .stroke-AB4{stroke:#EDF0FD;} + .d2-3062169964 .stroke-AB5{stroke:#F7F8FE;} + .d2-3062169964 .background-color-N1{background-color:#0A0F25;} + .d2-3062169964 .background-color-N2{background-color:#676C7E;} + .d2-3062169964 .background-color-N3{background-color:#9499AB;} + .d2-3062169964 .background-color-N4{background-color:#CFD2DD;} + .d2-3062169964 .background-color-N5{background-color:#DEE1EB;} + .d2-3062169964 .background-color-N6{background-color:#EEF1F8;} + .d2-3062169964 .background-color-N7{background-color:#FFFFFF;} + .d2-3062169964 .background-color-B1{background-color:#0D32B2;} + .d2-3062169964 .background-color-B2{background-color:#0D32B2;} + .d2-3062169964 .background-color-B3{background-color:#E3E9FD;} + .d2-3062169964 .background-color-B4{background-color:#E3E9FD;} + .d2-3062169964 .background-color-B5{background-color:#EDF0FD;} + .d2-3062169964 .background-color-B6{background-color:#F7F8FE;} + .d2-3062169964 .background-color-AA2{background-color:#4A6FF3;} + .d2-3062169964 .background-color-AA4{background-color:#EDF0FD;} + .d2-3062169964 .background-color-AA5{background-color:#F7F8FE;} + .d2-3062169964 .background-color-AB4{background-color:#EDF0FD;} + .d2-3062169964 .background-color-AB5{background-color:#F7F8FE;} + .d2-3062169964 .color-N1{color:#0A0F25;} + .d2-3062169964 .color-N2{color:#676C7E;} + .d2-3062169964 .color-N3{color:#9499AB;} + .d2-3062169964 .color-N4{color:#CFD2DD;} + .d2-3062169964 .color-N5{color:#DEE1EB;} + .d2-3062169964 .color-N6{color:#EEF1F8;} + .d2-3062169964 .color-N7{color:#FFFFFF;} + .d2-3062169964 .color-B1{color:#0D32B2;} + .d2-3062169964 .color-B2{color:#0D32B2;} + .d2-3062169964 .color-B3{color:#E3E9FD;} + .d2-3062169964 .color-B4{color:#E3E9FD;} + .d2-3062169964 .color-B5{color:#EDF0FD;} + .d2-3062169964 .color-B6{color:#F7F8FE;} + .d2-3062169964 .color-AA2{color:#4A6FF3;} + .d2-3062169964 .color-AA4{color:#EDF0FD;} + .d2-3062169964 .color-AA5{color:#F7F8FE;} + .d2-3062169964 .color-AB4{color:#EDF0FD;} + .d2-3062169964 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>networkuserapi serverlogscell towerONLINE PORTALLLLdata processorsatellitestransmitteruistorage sendsendsendphone logsmake call accessdisplaypersist + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/elk_shim/elk/sketch.exp.svg b/e2etests/testdata/stable/elk_shim/elk/sketch.exp.svg index 513aa1d7d..4dcdeaa2d 100644 --- a/e2etests/testdata/stable/elk_shim/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/elk_shim/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -networkuserapi serverlogscell towerONLINE PORTALLLLdata processorsatellitestransmitteruistorage sendsendsendphone logsmake call accessdisplaypersist + .d2-3043315268 .fill-N1{fill:#0A0F25;} + .d2-3043315268 .fill-N2{fill:#676C7E;} + .d2-3043315268 .fill-N3{fill:#9499AB;} + .d2-3043315268 .fill-N4{fill:#CFD2DD;} + .d2-3043315268 .fill-N5{fill:#DEE1EB;} + .d2-3043315268 .fill-N6{fill:#EEF1F8;} + .d2-3043315268 .fill-N7{fill:#FFFFFF;} + .d2-3043315268 .fill-B1{fill:#0D32B2;} + .d2-3043315268 .fill-B2{fill:#0D32B2;} + .d2-3043315268 .fill-B3{fill:#E3E9FD;} + .d2-3043315268 .fill-B4{fill:#E3E9FD;} + .d2-3043315268 .fill-B5{fill:#EDF0FD;} + .d2-3043315268 .fill-B6{fill:#F7F8FE;} + .d2-3043315268 .fill-AA2{fill:#4A6FF3;} + .d2-3043315268 .fill-AA4{fill:#EDF0FD;} + .d2-3043315268 .fill-AA5{fill:#F7F8FE;} + .d2-3043315268 .fill-AB4{fill:#EDF0FD;} + .d2-3043315268 .fill-AB5{fill:#F7F8FE;} + .d2-3043315268 .stroke-N1{stroke:#0A0F25;} + .d2-3043315268 .stroke-N2{stroke:#676C7E;} + .d2-3043315268 .stroke-N3{stroke:#9499AB;} + .d2-3043315268 .stroke-N4{stroke:#CFD2DD;} + .d2-3043315268 .stroke-N5{stroke:#DEE1EB;} + .d2-3043315268 .stroke-N6{stroke:#EEF1F8;} + .d2-3043315268 .stroke-N7{stroke:#FFFFFF;} + .d2-3043315268 .stroke-B1{stroke:#0D32B2;} + .d2-3043315268 .stroke-B2{stroke:#0D32B2;} + .d2-3043315268 .stroke-B3{stroke:#E3E9FD;} + .d2-3043315268 .stroke-B4{stroke:#E3E9FD;} + .d2-3043315268 .stroke-B5{stroke:#EDF0FD;} + .d2-3043315268 .stroke-B6{stroke:#F7F8FE;} + .d2-3043315268 .stroke-AA2{stroke:#4A6FF3;} + .d2-3043315268 .stroke-AA4{stroke:#EDF0FD;} + .d2-3043315268 .stroke-AA5{stroke:#F7F8FE;} + .d2-3043315268 .stroke-AB4{stroke:#EDF0FD;} + .d2-3043315268 .stroke-AB5{stroke:#F7F8FE;} + .d2-3043315268 .background-color-N1{background-color:#0A0F25;} + .d2-3043315268 .background-color-N2{background-color:#676C7E;} + .d2-3043315268 .background-color-N3{background-color:#9499AB;} + .d2-3043315268 .background-color-N4{background-color:#CFD2DD;} + .d2-3043315268 .background-color-N5{background-color:#DEE1EB;} + .d2-3043315268 .background-color-N6{background-color:#EEF1F8;} + .d2-3043315268 .background-color-N7{background-color:#FFFFFF;} + .d2-3043315268 .background-color-B1{background-color:#0D32B2;} + .d2-3043315268 .background-color-B2{background-color:#0D32B2;} + .d2-3043315268 .background-color-B3{background-color:#E3E9FD;} + .d2-3043315268 .background-color-B4{background-color:#E3E9FD;} + .d2-3043315268 .background-color-B5{background-color:#EDF0FD;} + .d2-3043315268 .background-color-B6{background-color:#F7F8FE;} + .d2-3043315268 .background-color-AA2{background-color:#4A6FF3;} + .d2-3043315268 .background-color-AA4{background-color:#EDF0FD;} + .d2-3043315268 .background-color-AA5{background-color:#F7F8FE;} + .d2-3043315268 .background-color-AB4{background-color:#EDF0FD;} + .d2-3043315268 .background-color-AB5{background-color:#F7F8FE;} + .d2-3043315268 .color-N1{color:#0A0F25;} + .d2-3043315268 .color-N2{color:#676C7E;} + .d2-3043315268 .color-N3{color:#9499AB;} + .d2-3043315268 .color-N4{color:#CFD2DD;} + .d2-3043315268 .color-N5{color:#DEE1EB;} + .d2-3043315268 .color-N6{color:#EEF1F8;} + .d2-3043315268 .color-N7{color:#FFFFFF;} + .d2-3043315268 .color-B1{color:#0D32B2;} + .d2-3043315268 .color-B2{color:#0D32B2;} + .d2-3043315268 .color-B3{color:#E3E9FD;} + .d2-3043315268 .color-B4{color:#E3E9FD;} + .d2-3043315268 .color-B5{color:#EDF0FD;} + .d2-3043315268 .color-B6{color:#F7F8FE;} + .d2-3043315268 .color-AA2{color:#4A6FF3;} + .d2-3043315268 .color-AA4{color:#EDF0FD;} + .d2-3043315268 .color-AA5{color:#F7F8FE;} + .d2-3043315268 .color-AB4{color:#EDF0FD;} + .d2-3043315268 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>networkuserapi serverlogscell towerONLINE PORTALLLLdata processorsatellitestransmitteruistorage sendsendsendphone logsmake call accessdisplaypersist diff --git a/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json b/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json index 24467c27a..50be0ee60 100644 --- a/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json +++ b/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json @@ -708,12 +708,12 @@ "labelPercentage": 0, "route": [ { - "x": 719.5, - "y": 23.70599937438965 + "x": 719.8330078125, + "y": 23 }, { - "x": 758.9660034179688, - "y": 4.741000175476074 + "x": 759.0330200195312, + "y": 4.598999977111816 }, { "x": 771.2999877929688, @@ -752,12 +752,12 @@ "y": 129.60000610351562 }, { - "x": 758.9660034179688, - "y": 139.25799560546875 + "x": 759.0330200195312, + "y": 139.39999389648438 }, { - "x": 719.5, - "y": 120.29299926757812 + "x": 719.8330078125, + "y": 121 } ], "isCurve": true, @@ -791,12 +791,12 @@ "labelPercentage": 0, "route": [ { - "x": 719.5, - "y": 42.84199905395508 + "x": 720.166015625, + "y": 43 }, { - "x": 837.6329956054688, - "y": 8.567999839782715 + "x": 837.7659912109375, + "y": 8.600000381469727 }, { "x": 874.5499877929688, @@ -835,12 +835,12 @@ "y": 129.60000610351562 }, { - "x": 837.6329956054688, - "y": 135.43099975585938 + "x": 837.7659912109375, + "y": 135.39999389648438 }, { - "x": 719.5, - "y": 101.15699768066406 + "x": 720.166015625, + "y": 101 } ], "isCurve": true, @@ -969,11 +969,11 @@ "route": [ { "x": 619, - "y": 144 + "y": 143.5 }, { "x": 619, - "y": 192.39999389648438 + "y": 192.3000030517578 }, { "x": 619, diff --git a/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg index 80984ab8e..b2b2d6ec9 100644 --- a/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user + .d2-3290175475 .fill-N1{fill:#0A0F25;} + .d2-3290175475 .fill-N2{fill:#676C7E;} + .d2-3290175475 .fill-N3{fill:#9499AB;} + .d2-3290175475 .fill-N4{fill:#CFD2DD;} + .d2-3290175475 .fill-N5{fill:#DEE1EB;} + .d2-3290175475 .fill-N6{fill:#EEF1F8;} + .d2-3290175475 .fill-N7{fill:#FFFFFF;} + .d2-3290175475 .fill-B1{fill:#0D32B2;} + .d2-3290175475 .fill-B2{fill:#0D32B2;} + .d2-3290175475 .fill-B3{fill:#E3E9FD;} + .d2-3290175475 .fill-B4{fill:#E3E9FD;} + .d2-3290175475 .fill-B5{fill:#EDF0FD;} + .d2-3290175475 .fill-B6{fill:#F7F8FE;} + .d2-3290175475 .fill-AA2{fill:#4A6FF3;} + .d2-3290175475 .fill-AA4{fill:#EDF0FD;} + .d2-3290175475 .fill-AA5{fill:#F7F8FE;} + .d2-3290175475 .fill-AB4{fill:#EDF0FD;} + .d2-3290175475 .fill-AB5{fill:#F7F8FE;} + .d2-3290175475 .stroke-N1{stroke:#0A0F25;} + .d2-3290175475 .stroke-N2{stroke:#676C7E;} + .d2-3290175475 .stroke-N3{stroke:#9499AB;} + .d2-3290175475 .stroke-N4{stroke:#CFD2DD;} + .d2-3290175475 .stroke-N5{stroke:#DEE1EB;} + .d2-3290175475 .stroke-N6{stroke:#EEF1F8;} + .d2-3290175475 .stroke-N7{stroke:#FFFFFF;} + .d2-3290175475 .stroke-B1{stroke:#0D32B2;} + .d2-3290175475 .stroke-B2{stroke:#0D32B2;} + .d2-3290175475 .stroke-B3{stroke:#E3E9FD;} + .d2-3290175475 .stroke-B4{stroke:#E3E9FD;} + .d2-3290175475 .stroke-B5{stroke:#EDF0FD;} + .d2-3290175475 .stroke-B6{stroke:#F7F8FE;} + .d2-3290175475 .stroke-AA2{stroke:#4A6FF3;} + .d2-3290175475 .stroke-AA4{stroke:#EDF0FD;} + .d2-3290175475 .stroke-AA5{stroke:#F7F8FE;} + .d2-3290175475 .stroke-AB4{stroke:#EDF0FD;} + .d2-3290175475 .stroke-AB5{stroke:#F7F8FE;} + .d2-3290175475 .background-color-N1{background-color:#0A0F25;} + .d2-3290175475 .background-color-N2{background-color:#676C7E;} + .d2-3290175475 .background-color-N3{background-color:#9499AB;} + .d2-3290175475 .background-color-N4{background-color:#CFD2DD;} + .d2-3290175475 .background-color-N5{background-color:#DEE1EB;} + .d2-3290175475 .background-color-N6{background-color:#EEF1F8;} + .d2-3290175475 .background-color-N7{background-color:#FFFFFF;} + .d2-3290175475 .background-color-B1{background-color:#0D32B2;} + .d2-3290175475 .background-color-B2{background-color:#0D32B2;} + .d2-3290175475 .background-color-B3{background-color:#E3E9FD;} + .d2-3290175475 .background-color-B4{background-color:#E3E9FD;} + .d2-3290175475 .background-color-B5{background-color:#EDF0FD;} + .d2-3290175475 .background-color-B6{background-color:#F7F8FE;} + .d2-3290175475 .background-color-AA2{background-color:#4A6FF3;} + .d2-3290175475 .background-color-AA4{background-color:#EDF0FD;} + .d2-3290175475 .background-color-AA5{background-color:#F7F8FE;} + .d2-3290175475 .background-color-AB4{background-color:#EDF0FD;} + .d2-3290175475 .background-color-AB5{background-color:#F7F8FE;} + .d2-3290175475 .color-N1{color:#0A0F25;} + .d2-3290175475 .color-N2{color:#676C7E;} + .d2-3290175475 .color-N3{color:#9499AB;} + .d2-3290175475 .color-N4{color:#CFD2DD;} + .d2-3290175475 .color-N5{color:#DEE1EB;} + .d2-3290175475 .color-N6{color:#EEF1F8;} + .d2-3290175475 .color-N7{color:#FFFFFF;} + .d2-3290175475 .color-B1{color:#0D32B2;} + .d2-3290175475 .color-B2{color:#0D32B2;} + .d2-3290175475 .color-B3{color:#E3E9FD;} + .d2-3290175475 .color-B4{color:#E3E9FD;} + .d2-3290175475 .color-B5{color:#EDF0FD;} + .d2-3290175475 .color-B6{color:#F7F8FE;} + .d2-3290175475 .color-AA2{color:#4A6FF3;} + .d2-3290175475 .color-AA4{color:#EDF0FD;} + .d2-3290175475 .color-AA5{color:#F7F8FE;} + .d2-3290175475 .color-AB4{color:#EDF0FD;} + .d2-3290175475 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user diff --git a/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg index ce3e87a67..a037d52c3 100644 --- a/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user + .d2-854736235 .fill-N1{fill:#0A0F25;} + .d2-854736235 .fill-N2{fill:#676C7E;} + .d2-854736235 .fill-N3{fill:#9499AB;} + .d2-854736235 .fill-N4{fill:#CFD2DD;} + .d2-854736235 .fill-N5{fill:#DEE1EB;} + .d2-854736235 .fill-N6{fill:#EEF1F8;} + .d2-854736235 .fill-N7{fill:#FFFFFF;} + .d2-854736235 .fill-B1{fill:#0D32B2;} + .d2-854736235 .fill-B2{fill:#0D32B2;} + .d2-854736235 .fill-B3{fill:#E3E9FD;} + .d2-854736235 .fill-B4{fill:#E3E9FD;} + .d2-854736235 .fill-B5{fill:#EDF0FD;} + .d2-854736235 .fill-B6{fill:#F7F8FE;} + .d2-854736235 .fill-AA2{fill:#4A6FF3;} + .d2-854736235 .fill-AA4{fill:#EDF0FD;} + .d2-854736235 .fill-AA5{fill:#F7F8FE;} + .d2-854736235 .fill-AB4{fill:#EDF0FD;} + .d2-854736235 .fill-AB5{fill:#F7F8FE;} + .d2-854736235 .stroke-N1{stroke:#0A0F25;} + .d2-854736235 .stroke-N2{stroke:#676C7E;} + .d2-854736235 .stroke-N3{stroke:#9499AB;} + .d2-854736235 .stroke-N4{stroke:#CFD2DD;} + .d2-854736235 .stroke-N5{stroke:#DEE1EB;} + .d2-854736235 .stroke-N6{stroke:#EEF1F8;} + .d2-854736235 .stroke-N7{stroke:#FFFFFF;} + .d2-854736235 .stroke-B1{stroke:#0D32B2;} + .d2-854736235 .stroke-B2{stroke:#0D32B2;} + .d2-854736235 .stroke-B3{stroke:#E3E9FD;} + .d2-854736235 .stroke-B4{stroke:#E3E9FD;} + .d2-854736235 .stroke-B5{stroke:#EDF0FD;} + .d2-854736235 .stroke-B6{stroke:#F7F8FE;} + .d2-854736235 .stroke-AA2{stroke:#4A6FF3;} + .d2-854736235 .stroke-AA4{stroke:#EDF0FD;} + .d2-854736235 .stroke-AA5{stroke:#F7F8FE;} + .d2-854736235 .stroke-AB4{stroke:#EDF0FD;} + .d2-854736235 .stroke-AB5{stroke:#F7F8FE;} + .d2-854736235 .background-color-N1{background-color:#0A0F25;} + .d2-854736235 .background-color-N2{background-color:#676C7E;} + .d2-854736235 .background-color-N3{background-color:#9499AB;} + .d2-854736235 .background-color-N4{background-color:#CFD2DD;} + .d2-854736235 .background-color-N5{background-color:#DEE1EB;} + .d2-854736235 .background-color-N6{background-color:#EEF1F8;} + .d2-854736235 .background-color-N7{background-color:#FFFFFF;} + .d2-854736235 .background-color-B1{background-color:#0D32B2;} + .d2-854736235 .background-color-B2{background-color:#0D32B2;} + .d2-854736235 .background-color-B3{background-color:#E3E9FD;} + .d2-854736235 .background-color-B4{background-color:#E3E9FD;} + .d2-854736235 .background-color-B5{background-color:#EDF0FD;} + .d2-854736235 .background-color-B6{background-color:#F7F8FE;} + .d2-854736235 .background-color-AA2{background-color:#4A6FF3;} + .d2-854736235 .background-color-AA4{background-color:#EDF0FD;} + .d2-854736235 .background-color-AA5{background-color:#F7F8FE;} + .d2-854736235 .background-color-AB4{background-color:#EDF0FD;} + .d2-854736235 .background-color-AB5{background-color:#F7F8FE;} + .d2-854736235 .color-N1{color:#0A0F25;} + .d2-854736235 .color-N2{color:#676C7E;} + .d2-854736235 .color-N3{color:#9499AB;} + .d2-854736235 .color-N4{color:#CFD2DD;} + .d2-854736235 .color-N5{color:#DEE1EB;} + .d2-854736235 .color-N6{color:#EEF1F8;} + .d2-854736235 .color-N7{color:#FFFFFF;} + .d2-854736235 .color-B1{color:#0D32B2;} + .d2-854736235 .color-B2{color:#0D32B2;} + .d2-854736235 .color-B3{color:#E3E9FD;} + .d2-854736235 .color-B4{color:#E3E9FD;} + .d2-854736235 .color-B5{color:#EDF0FD;} + .d2-854736235 .color-B6{color:#F7F8FE;} + .d2-854736235 .color-AA2{color:#4A6FF3;} + .d2-854736235 .color-AA4{color:#EDF0FD;} + .d2-854736235 .color-AA5{color:#F7F8FE;} + .d2-854736235 .color-AB4{color:#EDF0FD;} + .d2-854736235 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user diff --git a/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json b/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json index 298ceb0cf..04c9f6208 100644 --- a/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json +++ b/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "sql_table", "pos": { "x": 0, - "y": 231 + "y": 336 }, "width": 201, "height": 144, @@ -246,7 +246,7 @@ "type": "sql_table", "pos": { "x": 500, - "y": 146 + "y": 168 }, "width": 194, "height": 108, @@ -350,7 +350,7 @@ "type": "sql_table", "pos": { "x": 486, - "y": 274 + "y": 336 }, "width": 222, "height": 144, @@ -482,7 +482,7 @@ "type": "sql_table", "pos": { "x": 524, - "y": 438 + "y": 540 }, "width": 146, "height": 108, @@ -584,7 +584,7 @@ "type": "sql_table", "pos": { "x": 443, - "y": 584 + "y": 708 }, "width": 308, "height": 108, @@ -708,56 +708,56 @@ "labelPercentage": 0, "route": [ { - "x": 48.566001892089844, - "y": 374.5 + "x": 39, + "y": 479.6659851074219 }, { - "x": 9.713000297546387, - "y": 428.3659973144531 + "x": 7.798999786376953, + "y": 516.4660034179688 }, { "x": 0, - "y": 445.20001220703125 + "y": 527.9500122070312 }, { "x": 0, - "y": 450.25 + "y": 531.375 }, { "x": 0, - "y": 455.29998779296875 + "y": 534.7999877929688 }, { "x": 20.100000381469727, - "y": 462.0329895019531 + "y": 539.3660278320312 }, { "x": 50.25, - "y": 467.0830078125 + "y": 542.791015625 }, { "x": 80.4000015258789, - "y": 472.13299560546875 + "y": 546.2160034179688 }, { "x": 120.5999984741211, - "y": 472.13299560546875 + "y": 546.2160034179688 }, { "x": 150.75, - "y": 467.0830078125 + "y": 542.791015625 }, { "x": 180.89999389648438, - "y": 462.0329895019531 + "y": 539.3660278320312 }, { - "x": 191.28599548339844, - "y": 428.3659973144531 + "x": 193.1999969482422, + "y": 516.4660034179688 }, { - "x": 152.43299865722656, - "y": 374.5 + "x": 162, + "y": 479.6659851074219 } ], "isCurve": true, @@ -791,56 +791,56 @@ "labelPercentage": 0, "route": [ { - "x": 74.34500122070312, - "y": 374.5 + "x": 61, + "y": 480 }, { - "x": 14.869000434875488, - "y": 538.2329711914062 + "x": 12.199000358581543, + "y": 570.4000244140625 }, { "x": 0, - "y": 589.4000244140625 + "y": 598.6500244140625 }, { "x": 0, - "y": 604.75 + "y": 607.125 }, { "x": 0, - "y": 620.0999755859375 + "y": 615.5999755859375 }, { "x": 20.100000381469727, - "y": 640.5659790039062 + "y": 626.9000244140625 }, { "x": 50.25, - "y": 655.916015625 + "y": 635.375 }, { "x": 80.4000015258789, - "y": 671.2659912109375 + "y": 643.8499755859375 }, { "x": 120.5999984741211, - "y": 671.2659912109375 + "y": 643.8499755859375 }, { "x": 150.75, - "y": 655.916015625 + "y": 635.375 }, { "x": 180.89999389648438, - "y": 640.5659790039062 + "y": 626.9000244140625 }, { - "x": 186.1300048828125, - "y": 538.2329711914062 + "x": 188.8000030517578, + "y": 570.4000244140625 }, { - "x": 126.65399932861328, - "y": 374.5 + "x": 140, + "y": 480 } ], "isCurve": true, @@ -874,12 +874,12 @@ "labelPercentage": 0, "route": [ { - "x": 164.677001953125, - "y": 230.5 + "x": 146, + "y": 336 }, { - "x": 290.5350036621094, - "y": 89.29900360107422 + "x": 286.79998779296875, + "y": 110.39900207519531 }, { "x": 357.6000061035156, @@ -921,20 +921,20 @@ "labelPercentage": 0, "route": [ { - "x": 201, - "y": 255.9929962158203 + "x": 186, + "y": 336 }, { - "x": 297.79998779296875, - "y": 211.197998046875 + "x": 294.79998779296875, + "y": 244.8000030517578 }, { "x": 357.6000061035156, - "y": 200 + "y": 222 }, { "x": 500, - "y": 200 + "y": 222 } ], "isCurve": true, @@ -969,19 +969,19 @@ "route": [ { "x": 201, - "y": 322.23699951171875 + "y": 408 }, { "x": 297.79998779296875, - "y": 341.24700927734375 + "y": 408 }, { "x": 354.79998779296875, - "y": 346 + "y": 408 }, { "x": 486, - "y": 346 + "y": 408 } ], "isCurve": true, @@ -1015,20 +1015,20 @@ "labelPercentage": 0, "route": [ { - "x": 185.6580047607422, - "y": 375.5 + "x": 186, + "y": 480 }, { - "x": 294.7309875488281, - "y": 468.70001220703125 + "x": 294.79998779296875, + "y": 571.2000122070312 }, { "x": 362.3999938964844, - "y": 492 + "y": 594 }, { "x": 524, - "y": 492 + "y": 594 } ], "isCurve": true, @@ -1062,20 +1062,20 @@ "labelPercentage": 0, "route": [ { - "x": 148.03500366210938, - "y": 375.5 + "x": 146, + "y": 480 }, { - "x": 287.2070007324219, - "y": 585.5 + "x": 286.79998779296875, + "y": 705.5999755859375 }, { "x": 346.20001220703125, - "y": 638 + "y": 762 }, { "x": 443, - "y": 638 + "y": 762 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg index 177d8bb00..5c139fd27 100644 --- a/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user - - - - - - - - + .d2-1514920926 .fill-N1{fill:#0A0F25;} + .d2-1514920926 .fill-N2{fill:#676C7E;} + .d2-1514920926 .fill-N3{fill:#9499AB;} + .d2-1514920926 .fill-N4{fill:#CFD2DD;} + .d2-1514920926 .fill-N5{fill:#DEE1EB;} + .d2-1514920926 .fill-N6{fill:#EEF1F8;} + .d2-1514920926 .fill-N7{fill:#FFFFFF;} + .d2-1514920926 .fill-B1{fill:#0D32B2;} + .d2-1514920926 .fill-B2{fill:#0D32B2;} + .d2-1514920926 .fill-B3{fill:#E3E9FD;} + .d2-1514920926 .fill-B4{fill:#E3E9FD;} + .d2-1514920926 .fill-B5{fill:#EDF0FD;} + .d2-1514920926 .fill-B6{fill:#F7F8FE;} + .d2-1514920926 .fill-AA2{fill:#4A6FF3;} + .d2-1514920926 .fill-AA4{fill:#EDF0FD;} + .d2-1514920926 .fill-AA5{fill:#F7F8FE;} + .d2-1514920926 .fill-AB4{fill:#EDF0FD;} + .d2-1514920926 .fill-AB5{fill:#F7F8FE;} + .d2-1514920926 .stroke-N1{stroke:#0A0F25;} + .d2-1514920926 .stroke-N2{stroke:#676C7E;} + .d2-1514920926 .stroke-N3{stroke:#9499AB;} + .d2-1514920926 .stroke-N4{stroke:#CFD2DD;} + .d2-1514920926 .stroke-N5{stroke:#DEE1EB;} + .d2-1514920926 .stroke-N6{stroke:#EEF1F8;} + .d2-1514920926 .stroke-N7{stroke:#FFFFFF;} + .d2-1514920926 .stroke-B1{stroke:#0D32B2;} + .d2-1514920926 .stroke-B2{stroke:#0D32B2;} + .d2-1514920926 .stroke-B3{stroke:#E3E9FD;} + .d2-1514920926 .stroke-B4{stroke:#E3E9FD;} + .d2-1514920926 .stroke-B5{stroke:#EDF0FD;} + .d2-1514920926 .stroke-B6{stroke:#F7F8FE;} + .d2-1514920926 .stroke-AA2{stroke:#4A6FF3;} + .d2-1514920926 .stroke-AA4{stroke:#EDF0FD;} + .d2-1514920926 .stroke-AA5{stroke:#F7F8FE;} + .d2-1514920926 .stroke-AB4{stroke:#EDF0FD;} + .d2-1514920926 .stroke-AB5{stroke:#F7F8FE;} + .d2-1514920926 .background-color-N1{background-color:#0A0F25;} + .d2-1514920926 .background-color-N2{background-color:#676C7E;} + .d2-1514920926 .background-color-N3{background-color:#9499AB;} + .d2-1514920926 .background-color-N4{background-color:#CFD2DD;} + .d2-1514920926 .background-color-N5{background-color:#DEE1EB;} + .d2-1514920926 .background-color-N6{background-color:#EEF1F8;} + .d2-1514920926 .background-color-N7{background-color:#FFFFFF;} + .d2-1514920926 .background-color-B1{background-color:#0D32B2;} + .d2-1514920926 .background-color-B2{background-color:#0D32B2;} + .d2-1514920926 .background-color-B3{background-color:#E3E9FD;} + .d2-1514920926 .background-color-B4{background-color:#E3E9FD;} + .d2-1514920926 .background-color-B5{background-color:#EDF0FD;} + .d2-1514920926 .background-color-B6{background-color:#F7F8FE;} + .d2-1514920926 .background-color-AA2{background-color:#4A6FF3;} + .d2-1514920926 .background-color-AA4{background-color:#EDF0FD;} + .d2-1514920926 .background-color-AA5{background-color:#F7F8FE;} + .d2-1514920926 .background-color-AB4{background-color:#EDF0FD;} + .d2-1514920926 .background-color-AB5{background-color:#F7F8FE;} + .d2-1514920926 .color-N1{color:#0A0F25;} + .d2-1514920926 .color-N2{color:#676C7E;} + .d2-1514920926 .color-N3{color:#9499AB;} + .d2-1514920926 .color-N4{color:#CFD2DD;} + .d2-1514920926 .color-N5{color:#DEE1EB;} + .d2-1514920926 .color-N6{color:#EEF1F8;} + .d2-1514920926 .color-N7{color:#FFFFFF;} + .d2-1514920926 .color-B1{color:#0D32B2;} + .d2-1514920926 .color-B2{color:#0D32B2;} + .d2-1514920926 .color-B3{color:#E3E9FD;} + .d2-1514920926 .color-B4{color:#E3E9FD;} + .d2-1514920926 .color-B5{color:#EDF0FD;} + .d2-1514920926 .color-B6{color:#F7F8FE;} + .d2-1514920926 .color-AA2{color:#4A6FF3;} + .d2-1514920926 .color-AA4{color:#EDF0FD;} + .d2-1514920926 .color-AA5{color:#F7F8FE;} + .d2-1514920926 .color-AB4{color:#EDF0FD;} + .d2-1514920926 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg index c9c708ed6..23b4a08d8 100644 --- a/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user + .d2-1358905627 .fill-N1{fill:#0A0F25;} + .d2-1358905627 .fill-N2{fill:#676C7E;} + .d2-1358905627 .fill-N3{fill:#9499AB;} + .d2-1358905627 .fill-N4{fill:#CFD2DD;} + .d2-1358905627 .fill-N5{fill:#DEE1EB;} + .d2-1358905627 .fill-N6{fill:#EEF1F8;} + .d2-1358905627 .fill-N7{fill:#FFFFFF;} + .d2-1358905627 .fill-B1{fill:#0D32B2;} + .d2-1358905627 .fill-B2{fill:#0D32B2;} + .d2-1358905627 .fill-B3{fill:#E3E9FD;} + .d2-1358905627 .fill-B4{fill:#E3E9FD;} + .d2-1358905627 .fill-B5{fill:#EDF0FD;} + .d2-1358905627 .fill-B6{fill:#F7F8FE;} + .d2-1358905627 .fill-AA2{fill:#4A6FF3;} + .d2-1358905627 .fill-AA4{fill:#EDF0FD;} + .d2-1358905627 .fill-AA5{fill:#F7F8FE;} + .d2-1358905627 .fill-AB4{fill:#EDF0FD;} + .d2-1358905627 .fill-AB5{fill:#F7F8FE;} + .d2-1358905627 .stroke-N1{stroke:#0A0F25;} + .d2-1358905627 .stroke-N2{stroke:#676C7E;} + .d2-1358905627 .stroke-N3{stroke:#9499AB;} + .d2-1358905627 .stroke-N4{stroke:#CFD2DD;} + .d2-1358905627 .stroke-N5{stroke:#DEE1EB;} + .d2-1358905627 .stroke-N6{stroke:#EEF1F8;} + .d2-1358905627 .stroke-N7{stroke:#FFFFFF;} + .d2-1358905627 .stroke-B1{stroke:#0D32B2;} + .d2-1358905627 .stroke-B2{stroke:#0D32B2;} + .d2-1358905627 .stroke-B3{stroke:#E3E9FD;} + .d2-1358905627 .stroke-B4{stroke:#E3E9FD;} + .d2-1358905627 .stroke-B5{stroke:#EDF0FD;} + .d2-1358905627 .stroke-B6{stroke:#F7F8FE;} + .d2-1358905627 .stroke-AA2{stroke:#4A6FF3;} + .d2-1358905627 .stroke-AA4{stroke:#EDF0FD;} + .d2-1358905627 .stroke-AA5{stroke:#F7F8FE;} + .d2-1358905627 .stroke-AB4{stroke:#EDF0FD;} + .d2-1358905627 .stroke-AB5{stroke:#F7F8FE;} + .d2-1358905627 .background-color-N1{background-color:#0A0F25;} + .d2-1358905627 .background-color-N2{background-color:#676C7E;} + .d2-1358905627 .background-color-N3{background-color:#9499AB;} + .d2-1358905627 .background-color-N4{background-color:#CFD2DD;} + .d2-1358905627 .background-color-N5{background-color:#DEE1EB;} + .d2-1358905627 .background-color-N6{background-color:#EEF1F8;} + .d2-1358905627 .background-color-N7{background-color:#FFFFFF;} + .d2-1358905627 .background-color-B1{background-color:#0D32B2;} + .d2-1358905627 .background-color-B2{background-color:#0D32B2;} + .d2-1358905627 .background-color-B3{background-color:#E3E9FD;} + .d2-1358905627 .background-color-B4{background-color:#E3E9FD;} + .d2-1358905627 .background-color-B5{background-color:#EDF0FD;} + .d2-1358905627 .background-color-B6{background-color:#F7F8FE;} + .d2-1358905627 .background-color-AA2{background-color:#4A6FF3;} + .d2-1358905627 .background-color-AA4{background-color:#EDF0FD;} + .d2-1358905627 .background-color-AA5{background-color:#F7F8FE;} + .d2-1358905627 .background-color-AB4{background-color:#EDF0FD;} + .d2-1358905627 .background-color-AB5{background-color:#F7F8FE;} + .d2-1358905627 .color-N1{color:#0A0F25;} + .d2-1358905627 .color-N2{color:#676C7E;} + .d2-1358905627 .color-N3{color:#9499AB;} + .d2-1358905627 .color-N4{color:#CFD2DD;} + .d2-1358905627 .color-N5{color:#DEE1EB;} + .d2-1358905627 .color-N6{color:#EEF1F8;} + .d2-1358905627 .color-N7{color:#FFFFFF;} + .d2-1358905627 .color-B1{color:#0D32B2;} + .d2-1358905627 .color-B2{color:#0D32B2;} + .d2-1358905627 .color-B3{color:#E3E9FD;} + .d2-1358905627 .color-B4{color:#E3E9FD;} + .d2-1358905627 .color-B5{color:#EDF0FD;} + .d2-1358905627 .color-B6{color:#F7F8FE;} + .d2-1358905627 .color-AA2{color:#4A6FF3;} + .d2-1358905627 .color-AA4{color:#EDF0FD;} + .d2-1358905627 .color-AA5{color:#F7F8FE;} + .d2-1358905627 .color-AB4{color:#EDF0FD;} + .d2-1358905627 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user diff --git a/e2etests/testdata/stable/executive_grid/dagre/sketch.exp.svg b/e2etests/testdata/stable/executive_grid/dagre/sketch.exp.svg index 29d7ed413..55a3a0bbe 100644 --- a/e2etests/testdata/stable/executive_grid/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/executive_grid/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -Executive ServicesI/OManagerSecurityReferenceMonitorIPCManagerVirtualMemoryManager(VMM)ProcessManagerPnPManagerPowerManagerWindowManager GDIObject Manager + .d2-972852616 .fill-N1{fill:#0A0F25;} + .d2-972852616 .fill-N2{fill:#676C7E;} + .d2-972852616 .fill-N3{fill:#9499AB;} + .d2-972852616 .fill-N4{fill:#CFD2DD;} + .d2-972852616 .fill-N5{fill:#DEE1EB;} + .d2-972852616 .fill-N6{fill:#EEF1F8;} + .d2-972852616 .fill-N7{fill:#FFFFFF;} + .d2-972852616 .fill-B1{fill:#0D32B2;} + .d2-972852616 .fill-B2{fill:#0D32B2;} + .d2-972852616 .fill-B3{fill:#E3E9FD;} + .d2-972852616 .fill-B4{fill:#E3E9FD;} + .d2-972852616 .fill-B5{fill:#EDF0FD;} + .d2-972852616 .fill-B6{fill:#F7F8FE;} + .d2-972852616 .fill-AA2{fill:#4A6FF3;} + .d2-972852616 .fill-AA4{fill:#EDF0FD;} + .d2-972852616 .fill-AA5{fill:#F7F8FE;} + .d2-972852616 .fill-AB4{fill:#EDF0FD;} + .d2-972852616 .fill-AB5{fill:#F7F8FE;} + .d2-972852616 .stroke-N1{stroke:#0A0F25;} + .d2-972852616 .stroke-N2{stroke:#676C7E;} + .d2-972852616 .stroke-N3{stroke:#9499AB;} + .d2-972852616 .stroke-N4{stroke:#CFD2DD;} + .d2-972852616 .stroke-N5{stroke:#DEE1EB;} + .d2-972852616 .stroke-N6{stroke:#EEF1F8;} + .d2-972852616 .stroke-N7{stroke:#FFFFFF;} + .d2-972852616 .stroke-B1{stroke:#0D32B2;} + .d2-972852616 .stroke-B2{stroke:#0D32B2;} + .d2-972852616 .stroke-B3{stroke:#E3E9FD;} + .d2-972852616 .stroke-B4{stroke:#E3E9FD;} + .d2-972852616 .stroke-B5{stroke:#EDF0FD;} + .d2-972852616 .stroke-B6{stroke:#F7F8FE;} + .d2-972852616 .stroke-AA2{stroke:#4A6FF3;} + .d2-972852616 .stroke-AA4{stroke:#EDF0FD;} + .d2-972852616 .stroke-AA5{stroke:#F7F8FE;} + .d2-972852616 .stroke-AB4{stroke:#EDF0FD;} + .d2-972852616 .stroke-AB5{stroke:#F7F8FE;} + .d2-972852616 .background-color-N1{background-color:#0A0F25;} + .d2-972852616 .background-color-N2{background-color:#676C7E;} + .d2-972852616 .background-color-N3{background-color:#9499AB;} + .d2-972852616 .background-color-N4{background-color:#CFD2DD;} + .d2-972852616 .background-color-N5{background-color:#DEE1EB;} + .d2-972852616 .background-color-N6{background-color:#EEF1F8;} + .d2-972852616 .background-color-N7{background-color:#FFFFFF;} + .d2-972852616 .background-color-B1{background-color:#0D32B2;} + .d2-972852616 .background-color-B2{background-color:#0D32B2;} + .d2-972852616 .background-color-B3{background-color:#E3E9FD;} + .d2-972852616 .background-color-B4{background-color:#E3E9FD;} + .d2-972852616 .background-color-B5{background-color:#EDF0FD;} + .d2-972852616 .background-color-B6{background-color:#F7F8FE;} + .d2-972852616 .background-color-AA2{background-color:#4A6FF3;} + .d2-972852616 .background-color-AA4{background-color:#EDF0FD;} + .d2-972852616 .background-color-AA5{background-color:#F7F8FE;} + .d2-972852616 .background-color-AB4{background-color:#EDF0FD;} + .d2-972852616 .background-color-AB5{background-color:#F7F8FE;} + .d2-972852616 .color-N1{color:#0A0F25;} + .d2-972852616 .color-N2{color:#676C7E;} + .d2-972852616 .color-N3{color:#9499AB;} + .d2-972852616 .color-N4{color:#CFD2DD;} + .d2-972852616 .color-N5{color:#DEE1EB;} + .d2-972852616 .color-N6{color:#EEF1F8;} + .d2-972852616 .color-N7{color:#FFFFFF;} + .d2-972852616 .color-B1{color:#0D32B2;} + .d2-972852616 .color-B2{color:#0D32B2;} + .d2-972852616 .color-B3{color:#E3E9FD;} + .d2-972852616 .color-B4{color:#E3E9FD;} + .d2-972852616 .color-B5{color:#EDF0FD;} + .d2-972852616 .color-B6{color:#F7F8FE;} + .d2-972852616 .color-AA2{color:#4A6FF3;} + .d2-972852616 .color-AA4{color:#EDF0FD;} + .d2-972852616 .color-AA5{color:#F7F8FE;} + .d2-972852616 .color-AB4{color:#EDF0FD;} + .d2-972852616 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Executive ServicesI/OManagerSecurityReferenceMonitorIPCManagerVirtualMemoryManager(VMM)ProcessManagerPnPManagerPowerManagerWindowManager GDIObject Manager diff --git a/e2etests/testdata/stable/executive_grid/elk/sketch.exp.svg b/e2etests/testdata/stable/executive_grid/elk/sketch.exp.svg index 29d7ed413..55a3a0bbe 100644 --- a/e2etests/testdata/stable/executive_grid/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/executive_grid/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -Executive ServicesI/OManagerSecurityReferenceMonitorIPCManagerVirtualMemoryManager(VMM)ProcessManagerPnPManagerPowerManagerWindowManager GDIObject Manager + .d2-972852616 .fill-N1{fill:#0A0F25;} + .d2-972852616 .fill-N2{fill:#676C7E;} + .d2-972852616 .fill-N3{fill:#9499AB;} + .d2-972852616 .fill-N4{fill:#CFD2DD;} + .d2-972852616 .fill-N5{fill:#DEE1EB;} + .d2-972852616 .fill-N6{fill:#EEF1F8;} + .d2-972852616 .fill-N7{fill:#FFFFFF;} + .d2-972852616 .fill-B1{fill:#0D32B2;} + .d2-972852616 .fill-B2{fill:#0D32B2;} + .d2-972852616 .fill-B3{fill:#E3E9FD;} + .d2-972852616 .fill-B4{fill:#E3E9FD;} + .d2-972852616 .fill-B5{fill:#EDF0FD;} + .d2-972852616 .fill-B6{fill:#F7F8FE;} + .d2-972852616 .fill-AA2{fill:#4A6FF3;} + .d2-972852616 .fill-AA4{fill:#EDF0FD;} + .d2-972852616 .fill-AA5{fill:#F7F8FE;} + .d2-972852616 .fill-AB4{fill:#EDF0FD;} + .d2-972852616 .fill-AB5{fill:#F7F8FE;} + .d2-972852616 .stroke-N1{stroke:#0A0F25;} + .d2-972852616 .stroke-N2{stroke:#676C7E;} + .d2-972852616 .stroke-N3{stroke:#9499AB;} + .d2-972852616 .stroke-N4{stroke:#CFD2DD;} + .d2-972852616 .stroke-N5{stroke:#DEE1EB;} + .d2-972852616 .stroke-N6{stroke:#EEF1F8;} + .d2-972852616 .stroke-N7{stroke:#FFFFFF;} + .d2-972852616 .stroke-B1{stroke:#0D32B2;} + .d2-972852616 .stroke-B2{stroke:#0D32B2;} + .d2-972852616 .stroke-B3{stroke:#E3E9FD;} + .d2-972852616 .stroke-B4{stroke:#E3E9FD;} + .d2-972852616 .stroke-B5{stroke:#EDF0FD;} + .d2-972852616 .stroke-B6{stroke:#F7F8FE;} + .d2-972852616 .stroke-AA2{stroke:#4A6FF3;} + .d2-972852616 .stroke-AA4{stroke:#EDF0FD;} + .d2-972852616 .stroke-AA5{stroke:#F7F8FE;} + .d2-972852616 .stroke-AB4{stroke:#EDF0FD;} + .d2-972852616 .stroke-AB5{stroke:#F7F8FE;} + .d2-972852616 .background-color-N1{background-color:#0A0F25;} + .d2-972852616 .background-color-N2{background-color:#676C7E;} + .d2-972852616 .background-color-N3{background-color:#9499AB;} + .d2-972852616 .background-color-N4{background-color:#CFD2DD;} + .d2-972852616 .background-color-N5{background-color:#DEE1EB;} + .d2-972852616 .background-color-N6{background-color:#EEF1F8;} + .d2-972852616 .background-color-N7{background-color:#FFFFFF;} + .d2-972852616 .background-color-B1{background-color:#0D32B2;} + .d2-972852616 .background-color-B2{background-color:#0D32B2;} + .d2-972852616 .background-color-B3{background-color:#E3E9FD;} + .d2-972852616 .background-color-B4{background-color:#E3E9FD;} + .d2-972852616 .background-color-B5{background-color:#EDF0FD;} + .d2-972852616 .background-color-B6{background-color:#F7F8FE;} + .d2-972852616 .background-color-AA2{background-color:#4A6FF3;} + .d2-972852616 .background-color-AA4{background-color:#EDF0FD;} + .d2-972852616 .background-color-AA5{background-color:#F7F8FE;} + .d2-972852616 .background-color-AB4{background-color:#EDF0FD;} + .d2-972852616 .background-color-AB5{background-color:#F7F8FE;} + .d2-972852616 .color-N1{color:#0A0F25;} + .d2-972852616 .color-N2{color:#676C7E;} + .d2-972852616 .color-N3{color:#9499AB;} + .d2-972852616 .color-N4{color:#CFD2DD;} + .d2-972852616 .color-N5{color:#DEE1EB;} + .d2-972852616 .color-N6{color:#EEF1F8;} + .d2-972852616 .color-N7{color:#FFFFFF;} + .d2-972852616 .color-B1{color:#0D32B2;} + .d2-972852616 .color-B2{color:#0D32B2;} + .d2-972852616 .color-B3{color:#E3E9FD;} + .d2-972852616 .color-B4{color:#E3E9FD;} + .d2-972852616 .color-B5{color:#EDF0FD;} + .d2-972852616 .color-B6{color:#F7F8FE;} + .d2-972852616 .color-AA2{color:#4A6FF3;} + .d2-972852616 .color-AA4{color:#EDF0FD;} + .d2-972852616 .color-AA5{color:#F7F8FE;} + .d2-972852616 .color-AB4{color:#EDF0FD;} + .d2-972852616 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Executive ServicesI/OManagerSecurityReferenceMonitorIPCManagerVirtualMemoryManager(VMM)ProcessManagerPnPManagerPowerManagerWindowManager GDIObject Manager diff --git a/e2etests/testdata/stable/font_colors/dagre/board.exp.json b/e2etests/testdata/stable/font_colors/dagre/board.exp.json index fd3b8c496..837aadec2 100644 --- a/e2etests/testdata/stable/font_colors/dagre/board.exp.json +++ b/e2etests/testdata/stable/font_colors/dagre/board.exp.json @@ -113,11 +113,11 @@ "route": [ { "x": 42.5, - "y": 66 + "y": 65.5 }, { "x": 42.5, - "y": 114.4000015258789 + "y": 114.30000305175781 }, { "x": 42.5, diff --git a/e2etests/testdata/stable/font_colors/dagre/sketch.exp.svg b/e2etests/testdata/stable/font_colors/dagre/sketch.exp.svg index 1cc9e0b00..0c0b27e9f 100644 --- a/e2etests/testdata/stable/font_colors/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/font_colors/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -alphabeta gamma + .d2-4151650626 .fill-N1{fill:#0A0F25;} + .d2-4151650626 .fill-N2{fill:#676C7E;} + .d2-4151650626 .fill-N3{fill:#9499AB;} + .d2-4151650626 .fill-N4{fill:#CFD2DD;} + .d2-4151650626 .fill-N5{fill:#DEE1EB;} + .d2-4151650626 .fill-N6{fill:#EEF1F8;} + .d2-4151650626 .fill-N7{fill:#FFFFFF;} + .d2-4151650626 .fill-B1{fill:#0D32B2;} + .d2-4151650626 .fill-B2{fill:#0D32B2;} + .d2-4151650626 .fill-B3{fill:#E3E9FD;} + .d2-4151650626 .fill-B4{fill:#E3E9FD;} + .d2-4151650626 .fill-B5{fill:#EDF0FD;} + .d2-4151650626 .fill-B6{fill:#F7F8FE;} + .d2-4151650626 .fill-AA2{fill:#4A6FF3;} + .d2-4151650626 .fill-AA4{fill:#EDF0FD;} + .d2-4151650626 .fill-AA5{fill:#F7F8FE;} + .d2-4151650626 .fill-AB4{fill:#EDF0FD;} + .d2-4151650626 .fill-AB5{fill:#F7F8FE;} + .d2-4151650626 .stroke-N1{stroke:#0A0F25;} + .d2-4151650626 .stroke-N2{stroke:#676C7E;} + .d2-4151650626 .stroke-N3{stroke:#9499AB;} + .d2-4151650626 .stroke-N4{stroke:#CFD2DD;} + .d2-4151650626 .stroke-N5{stroke:#DEE1EB;} + .d2-4151650626 .stroke-N6{stroke:#EEF1F8;} + .d2-4151650626 .stroke-N7{stroke:#FFFFFF;} + .d2-4151650626 .stroke-B1{stroke:#0D32B2;} + .d2-4151650626 .stroke-B2{stroke:#0D32B2;} + .d2-4151650626 .stroke-B3{stroke:#E3E9FD;} + .d2-4151650626 .stroke-B4{stroke:#E3E9FD;} + .d2-4151650626 .stroke-B5{stroke:#EDF0FD;} + .d2-4151650626 .stroke-B6{stroke:#F7F8FE;} + .d2-4151650626 .stroke-AA2{stroke:#4A6FF3;} + .d2-4151650626 .stroke-AA4{stroke:#EDF0FD;} + .d2-4151650626 .stroke-AA5{stroke:#F7F8FE;} + .d2-4151650626 .stroke-AB4{stroke:#EDF0FD;} + .d2-4151650626 .stroke-AB5{stroke:#F7F8FE;} + .d2-4151650626 .background-color-N1{background-color:#0A0F25;} + .d2-4151650626 .background-color-N2{background-color:#676C7E;} + .d2-4151650626 .background-color-N3{background-color:#9499AB;} + .d2-4151650626 .background-color-N4{background-color:#CFD2DD;} + .d2-4151650626 .background-color-N5{background-color:#DEE1EB;} + .d2-4151650626 .background-color-N6{background-color:#EEF1F8;} + .d2-4151650626 .background-color-N7{background-color:#FFFFFF;} + .d2-4151650626 .background-color-B1{background-color:#0D32B2;} + .d2-4151650626 .background-color-B2{background-color:#0D32B2;} + .d2-4151650626 .background-color-B3{background-color:#E3E9FD;} + .d2-4151650626 .background-color-B4{background-color:#E3E9FD;} + .d2-4151650626 .background-color-B5{background-color:#EDF0FD;} + .d2-4151650626 .background-color-B6{background-color:#F7F8FE;} + .d2-4151650626 .background-color-AA2{background-color:#4A6FF3;} + .d2-4151650626 .background-color-AA4{background-color:#EDF0FD;} + .d2-4151650626 .background-color-AA5{background-color:#F7F8FE;} + .d2-4151650626 .background-color-AB4{background-color:#EDF0FD;} + .d2-4151650626 .background-color-AB5{background-color:#F7F8FE;} + .d2-4151650626 .color-N1{color:#0A0F25;} + .d2-4151650626 .color-N2{color:#676C7E;} + .d2-4151650626 .color-N3{color:#9499AB;} + .d2-4151650626 .color-N4{color:#CFD2DD;} + .d2-4151650626 .color-N5{color:#DEE1EB;} + .d2-4151650626 .color-N6{color:#EEF1F8;} + .d2-4151650626 .color-N7{color:#FFFFFF;} + .d2-4151650626 .color-B1{color:#0D32B2;} + .d2-4151650626 .color-B2{color:#0D32B2;} + .d2-4151650626 .color-B3{color:#E3E9FD;} + .d2-4151650626 .color-B4{color:#E3E9FD;} + .d2-4151650626 .color-B5{color:#EDF0FD;} + .d2-4151650626 .color-B6{color:#F7F8FE;} + .d2-4151650626 .color-AA2{color:#4A6FF3;} + .d2-4151650626 .color-AA4{color:#EDF0FD;} + .d2-4151650626 .color-AA5{color:#F7F8FE;} + .d2-4151650626 .color-AB4{color:#EDF0FD;} + .d2-4151650626 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>alphabeta gamma diff --git a/e2etests/testdata/stable/font_colors/elk/sketch.exp.svg b/e2etests/testdata/stable/font_colors/elk/sketch.exp.svg index d37ad580c..13ebf427e 100644 --- a/e2etests/testdata/stable/font_colors/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/font_colors/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -alphabeta gamma + .d2-1902179284 .fill-N1{fill:#0A0F25;} + .d2-1902179284 .fill-N2{fill:#676C7E;} + .d2-1902179284 .fill-N3{fill:#9499AB;} + .d2-1902179284 .fill-N4{fill:#CFD2DD;} + .d2-1902179284 .fill-N5{fill:#DEE1EB;} + .d2-1902179284 .fill-N6{fill:#EEF1F8;} + .d2-1902179284 .fill-N7{fill:#FFFFFF;} + .d2-1902179284 .fill-B1{fill:#0D32B2;} + .d2-1902179284 .fill-B2{fill:#0D32B2;} + .d2-1902179284 .fill-B3{fill:#E3E9FD;} + .d2-1902179284 .fill-B4{fill:#E3E9FD;} + .d2-1902179284 .fill-B5{fill:#EDF0FD;} + .d2-1902179284 .fill-B6{fill:#F7F8FE;} + .d2-1902179284 .fill-AA2{fill:#4A6FF3;} + .d2-1902179284 .fill-AA4{fill:#EDF0FD;} + .d2-1902179284 .fill-AA5{fill:#F7F8FE;} + .d2-1902179284 .fill-AB4{fill:#EDF0FD;} + .d2-1902179284 .fill-AB5{fill:#F7F8FE;} + .d2-1902179284 .stroke-N1{stroke:#0A0F25;} + .d2-1902179284 .stroke-N2{stroke:#676C7E;} + .d2-1902179284 .stroke-N3{stroke:#9499AB;} + .d2-1902179284 .stroke-N4{stroke:#CFD2DD;} + .d2-1902179284 .stroke-N5{stroke:#DEE1EB;} + .d2-1902179284 .stroke-N6{stroke:#EEF1F8;} + .d2-1902179284 .stroke-N7{stroke:#FFFFFF;} + .d2-1902179284 .stroke-B1{stroke:#0D32B2;} + .d2-1902179284 .stroke-B2{stroke:#0D32B2;} + .d2-1902179284 .stroke-B3{stroke:#E3E9FD;} + .d2-1902179284 .stroke-B4{stroke:#E3E9FD;} + .d2-1902179284 .stroke-B5{stroke:#EDF0FD;} + .d2-1902179284 .stroke-B6{stroke:#F7F8FE;} + .d2-1902179284 .stroke-AA2{stroke:#4A6FF3;} + .d2-1902179284 .stroke-AA4{stroke:#EDF0FD;} + .d2-1902179284 .stroke-AA5{stroke:#F7F8FE;} + .d2-1902179284 .stroke-AB4{stroke:#EDF0FD;} + .d2-1902179284 .stroke-AB5{stroke:#F7F8FE;} + .d2-1902179284 .background-color-N1{background-color:#0A0F25;} + .d2-1902179284 .background-color-N2{background-color:#676C7E;} + .d2-1902179284 .background-color-N3{background-color:#9499AB;} + .d2-1902179284 .background-color-N4{background-color:#CFD2DD;} + .d2-1902179284 .background-color-N5{background-color:#DEE1EB;} + .d2-1902179284 .background-color-N6{background-color:#EEF1F8;} + .d2-1902179284 .background-color-N7{background-color:#FFFFFF;} + .d2-1902179284 .background-color-B1{background-color:#0D32B2;} + .d2-1902179284 .background-color-B2{background-color:#0D32B2;} + .d2-1902179284 .background-color-B3{background-color:#E3E9FD;} + .d2-1902179284 .background-color-B4{background-color:#E3E9FD;} + .d2-1902179284 .background-color-B5{background-color:#EDF0FD;} + .d2-1902179284 .background-color-B6{background-color:#F7F8FE;} + .d2-1902179284 .background-color-AA2{background-color:#4A6FF3;} + .d2-1902179284 .background-color-AA4{background-color:#EDF0FD;} + .d2-1902179284 .background-color-AA5{background-color:#F7F8FE;} + .d2-1902179284 .background-color-AB4{background-color:#EDF0FD;} + .d2-1902179284 .background-color-AB5{background-color:#F7F8FE;} + .d2-1902179284 .color-N1{color:#0A0F25;} + .d2-1902179284 .color-N2{color:#676C7E;} + .d2-1902179284 .color-N3{color:#9499AB;} + .d2-1902179284 .color-N4{color:#CFD2DD;} + .d2-1902179284 .color-N5{color:#DEE1EB;} + .d2-1902179284 .color-N6{color:#EEF1F8;} + .d2-1902179284 .color-N7{color:#FFFFFF;} + .d2-1902179284 .color-B1{color:#0D32B2;} + .d2-1902179284 .color-B2{color:#0D32B2;} + .d2-1902179284 .color-B3{color:#E3E9FD;} + .d2-1902179284 .color-B4{color:#E3E9FD;} + .d2-1902179284 .color-B5{color:#EDF0FD;} + .d2-1902179284 .color-B6{color:#F7F8FE;} + .d2-1902179284 .color-AA2{color:#4A6FF3;} + .d2-1902179284 .color-AA4{color:#EDF0FD;} + .d2-1902179284 .color-AA5{color:#F7F8FE;} + .d2-1902179284 .color-AB4{color:#EDF0FD;} + .d2-1902179284 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>alphabeta gamma diff --git a/e2etests/testdata/stable/font_sizes/dagre/sketch.exp.svg b/e2etests/testdata/stable/font_sizes/dagre/sketch.exp.svg index 89f36dd83..da391dfaa 100644 --- a/e2etests/testdata/stable/font_sizes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/font_sizes/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -size XSsize Ssize Msize Lsize XLsize XXLsize XXXLcustom 8custom 12custom 18custom 21custom 64 custom 10custom 15custom 48 + .d2-3174230406 .fill-N1{fill:#0A0F25;} + .d2-3174230406 .fill-N2{fill:#676C7E;} + .d2-3174230406 .fill-N3{fill:#9499AB;} + .d2-3174230406 .fill-N4{fill:#CFD2DD;} + .d2-3174230406 .fill-N5{fill:#DEE1EB;} + .d2-3174230406 .fill-N6{fill:#EEF1F8;} + .d2-3174230406 .fill-N7{fill:#FFFFFF;} + .d2-3174230406 .fill-B1{fill:#0D32B2;} + .d2-3174230406 .fill-B2{fill:#0D32B2;} + .d2-3174230406 .fill-B3{fill:#E3E9FD;} + .d2-3174230406 .fill-B4{fill:#E3E9FD;} + .d2-3174230406 .fill-B5{fill:#EDF0FD;} + .d2-3174230406 .fill-B6{fill:#F7F8FE;} + .d2-3174230406 .fill-AA2{fill:#4A6FF3;} + .d2-3174230406 .fill-AA4{fill:#EDF0FD;} + .d2-3174230406 .fill-AA5{fill:#F7F8FE;} + .d2-3174230406 .fill-AB4{fill:#EDF0FD;} + .d2-3174230406 .fill-AB5{fill:#F7F8FE;} + .d2-3174230406 .stroke-N1{stroke:#0A0F25;} + .d2-3174230406 .stroke-N2{stroke:#676C7E;} + .d2-3174230406 .stroke-N3{stroke:#9499AB;} + .d2-3174230406 .stroke-N4{stroke:#CFD2DD;} + .d2-3174230406 .stroke-N5{stroke:#DEE1EB;} + .d2-3174230406 .stroke-N6{stroke:#EEF1F8;} + .d2-3174230406 .stroke-N7{stroke:#FFFFFF;} + .d2-3174230406 .stroke-B1{stroke:#0D32B2;} + .d2-3174230406 .stroke-B2{stroke:#0D32B2;} + .d2-3174230406 .stroke-B3{stroke:#E3E9FD;} + .d2-3174230406 .stroke-B4{stroke:#E3E9FD;} + .d2-3174230406 .stroke-B5{stroke:#EDF0FD;} + .d2-3174230406 .stroke-B6{stroke:#F7F8FE;} + .d2-3174230406 .stroke-AA2{stroke:#4A6FF3;} + .d2-3174230406 .stroke-AA4{stroke:#EDF0FD;} + .d2-3174230406 .stroke-AA5{stroke:#F7F8FE;} + .d2-3174230406 .stroke-AB4{stroke:#EDF0FD;} + .d2-3174230406 .stroke-AB5{stroke:#F7F8FE;} + .d2-3174230406 .background-color-N1{background-color:#0A0F25;} + .d2-3174230406 .background-color-N2{background-color:#676C7E;} + .d2-3174230406 .background-color-N3{background-color:#9499AB;} + .d2-3174230406 .background-color-N4{background-color:#CFD2DD;} + .d2-3174230406 .background-color-N5{background-color:#DEE1EB;} + .d2-3174230406 .background-color-N6{background-color:#EEF1F8;} + .d2-3174230406 .background-color-N7{background-color:#FFFFFF;} + .d2-3174230406 .background-color-B1{background-color:#0D32B2;} + .d2-3174230406 .background-color-B2{background-color:#0D32B2;} + .d2-3174230406 .background-color-B3{background-color:#E3E9FD;} + .d2-3174230406 .background-color-B4{background-color:#E3E9FD;} + .d2-3174230406 .background-color-B5{background-color:#EDF0FD;} + .d2-3174230406 .background-color-B6{background-color:#F7F8FE;} + .d2-3174230406 .background-color-AA2{background-color:#4A6FF3;} + .d2-3174230406 .background-color-AA4{background-color:#EDF0FD;} + .d2-3174230406 .background-color-AA5{background-color:#F7F8FE;} + .d2-3174230406 .background-color-AB4{background-color:#EDF0FD;} + .d2-3174230406 .background-color-AB5{background-color:#F7F8FE;} + .d2-3174230406 .color-N1{color:#0A0F25;} + .d2-3174230406 .color-N2{color:#676C7E;} + .d2-3174230406 .color-N3{color:#9499AB;} + .d2-3174230406 .color-N4{color:#CFD2DD;} + .d2-3174230406 .color-N5{color:#DEE1EB;} + .d2-3174230406 .color-N6{color:#EEF1F8;} + .d2-3174230406 .color-N7{color:#FFFFFF;} + .d2-3174230406 .color-B1{color:#0D32B2;} + .d2-3174230406 .color-B2{color:#0D32B2;} + .d2-3174230406 .color-B3{color:#E3E9FD;} + .d2-3174230406 .color-B4{color:#E3E9FD;} + .d2-3174230406 .color-B5{color:#EDF0FD;} + .d2-3174230406 .color-B6{color:#F7F8FE;} + .d2-3174230406 .color-AA2{color:#4A6FF3;} + .d2-3174230406 .color-AA4{color:#EDF0FD;} + .d2-3174230406 .color-AA5{color:#F7F8FE;} + .d2-3174230406 .color-AB4{color:#EDF0FD;} + .d2-3174230406 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>size XSsize Ssize Msize Lsize XLsize XXLsize XXXLcustom 8custom 12custom 18custom 21custom 64 custom 10custom 15custom 48 diff --git a/e2etests/testdata/stable/font_sizes/elk/sketch.exp.svg b/e2etests/testdata/stable/font_sizes/elk/sketch.exp.svg index 99d72001e..ebbd44c93 100644 --- a/e2etests/testdata/stable/font_sizes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/font_sizes/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -size XSsize Ssize Msize Lsize XLsize XXLsize XXXLcustom 8custom 12custom 18custom 21custom 64 custom 10custom 15custom 48 + .d2-1981788603 .fill-N1{fill:#0A0F25;} + .d2-1981788603 .fill-N2{fill:#676C7E;} + .d2-1981788603 .fill-N3{fill:#9499AB;} + .d2-1981788603 .fill-N4{fill:#CFD2DD;} + .d2-1981788603 .fill-N5{fill:#DEE1EB;} + .d2-1981788603 .fill-N6{fill:#EEF1F8;} + .d2-1981788603 .fill-N7{fill:#FFFFFF;} + .d2-1981788603 .fill-B1{fill:#0D32B2;} + .d2-1981788603 .fill-B2{fill:#0D32B2;} + .d2-1981788603 .fill-B3{fill:#E3E9FD;} + .d2-1981788603 .fill-B4{fill:#E3E9FD;} + .d2-1981788603 .fill-B5{fill:#EDF0FD;} + .d2-1981788603 .fill-B6{fill:#F7F8FE;} + .d2-1981788603 .fill-AA2{fill:#4A6FF3;} + .d2-1981788603 .fill-AA4{fill:#EDF0FD;} + .d2-1981788603 .fill-AA5{fill:#F7F8FE;} + .d2-1981788603 .fill-AB4{fill:#EDF0FD;} + .d2-1981788603 .fill-AB5{fill:#F7F8FE;} + .d2-1981788603 .stroke-N1{stroke:#0A0F25;} + .d2-1981788603 .stroke-N2{stroke:#676C7E;} + .d2-1981788603 .stroke-N3{stroke:#9499AB;} + .d2-1981788603 .stroke-N4{stroke:#CFD2DD;} + .d2-1981788603 .stroke-N5{stroke:#DEE1EB;} + .d2-1981788603 .stroke-N6{stroke:#EEF1F8;} + .d2-1981788603 .stroke-N7{stroke:#FFFFFF;} + .d2-1981788603 .stroke-B1{stroke:#0D32B2;} + .d2-1981788603 .stroke-B2{stroke:#0D32B2;} + .d2-1981788603 .stroke-B3{stroke:#E3E9FD;} + .d2-1981788603 .stroke-B4{stroke:#E3E9FD;} + .d2-1981788603 .stroke-B5{stroke:#EDF0FD;} + .d2-1981788603 .stroke-B6{stroke:#F7F8FE;} + .d2-1981788603 .stroke-AA2{stroke:#4A6FF3;} + .d2-1981788603 .stroke-AA4{stroke:#EDF0FD;} + .d2-1981788603 .stroke-AA5{stroke:#F7F8FE;} + .d2-1981788603 .stroke-AB4{stroke:#EDF0FD;} + .d2-1981788603 .stroke-AB5{stroke:#F7F8FE;} + .d2-1981788603 .background-color-N1{background-color:#0A0F25;} + .d2-1981788603 .background-color-N2{background-color:#676C7E;} + .d2-1981788603 .background-color-N3{background-color:#9499AB;} + .d2-1981788603 .background-color-N4{background-color:#CFD2DD;} + .d2-1981788603 .background-color-N5{background-color:#DEE1EB;} + .d2-1981788603 .background-color-N6{background-color:#EEF1F8;} + .d2-1981788603 .background-color-N7{background-color:#FFFFFF;} + .d2-1981788603 .background-color-B1{background-color:#0D32B2;} + .d2-1981788603 .background-color-B2{background-color:#0D32B2;} + .d2-1981788603 .background-color-B3{background-color:#E3E9FD;} + .d2-1981788603 .background-color-B4{background-color:#E3E9FD;} + .d2-1981788603 .background-color-B5{background-color:#EDF0FD;} + .d2-1981788603 .background-color-B6{background-color:#F7F8FE;} + .d2-1981788603 .background-color-AA2{background-color:#4A6FF3;} + .d2-1981788603 .background-color-AA4{background-color:#EDF0FD;} + .d2-1981788603 .background-color-AA5{background-color:#F7F8FE;} + .d2-1981788603 .background-color-AB4{background-color:#EDF0FD;} + .d2-1981788603 .background-color-AB5{background-color:#F7F8FE;} + .d2-1981788603 .color-N1{color:#0A0F25;} + .d2-1981788603 .color-N2{color:#676C7E;} + .d2-1981788603 .color-N3{color:#9499AB;} + .d2-1981788603 .color-N4{color:#CFD2DD;} + .d2-1981788603 .color-N5{color:#DEE1EB;} + .d2-1981788603 .color-N6{color:#EEF1F8;} + .d2-1981788603 .color-N7{color:#FFFFFF;} + .d2-1981788603 .color-B1{color:#0D32B2;} + .d2-1981788603 .color-B2{color:#0D32B2;} + .d2-1981788603 .color-B3{color:#E3E9FD;} + .d2-1981788603 .color-B4{color:#E3E9FD;} + .d2-1981788603 .color-B5{color:#EDF0FD;} + .d2-1981788603 .color-B6{color:#F7F8FE;} + .d2-1981788603 .color-AA2{color:#4A6FF3;} + .d2-1981788603 .color-AA4{color:#EDF0FD;} + .d2-1981788603 .color-AA5{color:#F7F8FE;} + .d2-1981788603 .color-AB4{color:#EDF0FD;} + .d2-1981788603 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>size XSsize Ssize Msize Lsize XLsize XXLsize XXXLcustom 8custom 12custom 18custom 21custom 64 custom 10custom 15custom 48 diff --git a/e2etests/testdata/stable/font_sizes_containers_large/dagre/board.exp.json b/e2etests/testdata/stable/font_sizes_containers_large/dagre/board.exp.json index ddc9702b0..20ed6b86e 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large/dagre/board.exp.json +++ b/e2etests/testdata/stable/font_sizes_containers_large/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 50 + "y": -3 }, "width": 264, - "height": 406, + "height": 379, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,10 +49,10 @@ "type": "rectangle", "pos": { "x": 20, - "y": 125 + "y": 88 }, "width": 224, - "height": 306, + "height": 258, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,10 +90,10 @@ "type": "rectangle", "pos": { "x": 40, - "y": 196 + "y": 139 }, "width": 184, - "height": 210, + "height": 177, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -130,11 +130,11 @@ "id": "ninety nine.sixty four.thirty two.sixteen", "type": "rectangle", "pos": { - "x": 60, - "y": 249 + "x": 70, + "y": 170 }, - "width": 144, - "height": 130, + "width": 124, + "height": 116, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 100, - "y": 286 + "y": 200 }, "width": 64, "height": 56, diff --git a/e2etests/testdata/stable/font_sizes_containers_large/dagre/sketch.exp.svg b/e2etests/testdata/stable/font_sizes_containers_large/dagre/sketch.exp.svg index f0e77a7ad..1f49d267a 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/font_sizes_containers_large/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ninety ninesixty fourthirty twosixteeneight - - - - - - + .d2-2159060023 .fill-N1{fill:#0A0F25;} + .d2-2159060023 .fill-N2{fill:#676C7E;} + .d2-2159060023 .fill-N3{fill:#9499AB;} + .d2-2159060023 .fill-N4{fill:#CFD2DD;} + .d2-2159060023 .fill-N5{fill:#DEE1EB;} + .d2-2159060023 .fill-N6{fill:#EEF1F8;} + .d2-2159060023 .fill-N7{fill:#FFFFFF;} + .d2-2159060023 .fill-B1{fill:#0D32B2;} + .d2-2159060023 .fill-B2{fill:#0D32B2;} + .d2-2159060023 .fill-B3{fill:#E3E9FD;} + .d2-2159060023 .fill-B4{fill:#E3E9FD;} + .d2-2159060023 .fill-B5{fill:#EDF0FD;} + .d2-2159060023 .fill-B6{fill:#F7F8FE;} + .d2-2159060023 .fill-AA2{fill:#4A6FF3;} + .d2-2159060023 .fill-AA4{fill:#EDF0FD;} + .d2-2159060023 .fill-AA5{fill:#F7F8FE;} + .d2-2159060023 .fill-AB4{fill:#EDF0FD;} + .d2-2159060023 .fill-AB5{fill:#F7F8FE;} + .d2-2159060023 .stroke-N1{stroke:#0A0F25;} + .d2-2159060023 .stroke-N2{stroke:#676C7E;} + .d2-2159060023 .stroke-N3{stroke:#9499AB;} + .d2-2159060023 .stroke-N4{stroke:#CFD2DD;} + .d2-2159060023 .stroke-N5{stroke:#DEE1EB;} + .d2-2159060023 .stroke-N6{stroke:#EEF1F8;} + .d2-2159060023 .stroke-N7{stroke:#FFFFFF;} + .d2-2159060023 .stroke-B1{stroke:#0D32B2;} + .d2-2159060023 .stroke-B2{stroke:#0D32B2;} + .d2-2159060023 .stroke-B3{stroke:#E3E9FD;} + .d2-2159060023 .stroke-B4{stroke:#E3E9FD;} + .d2-2159060023 .stroke-B5{stroke:#EDF0FD;} + .d2-2159060023 .stroke-B6{stroke:#F7F8FE;} + .d2-2159060023 .stroke-AA2{stroke:#4A6FF3;} + .d2-2159060023 .stroke-AA4{stroke:#EDF0FD;} + .d2-2159060023 .stroke-AA5{stroke:#F7F8FE;} + .d2-2159060023 .stroke-AB4{stroke:#EDF0FD;} + .d2-2159060023 .stroke-AB5{stroke:#F7F8FE;} + .d2-2159060023 .background-color-N1{background-color:#0A0F25;} + .d2-2159060023 .background-color-N2{background-color:#676C7E;} + .d2-2159060023 .background-color-N3{background-color:#9499AB;} + .d2-2159060023 .background-color-N4{background-color:#CFD2DD;} + .d2-2159060023 .background-color-N5{background-color:#DEE1EB;} + .d2-2159060023 .background-color-N6{background-color:#EEF1F8;} + .d2-2159060023 .background-color-N7{background-color:#FFFFFF;} + .d2-2159060023 .background-color-B1{background-color:#0D32B2;} + .d2-2159060023 .background-color-B2{background-color:#0D32B2;} + .d2-2159060023 .background-color-B3{background-color:#E3E9FD;} + .d2-2159060023 .background-color-B4{background-color:#E3E9FD;} + .d2-2159060023 .background-color-B5{background-color:#EDF0FD;} + .d2-2159060023 .background-color-B6{background-color:#F7F8FE;} + .d2-2159060023 .background-color-AA2{background-color:#4A6FF3;} + .d2-2159060023 .background-color-AA4{background-color:#EDF0FD;} + .d2-2159060023 .background-color-AA5{background-color:#F7F8FE;} + .d2-2159060023 .background-color-AB4{background-color:#EDF0FD;} + .d2-2159060023 .background-color-AB5{background-color:#F7F8FE;} + .d2-2159060023 .color-N1{color:#0A0F25;} + .d2-2159060023 .color-N2{color:#676C7E;} + .d2-2159060023 .color-N3{color:#9499AB;} + .d2-2159060023 .color-N4{color:#CFD2DD;} + .d2-2159060023 .color-N5{color:#DEE1EB;} + .d2-2159060023 .color-N6{color:#EEF1F8;} + .d2-2159060023 .color-N7{color:#FFFFFF;} + .d2-2159060023 .color-B1{color:#0D32B2;} + .d2-2159060023 .color-B2{color:#0D32B2;} + .d2-2159060023 .color-B3{color:#E3E9FD;} + .d2-2159060023 .color-B4{color:#E3E9FD;} + .d2-2159060023 .color-B5{color:#EDF0FD;} + .d2-2159060023 .color-B6{color:#F7F8FE;} + .d2-2159060023 .color-AA2{color:#4A6FF3;} + .d2-2159060023 .color-AA4{color:#EDF0FD;} + .d2-2159060023 .color-AA5{color:#F7F8FE;} + .d2-2159060023 .color-AB4{color:#EDF0FD;} + .d2-2159060023 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ninety ninesixty fourthirty twosixteeneight + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/font_sizes_containers_large/elk/board.exp.json b/e2etests/testdata/stable/font_sizes_containers_large/elk/board.exp.json index afc33fcc2..9f21c148b 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large/elk/board.exp.json +++ b/e2etests/testdata/stable/font_sizes_containers_large/elk/board.exp.json @@ -11,7 +11,7 @@ "y": 12 }, "width": 497, - "height": 572, + "height": 583, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,10 +49,10 @@ "type": "rectangle", "pos": { "x": 78, - "y": 142 + "y": 147 }, "width": 364, - "height": 392, + "height": 398, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,10 +90,10 @@ "type": "rectangle", "pos": { "x": 128, - "y": 228 + "y": 238 }, "width": 264, - "height": 256, + "height": 257, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 178, - "y": 278 + "y": 289 }, "width": 164, "height": 156, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 228, - "y": 328 + "y": 339 }, "width": 64, "height": 56, diff --git a/e2etests/testdata/stable/font_sizes_containers_large/elk/sketch.exp.svg b/e2etests/testdata/stable/font_sizes_containers_large/elk/sketch.exp.svg index 312852604..bf2cd80e1 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/font_sizes_containers_large/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ninety ninesixty fourthirty twosixteeneight - + .d2-2746824342 .fill-N1{fill:#0A0F25;} + .d2-2746824342 .fill-N2{fill:#676C7E;} + .d2-2746824342 .fill-N3{fill:#9499AB;} + .d2-2746824342 .fill-N4{fill:#CFD2DD;} + .d2-2746824342 .fill-N5{fill:#DEE1EB;} + .d2-2746824342 .fill-N6{fill:#EEF1F8;} + .d2-2746824342 .fill-N7{fill:#FFFFFF;} + .d2-2746824342 .fill-B1{fill:#0D32B2;} + .d2-2746824342 .fill-B2{fill:#0D32B2;} + .d2-2746824342 .fill-B3{fill:#E3E9FD;} + .d2-2746824342 .fill-B4{fill:#E3E9FD;} + .d2-2746824342 .fill-B5{fill:#EDF0FD;} + .d2-2746824342 .fill-B6{fill:#F7F8FE;} + .d2-2746824342 .fill-AA2{fill:#4A6FF3;} + .d2-2746824342 .fill-AA4{fill:#EDF0FD;} + .d2-2746824342 .fill-AA5{fill:#F7F8FE;} + .d2-2746824342 .fill-AB4{fill:#EDF0FD;} + .d2-2746824342 .fill-AB5{fill:#F7F8FE;} + .d2-2746824342 .stroke-N1{stroke:#0A0F25;} + .d2-2746824342 .stroke-N2{stroke:#676C7E;} + .d2-2746824342 .stroke-N3{stroke:#9499AB;} + .d2-2746824342 .stroke-N4{stroke:#CFD2DD;} + .d2-2746824342 .stroke-N5{stroke:#DEE1EB;} + .d2-2746824342 .stroke-N6{stroke:#EEF1F8;} + .d2-2746824342 .stroke-N7{stroke:#FFFFFF;} + .d2-2746824342 .stroke-B1{stroke:#0D32B2;} + .d2-2746824342 .stroke-B2{stroke:#0D32B2;} + .d2-2746824342 .stroke-B3{stroke:#E3E9FD;} + .d2-2746824342 .stroke-B4{stroke:#E3E9FD;} + .d2-2746824342 .stroke-B5{stroke:#EDF0FD;} + .d2-2746824342 .stroke-B6{stroke:#F7F8FE;} + .d2-2746824342 .stroke-AA2{stroke:#4A6FF3;} + .d2-2746824342 .stroke-AA4{stroke:#EDF0FD;} + .d2-2746824342 .stroke-AA5{stroke:#F7F8FE;} + .d2-2746824342 .stroke-AB4{stroke:#EDF0FD;} + .d2-2746824342 .stroke-AB5{stroke:#F7F8FE;} + .d2-2746824342 .background-color-N1{background-color:#0A0F25;} + .d2-2746824342 .background-color-N2{background-color:#676C7E;} + .d2-2746824342 .background-color-N3{background-color:#9499AB;} + .d2-2746824342 .background-color-N4{background-color:#CFD2DD;} + .d2-2746824342 .background-color-N5{background-color:#DEE1EB;} + .d2-2746824342 .background-color-N6{background-color:#EEF1F8;} + .d2-2746824342 .background-color-N7{background-color:#FFFFFF;} + .d2-2746824342 .background-color-B1{background-color:#0D32B2;} + .d2-2746824342 .background-color-B2{background-color:#0D32B2;} + .d2-2746824342 .background-color-B3{background-color:#E3E9FD;} + .d2-2746824342 .background-color-B4{background-color:#E3E9FD;} + .d2-2746824342 .background-color-B5{background-color:#EDF0FD;} + .d2-2746824342 .background-color-B6{background-color:#F7F8FE;} + .d2-2746824342 .background-color-AA2{background-color:#4A6FF3;} + .d2-2746824342 .background-color-AA4{background-color:#EDF0FD;} + .d2-2746824342 .background-color-AA5{background-color:#F7F8FE;} + .d2-2746824342 .background-color-AB4{background-color:#EDF0FD;} + .d2-2746824342 .background-color-AB5{background-color:#F7F8FE;} + .d2-2746824342 .color-N1{color:#0A0F25;} + .d2-2746824342 .color-N2{color:#676C7E;} + .d2-2746824342 .color-N3{color:#9499AB;} + .d2-2746824342 .color-N4{color:#CFD2DD;} + .d2-2746824342 .color-N5{color:#DEE1EB;} + .d2-2746824342 .color-N6{color:#EEF1F8;} + .d2-2746824342 .color-N7{color:#FFFFFF;} + .d2-2746824342 .color-B1{color:#0D32B2;} + .d2-2746824342 .color-B2{color:#0D32B2;} + .d2-2746824342 .color-B3{color:#E3E9FD;} + .d2-2746824342 .color-B4{color:#E3E9FD;} + .d2-2746824342 .color-B5{color:#EDF0FD;} + .d2-2746824342 .color-B6{color:#F7F8FE;} + .d2-2746824342 .color-AA2{color:#4A6FF3;} + .d2-2746824342 .color-AA4{color:#EDF0FD;} + .d2-2746824342 .color-AA5{color:#F7F8FE;} + .d2-2746824342 .color-AB4{color:#EDF0FD;} + .d2-2746824342 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ninety ninesixty fourthirty twosixteeneight + - - - - + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/board.exp.json b/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/board.exp.json index 59d5c73b6..dadeae729 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/board.exp.json +++ b/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "ninety nine", "type": "rectangle", "pos": { - "x": 0, - "y": 50 + "x": 80, + "y": 205 }, - "width": 464, - "height": 638, + "width": 304, + "height": 359, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,11 +48,11 @@ "id": "ninety nine.sixty four", "type": "rectangle", "pos": { - "x": 50, - "y": 161 + "x": 110, + "y": 296 }, - "width": 364, - "height": 466, + "width": 244, + "height": 248, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -89,11 +89,11 @@ "id": "ninety nine.sixty four.thirty two", "type": "rectangle", "pos": { - "x": 100, - "y": 268 + "x": 140, + "y": 347 }, - "width": 264, - "height": 298, + "width": 184, + "height": 177, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -130,11 +130,11 @@ "id": "ninety nine.sixty four.thirty two.sixteen", "type": "rectangle", "pos": { - "x": 150, - "y": 357 + "x": 170, + "y": 378 }, - "width": 164, - "height": 146, + "width": 124, + "height": 116, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 200, - "y": 402 + "y": 408 }, "width": 64, "height": 56, diff --git a/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/sketch.exp.svg b/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/sketch.exp.svg index aab74ad41..88d0cff4a 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/font_sizes_containers_large_right/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ninety ninesixty fourthirty twosixteeneight - - - - - - + .d2-1555523791 .fill-N1{fill:#0A0F25;} + .d2-1555523791 .fill-N2{fill:#676C7E;} + .d2-1555523791 .fill-N3{fill:#9499AB;} + .d2-1555523791 .fill-N4{fill:#CFD2DD;} + .d2-1555523791 .fill-N5{fill:#DEE1EB;} + .d2-1555523791 .fill-N6{fill:#EEF1F8;} + .d2-1555523791 .fill-N7{fill:#FFFFFF;} + .d2-1555523791 .fill-B1{fill:#0D32B2;} + .d2-1555523791 .fill-B2{fill:#0D32B2;} + .d2-1555523791 .fill-B3{fill:#E3E9FD;} + .d2-1555523791 .fill-B4{fill:#E3E9FD;} + .d2-1555523791 .fill-B5{fill:#EDF0FD;} + .d2-1555523791 .fill-B6{fill:#F7F8FE;} + .d2-1555523791 .fill-AA2{fill:#4A6FF3;} + .d2-1555523791 .fill-AA4{fill:#EDF0FD;} + .d2-1555523791 .fill-AA5{fill:#F7F8FE;} + .d2-1555523791 .fill-AB4{fill:#EDF0FD;} + .d2-1555523791 .fill-AB5{fill:#F7F8FE;} + .d2-1555523791 .stroke-N1{stroke:#0A0F25;} + .d2-1555523791 .stroke-N2{stroke:#676C7E;} + .d2-1555523791 .stroke-N3{stroke:#9499AB;} + .d2-1555523791 .stroke-N4{stroke:#CFD2DD;} + .d2-1555523791 .stroke-N5{stroke:#DEE1EB;} + .d2-1555523791 .stroke-N6{stroke:#EEF1F8;} + .d2-1555523791 .stroke-N7{stroke:#FFFFFF;} + .d2-1555523791 .stroke-B1{stroke:#0D32B2;} + .d2-1555523791 .stroke-B2{stroke:#0D32B2;} + .d2-1555523791 .stroke-B3{stroke:#E3E9FD;} + .d2-1555523791 .stroke-B4{stroke:#E3E9FD;} + .d2-1555523791 .stroke-B5{stroke:#EDF0FD;} + .d2-1555523791 .stroke-B6{stroke:#F7F8FE;} + .d2-1555523791 .stroke-AA2{stroke:#4A6FF3;} + .d2-1555523791 .stroke-AA4{stroke:#EDF0FD;} + .d2-1555523791 .stroke-AA5{stroke:#F7F8FE;} + .d2-1555523791 .stroke-AB4{stroke:#EDF0FD;} + .d2-1555523791 .stroke-AB5{stroke:#F7F8FE;} + .d2-1555523791 .background-color-N1{background-color:#0A0F25;} + .d2-1555523791 .background-color-N2{background-color:#676C7E;} + .d2-1555523791 .background-color-N3{background-color:#9499AB;} + .d2-1555523791 .background-color-N4{background-color:#CFD2DD;} + .d2-1555523791 .background-color-N5{background-color:#DEE1EB;} + .d2-1555523791 .background-color-N6{background-color:#EEF1F8;} + .d2-1555523791 .background-color-N7{background-color:#FFFFFF;} + .d2-1555523791 .background-color-B1{background-color:#0D32B2;} + .d2-1555523791 .background-color-B2{background-color:#0D32B2;} + .d2-1555523791 .background-color-B3{background-color:#E3E9FD;} + .d2-1555523791 .background-color-B4{background-color:#E3E9FD;} + .d2-1555523791 .background-color-B5{background-color:#EDF0FD;} + .d2-1555523791 .background-color-B6{background-color:#F7F8FE;} + .d2-1555523791 .background-color-AA2{background-color:#4A6FF3;} + .d2-1555523791 .background-color-AA4{background-color:#EDF0FD;} + .d2-1555523791 .background-color-AA5{background-color:#F7F8FE;} + .d2-1555523791 .background-color-AB4{background-color:#EDF0FD;} + .d2-1555523791 .background-color-AB5{background-color:#F7F8FE;} + .d2-1555523791 .color-N1{color:#0A0F25;} + .d2-1555523791 .color-N2{color:#676C7E;} + .d2-1555523791 .color-N3{color:#9499AB;} + .d2-1555523791 .color-N4{color:#CFD2DD;} + .d2-1555523791 .color-N5{color:#DEE1EB;} + .d2-1555523791 .color-N6{color:#EEF1F8;} + .d2-1555523791 .color-N7{color:#FFFFFF;} + .d2-1555523791 .color-B1{color:#0D32B2;} + .d2-1555523791 .color-B2{color:#0D32B2;} + .d2-1555523791 .color-B3{color:#E3E9FD;} + .d2-1555523791 .color-B4{color:#E3E9FD;} + .d2-1555523791 .color-B5{color:#EDF0FD;} + .d2-1555523791 .color-B6{color:#F7F8FE;} + .d2-1555523791 .color-AA2{color:#4A6FF3;} + .d2-1555523791 .color-AA4{color:#EDF0FD;} + .d2-1555523791 .color-AA5{color:#F7F8FE;} + .d2-1555523791 .color-AB4{color:#EDF0FD;} + .d2-1555523791 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ninety ninesixty fourthirty twosixteeneight + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/font_sizes_containers_large_right/elk/board.exp.json b/e2etests/testdata/stable/font_sizes_containers_large_right/elk/board.exp.json index afc33fcc2..9f21c148b 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large_right/elk/board.exp.json +++ b/e2etests/testdata/stable/font_sizes_containers_large_right/elk/board.exp.json @@ -11,7 +11,7 @@ "y": 12 }, "width": 497, - "height": 572, + "height": 583, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,10 +49,10 @@ "type": "rectangle", "pos": { "x": 78, - "y": 142 + "y": 147 }, "width": 364, - "height": 392, + "height": 398, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,10 +90,10 @@ "type": "rectangle", "pos": { "x": 128, - "y": 228 + "y": 238 }, "width": 264, - "height": 256, + "height": 257, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 178, - "y": 278 + "y": 289 }, "width": 164, "height": 156, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 228, - "y": 328 + "y": 339 }, "width": 64, "height": 56, diff --git a/e2etests/testdata/stable/font_sizes_containers_large_right/elk/sketch.exp.svg b/e2etests/testdata/stable/font_sizes_containers_large_right/elk/sketch.exp.svg index 312852604..bf2cd80e1 100644 --- a/e2etests/testdata/stable/font_sizes_containers_large_right/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/font_sizes_containers_large_right/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ninety ninesixty fourthirty twosixteeneight - + .d2-2746824342 .fill-N1{fill:#0A0F25;} + .d2-2746824342 .fill-N2{fill:#676C7E;} + .d2-2746824342 .fill-N3{fill:#9499AB;} + .d2-2746824342 .fill-N4{fill:#CFD2DD;} + .d2-2746824342 .fill-N5{fill:#DEE1EB;} + .d2-2746824342 .fill-N6{fill:#EEF1F8;} + .d2-2746824342 .fill-N7{fill:#FFFFFF;} + .d2-2746824342 .fill-B1{fill:#0D32B2;} + .d2-2746824342 .fill-B2{fill:#0D32B2;} + .d2-2746824342 .fill-B3{fill:#E3E9FD;} + .d2-2746824342 .fill-B4{fill:#E3E9FD;} + .d2-2746824342 .fill-B5{fill:#EDF0FD;} + .d2-2746824342 .fill-B6{fill:#F7F8FE;} + .d2-2746824342 .fill-AA2{fill:#4A6FF3;} + .d2-2746824342 .fill-AA4{fill:#EDF0FD;} + .d2-2746824342 .fill-AA5{fill:#F7F8FE;} + .d2-2746824342 .fill-AB4{fill:#EDF0FD;} + .d2-2746824342 .fill-AB5{fill:#F7F8FE;} + .d2-2746824342 .stroke-N1{stroke:#0A0F25;} + .d2-2746824342 .stroke-N2{stroke:#676C7E;} + .d2-2746824342 .stroke-N3{stroke:#9499AB;} + .d2-2746824342 .stroke-N4{stroke:#CFD2DD;} + .d2-2746824342 .stroke-N5{stroke:#DEE1EB;} + .d2-2746824342 .stroke-N6{stroke:#EEF1F8;} + .d2-2746824342 .stroke-N7{stroke:#FFFFFF;} + .d2-2746824342 .stroke-B1{stroke:#0D32B2;} + .d2-2746824342 .stroke-B2{stroke:#0D32B2;} + .d2-2746824342 .stroke-B3{stroke:#E3E9FD;} + .d2-2746824342 .stroke-B4{stroke:#E3E9FD;} + .d2-2746824342 .stroke-B5{stroke:#EDF0FD;} + .d2-2746824342 .stroke-B6{stroke:#F7F8FE;} + .d2-2746824342 .stroke-AA2{stroke:#4A6FF3;} + .d2-2746824342 .stroke-AA4{stroke:#EDF0FD;} + .d2-2746824342 .stroke-AA5{stroke:#F7F8FE;} + .d2-2746824342 .stroke-AB4{stroke:#EDF0FD;} + .d2-2746824342 .stroke-AB5{stroke:#F7F8FE;} + .d2-2746824342 .background-color-N1{background-color:#0A0F25;} + .d2-2746824342 .background-color-N2{background-color:#676C7E;} + .d2-2746824342 .background-color-N3{background-color:#9499AB;} + .d2-2746824342 .background-color-N4{background-color:#CFD2DD;} + .d2-2746824342 .background-color-N5{background-color:#DEE1EB;} + .d2-2746824342 .background-color-N6{background-color:#EEF1F8;} + .d2-2746824342 .background-color-N7{background-color:#FFFFFF;} + .d2-2746824342 .background-color-B1{background-color:#0D32B2;} + .d2-2746824342 .background-color-B2{background-color:#0D32B2;} + .d2-2746824342 .background-color-B3{background-color:#E3E9FD;} + .d2-2746824342 .background-color-B4{background-color:#E3E9FD;} + .d2-2746824342 .background-color-B5{background-color:#EDF0FD;} + .d2-2746824342 .background-color-B6{background-color:#F7F8FE;} + .d2-2746824342 .background-color-AA2{background-color:#4A6FF3;} + .d2-2746824342 .background-color-AA4{background-color:#EDF0FD;} + .d2-2746824342 .background-color-AA5{background-color:#F7F8FE;} + .d2-2746824342 .background-color-AB4{background-color:#EDF0FD;} + .d2-2746824342 .background-color-AB5{background-color:#F7F8FE;} + .d2-2746824342 .color-N1{color:#0A0F25;} + .d2-2746824342 .color-N2{color:#676C7E;} + .d2-2746824342 .color-N3{color:#9499AB;} + .d2-2746824342 .color-N4{color:#CFD2DD;} + .d2-2746824342 .color-N5{color:#DEE1EB;} + .d2-2746824342 .color-N6{color:#EEF1F8;} + .d2-2746824342 .color-N7{color:#FFFFFF;} + .d2-2746824342 .color-B1{color:#0D32B2;} + .d2-2746824342 .color-B2{color:#0D32B2;} + .d2-2746824342 .color-B3{color:#E3E9FD;} + .d2-2746824342 .color-B4{color:#E3E9FD;} + .d2-2746824342 .color-B5{color:#EDF0FD;} + .d2-2746824342 .color-B6{color:#F7F8FE;} + .d2-2746824342 .color-AA2{color:#4A6FF3;} + .d2-2746824342 .color-AA4{color:#EDF0FD;} + .d2-2746824342 .color-AA5{color:#F7F8FE;} + .d2-2746824342 .color-AB4{color:#EDF0FD;} + .d2-2746824342 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ninety ninesixty fourthirty twosixteeneight + - - - - + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/giant_markdown_test/dagre/sketch.exp.svg b/e2etests/testdata/stable/giant_markdown_test/dagre/sketch.exp.svg index 8fd342297..b6df3f7e3 100644 --- a/e2etests/testdata/stable/giant_markdown_test/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/giant_markdown_test/dagre/sketch.exp.svg @@ -1,34 +1,34 @@ -

    Markdown: Syntax

    @@ -1107,7 +1107,7 @@ title for the link, surrounded in quotes. For example:

    Code

    Unlike a pre-formatted code block, a code span indicates code within a normal paragraph. For example:

    -
    ab +ab diff --git a/e2etests/testdata/stable/giant_markdown_test/elk/sketch.exp.svg b/e2etests/testdata/stable/giant_markdown_test/elk/sketch.exp.svg index 7f0b6166c..b5c359b5d 100644 --- a/e2etests/testdata/stable/giant_markdown_test/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/giant_markdown_test/elk/sketch.exp.svg @@ -1,34 +1,34 @@ -

    Markdown: Syntax

    @@ -1107,7 +1107,7 @@ title for the link, surrounded in quotes. For example:

    Code

    Unlike a pre-formatted code block, a code span indicates code within a normal paragraph. For example:

    -
    ab +ab diff --git a/e2etests/testdata/stable/grid_animated/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_animated/dagre/sketch.exp.svg index 109665aab..5e521cab2 100644 --- a/e2etests/testdata/stable/grid_animated/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_animated/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -rows 2 columns 3 (<cap)a +}]]>rows 2 columns 3 (<cap)a -rows 2 columns 3 (<cap)ab +rows 2 columns 3 (<cap)ab -rows 2 columns 3 (<cap)abc +rows 2 columns 3 (<cap)abc -rows 2 columns 3 (<cap)abcd +rows 2 columns 3 (<cap)abcd -rows 2 columns 3 (<cap)abcde +rows 2 columns 3 (<cap)abcde @@ -273,7 +273,7 @@ -rows 2 columns 3 (=cap)abcdef +rows 2 columns 3 (=cap)abcdef @@ -282,7 +282,7 @@ -rows 2 columns 3 (=cap)abcdef +rows 2 columns 3 (=cap)abcdef @@ -291,7 +291,7 @@ -rows 2 columns 3 (=cap)abcdef +rows 2 columns 3 (=cap)abcdef @@ -300,7 +300,7 @@ -rows 2 columns 3 (>cap)abcdefg +rows 2 columns 3 (>cap)abcdefg @@ -310,7 +310,7 @@ -rows 2 columns 3 (>cap)abcdefgh +rows 2 columns 3 (>cap)abcdefgh @@ -321,7 +321,7 @@ -rows 2 columns 3 (>cap)abcdefghi +rows 2 columns 3 (>cap)abcdefghi @@ -333,7 +333,7 @@ -rows 2 columns 3 (>cap)abcdefghij +rows 2 columns 3 (>cap)abcdefghij @@ -346,7 +346,7 @@ -rows 2 columns 3 (>cap)abcdefghijk +rows 2 columns 3 (>cap)abcdefghijk @@ -360,7 +360,7 @@ -rows 2 columns 3 (>cap)abcdefghijkl +rows 2 columns 3 (>cap)abcdefghijkl @@ -375,7 +375,7 @@ -rows 2 columns 3 (>cap)abcdefghijkl +rows 2 columns 3 (>cap)abcdefghijkl diff --git a/e2etests/testdata/stable/grid_animated/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_animated/elk/sketch.exp.svg index 910506bd1..b65ded4ec 100644 --- a/e2etests/testdata/stable/grid_animated/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_animated/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -rows 2 columns 3 (<cap)a +}]]>rows 2 columns 3 (<cap)a -rows 2 columns 3 (<cap)ab +rows 2 columns 3 (<cap)ab -rows 2 columns 3 (<cap)abc +rows 2 columns 3 (<cap)abc -rows 2 columns 3 (<cap)abcd +rows 2 columns 3 (<cap)abcd -rows 2 columns 3 (<cap)abcde +rows 2 columns 3 (<cap)abcde @@ -273,7 +273,7 @@ -rows 2 columns 3 (=cap)abcdef +rows 2 columns 3 (=cap)abcdef @@ -282,7 +282,7 @@ -rows 2 columns 3 (=cap)abcdef +rows 2 columns 3 (=cap)abcdef @@ -291,7 +291,7 @@ -rows 2 columns 3 (=cap)abcdef +rows 2 columns 3 (=cap)abcdef @@ -300,7 +300,7 @@ -rows 2 columns 3 (>cap)abcdefg +rows 2 columns 3 (>cap)abcdefg @@ -310,7 +310,7 @@ -rows 2 columns 3 (>cap)abcdefgh +rows 2 columns 3 (>cap)abcdefgh @@ -321,7 +321,7 @@ -rows 2 columns 3 (>cap)abcdefghi +rows 2 columns 3 (>cap)abcdefghi @@ -333,7 +333,7 @@ -rows 2 columns 3 (>cap)abcdefghij +rows 2 columns 3 (>cap)abcdefghij @@ -346,7 +346,7 @@ -rows 2 columns 3 (>cap)abcdefghijk +rows 2 columns 3 (>cap)abcdefghijk @@ -360,7 +360,7 @@ -rows 2 columns 3 (>cap)abcdefghijkl +rows 2 columns 3 (>cap)abcdefghijkl @@ -375,7 +375,7 @@ -rows 2 columns 3 (>cap)abcdefghijkl +rows 2 columns 3 (>cap)abcdefghijkl diff --git a/e2etests/testdata/stable/grid_even/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_even/dagre/sketch.exp.svg index fdd03c2ab..31ad993c0 100644 --- a/e2etests/testdata/stable/grid_even/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_even/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -row no growthrow 200 growthrow big growthcolumn no growthcolumn 200 growthcolumn big growthabcdeabcdeabcdeabcdeabcdeabcde + .d2-524743089 .fill-N1{fill:#0A0F25;} + .d2-524743089 .fill-N2{fill:#676C7E;} + .d2-524743089 .fill-N3{fill:#9499AB;} + .d2-524743089 .fill-N4{fill:#CFD2DD;} + .d2-524743089 .fill-N5{fill:#DEE1EB;} + .d2-524743089 .fill-N6{fill:#EEF1F8;} + .d2-524743089 .fill-N7{fill:#FFFFFF;} + .d2-524743089 .fill-B1{fill:#0D32B2;} + .d2-524743089 .fill-B2{fill:#0D32B2;} + .d2-524743089 .fill-B3{fill:#E3E9FD;} + .d2-524743089 .fill-B4{fill:#E3E9FD;} + .d2-524743089 .fill-B5{fill:#EDF0FD;} + .d2-524743089 .fill-B6{fill:#F7F8FE;} + .d2-524743089 .fill-AA2{fill:#4A6FF3;} + .d2-524743089 .fill-AA4{fill:#EDF0FD;} + .d2-524743089 .fill-AA5{fill:#F7F8FE;} + .d2-524743089 .fill-AB4{fill:#EDF0FD;} + .d2-524743089 .fill-AB5{fill:#F7F8FE;} + .d2-524743089 .stroke-N1{stroke:#0A0F25;} + .d2-524743089 .stroke-N2{stroke:#676C7E;} + .d2-524743089 .stroke-N3{stroke:#9499AB;} + .d2-524743089 .stroke-N4{stroke:#CFD2DD;} + .d2-524743089 .stroke-N5{stroke:#DEE1EB;} + .d2-524743089 .stroke-N6{stroke:#EEF1F8;} + .d2-524743089 .stroke-N7{stroke:#FFFFFF;} + .d2-524743089 .stroke-B1{stroke:#0D32B2;} + .d2-524743089 .stroke-B2{stroke:#0D32B2;} + .d2-524743089 .stroke-B3{stroke:#E3E9FD;} + .d2-524743089 .stroke-B4{stroke:#E3E9FD;} + .d2-524743089 .stroke-B5{stroke:#EDF0FD;} + .d2-524743089 .stroke-B6{stroke:#F7F8FE;} + .d2-524743089 .stroke-AA2{stroke:#4A6FF3;} + .d2-524743089 .stroke-AA4{stroke:#EDF0FD;} + .d2-524743089 .stroke-AA5{stroke:#F7F8FE;} + .d2-524743089 .stroke-AB4{stroke:#EDF0FD;} + .d2-524743089 .stroke-AB5{stroke:#F7F8FE;} + .d2-524743089 .background-color-N1{background-color:#0A0F25;} + .d2-524743089 .background-color-N2{background-color:#676C7E;} + .d2-524743089 .background-color-N3{background-color:#9499AB;} + .d2-524743089 .background-color-N4{background-color:#CFD2DD;} + .d2-524743089 .background-color-N5{background-color:#DEE1EB;} + .d2-524743089 .background-color-N6{background-color:#EEF1F8;} + .d2-524743089 .background-color-N7{background-color:#FFFFFF;} + .d2-524743089 .background-color-B1{background-color:#0D32B2;} + .d2-524743089 .background-color-B2{background-color:#0D32B2;} + .d2-524743089 .background-color-B3{background-color:#E3E9FD;} + .d2-524743089 .background-color-B4{background-color:#E3E9FD;} + .d2-524743089 .background-color-B5{background-color:#EDF0FD;} + .d2-524743089 .background-color-B6{background-color:#F7F8FE;} + .d2-524743089 .background-color-AA2{background-color:#4A6FF3;} + .d2-524743089 .background-color-AA4{background-color:#EDF0FD;} + .d2-524743089 .background-color-AA5{background-color:#F7F8FE;} + .d2-524743089 .background-color-AB4{background-color:#EDF0FD;} + .d2-524743089 .background-color-AB5{background-color:#F7F8FE;} + .d2-524743089 .color-N1{color:#0A0F25;} + .d2-524743089 .color-N2{color:#676C7E;} + .d2-524743089 .color-N3{color:#9499AB;} + .d2-524743089 .color-N4{color:#CFD2DD;} + .d2-524743089 .color-N5{color:#DEE1EB;} + .d2-524743089 .color-N6{color:#EEF1F8;} + .d2-524743089 .color-N7{color:#FFFFFF;} + .d2-524743089 .color-B1{color:#0D32B2;} + .d2-524743089 .color-B2{color:#0D32B2;} + .d2-524743089 .color-B3{color:#E3E9FD;} + .d2-524743089 .color-B4{color:#E3E9FD;} + .d2-524743089 .color-B5{color:#EDF0FD;} + .d2-524743089 .color-B6{color:#F7F8FE;} + .d2-524743089 .color-AA2{color:#4A6FF3;} + .d2-524743089 .color-AA4{color:#EDF0FD;} + .d2-524743089 .color-AA5{color:#F7F8FE;} + .d2-524743089 .color-AB4{color:#EDF0FD;} + .d2-524743089 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>row no growthrow 200 growthrow big growthcolumn no growthcolumn 200 growthcolumn big growthabcdeabcdeabcdeabcdeabcdeabcde diff --git a/e2etests/testdata/stable/grid_even/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_even/elk/sketch.exp.svg index c0a207b8e..2b03a9935 100644 --- a/e2etests/testdata/stable/grid_even/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_even/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -row no growthrow 200 growthrow big growthcolumn no growthcolumn 200 growthcolumn big growthabcdeabcdeabcdeabcdeabcdeabcde + .d2-3169795098 .fill-N1{fill:#0A0F25;} + .d2-3169795098 .fill-N2{fill:#676C7E;} + .d2-3169795098 .fill-N3{fill:#9499AB;} + .d2-3169795098 .fill-N4{fill:#CFD2DD;} + .d2-3169795098 .fill-N5{fill:#DEE1EB;} + .d2-3169795098 .fill-N6{fill:#EEF1F8;} + .d2-3169795098 .fill-N7{fill:#FFFFFF;} + .d2-3169795098 .fill-B1{fill:#0D32B2;} + .d2-3169795098 .fill-B2{fill:#0D32B2;} + .d2-3169795098 .fill-B3{fill:#E3E9FD;} + .d2-3169795098 .fill-B4{fill:#E3E9FD;} + .d2-3169795098 .fill-B5{fill:#EDF0FD;} + .d2-3169795098 .fill-B6{fill:#F7F8FE;} + .d2-3169795098 .fill-AA2{fill:#4A6FF3;} + .d2-3169795098 .fill-AA4{fill:#EDF0FD;} + .d2-3169795098 .fill-AA5{fill:#F7F8FE;} + .d2-3169795098 .fill-AB4{fill:#EDF0FD;} + .d2-3169795098 .fill-AB5{fill:#F7F8FE;} + .d2-3169795098 .stroke-N1{stroke:#0A0F25;} + .d2-3169795098 .stroke-N2{stroke:#676C7E;} + .d2-3169795098 .stroke-N3{stroke:#9499AB;} + .d2-3169795098 .stroke-N4{stroke:#CFD2DD;} + .d2-3169795098 .stroke-N5{stroke:#DEE1EB;} + .d2-3169795098 .stroke-N6{stroke:#EEF1F8;} + .d2-3169795098 .stroke-N7{stroke:#FFFFFF;} + .d2-3169795098 .stroke-B1{stroke:#0D32B2;} + .d2-3169795098 .stroke-B2{stroke:#0D32B2;} + .d2-3169795098 .stroke-B3{stroke:#E3E9FD;} + .d2-3169795098 .stroke-B4{stroke:#E3E9FD;} + .d2-3169795098 .stroke-B5{stroke:#EDF0FD;} + .d2-3169795098 .stroke-B6{stroke:#F7F8FE;} + .d2-3169795098 .stroke-AA2{stroke:#4A6FF3;} + .d2-3169795098 .stroke-AA4{stroke:#EDF0FD;} + .d2-3169795098 .stroke-AA5{stroke:#F7F8FE;} + .d2-3169795098 .stroke-AB4{stroke:#EDF0FD;} + .d2-3169795098 .stroke-AB5{stroke:#F7F8FE;} + .d2-3169795098 .background-color-N1{background-color:#0A0F25;} + .d2-3169795098 .background-color-N2{background-color:#676C7E;} + .d2-3169795098 .background-color-N3{background-color:#9499AB;} + .d2-3169795098 .background-color-N4{background-color:#CFD2DD;} + .d2-3169795098 .background-color-N5{background-color:#DEE1EB;} + .d2-3169795098 .background-color-N6{background-color:#EEF1F8;} + .d2-3169795098 .background-color-N7{background-color:#FFFFFF;} + .d2-3169795098 .background-color-B1{background-color:#0D32B2;} + .d2-3169795098 .background-color-B2{background-color:#0D32B2;} + .d2-3169795098 .background-color-B3{background-color:#E3E9FD;} + .d2-3169795098 .background-color-B4{background-color:#E3E9FD;} + .d2-3169795098 .background-color-B5{background-color:#EDF0FD;} + .d2-3169795098 .background-color-B6{background-color:#F7F8FE;} + .d2-3169795098 .background-color-AA2{background-color:#4A6FF3;} + .d2-3169795098 .background-color-AA4{background-color:#EDF0FD;} + .d2-3169795098 .background-color-AA5{background-color:#F7F8FE;} + .d2-3169795098 .background-color-AB4{background-color:#EDF0FD;} + .d2-3169795098 .background-color-AB5{background-color:#F7F8FE;} + .d2-3169795098 .color-N1{color:#0A0F25;} + .d2-3169795098 .color-N2{color:#676C7E;} + .d2-3169795098 .color-N3{color:#9499AB;} + .d2-3169795098 .color-N4{color:#CFD2DD;} + .d2-3169795098 .color-N5{color:#DEE1EB;} + .d2-3169795098 .color-N6{color:#EEF1F8;} + .d2-3169795098 .color-N7{color:#FFFFFF;} + .d2-3169795098 .color-B1{color:#0D32B2;} + .d2-3169795098 .color-B2{color:#0D32B2;} + .d2-3169795098 .color-B3{color:#E3E9FD;} + .d2-3169795098 .color-B4{color:#E3E9FD;} + .d2-3169795098 .color-B5{color:#EDF0FD;} + .d2-3169795098 .color-B6{color:#F7F8FE;} + .d2-3169795098 .color-AA2{color:#4A6FF3;} + .d2-3169795098 .color-AA4{color:#EDF0FD;} + .d2-3169795098 .color-AA5{color:#F7F8FE;} + .d2-3169795098 .color-AB4{color:#EDF0FD;} + .d2-3169795098 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>row no growthrow 200 growthrow big growthcolumn no growthcolumn 200 growthcolumn big growthabcdeabcdeabcdeabcdeabcdeabcde diff --git a/e2etests/testdata/stable/grid_gap/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_gap/dagre/sketch.exp.svg index 0990001c1..56bf7cf05 100644 --- a/e2etests/testdata/stable/grid_gap/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_gap/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -vertical-gap 30 horizontal-gap 100vertical-gap 100 horizontal-gap 30gap 0gap 10 vertical-gap 100abcdefghiabcdefghiabcdefghiabcdefghi + .d2-1904877933 .fill-N1{fill:#0A0F25;} + .d2-1904877933 .fill-N2{fill:#676C7E;} + .d2-1904877933 .fill-N3{fill:#9499AB;} + .d2-1904877933 .fill-N4{fill:#CFD2DD;} + .d2-1904877933 .fill-N5{fill:#DEE1EB;} + .d2-1904877933 .fill-N6{fill:#EEF1F8;} + .d2-1904877933 .fill-N7{fill:#FFFFFF;} + .d2-1904877933 .fill-B1{fill:#0D32B2;} + .d2-1904877933 .fill-B2{fill:#0D32B2;} + .d2-1904877933 .fill-B3{fill:#E3E9FD;} + .d2-1904877933 .fill-B4{fill:#E3E9FD;} + .d2-1904877933 .fill-B5{fill:#EDF0FD;} + .d2-1904877933 .fill-B6{fill:#F7F8FE;} + .d2-1904877933 .fill-AA2{fill:#4A6FF3;} + .d2-1904877933 .fill-AA4{fill:#EDF0FD;} + .d2-1904877933 .fill-AA5{fill:#F7F8FE;} + .d2-1904877933 .fill-AB4{fill:#EDF0FD;} + .d2-1904877933 .fill-AB5{fill:#F7F8FE;} + .d2-1904877933 .stroke-N1{stroke:#0A0F25;} + .d2-1904877933 .stroke-N2{stroke:#676C7E;} + .d2-1904877933 .stroke-N3{stroke:#9499AB;} + .d2-1904877933 .stroke-N4{stroke:#CFD2DD;} + .d2-1904877933 .stroke-N5{stroke:#DEE1EB;} + .d2-1904877933 .stroke-N6{stroke:#EEF1F8;} + .d2-1904877933 .stroke-N7{stroke:#FFFFFF;} + .d2-1904877933 .stroke-B1{stroke:#0D32B2;} + .d2-1904877933 .stroke-B2{stroke:#0D32B2;} + .d2-1904877933 .stroke-B3{stroke:#E3E9FD;} + .d2-1904877933 .stroke-B4{stroke:#E3E9FD;} + .d2-1904877933 .stroke-B5{stroke:#EDF0FD;} + .d2-1904877933 .stroke-B6{stroke:#F7F8FE;} + .d2-1904877933 .stroke-AA2{stroke:#4A6FF3;} + .d2-1904877933 .stroke-AA4{stroke:#EDF0FD;} + .d2-1904877933 .stroke-AA5{stroke:#F7F8FE;} + .d2-1904877933 .stroke-AB4{stroke:#EDF0FD;} + .d2-1904877933 .stroke-AB5{stroke:#F7F8FE;} + .d2-1904877933 .background-color-N1{background-color:#0A0F25;} + .d2-1904877933 .background-color-N2{background-color:#676C7E;} + .d2-1904877933 .background-color-N3{background-color:#9499AB;} + .d2-1904877933 .background-color-N4{background-color:#CFD2DD;} + .d2-1904877933 .background-color-N5{background-color:#DEE1EB;} + .d2-1904877933 .background-color-N6{background-color:#EEF1F8;} + .d2-1904877933 .background-color-N7{background-color:#FFFFFF;} + .d2-1904877933 .background-color-B1{background-color:#0D32B2;} + .d2-1904877933 .background-color-B2{background-color:#0D32B2;} + .d2-1904877933 .background-color-B3{background-color:#E3E9FD;} + .d2-1904877933 .background-color-B4{background-color:#E3E9FD;} + .d2-1904877933 .background-color-B5{background-color:#EDF0FD;} + .d2-1904877933 .background-color-B6{background-color:#F7F8FE;} + .d2-1904877933 .background-color-AA2{background-color:#4A6FF3;} + .d2-1904877933 .background-color-AA4{background-color:#EDF0FD;} + .d2-1904877933 .background-color-AA5{background-color:#F7F8FE;} + .d2-1904877933 .background-color-AB4{background-color:#EDF0FD;} + .d2-1904877933 .background-color-AB5{background-color:#F7F8FE;} + .d2-1904877933 .color-N1{color:#0A0F25;} + .d2-1904877933 .color-N2{color:#676C7E;} + .d2-1904877933 .color-N3{color:#9499AB;} + .d2-1904877933 .color-N4{color:#CFD2DD;} + .d2-1904877933 .color-N5{color:#DEE1EB;} + .d2-1904877933 .color-N6{color:#EEF1F8;} + .d2-1904877933 .color-N7{color:#FFFFFF;} + .d2-1904877933 .color-B1{color:#0D32B2;} + .d2-1904877933 .color-B2{color:#0D32B2;} + .d2-1904877933 .color-B3{color:#E3E9FD;} + .d2-1904877933 .color-B4{color:#E3E9FD;} + .d2-1904877933 .color-B5{color:#EDF0FD;} + .d2-1904877933 .color-B6{color:#F7F8FE;} + .d2-1904877933 .color-AA2{color:#4A6FF3;} + .d2-1904877933 .color-AA4{color:#EDF0FD;} + .d2-1904877933 .color-AA5{color:#F7F8FE;} + .d2-1904877933 .color-AB4{color:#EDF0FD;} + .d2-1904877933 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>vertical-gap 30 horizontal-gap 100vertical-gap 100 horizontal-gap 30gap 0gap 10 vertical-gap 100abcdefghiabcdefghiabcdefghiabcdefghi diff --git a/e2etests/testdata/stable/grid_gap/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_gap/elk/sketch.exp.svg index 4ba26a75e..eff675c8a 100644 --- a/e2etests/testdata/stable/grid_gap/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_gap/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -vertical-gap 30 horizontal-gap 100vertical-gap 100 horizontal-gap 30gap 0gap 10 vertical-gap 100abcdefghiabcdefghiabcdefghiabcdefghi + .d2-3477418149 .fill-N1{fill:#0A0F25;} + .d2-3477418149 .fill-N2{fill:#676C7E;} + .d2-3477418149 .fill-N3{fill:#9499AB;} + .d2-3477418149 .fill-N4{fill:#CFD2DD;} + .d2-3477418149 .fill-N5{fill:#DEE1EB;} + .d2-3477418149 .fill-N6{fill:#EEF1F8;} + .d2-3477418149 .fill-N7{fill:#FFFFFF;} + .d2-3477418149 .fill-B1{fill:#0D32B2;} + .d2-3477418149 .fill-B2{fill:#0D32B2;} + .d2-3477418149 .fill-B3{fill:#E3E9FD;} + .d2-3477418149 .fill-B4{fill:#E3E9FD;} + .d2-3477418149 .fill-B5{fill:#EDF0FD;} + .d2-3477418149 .fill-B6{fill:#F7F8FE;} + .d2-3477418149 .fill-AA2{fill:#4A6FF3;} + .d2-3477418149 .fill-AA4{fill:#EDF0FD;} + .d2-3477418149 .fill-AA5{fill:#F7F8FE;} + .d2-3477418149 .fill-AB4{fill:#EDF0FD;} + .d2-3477418149 .fill-AB5{fill:#F7F8FE;} + .d2-3477418149 .stroke-N1{stroke:#0A0F25;} + .d2-3477418149 .stroke-N2{stroke:#676C7E;} + .d2-3477418149 .stroke-N3{stroke:#9499AB;} + .d2-3477418149 .stroke-N4{stroke:#CFD2DD;} + .d2-3477418149 .stroke-N5{stroke:#DEE1EB;} + .d2-3477418149 .stroke-N6{stroke:#EEF1F8;} + .d2-3477418149 .stroke-N7{stroke:#FFFFFF;} + .d2-3477418149 .stroke-B1{stroke:#0D32B2;} + .d2-3477418149 .stroke-B2{stroke:#0D32B2;} + .d2-3477418149 .stroke-B3{stroke:#E3E9FD;} + .d2-3477418149 .stroke-B4{stroke:#E3E9FD;} + .d2-3477418149 .stroke-B5{stroke:#EDF0FD;} + .d2-3477418149 .stroke-B6{stroke:#F7F8FE;} + .d2-3477418149 .stroke-AA2{stroke:#4A6FF3;} + .d2-3477418149 .stroke-AA4{stroke:#EDF0FD;} + .d2-3477418149 .stroke-AA5{stroke:#F7F8FE;} + .d2-3477418149 .stroke-AB4{stroke:#EDF0FD;} + .d2-3477418149 .stroke-AB5{stroke:#F7F8FE;} + .d2-3477418149 .background-color-N1{background-color:#0A0F25;} + .d2-3477418149 .background-color-N2{background-color:#676C7E;} + .d2-3477418149 .background-color-N3{background-color:#9499AB;} + .d2-3477418149 .background-color-N4{background-color:#CFD2DD;} + .d2-3477418149 .background-color-N5{background-color:#DEE1EB;} + .d2-3477418149 .background-color-N6{background-color:#EEF1F8;} + .d2-3477418149 .background-color-N7{background-color:#FFFFFF;} + .d2-3477418149 .background-color-B1{background-color:#0D32B2;} + .d2-3477418149 .background-color-B2{background-color:#0D32B2;} + .d2-3477418149 .background-color-B3{background-color:#E3E9FD;} + .d2-3477418149 .background-color-B4{background-color:#E3E9FD;} + .d2-3477418149 .background-color-B5{background-color:#EDF0FD;} + .d2-3477418149 .background-color-B6{background-color:#F7F8FE;} + .d2-3477418149 .background-color-AA2{background-color:#4A6FF3;} + .d2-3477418149 .background-color-AA4{background-color:#EDF0FD;} + .d2-3477418149 .background-color-AA5{background-color:#F7F8FE;} + .d2-3477418149 .background-color-AB4{background-color:#EDF0FD;} + .d2-3477418149 .background-color-AB5{background-color:#F7F8FE;} + .d2-3477418149 .color-N1{color:#0A0F25;} + .d2-3477418149 .color-N2{color:#676C7E;} + .d2-3477418149 .color-N3{color:#9499AB;} + .d2-3477418149 .color-N4{color:#CFD2DD;} + .d2-3477418149 .color-N5{color:#DEE1EB;} + .d2-3477418149 .color-N6{color:#EEF1F8;} + .d2-3477418149 .color-N7{color:#FFFFFF;} + .d2-3477418149 .color-B1{color:#0D32B2;} + .d2-3477418149 .color-B2{color:#0D32B2;} + .d2-3477418149 .color-B3{color:#E3E9FD;} + .d2-3477418149 .color-B4{color:#E3E9FD;} + .d2-3477418149 .color-B5{color:#EDF0FD;} + .d2-3477418149 .color-B6{color:#F7F8FE;} + .d2-3477418149 .color-AA2{color:#4A6FF3;} + .d2-3477418149 .color-AA4{color:#EDF0FD;} + .d2-3477418149 .color-AA5{color:#F7F8FE;} + .d2-3477418149 .color-AB4{color:#EDF0FD;} + .d2-3477418149 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>vertical-gap 30 horizontal-gap 100vertical-gap 100 horizontal-gap 30gap 0gap 10 vertical-gap 100abcdefghiabcdefghiabcdefghiabcdefghi diff --git a/e2etests/testdata/stable/grid_icon/dagre/board.exp.json b/e2etests/testdata/stable/grid_icon/dagre/board.exp.json index 4ad3f73ef..e8b5da641 100644 --- a/e2etests/testdata/stable/grid_icon/dagre/board.exp.json +++ b/e2etests/testdata/stable/grid_icon/dagre/board.exp.json @@ -11,10 +11,10 @@ ], "pos": { "x": 0, - "y": 18 + "y": 0 }, - "width": 384, - "height": 421, + "width": 364, + "height": 417, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -52,10 +52,10 @@ "type": "rectangle", "pos": { "x": 60, - "y": 143 + "y": 125 }, "width": 53, - "height": 130, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -93,10 +93,10 @@ "type": "rectangle", "pos": { "x": 153, - "y": 143 + "y": 125 }, - "width": 171, - "height": 130, + "width": 151, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -145,8 +145,8 @@ "id": "grid w/ container + icon.b.b child", "type": "rectangle", "pos": { - "x": 193, - "y": 175 + "x": 183, + "y": 155 }, "width": 91, "height": 66, @@ -187,7 +187,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 313 + "y": 291 }, "width": 53, "height": 66, @@ -228,9 +228,9 @@ "type": "rectangle", "pos": { "x": 153, - "y": 313 + "y": 291 }, - "width": 171, + "width": 151, "height": 66, "opacity": 1, "strokeDash": 0, @@ -271,11 +271,11 @@ "2x2" ], "pos": { - "x": 444, - "y": 55 + "x": 424, + "y": 56 }, "width": 278, - "height": 347, + "height": 306, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -324,8 +324,8 @@ "id": "grid + icon.a", "type": "rectangle", "pos": { - "x": 509, - "y": 129 + "x": 489, + "y": 130 }, "width": 53, "height": 66, @@ -365,8 +365,8 @@ "id": "grid + icon.b", "type": "rectangle", "pos": { - "x": 602, - "y": 129 + "x": 582, + "y": 130 }, "width": 54, "height": 66, @@ -406,8 +406,8 @@ "id": "grid + icon.c", "type": "rectangle", "pos": { - "x": 509, - "y": 235 + "x": 489, + "y": 236 }, "width": 53, "height": 66, @@ -447,8 +447,8 @@ "id": "grid + icon.d", "type": "rectangle", "pos": { - "x": 602, - "y": 235 + "x": 582, + "y": 236 }, "width": 54, "height": 66, @@ -491,11 +491,11 @@ "2x2" ], "pos": { - "x": 782, - "y": 0 + "x": 762, + "y": 3 }, "width": 433, - "height": 457, + "height": 412, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -544,11 +544,11 @@ "id": "grid + icon w/ container.a", "type": "rectangle", "pos": { - "x": 866, - "y": 120 + "x": 856, + "y": 123 }, "width": 53, - "height": 130, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -585,11 +585,11 @@ "id": "grid + icon w/ container.b", "type": "rectangle", "pos": { - "x": 959, - "y": 120 + "x": 949, + "y": 123 }, - "width": 171, - "height": 130, + "width": 151, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -626,8 +626,8 @@ "id": "grid + icon w/ container.b.b child", "type": "rectangle", "pos": { - "x": 999, - "y": 152 + "x": 979, + "y": 153 }, "width": 91, "height": 66, @@ -667,8 +667,8 @@ "id": "grid + icon w/ container.c", "type": "rectangle", "pos": { - "x": 866, - "y": 290 + "x": 856, + "y": 289 }, "width": 53, "height": 66, @@ -708,10 +708,10 @@ "id": "grid + icon w/ container.d", "type": "rectangle", "pos": { - "x": 959, - "y": 290 + "x": 949, + "y": 289 }, - "width": 171, + "width": 151, "height": 66, "opacity": 1, "strokeDash": 0, @@ -752,11 +752,11 @@ "2x2" ], "pos": { - "x": 1275, - "y": 41 + "x": 1255, + "y": 23 }, - "width": 384, - "height": 375, + "width": 364, + "height": 371, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -793,11 +793,11 @@ "id": "no label grid w/ container + icon.a", "type": "rectangle", "pos": { - "x": 1335, - "y": 120 + "x": 1315, + "y": 102 }, "width": 53, - "height": 130, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -834,11 +834,11 @@ "id": "no label grid w/ container + icon.b", "type": "rectangle", "pos": { - "x": 1428, - "y": 120 + "x": 1408, + "y": 102 }, - "width": 171, - "height": 130, + "width": 151, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -887,8 +887,8 @@ "id": "no label grid w/ container + icon.b.b child", "type": "rectangle", "pos": { - "x": 1468, - "y": 152 + "x": 1438, + "y": 132 }, "width": 91, "height": 66, @@ -928,8 +928,8 @@ "id": "no label grid w/ container + icon.c", "type": "rectangle", "pos": { - "x": 1335, - "y": 290 + "x": 1315, + "y": 268 }, "width": 53, "height": 66, @@ -969,10 +969,10 @@ "id": "no label grid w/ container + icon.d", "type": "rectangle", "pos": { - "x": 1428, - "y": 290 + "x": 1408, + "y": 268 }, - "width": 171, + "width": 151, "height": 66, "opacity": 1, "strokeDash": 0, @@ -1013,8 +1013,8 @@ "2x2" ], "pos": { - "x": 1719, - "y": 76 + "x": 1679, + "y": 56 }, "width": 267, "height": 306, @@ -1066,8 +1066,8 @@ "id": "no label grid + icon.a", "type": "rectangle", "pos": { - "x": 1779, - "y": 150 + "x": 1739, + "y": 130 }, "width": 53, "height": 66, @@ -1107,8 +1107,8 @@ "id": "no label grid + icon.b", "type": "rectangle", "pos": { - "x": 1872, - "y": 150 + "x": 1832, + "y": 130 }, "width": 54, "height": 66, @@ -1148,8 +1148,8 @@ "id": "no label grid + icon.c", "type": "rectangle", "pos": { - "x": 1779, - "y": 256 + "x": 1739, + "y": 236 }, "width": 53, "height": 66, @@ -1189,8 +1189,8 @@ "id": "no label grid + icon.d", "type": "rectangle", "pos": { - "x": 1872, - "y": 256 + "x": 1832, + "y": 236 }, "width": 54, "height": 66, diff --git a/e2etests/testdata/stable/grid_icon/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_icon/dagre/sketch.exp.svg index b99a5e2d2..19613f529 100644 --- a/e2etests/testdata/stable/grid_icon/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_icon/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -grid w/ container + icongrid + icongrid + icon w/ containerabcdabcdabcdabcdabcdb childb childb child - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-447179389 .fill-N1{fill:#0A0F25;} + .d2-447179389 .fill-N2{fill:#676C7E;} + .d2-447179389 .fill-N3{fill:#9499AB;} + .d2-447179389 .fill-N4{fill:#CFD2DD;} + .d2-447179389 .fill-N5{fill:#DEE1EB;} + .d2-447179389 .fill-N6{fill:#EEF1F8;} + .d2-447179389 .fill-N7{fill:#FFFFFF;} + .d2-447179389 .fill-B1{fill:#0D32B2;} + .d2-447179389 .fill-B2{fill:#0D32B2;} + .d2-447179389 .fill-B3{fill:#E3E9FD;} + .d2-447179389 .fill-B4{fill:#E3E9FD;} + .d2-447179389 .fill-B5{fill:#EDF0FD;} + .d2-447179389 .fill-B6{fill:#F7F8FE;} + .d2-447179389 .fill-AA2{fill:#4A6FF3;} + .d2-447179389 .fill-AA4{fill:#EDF0FD;} + .d2-447179389 .fill-AA5{fill:#F7F8FE;} + .d2-447179389 .fill-AB4{fill:#EDF0FD;} + .d2-447179389 .fill-AB5{fill:#F7F8FE;} + .d2-447179389 .stroke-N1{stroke:#0A0F25;} + .d2-447179389 .stroke-N2{stroke:#676C7E;} + .d2-447179389 .stroke-N3{stroke:#9499AB;} + .d2-447179389 .stroke-N4{stroke:#CFD2DD;} + .d2-447179389 .stroke-N5{stroke:#DEE1EB;} + .d2-447179389 .stroke-N6{stroke:#EEF1F8;} + .d2-447179389 .stroke-N7{stroke:#FFFFFF;} + .d2-447179389 .stroke-B1{stroke:#0D32B2;} + .d2-447179389 .stroke-B2{stroke:#0D32B2;} + .d2-447179389 .stroke-B3{stroke:#E3E9FD;} + .d2-447179389 .stroke-B4{stroke:#E3E9FD;} + .d2-447179389 .stroke-B5{stroke:#EDF0FD;} + .d2-447179389 .stroke-B6{stroke:#F7F8FE;} + .d2-447179389 .stroke-AA2{stroke:#4A6FF3;} + .d2-447179389 .stroke-AA4{stroke:#EDF0FD;} + .d2-447179389 .stroke-AA5{stroke:#F7F8FE;} + .d2-447179389 .stroke-AB4{stroke:#EDF0FD;} + .d2-447179389 .stroke-AB5{stroke:#F7F8FE;} + .d2-447179389 .background-color-N1{background-color:#0A0F25;} + .d2-447179389 .background-color-N2{background-color:#676C7E;} + .d2-447179389 .background-color-N3{background-color:#9499AB;} + .d2-447179389 .background-color-N4{background-color:#CFD2DD;} + .d2-447179389 .background-color-N5{background-color:#DEE1EB;} + .d2-447179389 .background-color-N6{background-color:#EEF1F8;} + .d2-447179389 .background-color-N7{background-color:#FFFFFF;} + .d2-447179389 .background-color-B1{background-color:#0D32B2;} + .d2-447179389 .background-color-B2{background-color:#0D32B2;} + .d2-447179389 .background-color-B3{background-color:#E3E9FD;} + .d2-447179389 .background-color-B4{background-color:#E3E9FD;} + .d2-447179389 .background-color-B5{background-color:#EDF0FD;} + .d2-447179389 .background-color-B6{background-color:#F7F8FE;} + .d2-447179389 .background-color-AA2{background-color:#4A6FF3;} + .d2-447179389 .background-color-AA4{background-color:#EDF0FD;} + .d2-447179389 .background-color-AA5{background-color:#F7F8FE;} + .d2-447179389 .background-color-AB4{background-color:#EDF0FD;} + .d2-447179389 .background-color-AB5{background-color:#F7F8FE;} + .d2-447179389 .color-N1{color:#0A0F25;} + .d2-447179389 .color-N2{color:#676C7E;} + .d2-447179389 .color-N3{color:#9499AB;} + .d2-447179389 .color-N4{color:#CFD2DD;} + .d2-447179389 .color-N5{color:#DEE1EB;} + .d2-447179389 .color-N6{color:#EEF1F8;} + .d2-447179389 .color-N7{color:#FFFFFF;} + .d2-447179389 .color-B1{color:#0D32B2;} + .d2-447179389 .color-B2{color:#0D32B2;} + .d2-447179389 .color-B3{color:#E3E9FD;} + .d2-447179389 .color-B4{color:#E3E9FD;} + .d2-447179389 .color-B5{color:#EDF0FD;} + .d2-447179389 .color-B6{color:#F7F8FE;} + .d2-447179389 .color-AA2{color:#4A6FF3;} + .d2-447179389 .color-AA4{color:#EDF0FD;} + .d2-447179389 .color-AA5{color:#F7F8FE;} + .d2-447179389 .color-AB4{color:#EDF0FD;} + .d2-447179389 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>grid w/ container + icongrid + icongrid + icon w/ containerabcdabcdabcdabcdabcdb childb childb child + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/grid_icon/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_icon/elk/sketch.exp.svg index 2dcc7c1d9..077aa4dab 100644 --- a/e2etests/testdata/stable/grid_icon/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_icon/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -grid w/ container + icongrid + icongrid + icon w/ containerabcdabcdabcdabcdabcdb childb childb child + .d2-941628131 .fill-N1{fill:#0A0F25;} + .d2-941628131 .fill-N2{fill:#676C7E;} + .d2-941628131 .fill-N3{fill:#9499AB;} + .d2-941628131 .fill-N4{fill:#CFD2DD;} + .d2-941628131 .fill-N5{fill:#DEE1EB;} + .d2-941628131 .fill-N6{fill:#EEF1F8;} + .d2-941628131 .fill-N7{fill:#FFFFFF;} + .d2-941628131 .fill-B1{fill:#0D32B2;} + .d2-941628131 .fill-B2{fill:#0D32B2;} + .d2-941628131 .fill-B3{fill:#E3E9FD;} + .d2-941628131 .fill-B4{fill:#E3E9FD;} + .d2-941628131 .fill-B5{fill:#EDF0FD;} + .d2-941628131 .fill-B6{fill:#F7F8FE;} + .d2-941628131 .fill-AA2{fill:#4A6FF3;} + .d2-941628131 .fill-AA4{fill:#EDF0FD;} + .d2-941628131 .fill-AA5{fill:#F7F8FE;} + .d2-941628131 .fill-AB4{fill:#EDF0FD;} + .d2-941628131 .fill-AB5{fill:#F7F8FE;} + .d2-941628131 .stroke-N1{stroke:#0A0F25;} + .d2-941628131 .stroke-N2{stroke:#676C7E;} + .d2-941628131 .stroke-N3{stroke:#9499AB;} + .d2-941628131 .stroke-N4{stroke:#CFD2DD;} + .d2-941628131 .stroke-N5{stroke:#DEE1EB;} + .d2-941628131 .stroke-N6{stroke:#EEF1F8;} + .d2-941628131 .stroke-N7{stroke:#FFFFFF;} + .d2-941628131 .stroke-B1{stroke:#0D32B2;} + .d2-941628131 .stroke-B2{stroke:#0D32B2;} + .d2-941628131 .stroke-B3{stroke:#E3E9FD;} + .d2-941628131 .stroke-B4{stroke:#E3E9FD;} + .d2-941628131 .stroke-B5{stroke:#EDF0FD;} + .d2-941628131 .stroke-B6{stroke:#F7F8FE;} + .d2-941628131 .stroke-AA2{stroke:#4A6FF3;} + .d2-941628131 .stroke-AA4{stroke:#EDF0FD;} + .d2-941628131 .stroke-AA5{stroke:#F7F8FE;} + .d2-941628131 .stroke-AB4{stroke:#EDF0FD;} + .d2-941628131 .stroke-AB5{stroke:#F7F8FE;} + .d2-941628131 .background-color-N1{background-color:#0A0F25;} + .d2-941628131 .background-color-N2{background-color:#676C7E;} + .d2-941628131 .background-color-N3{background-color:#9499AB;} + .d2-941628131 .background-color-N4{background-color:#CFD2DD;} + .d2-941628131 .background-color-N5{background-color:#DEE1EB;} + .d2-941628131 .background-color-N6{background-color:#EEF1F8;} + .d2-941628131 .background-color-N7{background-color:#FFFFFF;} + .d2-941628131 .background-color-B1{background-color:#0D32B2;} + .d2-941628131 .background-color-B2{background-color:#0D32B2;} + .d2-941628131 .background-color-B3{background-color:#E3E9FD;} + .d2-941628131 .background-color-B4{background-color:#E3E9FD;} + .d2-941628131 .background-color-B5{background-color:#EDF0FD;} + .d2-941628131 .background-color-B6{background-color:#F7F8FE;} + .d2-941628131 .background-color-AA2{background-color:#4A6FF3;} + .d2-941628131 .background-color-AA4{background-color:#EDF0FD;} + .d2-941628131 .background-color-AA5{background-color:#F7F8FE;} + .d2-941628131 .background-color-AB4{background-color:#EDF0FD;} + .d2-941628131 .background-color-AB5{background-color:#F7F8FE;} + .d2-941628131 .color-N1{color:#0A0F25;} + .d2-941628131 .color-N2{color:#676C7E;} + .d2-941628131 .color-N3{color:#9499AB;} + .d2-941628131 .color-N4{color:#CFD2DD;} + .d2-941628131 .color-N5{color:#DEE1EB;} + .d2-941628131 .color-N6{color:#EEF1F8;} + .d2-941628131 .color-N7{color:#FFFFFF;} + .d2-941628131 .color-B1{color:#0D32B2;} + .d2-941628131 .color-B2{color:#0D32B2;} + .d2-941628131 .color-B3{color:#E3E9FD;} + .d2-941628131 .color-B4{color:#E3E9FD;} + .d2-941628131 .color-B5{color:#EDF0FD;} + .d2-941628131 .color-B6{color:#F7F8FE;} + .d2-941628131 .color-AA2{color:#4A6FF3;} + .d2-941628131 .color-AA4{color:#EDF0FD;} + .d2-941628131 .color-AA5{color:#F7F8FE;} + .d2-941628131 .color-AB4{color:#EDF0FD;} + .d2-941628131 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>grid w/ container + icongrid + icongrid + icon w/ containerabcdabcdabcdabcdabcdb childb childb child diff --git a/e2etests/testdata/stable/grid_large_checkered/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_large_checkered/dagre/sketch.exp.svg index efbb000b8..ecff25769 100644 --- a/e2etests/testdata/stable/grid_large_checkered/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_large_checkered/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - + .d2-1401287448 .fill-N1{fill:#0A0F25;} + .d2-1401287448 .fill-N2{fill:#676C7E;} + .d2-1401287448 .fill-N3{fill:#9499AB;} + .d2-1401287448 .fill-N4{fill:#CFD2DD;} + .d2-1401287448 .fill-N5{fill:#DEE1EB;} + .d2-1401287448 .fill-N6{fill:#EEF1F8;} + .d2-1401287448 .fill-N7{fill:#FFFFFF;} + .d2-1401287448 .fill-B1{fill:#0D32B2;} + .d2-1401287448 .fill-B2{fill:#0D32B2;} + .d2-1401287448 .fill-B3{fill:#E3E9FD;} + .d2-1401287448 .fill-B4{fill:#E3E9FD;} + .d2-1401287448 .fill-B5{fill:#EDF0FD;} + .d2-1401287448 .fill-B6{fill:#F7F8FE;} + .d2-1401287448 .fill-AA2{fill:#4A6FF3;} + .d2-1401287448 .fill-AA4{fill:#EDF0FD;} + .d2-1401287448 .fill-AA5{fill:#F7F8FE;} + .d2-1401287448 .fill-AB4{fill:#EDF0FD;} + .d2-1401287448 .fill-AB5{fill:#F7F8FE;} + .d2-1401287448 .stroke-N1{stroke:#0A0F25;} + .d2-1401287448 .stroke-N2{stroke:#676C7E;} + .d2-1401287448 .stroke-N3{stroke:#9499AB;} + .d2-1401287448 .stroke-N4{stroke:#CFD2DD;} + .d2-1401287448 .stroke-N5{stroke:#DEE1EB;} + .d2-1401287448 .stroke-N6{stroke:#EEF1F8;} + .d2-1401287448 .stroke-N7{stroke:#FFFFFF;} + .d2-1401287448 .stroke-B1{stroke:#0D32B2;} + .d2-1401287448 .stroke-B2{stroke:#0D32B2;} + .d2-1401287448 .stroke-B3{stroke:#E3E9FD;} + .d2-1401287448 .stroke-B4{stroke:#E3E9FD;} + .d2-1401287448 .stroke-B5{stroke:#EDF0FD;} + .d2-1401287448 .stroke-B6{stroke:#F7F8FE;} + .d2-1401287448 .stroke-AA2{stroke:#4A6FF3;} + .d2-1401287448 .stroke-AA4{stroke:#EDF0FD;} + .d2-1401287448 .stroke-AA5{stroke:#F7F8FE;} + .d2-1401287448 .stroke-AB4{stroke:#EDF0FD;} + .d2-1401287448 .stroke-AB5{stroke:#F7F8FE;} + .d2-1401287448 .background-color-N1{background-color:#0A0F25;} + .d2-1401287448 .background-color-N2{background-color:#676C7E;} + .d2-1401287448 .background-color-N3{background-color:#9499AB;} + .d2-1401287448 .background-color-N4{background-color:#CFD2DD;} + .d2-1401287448 .background-color-N5{background-color:#DEE1EB;} + .d2-1401287448 .background-color-N6{background-color:#EEF1F8;} + .d2-1401287448 .background-color-N7{background-color:#FFFFFF;} + .d2-1401287448 .background-color-B1{background-color:#0D32B2;} + .d2-1401287448 .background-color-B2{background-color:#0D32B2;} + .d2-1401287448 .background-color-B3{background-color:#E3E9FD;} + .d2-1401287448 .background-color-B4{background-color:#E3E9FD;} + .d2-1401287448 .background-color-B5{background-color:#EDF0FD;} + .d2-1401287448 .background-color-B6{background-color:#F7F8FE;} + .d2-1401287448 .background-color-AA2{background-color:#4A6FF3;} + .d2-1401287448 .background-color-AA4{background-color:#EDF0FD;} + .d2-1401287448 .background-color-AA5{background-color:#F7F8FE;} + .d2-1401287448 .background-color-AB4{background-color:#EDF0FD;} + .d2-1401287448 .background-color-AB5{background-color:#F7F8FE;} + .d2-1401287448 .color-N1{color:#0A0F25;} + .d2-1401287448 .color-N2{color:#676C7E;} + .d2-1401287448 .color-N3{color:#9499AB;} + .d2-1401287448 .color-N4{color:#CFD2DD;} + .d2-1401287448 .color-N5{color:#DEE1EB;} + .d2-1401287448 .color-N6{color:#EEF1F8;} + .d2-1401287448 .color-N7{color:#FFFFFF;} + .d2-1401287448 .color-B1{color:#0D32B2;} + .d2-1401287448 .color-B2{color:#0D32B2;} + .d2-1401287448 .color-B3{color:#E3E9FD;} + .d2-1401287448 .color-B4{color:#E3E9FD;} + .d2-1401287448 .color-B5{color:#EDF0FD;} + .d2-1401287448 .color-B6{color:#F7F8FE;} + .d2-1401287448 .color-AA2{color:#4A6FF3;} + .d2-1401287448 .color-AA4{color:#EDF0FD;} + .d2-1401287448 .color-AA5{color:#F7F8FE;} + .d2-1401287448 .color-AB4{color:#EDF0FD;} + .d2-1401287448 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/stable/grid_large_checkered/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_large_checkered/elk/sketch.exp.svg index efbb000b8..ecff25769 100644 --- a/e2etests/testdata/stable/grid_large_checkered/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_large_checkered/elk/sketch.exp.svg @@ -1,4 +1,4 @@ - + .d2-1401287448 .fill-N1{fill:#0A0F25;} + .d2-1401287448 .fill-N2{fill:#676C7E;} + .d2-1401287448 .fill-N3{fill:#9499AB;} + .d2-1401287448 .fill-N4{fill:#CFD2DD;} + .d2-1401287448 .fill-N5{fill:#DEE1EB;} + .d2-1401287448 .fill-N6{fill:#EEF1F8;} + .d2-1401287448 .fill-N7{fill:#FFFFFF;} + .d2-1401287448 .fill-B1{fill:#0D32B2;} + .d2-1401287448 .fill-B2{fill:#0D32B2;} + .d2-1401287448 .fill-B3{fill:#E3E9FD;} + .d2-1401287448 .fill-B4{fill:#E3E9FD;} + .d2-1401287448 .fill-B5{fill:#EDF0FD;} + .d2-1401287448 .fill-B6{fill:#F7F8FE;} + .d2-1401287448 .fill-AA2{fill:#4A6FF3;} + .d2-1401287448 .fill-AA4{fill:#EDF0FD;} + .d2-1401287448 .fill-AA5{fill:#F7F8FE;} + .d2-1401287448 .fill-AB4{fill:#EDF0FD;} + .d2-1401287448 .fill-AB5{fill:#F7F8FE;} + .d2-1401287448 .stroke-N1{stroke:#0A0F25;} + .d2-1401287448 .stroke-N2{stroke:#676C7E;} + .d2-1401287448 .stroke-N3{stroke:#9499AB;} + .d2-1401287448 .stroke-N4{stroke:#CFD2DD;} + .d2-1401287448 .stroke-N5{stroke:#DEE1EB;} + .d2-1401287448 .stroke-N6{stroke:#EEF1F8;} + .d2-1401287448 .stroke-N7{stroke:#FFFFFF;} + .d2-1401287448 .stroke-B1{stroke:#0D32B2;} + .d2-1401287448 .stroke-B2{stroke:#0D32B2;} + .d2-1401287448 .stroke-B3{stroke:#E3E9FD;} + .d2-1401287448 .stroke-B4{stroke:#E3E9FD;} + .d2-1401287448 .stroke-B5{stroke:#EDF0FD;} + .d2-1401287448 .stroke-B6{stroke:#F7F8FE;} + .d2-1401287448 .stroke-AA2{stroke:#4A6FF3;} + .d2-1401287448 .stroke-AA4{stroke:#EDF0FD;} + .d2-1401287448 .stroke-AA5{stroke:#F7F8FE;} + .d2-1401287448 .stroke-AB4{stroke:#EDF0FD;} + .d2-1401287448 .stroke-AB5{stroke:#F7F8FE;} + .d2-1401287448 .background-color-N1{background-color:#0A0F25;} + .d2-1401287448 .background-color-N2{background-color:#676C7E;} + .d2-1401287448 .background-color-N3{background-color:#9499AB;} + .d2-1401287448 .background-color-N4{background-color:#CFD2DD;} + .d2-1401287448 .background-color-N5{background-color:#DEE1EB;} + .d2-1401287448 .background-color-N6{background-color:#EEF1F8;} + .d2-1401287448 .background-color-N7{background-color:#FFFFFF;} + .d2-1401287448 .background-color-B1{background-color:#0D32B2;} + .d2-1401287448 .background-color-B2{background-color:#0D32B2;} + .d2-1401287448 .background-color-B3{background-color:#E3E9FD;} + .d2-1401287448 .background-color-B4{background-color:#E3E9FD;} + .d2-1401287448 .background-color-B5{background-color:#EDF0FD;} + .d2-1401287448 .background-color-B6{background-color:#F7F8FE;} + .d2-1401287448 .background-color-AA2{background-color:#4A6FF3;} + .d2-1401287448 .background-color-AA4{background-color:#EDF0FD;} + .d2-1401287448 .background-color-AA5{background-color:#F7F8FE;} + .d2-1401287448 .background-color-AB4{background-color:#EDF0FD;} + .d2-1401287448 .background-color-AB5{background-color:#F7F8FE;} + .d2-1401287448 .color-N1{color:#0A0F25;} + .d2-1401287448 .color-N2{color:#676C7E;} + .d2-1401287448 .color-N3{color:#9499AB;} + .d2-1401287448 .color-N4{color:#CFD2DD;} + .d2-1401287448 .color-N5{color:#DEE1EB;} + .d2-1401287448 .color-N6{color:#EEF1F8;} + .d2-1401287448 .color-N7{color:#FFFFFF;} + .d2-1401287448 .color-B1{color:#0D32B2;} + .d2-1401287448 .color-B2{color:#0D32B2;} + .d2-1401287448 .color-B3{color:#E3E9FD;} + .d2-1401287448 .color-B4{color:#E3E9FD;} + .d2-1401287448 .color-B5{color:#EDF0FD;} + .d2-1401287448 .color-B6{color:#F7F8FE;} + .d2-1401287448 .color-AA2{color:#4A6FF3;} + .d2-1401287448 .color-AA4{color:#EDF0FD;} + .d2-1401287448 .color-AA5{color:#F7F8FE;} + .d2-1401287448 .color-AB4{color:#EDF0FD;} + .d2-1401287448 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> \ No newline at end of file diff --git a/e2etests/testdata/stable/grid_nested/dagre/board.exp.json b/e2etests/testdata/stable/grid_nested/dagre/board.exp.json index fd1b4b77b..4d4abbc98 100644 --- a/e2etests/testdata/stable/grid_nested/dagre/board.exp.json +++ b/e2etests/testdata/stable/grid_nested/dagre/board.exp.json @@ -11,10 +11,10 @@ ], "pos": { "x": 0, - "y": 150 + "y": 99 }, - "width": 384, - "height": 388, + "width": 364, + "height": 384, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -52,10 +52,10 @@ "type": "rectangle", "pos": { "x": 60, - "y": 242 + "y": 191 }, "width": 53, - "height": 130, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -93,10 +93,10 @@ "type": "rectangle", "pos": { "x": 153, - "y": 242 + "y": 191 }, - "width": 171, - "height": 130, + "width": 151, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -133,8 +133,8 @@ "id": "grid w/ container.b.b child", "type": "rectangle", "pos": { - "x": 193, - "y": 274 + "x": 183, + "y": 221 }, "width": 91, "height": 66, @@ -175,7 +175,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 412 + "y": 357 }, "width": 53, "height": 66, @@ -216,9 +216,9 @@ "type": "rectangle", "pos": { "x": 153, - "y": 412 + "y": 357 }, - "width": 171, + "width": 151, "height": 66, "opacity": 1, "strokeDash": 0, @@ -259,11 +259,11 @@ "2x2" ], "pos": { - "x": 444, - "y": 0 + "x": 424, + "y": 5 }, "width": 692, - "height": 688, + "height": 572, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -300,11 +300,11 @@ "id": "grid w/ nested containers.a", "type": "rectangle", "pos": { - "x": 504, - "y": 92 + "x": 484, + "y": 97 }, "width": 53, - "height": 430, + "height": 314, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -341,11 +341,11 @@ "id": "grid w/ nested containers.b", "type": "rectangle", "pos": { - "x": 597, - "y": 92 + "x": 577, + "y": 97 }, "width": 479, - "height": 430, + "height": 314, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -382,11 +382,11 @@ "id": "grid w/ nested containers.b.b 1", "type": "rectangle", "pos": { - "x": 617, - "y": 155 + "x": 597, + "y": 133 }, "width": 439, - "height": 335, + "height": 248, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -423,11 +423,11 @@ "id": "grid w/ nested containers.b.b 1.b 2", "type": "rectangle", "pos": { - "x": 637, - "y": 215 + "x": 617, + "y": 164 }, "width": 186, - "height": 240, + "height": 187, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -464,11 +464,11 @@ "id": "grid w/ nested containers.b.b 1.b 2.b 3", "type": "rectangle", "pos": { - "x": 657, - "y": 278 + "x": 647, + "y": 195 }, - "width": 146, - "height": 140, + "width": 126, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -505,8 +505,8 @@ "id": "grid w/ nested containers.b.b 1.b 2.b 3.b 4", "type": "rectangle", "pos": { - "x": 697, - "y": 315 + "x": 677, + "y": 225 }, "width": 66, "height": 66, @@ -546,11 +546,11 @@ "id": "grid w/ nested containers.b.b 1.b 2a", "type": "rectangle", "pos": { - "x": 843, - "y": 215 + "x": 823, + "y": 164 }, "width": 193, - "height": 240, + "height": 187, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -587,11 +587,11 @@ "id": "grid w/ nested containers.b.b 1.b 2a.b 3a", "type": "rectangle", "pos": { - "x": 863, - "y": 278 + "x": 853, + "y": 195 }, - "width": 153, - "height": 140, + "width": 133, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -628,8 +628,8 @@ "id": "grid w/ nested containers.b.b 1.b 2a.b 3a.b 3a", "type": "rectangle", "pos": { - "x": 903, - "y": 315 + "x": 883, + "y": 225 }, "width": 73, "height": 66, @@ -669,8 +669,8 @@ "id": "grid w/ nested containers.c", "type": "rectangle", "pos": { - "x": 504, - "y": 562 + "x": 484, + "y": 451 }, "width": 53, "height": 66, @@ -710,8 +710,8 @@ "id": "grid w/ nested containers.d", "type": "rectangle", "pos": { - "x": 597, - "y": 562 + "x": 577, + "y": 451 }, "width": 479, "height": 66, @@ -754,8 +754,8 @@ "2x2" ], "pos": { - "x": 1196, - "y": 85 + "x": 1176, + "y": 32 }, "width": 480, "height": 518, @@ -795,8 +795,8 @@ "id": "grid in grid.a", "type": "rectangle", "pos": { - "x": 1256, - "y": 145 + "x": 1236, + "y": 92 }, "width": 53, "height": 292, @@ -839,8 +839,8 @@ "2x2" ], "pos": { - "x": 1349, - "y": 145 + "x": 1329, + "y": 92 }, "width": 267, "height": 292, @@ -880,8 +880,8 @@ "id": "grid in grid.b.a", "type": "rectangle", "pos": { - "x": 1409, - "y": 205 + "x": 1389, + "y": 152 }, "width": 53, "height": 66, @@ -921,8 +921,8 @@ "id": "grid in grid.b.b", "type": "rectangle", "pos": { - "x": 1502, - "y": 205 + "x": 1482, + "y": 152 }, "width": 54, "height": 66, @@ -962,8 +962,8 @@ "id": "grid in grid.b.c", "type": "rectangle", "pos": { - "x": 1409, - "y": 311 + "x": 1389, + "y": 258 }, "width": 53, "height": 66, @@ -1003,8 +1003,8 @@ "id": "grid in grid.b.d", "type": "rectangle", "pos": { - "x": 1502, - "y": 311 + "x": 1482, + "y": 258 }, "width": 54, "height": 66, @@ -1044,8 +1044,8 @@ "id": "grid in grid.c", "type": "rectangle", "pos": { - "x": 1256, - "y": 477 + "x": 1236, + "y": 424 }, "width": 53, "height": 66, @@ -1085,8 +1085,8 @@ "id": "grid in grid.d", "type": "rectangle", "pos": { - "x": 1349, - "y": 477 + "x": 1329, + "y": 424 }, "width": 267, "height": 66, @@ -1130,8 +1130,8 @@ "gap0" ], "pos": { - "x": 1736, - "y": 54 + "x": 1716, + "y": 0 }, "width": 321, "height": 581, @@ -1171,8 +1171,8 @@ "id": "grid w/ grid w/ grid.a", "type": "rectangle", "pos": { - "x": 1736, - "y": 100 + "x": 1716, + "y": 46 }, "width": 53, "height": 469, @@ -1216,8 +1216,8 @@ "gap0" ], "pos": { - "x": 1789, - "y": 100 + "x": 1769, + "y": 46 }, "width": 268, "height": 469, @@ -1257,8 +1257,8 @@ "id": "grid w/ grid w/ grid.b.a", "type": "rectangle", "pos": { - "x": 1789, - "y": 141 + "x": 1769, + "y": 87 }, "width": 214, "height": 66, @@ -1298,8 +1298,8 @@ "id": "grid w/ grid w/ grid.b.b", "type": "rectangle", "pos": { - "x": 2003, - "y": 141 + "x": 1983, + "y": 87 }, "width": 54, "height": 66, @@ -1343,8 +1343,8 @@ "gap0" ], "pos": { - "x": 1789, - "y": 207 + "x": 1769, + "y": 153 }, "width": 214, "height": 362, @@ -1384,8 +1384,8 @@ "id": "grid w/ grid w/ grid.b.c.a", "type": "rectangle", "pos": { - "x": 1789, - "y": 243 + "x": 1769, + "y": 189 }, "width": 53, "height": 66, @@ -1425,8 +1425,8 @@ "id": "grid w/ grid w/ grid.b.c.b", "type": "rectangle", "pos": { - "x": 1842, - "y": 243 + "x": 1822, + "y": 189 }, "width": 161, "height": 66, @@ -1466,8 +1466,8 @@ "id": "grid w/ grid w/ grid.b.c.c", "type": "rectangle", "pos": { - "x": 1789, - "y": 309 + "x": 1769, + "y": 255 }, "width": 53, "height": 260, @@ -1511,8 +1511,8 @@ "gap0" ], "pos": { - "x": 1842, - "y": 309 + "x": 1822, + "y": 255 }, "width": 161, "height": 260, @@ -1556,8 +1556,8 @@ "gap0" ], "pos": { - "x": 1842, - "y": 340 + "x": 1822, + "y": 286 }, "width": 107, "height": 163, @@ -1597,8 +1597,8 @@ "id": "grid w/ grid w/ grid.b.c.d.a.a", "type": "rectangle", "pos": { - "x": 1842, - "y": 371 + "x": 1822, + "y": 317 }, "width": 53, "height": 66, @@ -1638,8 +1638,8 @@ "id": "grid w/ grid w/ grid.b.c.d.a.b", "type": "rectangle", "pos": { - "x": 1895, - "y": 371 + "x": 1875, + "y": 317 }, "width": 54, "height": 66, @@ -1679,8 +1679,8 @@ "id": "grid w/ grid w/ grid.b.c.d.a.c", "type": "rectangle", "pos": { - "x": 1842, - "y": 437 + "x": 1822, + "y": 383 }, "width": 53, "height": 66, @@ -1720,8 +1720,8 @@ "id": "grid w/ grid w/ grid.b.c.d.a.d", "type": "rectangle", "pos": { - "x": 1895, - "y": 437 + "x": 1875, + "y": 383 }, "width": 54, "height": 66, @@ -1761,8 +1761,8 @@ "id": "grid w/ grid w/ grid.b.c.d.b", "type": "rectangle", "pos": { - "x": 1949, - "y": 340 + "x": 1929, + "y": 286 }, "width": 54, "height": 163, @@ -1802,8 +1802,8 @@ "id": "grid w/ grid w/ grid.b.c.d.c", "type": "rectangle", "pos": { - "x": 1842, - "y": 503 + "x": 1822, + "y": 449 }, "width": 107, "height": 66, @@ -1843,8 +1843,8 @@ "id": "grid w/ grid w/ grid.b.c.d.d", "type": "rectangle", "pos": { - "x": 1949, - "y": 503 + "x": 1929, + "y": 449 }, "width": 54, "height": 66, @@ -1884,8 +1884,8 @@ "id": "grid w/ grid w/ grid.b.d", "type": "rectangle", "pos": { - "x": 2003, - "y": 207 + "x": 1983, + "y": 153 }, "width": 54, "height": 362, @@ -1925,8 +1925,8 @@ "id": "grid w/ grid w/ grid.c", "type": "rectangle", "pos": { - "x": 1736, - "y": 569 + "x": 1716, + "y": 515 }, "width": 53, "height": 66, @@ -1966,8 +1966,8 @@ "id": "grid w/ grid w/ grid.d", "type": "rectangle", "pos": { - "x": 1789, - "y": 569 + "x": 1769, + "y": 515 }, "width": 268, "height": 66, diff --git a/e2etests/testdata/stable/grid_nested/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_nested/dagre/sketch.exp.svg index 9e3b4d904..71e4ece99 100644 --- a/e2etests/testdata/stable/grid_nested/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_nested/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -grid w/ containergrid w/ nested containersgrid in gridgrid w/ grid w/ gridabcdabcdabcdabcdb childb 1abcdabcdb 2b 2aabcdb 3b 3aabcdb 4b 3aabcd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-520906461 .fill-N1{fill:#0A0F25;} + .d2-520906461 .fill-N2{fill:#676C7E;} + .d2-520906461 .fill-N3{fill:#9499AB;} + .d2-520906461 .fill-N4{fill:#CFD2DD;} + .d2-520906461 .fill-N5{fill:#DEE1EB;} + .d2-520906461 .fill-N6{fill:#EEF1F8;} + .d2-520906461 .fill-N7{fill:#FFFFFF;} + .d2-520906461 .fill-B1{fill:#0D32B2;} + .d2-520906461 .fill-B2{fill:#0D32B2;} + .d2-520906461 .fill-B3{fill:#E3E9FD;} + .d2-520906461 .fill-B4{fill:#E3E9FD;} + .d2-520906461 .fill-B5{fill:#EDF0FD;} + .d2-520906461 .fill-B6{fill:#F7F8FE;} + .d2-520906461 .fill-AA2{fill:#4A6FF3;} + .d2-520906461 .fill-AA4{fill:#EDF0FD;} + .d2-520906461 .fill-AA5{fill:#F7F8FE;} + .d2-520906461 .fill-AB4{fill:#EDF0FD;} + .d2-520906461 .fill-AB5{fill:#F7F8FE;} + .d2-520906461 .stroke-N1{stroke:#0A0F25;} + .d2-520906461 .stroke-N2{stroke:#676C7E;} + .d2-520906461 .stroke-N3{stroke:#9499AB;} + .d2-520906461 .stroke-N4{stroke:#CFD2DD;} + .d2-520906461 .stroke-N5{stroke:#DEE1EB;} + .d2-520906461 .stroke-N6{stroke:#EEF1F8;} + .d2-520906461 .stroke-N7{stroke:#FFFFFF;} + .d2-520906461 .stroke-B1{stroke:#0D32B2;} + .d2-520906461 .stroke-B2{stroke:#0D32B2;} + .d2-520906461 .stroke-B3{stroke:#E3E9FD;} + .d2-520906461 .stroke-B4{stroke:#E3E9FD;} + .d2-520906461 .stroke-B5{stroke:#EDF0FD;} + .d2-520906461 .stroke-B6{stroke:#F7F8FE;} + .d2-520906461 .stroke-AA2{stroke:#4A6FF3;} + .d2-520906461 .stroke-AA4{stroke:#EDF0FD;} + .d2-520906461 .stroke-AA5{stroke:#F7F8FE;} + .d2-520906461 .stroke-AB4{stroke:#EDF0FD;} + .d2-520906461 .stroke-AB5{stroke:#F7F8FE;} + .d2-520906461 .background-color-N1{background-color:#0A0F25;} + .d2-520906461 .background-color-N2{background-color:#676C7E;} + .d2-520906461 .background-color-N3{background-color:#9499AB;} + .d2-520906461 .background-color-N4{background-color:#CFD2DD;} + .d2-520906461 .background-color-N5{background-color:#DEE1EB;} + .d2-520906461 .background-color-N6{background-color:#EEF1F8;} + .d2-520906461 .background-color-N7{background-color:#FFFFFF;} + .d2-520906461 .background-color-B1{background-color:#0D32B2;} + .d2-520906461 .background-color-B2{background-color:#0D32B2;} + .d2-520906461 .background-color-B3{background-color:#E3E9FD;} + .d2-520906461 .background-color-B4{background-color:#E3E9FD;} + .d2-520906461 .background-color-B5{background-color:#EDF0FD;} + .d2-520906461 .background-color-B6{background-color:#F7F8FE;} + .d2-520906461 .background-color-AA2{background-color:#4A6FF3;} + .d2-520906461 .background-color-AA4{background-color:#EDF0FD;} + .d2-520906461 .background-color-AA5{background-color:#F7F8FE;} + .d2-520906461 .background-color-AB4{background-color:#EDF0FD;} + .d2-520906461 .background-color-AB5{background-color:#F7F8FE;} + .d2-520906461 .color-N1{color:#0A0F25;} + .d2-520906461 .color-N2{color:#676C7E;} + .d2-520906461 .color-N3{color:#9499AB;} + .d2-520906461 .color-N4{color:#CFD2DD;} + .d2-520906461 .color-N5{color:#DEE1EB;} + .d2-520906461 .color-N6{color:#EEF1F8;} + .d2-520906461 .color-N7{color:#FFFFFF;} + .d2-520906461 .color-B1{color:#0D32B2;} + .d2-520906461 .color-B2{color:#0D32B2;} + .d2-520906461 .color-B3{color:#E3E9FD;} + .d2-520906461 .color-B4{color:#E3E9FD;} + .d2-520906461 .color-B5{color:#EDF0FD;} + .d2-520906461 .color-B6{color:#F7F8FE;} + .d2-520906461 .color-AA2{color:#4A6FF3;} + .d2-520906461 .color-AA4{color:#EDF0FD;} + .d2-520906461 .color-AA5{color:#F7F8FE;} + .d2-520906461 .color-AB4{color:#EDF0FD;} + .d2-520906461 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>grid w/ containergrid w/ nested containersgrid in gridgrid w/ grid w/ gridabcdabcdabcdabcdb childb 1abcdabcdb 2b 2aabcdb 3b 3aabcdb 4b 3aabcd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/grid_nested/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_nested/elk/sketch.exp.svg index fc5207f74..64d35b8e0 100644 --- a/e2etests/testdata/stable/grid_nested/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_nested/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -grid w/ containergrid w/ nested containersgrid in gridgrid w/ grid w/ gridabcdabcdabcdabcdb childb 1abcdabcdb 2b 2aabcdb 3b 3aabcdb 4b 3aabcd + .d2-937694395 .fill-N1{fill:#0A0F25;} + .d2-937694395 .fill-N2{fill:#676C7E;} + .d2-937694395 .fill-N3{fill:#9499AB;} + .d2-937694395 .fill-N4{fill:#CFD2DD;} + .d2-937694395 .fill-N5{fill:#DEE1EB;} + .d2-937694395 .fill-N6{fill:#EEF1F8;} + .d2-937694395 .fill-N7{fill:#FFFFFF;} + .d2-937694395 .fill-B1{fill:#0D32B2;} + .d2-937694395 .fill-B2{fill:#0D32B2;} + .d2-937694395 .fill-B3{fill:#E3E9FD;} + .d2-937694395 .fill-B4{fill:#E3E9FD;} + .d2-937694395 .fill-B5{fill:#EDF0FD;} + .d2-937694395 .fill-B6{fill:#F7F8FE;} + .d2-937694395 .fill-AA2{fill:#4A6FF3;} + .d2-937694395 .fill-AA4{fill:#EDF0FD;} + .d2-937694395 .fill-AA5{fill:#F7F8FE;} + .d2-937694395 .fill-AB4{fill:#EDF0FD;} + .d2-937694395 .fill-AB5{fill:#F7F8FE;} + .d2-937694395 .stroke-N1{stroke:#0A0F25;} + .d2-937694395 .stroke-N2{stroke:#676C7E;} + .d2-937694395 .stroke-N3{stroke:#9499AB;} + .d2-937694395 .stroke-N4{stroke:#CFD2DD;} + .d2-937694395 .stroke-N5{stroke:#DEE1EB;} + .d2-937694395 .stroke-N6{stroke:#EEF1F8;} + .d2-937694395 .stroke-N7{stroke:#FFFFFF;} + .d2-937694395 .stroke-B1{stroke:#0D32B2;} + .d2-937694395 .stroke-B2{stroke:#0D32B2;} + .d2-937694395 .stroke-B3{stroke:#E3E9FD;} + .d2-937694395 .stroke-B4{stroke:#E3E9FD;} + .d2-937694395 .stroke-B5{stroke:#EDF0FD;} + .d2-937694395 .stroke-B6{stroke:#F7F8FE;} + .d2-937694395 .stroke-AA2{stroke:#4A6FF3;} + .d2-937694395 .stroke-AA4{stroke:#EDF0FD;} + .d2-937694395 .stroke-AA5{stroke:#F7F8FE;} + .d2-937694395 .stroke-AB4{stroke:#EDF0FD;} + .d2-937694395 .stroke-AB5{stroke:#F7F8FE;} + .d2-937694395 .background-color-N1{background-color:#0A0F25;} + .d2-937694395 .background-color-N2{background-color:#676C7E;} + .d2-937694395 .background-color-N3{background-color:#9499AB;} + .d2-937694395 .background-color-N4{background-color:#CFD2DD;} + .d2-937694395 .background-color-N5{background-color:#DEE1EB;} + .d2-937694395 .background-color-N6{background-color:#EEF1F8;} + .d2-937694395 .background-color-N7{background-color:#FFFFFF;} + .d2-937694395 .background-color-B1{background-color:#0D32B2;} + .d2-937694395 .background-color-B2{background-color:#0D32B2;} + .d2-937694395 .background-color-B3{background-color:#E3E9FD;} + .d2-937694395 .background-color-B4{background-color:#E3E9FD;} + .d2-937694395 .background-color-B5{background-color:#EDF0FD;} + .d2-937694395 .background-color-B6{background-color:#F7F8FE;} + .d2-937694395 .background-color-AA2{background-color:#4A6FF3;} + .d2-937694395 .background-color-AA4{background-color:#EDF0FD;} + .d2-937694395 .background-color-AA5{background-color:#F7F8FE;} + .d2-937694395 .background-color-AB4{background-color:#EDF0FD;} + .d2-937694395 .background-color-AB5{background-color:#F7F8FE;} + .d2-937694395 .color-N1{color:#0A0F25;} + .d2-937694395 .color-N2{color:#676C7E;} + .d2-937694395 .color-N3{color:#9499AB;} + .d2-937694395 .color-N4{color:#CFD2DD;} + .d2-937694395 .color-N5{color:#DEE1EB;} + .d2-937694395 .color-N6{color:#EEF1F8;} + .d2-937694395 .color-N7{color:#FFFFFF;} + .d2-937694395 .color-B1{color:#0D32B2;} + .d2-937694395 .color-B2{color:#0D32B2;} + .d2-937694395 .color-B3{color:#E3E9FD;} + .d2-937694395 .color-B4{color:#E3E9FD;} + .d2-937694395 .color-B5{color:#EDF0FD;} + .d2-937694395 .color-B6{color:#F7F8FE;} + .d2-937694395 .color-AA2{color:#4A6FF3;} + .d2-937694395 .color-AA4{color:#EDF0FD;} + .d2-937694395 .color-AA5{color:#F7F8FE;} + .d2-937694395 .color-AB4{color:#EDF0FD;} + .d2-937694395 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>grid w/ containergrid w/ nested containersgrid in gridgrid w/ grid w/ gridabcdabcdabcdabcdb childb 1abcdabcdb 2b 2aabcdb 3b 3aabcdb 4b 3aabcd diff --git a/e2etests/testdata/stable/grid_nested_gap0/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_nested_gap0/dagre/sketch.exp.svg index 424af7695..332c4a6b4 100644 --- a/e2etests/testdata/stable/grid_nested_gap0/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_nested_gap0/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -The UniverseFirstTwoLastD2CloudTerrastructTALAD2Cloud + .d2-616560491 .fill-N1{fill:#0A0F25;} + .d2-616560491 .fill-N2{fill:#676C7E;} + .d2-616560491 .fill-N3{fill:#9499AB;} + .d2-616560491 .fill-N4{fill:#CFD2DD;} + .d2-616560491 .fill-N5{fill:#DEE1EB;} + .d2-616560491 .fill-N6{fill:#EEF1F8;} + .d2-616560491 .fill-N7{fill:#FFFFFF;} + .d2-616560491 .fill-B1{fill:#0D32B2;} + .d2-616560491 .fill-B2{fill:#0D32B2;} + .d2-616560491 .fill-B3{fill:#E3E9FD;} + .d2-616560491 .fill-B4{fill:#E3E9FD;} + .d2-616560491 .fill-B5{fill:#EDF0FD;} + .d2-616560491 .fill-B6{fill:#F7F8FE;} + .d2-616560491 .fill-AA2{fill:#4A6FF3;} + .d2-616560491 .fill-AA4{fill:#EDF0FD;} + .d2-616560491 .fill-AA5{fill:#F7F8FE;} + .d2-616560491 .fill-AB4{fill:#EDF0FD;} + .d2-616560491 .fill-AB5{fill:#F7F8FE;} + .d2-616560491 .stroke-N1{stroke:#0A0F25;} + .d2-616560491 .stroke-N2{stroke:#676C7E;} + .d2-616560491 .stroke-N3{stroke:#9499AB;} + .d2-616560491 .stroke-N4{stroke:#CFD2DD;} + .d2-616560491 .stroke-N5{stroke:#DEE1EB;} + .d2-616560491 .stroke-N6{stroke:#EEF1F8;} + .d2-616560491 .stroke-N7{stroke:#FFFFFF;} + .d2-616560491 .stroke-B1{stroke:#0D32B2;} + .d2-616560491 .stroke-B2{stroke:#0D32B2;} + .d2-616560491 .stroke-B3{stroke:#E3E9FD;} + .d2-616560491 .stroke-B4{stroke:#E3E9FD;} + .d2-616560491 .stroke-B5{stroke:#EDF0FD;} + .d2-616560491 .stroke-B6{stroke:#F7F8FE;} + .d2-616560491 .stroke-AA2{stroke:#4A6FF3;} + .d2-616560491 .stroke-AA4{stroke:#EDF0FD;} + .d2-616560491 .stroke-AA5{stroke:#F7F8FE;} + .d2-616560491 .stroke-AB4{stroke:#EDF0FD;} + .d2-616560491 .stroke-AB5{stroke:#F7F8FE;} + .d2-616560491 .background-color-N1{background-color:#0A0F25;} + .d2-616560491 .background-color-N2{background-color:#676C7E;} + .d2-616560491 .background-color-N3{background-color:#9499AB;} + .d2-616560491 .background-color-N4{background-color:#CFD2DD;} + .d2-616560491 .background-color-N5{background-color:#DEE1EB;} + .d2-616560491 .background-color-N6{background-color:#EEF1F8;} + .d2-616560491 .background-color-N7{background-color:#FFFFFF;} + .d2-616560491 .background-color-B1{background-color:#0D32B2;} + .d2-616560491 .background-color-B2{background-color:#0D32B2;} + .d2-616560491 .background-color-B3{background-color:#E3E9FD;} + .d2-616560491 .background-color-B4{background-color:#E3E9FD;} + .d2-616560491 .background-color-B5{background-color:#EDF0FD;} + .d2-616560491 .background-color-B6{background-color:#F7F8FE;} + .d2-616560491 .background-color-AA2{background-color:#4A6FF3;} + .d2-616560491 .background-color-AA4{background-color:#EDF0FD;} + .d2-616560491 .background-color-AA5{background-color:#F7F8FE;} + .d2-616560491 .background-color-AB4{background-color:#EDF0FD;} + .d2-616560491 .background-color-AB5{background-color:#F7F8FE;} + .d2-616560491 .color-N1{color:#0A0F25;} + .d2-616560491 .color-N2{color:#676C7E;} + .d2-616560491 .color-N3{color:#9499AB;} + .d2-616560491 .color-N4{color:#CFD2DD;} + .d2-616560491 .color-N5{color:#DEE1EB;} + .d2-616560491 .color-N6{color:#EEF1F8;} + .d2-616560491 .color-N7{color:#FFFFFF;} + .d2-616560491 .color-B1{color:#0D32B2;} + .d2-616560491 .color-B2{color:#0D32B2;} + .d2-616560491 .color-B3{color:#E3E9FD;} + .d2-616560491 .color-B4{color:#E3E9FD;} + .d2-616560491 .color-B5{color:#EDF0FD;} + .d2-616560491 .color-B6{color:#F7F8FE;} + .d2-616560491 .color-AA2{color:#4A6FF3;} + .d2-616560491 .color-AA4{color:#EDF0FD;} + .d2-616560491 .color-AA5{color:#F7F8FE;} + .d2-616560491 .color-AB4{color:#EDF0FD;} + .d2-616560491 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>The UniverseFirstTwoLastD2CloudTerrastructTALAD2Cloud diff --git a/e2etests/testdata/stable/grid_nested_gap0/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_nested_gap0/elk/sketch.exp.svg index 6f5c3ddad..1f4901ed2 100644 --- a/e2etests/testdata/stable/grid_nested_gap0/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_nested_gap0/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -The UniverseFirstTwoLastD2CloudTerrastructTALAD2Cloud + .d2-974195226 .fill-N1{fill:#0A0F25;} + .d2-974195226 .fill-N2{fill:#676C7E;} + .d2-974195226 .fill-N3{fill:#9499AB;} + .d2-974195226 .fill-N4{fill:#CFD2DD;} + .d2-974195226 .fill-N5{fill:#DEE1EB;} + .d2-974195226 .fill-N6{fill:#EEF1F8;} + .d2-974195226 .fill-N7{fill:#FFFFFF;} + .d2-974195226 .fill-B1{fill:#0D32B2;} + .d2-974195226 .fill-B2{fill:#0D32B2;} + .d2-974195226 .fill-B3{fill:#E3E9FD;} + .d2-974195226 .fill-B4{fill:#E3E9FD;} + .d2-974195226 .fill-B5{fill:#EDF0FD;} + .d2-974195226 .fill-B6{fill:#F7F8FE;} + .d2-974195226 .fill-AA2{fill:#4A6FF3;} + .d2-974195226 .fill-AA4{fill:#EDF0FD;} + .d2-974195226 .fill-AA5{fill:#F7F8FE;} + .d2-974195226 .fill-AB4{fill:#EDF0FD;} + .d2-974195226 .fill-AB5{fill:#F7F8FE;} + .d2-974195226 .stroke-N1{stroke:#0A0F25;} + .d2-974195226 .stroke-N2{stroke:#676C7E;} + .d2-974195226 .stroke-N3{stroke:#9499AB;} + .d2-974195226 .stroke-N4{stroke:#CFD2DD;} + .d2-974195226 .stroke-N5{stroke:#DEE1EB;} + .d2-974195226 .stroke-N6{stroke:#EEF1F8;} + .d2-974195226 .stroke-N7{stroke:#FFFFFF;} + .d2-974195226 .stroke-B1{stroke:#0D32B2;} + .d2-974195226 .stroke-B2{stroke:#0D32B2;} + .d2-974195226 .stroke-B3{stroke:#E3E9FD;} + .d2-974195226 .stroke-B4{stroke:#E3E9FD;} + .d2-974195226 .stroke-B5{stroke:#EDF0FD;} + .d2-974195226 .stroke-B6{stroke:#F7F8FE;} + .d2-974195226 .stroke-AA2{stroke:#4A6FF3;} + .d2-974195226 .stroke-AA4{stroke:#EDF0FD;} + .d2-974195226 .stroke-AA5{stroke:#F7F8FE;} + .d2-974195226 .stroke-AB4{stroke:#EDF0FD;} + .d2-974195226 .stroke-AB5{stroke:#F7F8FE;} + .d2-974195226 .background-color-N1{background-color:#0A0F25;} + .d2-974195226 .background-color-N2{background-color:#676C7E;} + .d2-974195226 .background-color-N3{background-color:#9499AB;} + .d2-974195226 .background-color-N4{background-color:#CFD2DD;} + .d2-974195226 .background-color-N5{background-color:#DEE1EB;} + .d2-974195226 .background-color-N6{background-color:#EEF1F8;} + .d2-974195226 .background-color-N7{background-color:#FFFFFF;} + .d2-974195226 .background-color-B1{background-color:#0D32B2;} + .d2-974195226 .background-color-B2{background-color:#0D32B2;} + .d2-974195226 .background-color-B3{background-color:#E3E9FD;} + .d2-974195226 .background-color-B4{background-color:#E3E9FD;} + .d2-974195226 .background-color-B5{background-color:#EDF0FD;} + .d2-974195226 .background-color-B6{background-color:#F7F8FE;} + .d2-974195226 .background-color-AA2{background-color:#4A6FF3;} + .d2-974195226 .background-color-AA4{background-color:#EDF0FD;} + .d2-974195226 .background-color-AA5{background-color:#F7F8FE;} + .d2-974195226 .background-color-AB4{background-color:#EDF0FD;} + .d2-974195226 .background-color-AB5{background-color:#F7F8FE;} + .d2-974195226 .color-N1{color:#0A0F25;} + .d2-974195226 .color-N2{color:#676C7E;} + .d2-974195226 .color-N3{color:#9499AB;} + .d2-974195226 .color-N4{color:#CFD2DD;} + .d2-974195226 .color-N5{color:#DEE1EB;} + .d2-974195226 .color-N6{color:#EEF1F8;} + .d2-974195226 .color-N7{color:#FFFFFF;} + .d2-974195226 .color-B1{color:#0D32B2;} + .d2-974195226 .color-B2{color:#0D32B2;} + .d2-974195226 .color-B3{color:#E3E9FD;} + .d2-974195226 .color-B4{color:#E3E9FD;} + .d2-974195226 .color-B5{color:#EDF0FD;} + .d2-974195226 .color-B6{color:#F7F8FE;} + .d2-974195226 .color-AA2{color:#4A6FF3;} + .d2-974195226 .color-AA4{color:#EDF0FD;} + .d2-974195226 .color-AA5{color:#F7F8FE;} + .d2-974195226 .color-AB4{color:#EDF0FD;} + .d2-974195226 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>The UniverseFirstTwoLastD2CloudTerrastructTALAD2Cloud diff --git a/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg index 27bf6c7b7..d6f7f7a7a 100644 --- a/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -rows 1columns 1rows 2columns 2rows 2 columns 2columns 2 rows 2rows 3 columns 3columns 3 rows 3rows 3columns 3widths heightsabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefga w200b h300cd h200ef w400ghi + .d2-3759808173 .fill-N1{fill:#0A0F25;} + .d2-3759808173 .fill-N2{fill:#676C7E;} + .d2-3759808173 .fill-N3{fill:#9499AB;} + .d2-3759808173 .fill-N4{fill:#CFD2DD;} + .d2-3759808173 .fill-N5{fill:#DEE1EB;} + .d2-3759808173 .fill-N6{fill:#EEF1F8;} + .d2-3759808173 .fill-N7{fill:#FFFFFF;} + .d2-3759808173 .fill-B1{fill:#0D32B2;} + .d2-3759808173 .fill-B2{fill:#0D32B2;} + .d2-3759808173 .fill-B3{fill:#E3E9FD;} + .d2-3759808173 .fill-B4{fill:#E3E9FD;} + .d2-3759808173 .fill-B5{fill:#EDF0FD;} + .d2-3759808173 .fill-B6{fill:#F7F8FE;} + .d2-3759808173 .fill-AA2{fill:#4A6FF3;} + .d2-3759808173 .fill-AA4{fill:#EDF0FD;} + .d2-3759808173 .fill-AA5{fill:#F7F8FE;} + .d2-3759808173 .fill-AB4{fill:#EDF0FD;} + .d2-3759808173 .fill-AB5{fill:#F7F8FE;} + .d2-3759808173 .stroke-N1{stroke:#0A0F25;} + .d2-3759808173 .stroke-N2{stroke:#676C7E;} + .d2-3759808173 .stroke-N3{stroke:#9499AB;} + .d2-3759808173 .stroke-N4{stroke:#CFD2DD;} + .d2-3759808173 .stroke-N5{stroke:#DEE1EB;} + .d2-3759808173 .stroke-N6{stroke:#EEF1F8;} + .d2-3759808173 .stroke-N7{stroke:#FFFFFF;} + .d2-3759808173 .stroke-B1{stroke:#0D32B2;} + .d2-3759808173 .stroke-B2{stroke:#0D32B2;} + .d2-3759808173 .stroke-B3{stroke:#E3E9FD;} + .d2-3759808173 .stroke-B4{stroke:#E3E9FD;} + .d2-3759808173 .stroke-B5{stroke:#EDF0FD;} + .d2-3759808173 .stroke-B6{stroke:#F7F8FE;} + .d2-3759808173 .stroke-AA2{stroke:#4A6FF3;} + .d2-3759808173 .stroke-AA4{stroke:#EDF0FD;} + .d2-3759808173 .stroke-AA5{stroke:#F7F8FE;} + .d2-3759808173 .stroke-AB4{stroke:#EDF0FD;} + .d2-3759808173 .stroke-AB5{stroke:#F7F8FE;} + .d2-3759808173 .background-color-N1{background-color:#0A0F25;} + .d2-3759808173 .background-color-N2{background-color:#676C7E;} + .d2-3759808173 .background-color-N3{background-color:#9499AB;} + .d2-3759808173 .background-color-N4{background-color:#CFD2DD;} + .d2-3759808173 .background-color-N5{background-color:#DEE1EB;} + .d2-3759808173 .background-color-N6{background-color:#EEF1F8;} + .d2-3759808173 .background-color-N7{background-color:#FFFFFF;} + .d2-3759808173 .background-color-B1{background-color:#0D32B2;} + .d2-3759808173 .background-color-B2{background-color:#0D32B2;} + .d2-3759808173 .background-color-B3{background-color:#E3E9FD;} + .d2-3759808173 .background-color-B4{background-color:#E3E9FD;} + .d2-3759808173 .background-color-B5{background-color:#EDF0FD;} + .d2-3759808173 .background-color-B6{background-color:#F7F8FE;} + .d2-3759808173 .background-color-AA2{background-color:#4A6FF3;} + .d2-3759808173 .background-color-AA4{background-color:#EDF0FD;} + .d2-3759808173 .background-color-AA5{background-color:#F7F8FE;} + .d2-3759808173 .background-color-AB4{background-color:#EDF0FD;} + .d2-3759808173 .background-color-AB5{background-color:#F7F8FE;} + .d2-3759808173 .color-N1{color:#0A0F25;} + .d2-3759808173 .color-N2{color:#676C7E;} + .d2-3759808173 .color-N3{color:#9499AB;} + .d2-3759808173 .color-N4{color:#CFD2DD;} + .d2-3759808173 .color-N5{color:#DEE1EB;} + .d2-3759808173 .color-N6{color:#EEF1F8;} + .d2-3759808173 .color-N7{color:#FFFFFF;} + .d2-3759808173 .color-B1{color:#0D32B2;} + .d2-3759808173 .color-B2{color:#0D32B2;} + .d2-3759808173 .color-B3{color:#E3E9FD;} + .d2-3759808173 .color-B4{color:#E3E9FD;} + .d2-3759808173 .color-B5{color:#EDF0FD;} + .d2-3759808173 .color-B6{color:#F7F8FE;} + .d2-3759808173 .color-AA2{color:#4A6FF3;} + .d2-3759808173 .color-AA4{color:#EDF0FD;} + .d2-3759808173 .color-AA5{color:#F7F8FE;} + .d2-3759808173 .color-AB4{color:#EDF0FD;} + .d2-3759808173 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rows 1columns 1rows 2columns 2rows 2 columns 2columns 2 rows 2rows 3 columns 3columns 3 rows 3rows 3columns 3widths heightsabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefga w200b h300cd h200ef w400ghi diff --git a/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg index cc06af60e..f79971856 100644 --- a/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -rows 1columns 1rows 2columns 2rows 2 columns 2columns 2 rows 2rows 3 columns 3columns 3 rows 3rows 3columns 3widths heightsabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefga w200b h300cd h200ef w400ghi + .d2-3027464303 .fill-N1{fill:#0A0F25;} + .d2-3027464303 .fill-N2{fill:#676C7E;} + .d2-3027464303 .fill-N3{fill:#9499AB;} + .d2-3027464303 .fill-N4{fill:#CFD2DD;} + .d2-3027464303 .fill-N5{fill:#DEE1EB;} + .d2-3027464303 .fill-N6{fill:#EEF1F8;} + .d2-3027464303 .fill-N7{fill:#FFFFFF;} + .d2-3027464303 .fill-B1{fill:#0D32B2;} + .d2-3027464303 .fill-B2{fill:#0D32B2;} + .d2-3027464303 .fill-B3{fill:#E3E9FD;} + .d2-3027464303 .fill-B4{fill:#E3E9FD;} + .d2-3027464303 .fill-B5{fill:#EDF0FD;} + .d2-3027464303 .fill-B6{fill:#F7F8FE;} + .d2-3027464303 .fill-AA2{fill:#4A6FF3;} + .d2-3027464303 .fill-AA4{fill:#EDF0FD;} + .d2-3027464303 .fill-AA5{fill:#F7F8FE;} + .d2-3027464303 .fill-AB4{fill:#EDF0FD;} + .d2-3027464303 .fill-AB5{fill:#F7F8FE;} + .d2-3027464303 .stroke-N1{stroke:#0A0F25;} + .d2-3027464303 .stroke-N2{stroke:#676C7E;} + .d2-3027464303 .stroke-N3{stroke:#9499AB;} + .d2-3027464303 .stroke-N4{stroke:#CFD2DD;} + .d2-3027464303 .stroke-N5{stroke:#DEE1EB;} + .d2-3027464303 .stroke-N6{stroke:#EEF1F8;} + .d2-3027464303 .stroke-N7{stroke:#FFFFFF;} + .d2-3027464303 .stroke-B1{stroke:#0D32B2;} + .d2-3027464303 .stroke-B2{stroke:#0D32B2;} + .d2-3027464303 .stroke-B3{stroke:#E3E9FD;} + .d2-3027464303 .stroke-B4{stroke:#E3E9FD;} + .d2-3027464303 .stroke-B5{stroke:#EDF0FD;} + .d2-3027464303 .stroke-B6{stroke:#F7F8FE;} + .d2-3027464303 .stroke-AA2{stroke:#4A6FF3;} + .d2-3027464303 .stroke-AA4{stroke:#EDF0FD;} + .d2-3027464303 .stroke-AA5{stroke:#F7F8FE;} + .d2-3027464303 .stroke-AB4{stroke:#EDF0FD;} + .d2-3027464303 .stroke-AB5{stroke:#F7F8FE;} + .d2-3027464303 .background-color-N1{background-color:#0A0F25;} + .d2-3027464303 .background-color-N2{background-color:#676C7E;} + .d2-3027464303 .background-color-N3{background-color:#9499AB;} + .d2-3027464303 .background-color-N4{background-color:#CFD2DD;} + .d2-3027464303 .background-color-N5{background-color:#DEE1EB;} + .d2-3027464303 .background-color-N6{background-color:#EEF1F8;} + .d2-3027464303 .background-color-N7{background-color:#FFFFFF;} + .d2-3027464303 .background-color-B1{background-color:#0D32B2;} + .d2-3027464303 .background-color-B2{background-color:#0D32B2;} + .d2-3027464303 .background-color-B3{background-color:#E3E9FD;} + .d2-3027464303 .background-color-B4{background-color:#E3E9FD;} + .d2-3027464303 .background-color-B5{background-color:#EDF0FD;} + .d2-3027464303 .background-color-B6{background-color:#F7F8FE;} + .d2-3027464303 .background-color-AA2{background-color:#4A6FF3;} + .d2-3027464303 .background-color-AA4{background-color:#EDF0FD;} + .d2-3027464303 .background-color-AA5{background-color:#F7F8FE;} + .d2-3027464303 .background-color-AB4{background-color:#EDF0FD;} + .d2-3027464303 .background-color-AB5{background-color:#F7F8FE;} + .d2-3027464303 .color-N1{color:#0A0F25;} + .d2-3027464303 .color-N2{color:#676C7E;} + .d2-3027464303 .color-N3{color:#9499AB;} + .d2-3027464303 .color-N4{color:#CFD2DD;} + .d2-3027464303 .color-N5{color:#DEE1EB;} + .d2-3027464303 .color-N6{color:#EEF1F8;} + .d2-3027464303 .color-N7{color:#FFFFFF;} + .d2-3027464303 .color-B1{color:#0D32B2;} + .d2-3027464303 .color-B2{color:#0D32B2;} + .d2-3027464303 .color-B3{color:#E3E9FD;} + .d2-3027464303 .color-B4{color:#E3E9FD;} + .d2-3027464303 .color-B5{color:#EDF0FD;} + .d2-3027464303 .color-B6{color:#F7F8FE;} + .d2-3027464303 .color-AA2{color:#4A6FF3;} + .d2-3027464303 .color-AA4{color:#EDF0FD;} + .d2-3027464303 .color-AA5{color:#F7F8FE;} + .d2-3027464303 .color-AB4{color:#EDF0FD;} + .d2-3027464303 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rows 1columns 1rows 2columns 2rows 2 columns 2columns 2 rows 2rows 3 columns 3columns 3 rows 3rows 3columns 3widths heightsabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefga w200b h300cd h200ef w400ghi diff --git a/e2etests/testdata/stable/hexagon_3d/dagre/board.exp.json b/e2etests/testdata/stable/hexagon_3d/dagre/board.exp.json index 7c7767d43..2cfd1d39c 100644 --- a/e2etests/testdata/stable/hexagon_3d/dagre/board.exp.json +++ b/e2etests/testdata/stable/hexagon_3d/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "hexagon", "pos": { "x": 0, - "y": 7 + "y": 0 }, "width": 128, "height": 69, diff --git a/e2etests/testdata/stable/hexagon_3d/dagre/sketch.exp.svg b/e2etests/testdata/stable/hexagon_3d/dagre/sketch.exp.svg index f51ab8728..24349350a 100644 --- a/e2etests/testdata/stable/hexagon_3d/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/hexagon_3d/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ - - -hexagon - - + .d2-1219883785 .fill-N1{fill:#0A0F25;} + .d2-1219883785 .fill-N2{fill:#676C7E;} + .d2-1219883785 .fill-N3{fill:#9499AB;} + .d2-1219883785 .fill-N4{fill:#CFD2DD;} + .d2-1219883785 .fill-N5{fill:#DEE1EB;} + .d2-1219883785 .fill-N6{fill:#EEF1F8;} + .d2-1219883785 .fill-N7{fill:#FFFFFF;} + .d2-1219883785 .fill-B1{fill:#0D32B2;} + .d2-1219883785 .fill-B2{fill:#0D32B2;} + .d2-1219883785 .fill-B3{fill:#E3E9FD;} + .d2-1219883785 .fill-B4{fill:#E3E9FD;} + .d2-1219883785 .fill-B5{fill:#EDF0FD;} + .d2-1219883785 .fill-B6{fill:#F7F8FE;} + .d2-1219883785 .fill-AA2{fill:#4A6FF3;} + .d2-1219883785 .fill-AA4{fill:#EDF0FD;} + .d2-1219883785 .fill-AA5{fill:#F7F8FE;} + .d2-1219883785 .fill-AB4{fill:#EDF0FD;} + .d2-1219883785 .fill-AB5{fill:#F7F8FE;} + .d2-1219883785 .stroke-N1{stroke:#0A0F25;} + .d2-1219883785 .stroke-N2{stroke:#676C7E;} + .d2-1219883785 .stroke-N3{stroke:#9499AB;} + .d2-1219883785 .stroke-N4{stroke:#CFD2DD;} + .d2-1219883785 .stroke-N5{stroke:#DEE1EB;} + .d2-1219883785 .stroke-N6{stroke:#EEF1F8;} + .d2-1219883785 .stroke-N7{stroke:#FFFFFF;} + .d2-1219883785 .stroke-B1{stroke:#0D32B2;} + .d2-1219883785 .stroke-B2{stroke:#0D32B2;} + .d2-1219883785 .stroke-B3{stroke:#E3E9FD;} + .d2-1219883785 .stroke-B4{stroke:#E3E9FD;} + .d2-1219883785 .stroke-B5{stroke:#EDF0FD;} + .d2-1219883785 .stroke-B6{stroke:#F7F8FE;} + .d2-1219883785 .stroke-AA2{stroke:#4A6FF3;} + .d2-1219883785 .stroke-AA4{stroke:#EDF0FD;} + .d2-1219883785 .stroke-AA5{stroke:#F7F8FE;} + .d2-1219883785 .stroke-AB4{stroke:#EDF0FD;} + .d2-1219883785 .stroke-AB5{stroke:#F7F8FE;} + .d2-1219883785 .background-color-N1{background-color:#0A0F25;} + .d2-1219883785 .background-color-N2{background-color:#676C7E;} + .d2-1219883785 .background-color-N3{background-color:#9499AB;} + .d2-1219883785 .background-color-N4{background-color:#CFD2DD;} + .d2-1219883785 .background-color-N5{background-color:#DEE1EB;} + .d2-1219883785 .background-color-N6{background-color:#EEF1F8;} + .d2-1219883785 .background-color-N7{background-color:#FFFFFF;} + .d2-1219883785 .background-color-B1{background-color:#0D32B2;} + .d2-1219883785 .background-color-B2{background-color:#0D32B2;} + .d2-1219883785 .background-color-B3{background-color:#E3E9FD;} + .d2-1219883785 .background-color-B4{background-color:#E3E9FD;} + .d2-1219883785 .background-color-B5{background-color:#EDF0FD;} + .d2-1219883785 .background-color-B6{background-color:#F7F8FE;} + .d2-1219883785 .background-color-AA2{background-color:#4A6FF3;} + .d2-1219883785 .background-color-AA4{background-color:#EDF0FD;} + .d2-1219883785 .background-color-AA5{background-color:#F7F8FE;} + .d2-1219883785 .background-color-AB4{background-color:#EDF0FD;} + .d2-1219883785 .background-color-AB5{background-color:#F7F8FE;} + .d2-1219883785 .color-N1{color:#0A0F25;} + .d2-1219883785 .color-N2{color:#676C7E;} + .d2-1219883785 .color-N3{color:#9499AB;} + .d2-1219883785 .color-N4{color:#CFD2DD;} + .d2-1219883785 .color-N5{color:#DEE1EB;} + .d2-1219883785 .color-N6{color:#EEF1F8;} + .d2-1219883785 .color-N7{color:#FFFFFF;} + .d2-1219883785 .color-B1{color:#0D32B2;} + .d2-1219883785 .color-B2{color:#0D32B2;} + .d2-1219883785 .color-B3{color:#E3E9FD;} + .d2-1219883785 .color-B4{color:#E3E9FD;} + .d2-1219883785 .color-B5{color:#EDF0FD;} + .d2-1219883785 .color-B6{color:#F7F8FE;} + .d2-1219883785 .color-AA2{color:#4A6FF3;} + .d2-1219883785 .color-AA4{color:#EDF0FD;} + .d2-1219883785 .color-AA5{color:#F7F8FE;} + .d2-1219883785 .color-AB4{color:#EDF0FD;} + .d2-1219883785 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> + +hexagon + + \ No newline at end of file diff --git a/e2etests/testdata/stable/hexagon_3d/elk/sketch.exp.svg b/e2etests/testdata/stable/hexagon_3d/elk/sketch.exp.svg index d6183c8cf..15f3c6926 100644 --- a/e2etests/testdata/stable/hexagon_3d/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/hexagon_3d/elk/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-807790610 .fill-N1{fill:#0A0F25;} + .d2-807790610 .fill-N2{fill:#676C7E;} + .d2-807790610 .fill-N3{fill:#9499AB;} + .d2-807790610 .fill-N4{fill:#CFD2DD;} + .d2-807790610 .fill-N5{fill:#DEE1EB;} + .d2-807790610 .fill-N6{fill:#EEF1F8;} + .d2-807790610 .fill-N7{fill:#FFFFFF;} + .d2-807790610 .fill-B1{fill:#0D32B2;} + .d2-807790610 .fill-B2{fill:#0D32B2;} + .d2-807790610 .fill-B3{fill:#E3E9FD;} + .d2-807790610 .fill-B4{fill:#E3E9FD;} + .d2-807790610 .fill-B5{fill:#EDF0FD;} + .d2-807790610 .fill-B6{fill:#F7F8FE;} + .d2-807790610 .fill-AA2{fill:#4A6FF3;} + .d2-807790610 .fill-AA4{fill:#EDF0FD;} + .d2-807790610 .fill-AA5{fill:#F7F8FE;} + .d2-807790610 .fill-AB4{fill:#EDF0FD;} + .d2-807790610 .fill-AB5{fill:#F7F8FE;} + .d2-807790610 .stroke-N1{stroke:#0A0F25;} + .d2-807790610 .stroke-N2{stroke:#676C7E;} + .d2-807790610 .stroke-N3{stroke:#9499AB;} + .d2-807790610 .stroke-N4{stroke:#CFD2DD;} + .d2-807790610 .stroke-N5{stroke:#DEE1EB;} + .d2-807790610 .stroke-N6{stroke:#EEF1F8;} + .d2-807790610 .stroke-N7{stroke:#FFFFFF;} + .d2-807790610 .stroke-B1{stroke:#0D32B2;} + .d2-807790610 .stroke-B2{stroke:#0D32B2;} + .d2-807790610 .stroke-B3{stroke:#E3E9FD;} + .d2-807790610 .stroke-B4{stroke:#E3E9FD;} + .d2-807790610 .stroke-B5{stroke:#EDF0FD;} + .d2-807790610 .stroke-B6{stroke:#F7F8FE;} + .d2-807790610 .stroke-AA2{stroke:#4A6FF3;} + .d2-807790610 .stroke-AA4{stroke:#EDF0FD;} + .d2-807790610 .stroke-AA5{stroke:#F7F8FE;} + .d2-807790610 .stroke-AB4{stroke:#EDF0FD;} + .d2-807790610 .stroke-AB5{stroke:#F7F8FE;} + .d2-807790610 .background-color-N1{background-color:#0A0F25;} + .d2-807790610 .background-color-N2{background-color:#676C7E;} + .d2-807790610 .background-color-N3{background-color:#9499AB;} + .d2-807790610 .background-color-N4{background-color:#CFD2DD;} + .d2-807790610 .background-color-N5{background-color:#DEE1EB;} + .d2-807790610 .background-color-N6{background-color:#EEF1F8;} + .d2-807790610 .background-color-N7{background-color:#FFFFFF;} + .d2-807790610 .background-color-B1{background-color:#0D32B2;} + .d2-807790610 .background-color-B2{background-color:#0D32B2;} + .d2-807790610 .background-color-B3{background-color:#E3E9FD;} + .d2-807790610 .background-color-B4{background-color:#E3E9FD;} + .d2-807790610 .background-color-B5{background-color:#EDF0FD;} + .d2-807790610 .background-color-B6{background-color:#F7F8FE;} + .d2-807790610 .background-color-AA2{background-color:#4A6FF3;} + .d2-807790610 .background-color-AA4{background-color:#EDF0FD;} + .d2-807790610 .background-color-AA5{background-color:#F7F8FE;} + .d2-807790610 .background-color-AB4{background-color:#EDF0FD;} + .d2-807790610 .background-color-AB5{background-color:#F7F8FE;} + .d2-807790610 .color-N1{color:#0A0F25;} + .d2-807790610 .color-N2{color:#676C7E;} + .d2-807790610 .color-N3{color:#9499AB;} + .d2-807790610 .color-N4{color:#CFD2DD;} + .d2-807790610 .color-N5{color:#DEE1EB;} + .d2-807790610 .color-N6{color:#EEF1F8;} + .d2-807790610 .color-N7{color:#FFFFFF;} + .d2-807790610 .color-B1{color:#0D32B2;} + .d2-807790610 .color-B2{color:#0D32B2;} + .d2-807790610 .color-B3{color:#E3E9FD;} + .d2-807790610 .color-B4{color:#E3E9FD;} + .d2-807790610 .color-B5{color:#EDF0FD;} + .d2-807790610 .color-B6{color:#F7F8FE;} + .d2-807790610 .color-AA2{color:#4A6FF3;} + .d2-807790610 .color-AA4{color:#EDF0FD;} + .d2-807790610 .color-AA5{color:#F7F8FE;} + .d2-807790610 .color-AB4{color:#EDF0FD;} + .d2-807790610 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> -hexagon +hexagon \ No newline at end of file diff --git a/e2etests/testdata/stable/hr/dagre/sketch.exp.svg b/e2etests/testdata/stable/hr/dagre/sketch.exp.svg index 2212bd99f..c0d37a6d0 100644 --- a/e2etests/testdata/stable/hr/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/hr/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -

    Note: This document is itself written using Markdown; you can see the source for it by adding '.text' to the URL.


    Overview

    -
    ab +
    ab diff --git a/e2etests/testdata/stable/hr/elk/sketch.exp.svg b/e2etests/testdata/stable/hr/elk/sketch.exp.svg index 38de10b1a..70441ef9f 100644 --- a/e2etests/testdata/stable/hr/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/hr/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -

    Note: This document is itself written using Markdown; you can see the source for it by adding '.text' to the URL.


    Overview

    -
    ab +
    ab diff --git a/e2etests/testdata/stable/icon-containers/dagre/board.exp.json b/e2etests/testdata/stable/icon-containers/dagre/board.exp.json index d80b1065f..0ea754bd6 100644 --- a/e2etests/testdata/stable/icon-containers/dagre/board.exp.json +++ b/e2etests/testdata/stable/icon-containers/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 41 + "y": 5 }, "width": 320, - "height": 443, + "height": 327, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -61,10 +61,10 @@ "type": "rectangle", "pos": { "x": 20, - "y": 117 + "y": 46 }, "width": 280, - "height": 326, + "height": 256, "opacity": 1, "strokeDash": 3, "strokeWidth": 2, @@ -101,11 +101,11 @@ "id": "vpc.az.firewall", "type": "rectangle", "pos": { - "x": 40, - "y": 191 + "x": 50, + "y": 120 }, - "width": 240, - "height": 209, + "width": 220, + "height": 152, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -155,10 +155,10 @@ "type": "rectangle", "pos": { "x": 80, - "y": 237 + "y": 150 }, "width": 160, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, diff --git a/e2etests/testdata/stable/icon-containers/dagre/sketch.exp.svg b/e2etests/testdata/stable/icon-containers/dagre/sketch.exp.svg index 9293bde9d..5e0e4f3bf 100644 --- a/e2etests/testdata/stable/icon-containers/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/icon-containers/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -VPC 1 10.1.0.0./16Availability Zone AFirewall Subnet AEC2 Instance - - - - - + .d2-2539194632 .fill-N1{fill:#0A0F25;} + .d2-2539194632 .fill-N2{fill:#676C7E;} + .d2-2539194632 .fill-N3{fill:#9499AB;} + .d2-2539194632 .fill-N4{fill:#CFD2DD;} + .d2-2539194632 .fill-N5{fill:#DEE1EB;} + .d2-2539194632 .fill-N6{fill:#EEF1F8;} + .d2-2539194632 .fill-N7{fill:#FFFFFF;} + .d2-2539194632 .fill-B1{fill:#0D32B2;} + .d2-2539194632 .fill-B2{fill:#0D32B2;} + .d2-2539194632 .fill-B3{fill:#E3E9FD;} + .d2-2539194632 .fill-B4{fill:#E3E9FD;} + .d2-2539194632 .fill-B5{fill:#EDF0FD;} + .d2-2539194632 .fill-B6{fill:#F7F8FE;} + .d2-2539194632 .fill-AA2{fill:#4A6FF3;} + .d2-2539194632 .fill-AA4{fill:#EDF0FD;} + .d2-2539194632 .fill-AA5{fill:#F7F8FE;} + .d2-2539194632 .fill-AB4{fill:#EDF0FD;} + .d2-2539194632 .fill-AB5{fill:#F7F8FE;} + .d2-2539194632 .stroke-N1{stroke:#0A0F25;} + .d2-2539194632 .stroke-N2{stroke:#676C7E;} + .d2-2539194632 .stroke-N3{stroke:#9499AB;} + .d2-2539194632 .stroke-N4{stroke:#CFD2DD;} + .d2-2539194632 .stroke-N5{stroke:#DEE1EB;} + .d2-2539194632 .stroke-N6{stroke:#EEF1F8;} + .d2-2539194632 .stroke-N7{stroke:#FFFFFF;} + .d2-2539194632 .stroke-B1{stroke:#0D32B2;} + .d2-2539194632 .stroke-B2{stroke:#0D32B2;} + .d2-2539194632 .stroke-B3{stroke:#E3E9FD;} + .d2-2539194632 .stroke-B4{stroke:#E3E9FD;} + .d2-2539194632 .stroke-B5{stroke:#EDF0FD;} + .d2-2539194632 .stroke-B6{stroke:#F7F8FE;} + .d2-2539194632 .stroke-AA2{stroke:#4A6FF3;} + .d2-2539194632 .stroke-AA4{stroke:#EDF0FD;} + .d2-2539194632 .stroke-AA5{stroke:#F7F8FE;} + .d2-2539194632 .stroke-AB4{stroke:#EDF0FD;} + .d2-2539194632 .stroke-AB5{stroke:#F7F8FE;} + .d2-2539194632 .background-color-N1{background-color:#0A0F25;} + .d2-2539194632 .background-color-N2{background-color:#676C7E;} + .d2-2539194632 .background-color-N3{background-color:#9499AB;} + .d2-2539194632 .background-color-N4{background-color:#CFD2DD;} + .d2-2539194632 .background-color-N5{background-color:#DEE1EB;} + .d2-2539194632 .background-color-N6{background-color:#EEF1F8;} + .d2-2539194632 .background-color-N7{background-color:#FFFFFF;} + .d2-2539194632 .background-color-B1{background-color:#0D32B2;} + .d2-2539194632 .background-color-B2{background-color:#0D32B2;} + .d2-2539194632 .background-color-B3{background-color:#E3E9FD;} + .d2-2539194632 .background-color-B4{background-color:#E3E9FD;} + .d2-2539194632 .background-color-B5{background-color:#EDF0FD;} + .d2-2539194632 .background-color-B6{background-color:#F7F8FE;} + .d2-2539194632 .background-color-AA2{background-color:#4A6FF3;} + .d2-2539194632 .background-color-AA4{background-color:#EDF0FD;} + .d2-2539194632 .background-color-AA5{background-color:#F7F8FE;} + .d2-2539194632 .background-color-AB4{background-color:#EDF0FD;} + .d2-2539194632 .background-color-AB5{background-color:#F7F8FE;} + .d2-2539194632 .color-N1{color:#0A0F25;} + .d2-2539194632 .color-N2{color:#676C7E;} + .d2-2539194632 .color-N3{color:#9499AB;} + .d2-2539194632 .color-N4{color:#CFD2DD;} + .d2-2539194632 .color-N5{color:#DEE1EB;} + .d2-2539194632 .color-N6{color:#EEF1F8;} + .d2-2539194632 .color-N7{color:#FFFFFF;} + .d2-2539194632 .color-B1{color:#0D32B2;} + .d2-2539194632 .color-B2{color:#0D32B2;} + .d2-2539194632 .color-B3{color:#E3E9FD;} + .d2-2539194632 .color-B4{color:#E3E9FD;} + .d2-2539194632 .color-B5{color:#EDF0FD;} + .d2-2539194632 .color-B6{color:#F7F8FE;} + .d2-2539194632 .color-AA2{color:#4A6FF3;} + .d2-2539194632 .color-AA4{color:#EDF0FD;} + .d2-2539194632 .color-AA5{color:#F7F8FE;} + .d2-2539194632 .color-AB4{color:#EDF0FD;} + .d2-2539194632 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>VPC 1 10.1.0.0./16Availability Zone AFirewall Subnet AEC2 Instance + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/icon-containers/elk/sketch.exp.svg b/e2etests/testdata/stable/icon-containers/elk/sketch.exp.svg index e2784c09a..e45de66fb 100644 --- a/e2etests/testdata/stable/icon-containers/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/icon-containers/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -VPC 1 10.1.0.0./16Availability Zone AFirewall Subnet AEC2 Instance + .d2-3398804513 .fill-N1{fill:#0A0F25;} + .d2-3398804513 .fill-N2{fill:#676C7E;} + .d2-3398804513 .fill-N3{fill:#9499AB;} + .d2-3398804513 .fill-N4{fill:#CFD2DD;} + .d2-3398804513 .fill-N5{fill:#DEE1EB;} + .d2-3398804513 .fill-N6{fill:#EEF1F8;} + .d2-3398804513 .fill-N7{fill:#FFFFFF;} + .d2-3398804513 .fill-B1{fill:#0D32B2;} + .d2-3398804513 .fill-B2{fill:#0D32B2;} + .d2-3398804513 .fill-B3{fill:#E3E9FD;} + .d2-3398804513 .fill-B4{fill:#E3E9FD;} + .d2-3398804513 .fill-B5{fill:#EDF0FD;} + .d2-3398804513 .fill-B6{fill:#F7F8FE;} + .d2-3398804513 .fill-AA2{fill:#4A6FF3;} + .d2-3398804513 .fill-AA4{fill:#EDF0FD;} + .d2-3398804513 .fill-AA5{fill:#F7F8FE;} + .d2-3398804513 .fill-AB4{fill:#EDF0FD;} + .d2-3398804513 .fill-AB5{fill:#F7F8FE;} + .d2-3398804513 .stroke-N1{stroke:#0A0F25;} + .d2-3398804513 .stroke-N2{stroke:#676C7E;} + .d2-3398804513 .stroke-N3{stroke:#9499AB;} + .d2-3398804513 .stroke-N4{stroke:#CFD2DD;} + .d2-3398804513 .stroke-N5{stroke:#DEE1EB;} + .d2-3398804513 .stroke-N6{stroke:#EEF1F8;} + .d2-3398804513 .stroke-N7{stroke:#FFFFFF;} + .d2-3398804513 .stroke-B1{stroke:#0D32B2;} + .d2-3398804513 .stroke-B2{stroke:#0D32B2;} + .d2-3398804513 .stroke-B3{stroke:#E3E9FD;} + .d2-3398804513 .stroke-B4{stroke:#E3E9FD;} + .d2-3398804513 .stroke-B5{stroke:#EDF0FD;} + .d2-3398804513 .stroke-B6{stroke:#F7F8FE;} + .d2-3398804513 .stroke-AA2{stroke:#4A6FF3;} + .d2-3398804513 .stroke-AA4{stroke:#EDF0FD;} + .d2-3398804513 .stroke-AA5{stroke:#F7F8FE;} + .d2-3398804513 .stroke-AB4{stroke:#EDF0FD;} + .d2-3398804513 .stroke-AB5{stroke:#F7F8FE;} + .d2-3398804513 .background-color-N1{background-color:#0A0F25;} + .d2-3398804513 .background-color-N2{background-color:#676C7E;} + .d2-3398804513 .background-color-N3{background-color:#9499AB;} + .d2-3398804513 .background-color-N4{background-color:#CFD2DD;} + .d2-3398804513 .background-color-N5{background-color:#DEE1EB;} + .d2-3398804513 .background-color-N6{background-color:#EEF1F8;} + .d2-3398804513 .background-color-N7{background-color:#FFFFFF;} + .d2-3398804513 .background-color-B1{background-color:#0D32B2;} + .d2-3398804513 .background-color-B2{background-color:#0D32B2;} + .d2-3398804513 .background-color-B3{background-color:#E3E9FD;} + .d2-3398804513 .background-color-B4{background-color:#E3E9FD;} + .d2-3398804513 .background-color-B5{background-color:#EDF0FD;} + .d2-3398804513 .background-color-B6{background-color:#F7F8FE;} + .d2-3398804513 .background-color-AA2{background-color:#4A6FF3;} + .d2-3398804513 .background-color-AA4{background-color:#EDF0FD;} + .d2-3398804513 .background-color-AA5{background-color:#F7F8FE;} + .d2-3398804513 .background-color-AB4{background-color:#EDF0FD;} + .d2-3398804513 .background-color-AB5{background-color:#F7F8FE;} + .d2-3398804513 .color-N1{color:#0A0F25;} + .d2-3398804513 .color-N2{color:#676C7E;} + .d2-3398804513 .color-N3{color:#9499AB;} + .d2-3398804513 .color-N4{color:#CFD2DD;} + .d2-3398804513 .color-N5{color:#DEE1EB;} + .d2-3398804513 .color-N6{color:#EEF1F8;} + .d2-3398804513 .color-N7{color:#FFFFFF;} + .d2-3398804513 .color-B1{color:#0D32B2;} + .d2-3398804513 .color-B2{color:#0D32B2;} + .d2-3398804513 .color-B3{color:#E3E9FD;} + .d2-3398804513 .color-B4{color:#E3E9FD;} + .d2-3398804513 .color-B5{color:#EDF0FD;} + .d2-3398804513 .color-B6{color:#F7F8FE;} + .d2-3398804513 .color-AA2{color:#4A6FF3;} + .d2-3398804513 .color-AA4{color:#EDF0FD;} + .d2-3398804513 .color-AA5{color:#F7F8FE;} + .d2-3398804513 .color-AB4{color:#EDF0FD;} + .d2-3398804513 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>VPC 1 10.1.0.0./16Availability Zone AFirewall Subnet AEC2 Instance diff --git a/e2etests/testdata/stable/icon-label/dagre/board.exp.json b/e2etests/testdata/stable/icon-label/dagre/board.exp.json index 45663531c..7592012a6 100644 --- a/e2etests/testdata/stable/icon-label/dagre/board.exp.json +++ b/e2etests/testdata/stable/icon-label/dagre/board.exp.json @@ -11,7 +11,7 @@ "y": 0 }, "width": 106, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, diff --git a/e2etests/testdata/stable/icon-label/dagre/sketch.exp.svg b/e2etests/testdata/stable/icon-label/dagre/sketch.exp.svg index 31b45f743..ab98b98d1 100644 --- a/e2etests/testdata/stable/icon-label/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/icon-label/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -hello - + .d2-251333500 .fill-N1{fill:#0A0F25;} + .d2-251333500 .fill-N2{fill:#676C7E;} + .d2-251333500 .fill-N3{fill:#9499AB;} + .d2-251333500 .fill-N4{fill:#CFD2DD;} + .d2-251333500 .fill-N5{fill:#DEE1EB;} + .d2-251333500 .fill-N6{fill:#EEF1F8;} + .d2-251333500 .fill-N7{fill:#FFFFFF;} + .d2-251333500 .fill-B1{fill:#0D32B2;} + .d2-251333500 .fill-B2{fill:#0D32B2;} + .d2-251333500 .fill-B3{fill:#E3E9FD;} + .d2-251333500 .fill-B4{fill:#E3E9FD;} + .d2-251333500 .fill-B5{fill:#EDF0FD;} + .d2-251333500 .fill-B6{fill:#F7F8FE;} + .d2-251333500 .fill-AA2{fill:#4A6FF3;} + .d2-251333500 .fill-AA4{fill:#EDF0FD;} + .d2-251333500 .fill-AA5{fill:#F7F8FE;} + .d2-251333500 .fill-AB4{fill:#EDF0FD;} + .d2-251333500 .fill-AB5{fill:#F7F8FE;} + .d2-251333500 .stroke-N1{stroke:#0A0F25;} + .d2-251333500 .stroke-N2{stroke:#676C7E;} + .d2-251333500 .stroke-N3{stroke:#9499AB;} + .d2-251333500 .stroke-N4{stroke:#CFD2DD;} + .d2-251333500 .stroke-N5{stroke:#DEE1EB;} + .d2-251333500 .stroke-N6{stroke:#EEF1F8;} + .d2-251333500 .stroke-N7{stroke:#FFFFFF;} + .d2-251333500 .stroke-B1{stroke:#0D32B2;} + .d2-251333500 .stroke-B2{stroke:#0D32B2;} + .d2-251333500 .stroke-B3{stroke:#E3E9FD;} + .d2-251333500 .stroke-B4{stroke:#E3E9FD;} + .d2-251333500 .stroke-B5{stroke:#EDF0FD;} + .d2-251333500 .stroke-B6{stroke:#F7F8FE;} + .d2-251333500 .stroke-AA2{stroke:#4A6FF3;} + .d2-251333500 .stroke-AA4{stroke:#EDF0FD;} + .d2-251333500 .stroke-AA5{stroke:#F7F8FE;} + .d2-251333500 .stroke-AB4{stroke:#EDF0FD;} + .d2-251333500 .stroke-AB5{stroke:#F7F8FE;} + .d2-251333500 .background-color-N1{background-color:#0A0F25;} + .d2-251333500 .background-color-N2{background-color:#676C7E;} + .d2-251333500 .background-color-N3{background-color:#9499AB;} + .d2-251333500 .background-color-N4{background-color:#CFD2DD;} + .d2-251333500 .background-color-N5{background-color:#DEE1EB;} + .d2-251333500 .background-color-N6{background-color:#EEF1F8;} + .d2-251333500 .background-color-N7{background-color:#FFFFFF;} + .d2-251333500 .background-color-B1{background-color:#0D32B2;} + .d2-251333500 .background-color-B2{background-color:#0D32B2;} + .d2-251333500 .background-color-B3{background-color:#E3E9FD;} + .d2-251333500 .background-color-B4{background-color:#E3E9FD;} + .d2-251333500 .background-color-B5{background-color:#EDF0FD;} + .d2-251333500 .background-color-B6{background-color:#F7F8FE;} + .d2-251333500 .background-color-AA2{background-color:#4A6FF3;} + .d2-251333500 .background-color-AA4{background-color:#EDF0FD;} + .d2-251333500 .background-color-AA5{background-color:#F7F8FE;} + .d2-251333500 .background-color-AB4{background-color:#EDF0FD;} + .d2-251333500 .background-color-AB5{background-color:#F7F8FE;} + .d2-251333500 .color-N1{color:#0A0F25;} + .d2-251333500 .color-N2{color:#676C7E;} + .d2-251333500 .color-N3{color:#9499AB;} + .d2-251333500 .color-N4{color:#CFD2DD;} + .d2-251333500 .color-N5{color:#DEE1EB;} + .d2-251333500 .color-N6{color:#EEF1F8;} + .d2-251333500 .color-N7{color:#FFFFFF;} + .d2-251333500 .color-B1{color:#0D32B2;} + .d2-251333500 .color-B2{color:#0D32B2;} + .d2-251333500 .color-B3{color:#E3E9FD;} + .d2-251333500 .color-B4{color:#E3E9FD;} + .d2-251333500 .color-B5{color:#EDF0FD;} + .d2-251333500 .color-B6{color:#F7F8FE;} + .d2-251333500 .color-AA2{color:#4A6FF3;} + .d2-251333500 .color-AA4{color:#EDF0FD;} + .d2-251333500 .color-AA5{color:#F7F8FE;} + .d2-251333500 .color-AB4{color:#EDF0FD;} + .d2-251333500 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>hello + \ No newline at end of file diff --git a/e2etests/testdata/stable/icon-label/elk/sketch.exp.svg b/e2etests/testdata/stable/icon-label/elk/sketch.exp.svg index 68037ef7b..e6e5cda9b 100644 --- a/e2etests/testdata/stable/icon-label/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/icon-label/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -hello + .d2-3104756215 .fill-N1{fill:#0A0F25;} + .d2-3104756215 .fill-N2{fill:#676C7E;} + .d2-3104756215 .fill-N3{fill:#9499AB;} + .d2-3104756215 .fill-N4{fill:#CFD2DD;} + .d2-3104756215 .fill-N5{fill:#DEE1EB;} + .d2-3104756215 .fill-N6{fill:#EEF1F8;} + .d2-3104756215 .fill-N7{fill:#FFFFFF;} + .d2-3104756215 .fill-B1{fill:#0D32B2;} + .d2-3104756215 .fill-B2{fill:#0D32B2;} + .d2-3104756215 .fill-B3{fill:#E3E9FD;} + .d2-3104756215 .fill-B4{fill:#E3E9FD;} + .d2-3104756215 .fill-B5{fill:#EDF0FD;} + .d2-3104756215 .fill-B6{fill:#F7F8FE;} + .d2-3104756215 .fill-AA2{fill:#4A6FF3;} + .d2-3104756215 .fill-AA4{fill:#EDF0FD;} + .d2-3104756215 .fill-AA5{fill:#F7F8FE;} + .d2-3104756215 .fill-AB4{fill:#EDF0FD;} + .d2-3104756215 .fill-AB5{fill:#F7F8FE;} + .d2-3104756215 .stroke-N1{stroke:#0A0F25;} + .d2-3104756215 .stroke-N2{stroke:#676C7E;} + .d2-3104756215 .stroke-N3{stroke:#9499AB;} + .d2-3104756215 .stroke-N4{stroke:#CFD2DD;} + .d2-3104756215 .stroke-N5{stroke:#DEE1EB;} + .d2-3104756215 .stroke-N6{stroke:#EEF1F8;} + .d2-3104756215 .stroke-N7{stroke:#FFFFFF;} + .d2-3104756215 .stroke-B1{stroke:#0D32B2;} + .d2-3104756215 .stroke-B2{stroke:#0D32B2;} + .d2-3104756215 .stroke-B3{stroke:#E3E9FD;} + .d2-3104756215 .stroke-B4{stroke:#E3E9FD;} + .d2-3104756215 .stroke-B5{stroke:#EDF0FD;} + .d2-3104756215 .stroke-B6{stroke:#F7F8FE;} + .d2-3104756215 .stroke-AA2{stroke:#4A6FF3;} + .d2-3104756215 .stroke-AA4{stroke:#EDF0FD;} + .d2-3104756215 .stroke-AA5{stroke:#F7F8FE;} + .d2-3104756215 .stroke-AB4{stroke:#EDF0FD;} + .d2-3104756215 .stroke-AB5{stroke:#F7F8FE;} + .d2-3104756215 .background-color-N1{background-color:#0A0F25;} + .d2-3104756215 .background-color-N2{background-color:#676C7E;} + .d2-3104756215 .background-color-N3{background-color:#9499AB;} + .d2-3104756215 .background-color-N4{background-color:#CFD2DD;} + .d2-3104756215 .background-color-N5{background-color:#DEE1EB;} + .d2-3104756215 .background-color-N6{background-color:#EEF1F8;} + .d2-3104756215 .background-color-N7{background-color:#FFFFFF;} + .d2-3104756215 .background-color-B1{background-color:#0D32B2;} + .d2-3104756215 .background-color-B2{background-color:#0D32B2;} + .d2-3104756215 .background-color-B3{background-color:#E3E9FD;} + .d2-3104756215 .background-color-B4{background-color:#E3E9FD;} + .d2-3104756215 .background-color-B5{background-color:#EDF0FD;} + .d2-3104756215 .background-color-B6{background-color:#F7F8FE;} + .d2-3104756215 .background-color-AA2{background-color:#4A6FF3;} + .d2-3104756215 .background-color-AA4{background-color:#EDF0FD;} + .d2-3104756215 .background-color-AA5{background-color:#F7F8FE;} + .d2-3104756215 .background-color-AB4{background-color:#EDF0FD;} + .d2-3104756215 .background-color-AB5{background-color:#F7F8FE;} + .d2-3104756215 .color-N1{color:#0A0F25;} + .d2-3104756215 .color-N2{color:#676C7E;} + .d2-3104756215 .color-N3{color:#9499AB;} + .d2-3104756215 .color-N4{color:#CFD2DD;} + .d2-3104756215 .color-N5{color:#DEE1EB;} + .d2-3104756215 .color-N6{color:#EEF1F8;} + .d2-3104756215 .color-N7{color:#FFFFFF;} + .d2-3104756215 .color-B1{color:#0D32B2;} + .d2-3104756215 .color-B2{color:#0D32B2;} + .d2-3104756215 .color-B3{color:#E3E9FD;} + .d2-3104756215 .color-B4{color:#E3E9FD;} + .d2-3104756215 .color-B5{color:#EDF0FD;} + .d2-3104756215 .color-B6{color:#F7F8FE;} + .d2-3104756215 .color-AA2{color:#4A6FF3;} + .d2-3104756215 .color-AA4{color:#EDF0FD;} + .d2-3104756215 .color-AA5{color:#F7F8FE;} + .d2-3104756215 .color-AB4{color:#EDF0FD;} + .d2-3104756215 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>hello \ No newline at end of file diff --git a/e2etests/testdata/stable/icon_positions/dagre/board.exp.json b/e2etests/testdata/stable/icon_positions/dagre/board.exp.json index 5c7dc0eb5..a2eecb56f 100644 --- a/e2etests/testdata/stable/icon_positions/dagre/board.exp.json +++ b/e2etests/testdata/stable/icon_positions/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "non container", "type": "rectangle", "pos": { - "x": 187, - "y": 41 + "x": 171, + "y": -72 }, - "width": 5649, - "height": 209, + "width": 6221, + "height": 240, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -51,11 +51,11 @@ "icon" ], "pos": { - "x": 227, - "y": 86 + "x": 201, + "y": 2 }, "width": 122, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -108,11 +108,11 @@ "OutsideTopLeft" ], "pos": { - "x": 409, - "y": 86 + "x": 383, + "y": 2 }, "width": 182, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -165,11 +165,11 @@ "OutsideTopCenter" ], "pos": { - "x": 651, - "y": 86 + "x": 625, + "y": 2 }, "width": 202, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -222,11 +222,11 @@ "OutsideTopRight" ], "pos": { - "x": 913, - "y": 86 + "x": 887, + "y": 2 }, "width": 191, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -279,11 +279,11 @@ "OutsideLeftTop" ], "pos": { - "x": 1164, - "y": 86 + "x": 1212, + "y": 2 }, "width": 182, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -336,11 +336,11 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1406, - "y": 86 + "x": 1528, + "y": 2 }, "width": 202, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -393,11 +393,11 @@ "OutsideLeftBottom" ], "pos": { - "x": 1668, - "y": 86 + "x": 1864, + "y": 2 }, "width": 207, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -450,11 +450,11 @@ "OutsideRightTop" ], "pos": { - "x": 1935, - "y": 86 + "x": 2131, + "y": 2 }, "width": 191, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -507,11 +507,11 @@ "OutsideRightMiddle" ], "pos": { - "x": 2186, - "y": 86 + "x": 2456, + "y": 2 }, "width": 212, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -564,11 +564,11 @@ "OutsideRightBottom" ], "pos": { - "x": 2458, - "y": 86 + "x": 2802, + "y": 2 }, "width": 217, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -621,11 +621,11 @@ "OutsideBottomLeft" ], "pos": { - "x": 2735, - "y": 86 + "x": 3153, + "y": 2 }, "width": 208, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -678,11 +678,11 @@ "OutsideBottomCenter" ], "pos": { - "x": 3003, - "y": 86 + "x": 3421, + "y": 2 }, "width": 228, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -735,11 +735,11 @@ "OutsideBottomRight" ], "pos": { - "x": 3291, - "y": 86 + "x": 3709, + "y": 2 }, "width": 218, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -792,11 +792,11 @@ "InsideTopLeft" ], "pos": { - "x": 3569, - "y": 86 + "x": 3987, + "y": 2 }, "width": 168, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -849,11 +849,11 @@ "InsideTopCenter" ], "pos": { - "x": 3797, - "y": 86 + "x": 4215, + "y": 2 }, "width": 189, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -906,11 +906,11 @@ "InsideTopRight" ], "pos": { - "x": 4046, - "y": 86 + "x": 4464, + "y": 2 }, "width": 178, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -963,11 +963,11 @@ "InsideMiddleLeft" ], "pos": { - "x": 4284, - "y": 86 + "x": 4702, + "y": 2 }, - "width": 189, - "height": 118, + "width": 263, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1020,11 +1020,11 @@ "InsideMiddleCenter" ], "pos": { - "x": 4533, - "y": 86 + "x": 5025, + "y": 2 }, "width": 209, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1077,11 +1077,11 @@ "InsideMiddleRight" ], "pos": { - "x": 4802, - "y": 86 + "x": 5294, + "y": 2 }, - "width": 199, - "height": 118, + "width": 273, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1134,11 +1134,11 @@ "InsideBottomLeft" ], "pos": { - "x": 5061, - "y": 86 + "x": 5627, + "y": 2 }, "width": 195, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1191,11 +1191,11 @@ "InsideBottomCenter" ], "pos": { - "x": 5316, - "y": 86 + "x": 5882, + "y": 2 }, "width": 215, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1248,11 +1248,11 @@ "InsideBottomRight" ], "pos": { - "x": 5591, - "y": 86 + "x": 6157, + "y": 2 }, "width": 205, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1302,10 +1302,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 423 + "y": 301 }, - "width": 5983, - "height": 341, + "width": 6549, + "height": 285, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1341,12 +1341,15 @@ { "id": "container.Default", "type": "rectangle", + "classes": [ + "icon" + ], "pos": { - "x": 20, - "y": 504 + "x": 30, + "y": 386 }, - "width": 202, - "height": 214, + "width": 156, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1359,50 +1362,6 @@ "double-border": false, "tooltip": "", "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "Default", - "fontSize": 24, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 71, - "labelHeight": 31, - "labelPosition": "OUTSIDE_TOP_CENTER", - "zIndex": 0, - "level": 2 - }, - { - "id": "container.Default.Default", - "type": "rectangle", - "classes": [ - "icon" - ], - "pos": { - "x": 60, - "y": 552 - }, - "width": 122, - "height": 118, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B6", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", "icon": { "Scheme": "https", "Opaque": "", @@ -1416,7 +1375,48 @@ "Fragment": "", "RawFragment": "" }, - "iconPosition": "INSIDE_MIDDLE_CENTER", + "iconPosition": "OUTSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Default", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 71, + "labelHeight": 31, + "labelPosition": "OUTSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "container.Default.Default", + "type": "rectangle", + "pos": { + "x": 60, + "y": 416 + }, + "width": 96, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", "blend": false, "fields": null, "methods": null, @@ -1431,7 +1431,7 @@ "underline": false, "labelWidth": 51, "labelHeight": 21, - "labelPosition": "INSIDE_TOP_CENTER", + "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 3 }, @@ -1443,11 +1443,11 @@ "OutsideTopLeft" ], "pos": { - "x": 242, - "y": 504 + "x": 226, + "y": 386 }, - "width": 236, - "height": 214, + "width": 216, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1500,11 +1500,11 @@ "OutsideTopCenter" ], "pos": { - "x": 498, - "y": 504 + "x": 482, + "y": 386 }, - "width": 256, - "height": 214, + "width": 236, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1557,11 +1557,11 @@ "OutsideTopRight" ], "pos": { - "x": 774, - "y": 504 + "x": 758, + "y": 386 }, - "width": 245, - "height": 214, + "width": 225, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1614,11 +1614,11 @@ "OutsideLeftTop" ], "pos": { - "x": 1039, - "y": 504 + "x": 1097, + "y": 386 }, - "width": 236, - "height": 214, + "width": 216, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1671,11 +1671,11 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1295, - "y": 504 + "x": 1427, + "y": 386 }, - "width": 256, - "height": 214, + "width": 236, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1728,11 +1728,11 @@ "OutsideLeftBottom" ], "pos": { - "x": 1571, - "y": 504 + "x": 1777, + "y": 386 }, - "width": 261, - "height": 214, + "width": 241, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1785,11 +1785,11 @@ "OutsideRightTop" ], "pos": { - "x": 1852, - "y": 504 + "x": 2058, + "y": 386 }, - "width": 245, - "height": 214, + "width": 225, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1842,11 +1842,11 @@ "OutsideRightMiddle" ], "pos": { - "x": 2117, - "y": 504 + "x": 2397, + "y": 386 }, - "width": 266, - "height": 214, + "width": 246, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1899,11 +1899,11 @@ "OutsideRightBottom" ], "pos": { - "x": 2403, - "y": 504 + "x": 2757, + "y": 386 }, - "width": 271, - "height": 214, + "width": 251, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1956,11 +1956,11 @@ "OutsideBottomLeft" ], "pos": { - "x": 2694, - "y": 504 + "x": 3122, + "y": 386 }, - "width": 262, - "height": 214, + "width": 242, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2013,11 +2013,11 @@ "OutsideBottomCenter" ], "pos": { - "x": 2976, - "y": 504 + "x": 3404, + "y": 386 }, - "width": 282, - "height": 214, + "width": 262, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2070,11 +2070,11 @@ "OutsideBottomRight" ], "pos": { - "x": 3278, - "y": 504 + "x": 3706, + "y": 386 }, - "width": 272, - "height": 214, + "width": 252, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2127,11 +2127,11 @@ "InsideTopLeft" ], "pos": { - "x": 3570, - "y": 504 + "x": 3998, + "y": 342 }, - "width": 222, - "height": 214, + "width": 202, + "height": 170, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2184,11 +2184,11 @@ "InsideTopCenter" ], "pos": { - "x": 3812, - "y": 504 + "x": 4240, + "y": 342 }, - "width": 243, - "height": 214, + "width": 223, + "height": 170, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2241,11 +2241,11 @@ "InsideTopRight" ], "pos": { - "x": 4075, - "y": 504 + "x": 4503, + "y": 342 }, - "width": 232, - "height": 214, + "width": 212, + "height": 170, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2298,11 +2298,11 @@ "InsideMiddleLeft" ], "pos": { - "x": 4327, - "y": 504 + "x": 4785, + "y": 386 }, - "width": 243, - "height": 214, + "width": 267, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2355,11 +2355,11 @@ "InsideMiddleCenter" ], "pos": { - "x": 4590, - "y": 504 + "x": 5092, + "y": 386 }, - "width": 263, - "height": 214, + "width": 243, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2412,11 +2412,11 @@ "InsideMiddleRight" ], "pos": { - "x": 4873, - "y": 504 + "x": 5375, + "y": 386 }, - "width": 253, - "height": 214, + "width": 277, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2469,11 +2469,11 @@ "InsideBottomLeft" ], "pos": { - "x": 5146, - "y": 504 + "x": 5722, + "y": 386 }, - "width": 249, - "height": 214, + "width": 229, + "height": 170, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2526,11 +2526,11 @@ "InsideBottomCenter" ], "pos": { - "x": 5415, - "y": 504 + "x": 5991, + "y": 386 }, - "width": 269, - "height": 214, + "width": 249, + "height": 170, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2583,11 +2583,11 @@ "InsideBottomRight" ], "pos": { - "x": 5704, - "y": 504 + "x": 6280, + "y": 386 }, - "width": 259, - "height": 214, + "width": 239, + "height": 170, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2636,8 +2636,8 @@ "id": "container.OutsideTopLeft.OutsideTopLeft", "type": "rectangle", "pos": { - "x": 282, - "y": 578 + "x": 256, + "y": 416 }, "width": 156, "height": 66, @@ -2677,8 +2677,8 @@ "id": "container.OutsideTopCenter.OutsideTopCenter", "type": "rectangle", "pos": { - "x": 538, - "y": 578 + "x": 512, + "y": 416 }, "width": 176, "height": 66, @@ -2718,8 +2718,8 @@ "id": "container.OutsideTopRight.OutsideTopRight", "type": "rectangle", "pos": { - "x": 814, - "y": 578 + "x": 788, + "y": 416 }, "width": 165, "height": 66, @@ -2759,8 +2759,8 @@ "id": "container.OutsideLeftTop.OutsideLeftTop", "type": "rectangle", "pos": { - "x": 1079, - "y": 578 + "x": 1127, + "y": 416 }, "width": 156, "height": 66, @@ -2800,8 +2800,8 @@ "id": "container.OutsideLeftMiddle.OutsideLeftMiddle", "type": "rectangle", "pos": { - "x": 1335, - "y": 578 + "x": 1457, + "y": 416 }, "width": 176, "height": 66, @@ -2841,8 +2841,8 @@ "id": "container.OutsideLeftBottom.OutsideLeftBottom", "type": "rectangle", "pos": { - "x": 1611, - "y": 578 + "x": 1807, + "y": 416 }, "width": 181, "height": 66, @@ -2882,8 +2882,8 @@ "id": "container.OutsideRightTop.OutsideRightTop", "type": "rectangle", "pos": { - "x": 1892, - "y": 578 + "x": 2088, + "y": 416 }, "width": 165, "height": 66, @@ -2923,8 +2923,8 @@ "id": "container.OutsideRightMiddle.OutsideRightMiddle", "type": "rectangle", "pos": { - "x": 2157, - "y": 578 + "x": 2427, + "y": 416 }, "width": 186, "height": 66, @@ -2964,8 +2964,8 @@ "id": "container.OutsideRightBottom.OutsideRightBottom", "type": "rectangle", "pos": { - "x": 2443, - "y": 578 + "x": 2787, + "y": 416 }, "width": 191, "height": 66, @@ -3005,8 +3005,8 @@ "id": "container.OutsideBottomLeft.OutsideBottomLeft", "type": "rectangle", "pos": { - "x": 2734, - "y": 578 + "x": 3152, + "y": 416 }, "width": 182, "height": 66, @@ -3046,8 +3046,8 @@ "id": "container.OutsideBottomCenter.OutsideBottomCenter", "type": "rectangle", "pos": { - "x": 3016, - "y": 578 + "x": 3434, + "y": 416 }, "width": 202, "height": 66, @@ -3087,8 +3087,8 @@ "id": "container.OutsideBottomRight.OutsideBottomRight", "type": "rectangle", "pos": { - "x": 3318, - "y": 578 + "x": 3736, + "y": 416 }, "width": 192, "height": 66, @@ -3128,8 +3128,8 @@ "id": "container.InsideTopLeft.InsideTopLeft", "type": "rectangle", "pos": { - "x": 3610, - "y": 578 + "x": 4028, + "y": 416 }, "width": 142, "height": 66, @@ -3169,8 +3169,8 @@ "id": "container.InsideTopCenter.InsideTopCenter", "type": "rectangle", "pos": { - "x": 3852, - "y": 578 + "x": 4270, + "y": 416 }, "width": 163, "height": 66, @@ -3210,8 +3210,8 @@ "id": "container.InsideTopRight.InsideTopRight", "type": "rectangle", "pos": { - "x": 4115, - "y": 578 + "x": 4533, + "y": 416 }, "width": 152, "height": 66, @@ -3251,8 +3251,8 @@ "id": "container.InsideMiddleLeft.InsideMiddleLeft", "type": "rectangle", "pos": { - "x": 4367, - "y": 578 + "x": 4859, + "y": 416 }, "width": 163, "height": 66, @@ -3292,8 +3292,8 @@ "id": "container.InsideMiddleCenter.InsideMiddleCenter", "type": "rectangle", "pos": { - "x": 4630, - "y": 578 + "x": 5122, + "y": 416 }, "width": 183, "height": 66, @@ -3333,8 +3333,8 @@ "id": "container.InsideMiddleRight.InsideMiddleRight", "type": "rectangle", "pos": { - "x": 4913, - "y": 578 + "x": 5405, + "y": 416 }, "width": 173, "height": 66, @@ -3374,8 +3374,8 @@ "id": "container.InsideBottomLeft.InsideBottomLeft", "type": "rectangle", "pos": { - "x": 5186, - "y": 578 + "x": 5752, + "y": 416 }, "width": 169, "height": 66, @@ -3415,8 +3415,8 @@ "id": "container.InsideBottomCenter.InsideBottomCenter", "type": "rectangle", "pos": { - "x": 5455, - "y": 578 + "x": 6021, + "y": 416 }, "width": 189, "height": 66, @@ -3456,8 +3456,8 @@ "id": "container.InsideBottomRight.InsideBottomRight", "type": "rectangle", "pos": { - "x": 5744, - "y": 578 + "x": 6310, + "y": 416 }, "width": 179, "height": 66, @@ -3497,11 +3497,11 @@ "id": "image", "type": "rectangle", "pos": { - "x": 945, - "y": 937 + "x": 929, + "y": 750 }, - "width": 4156, - "height": 245, + "width": 4136, + "height": 189, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3542,8 +3542,8 @@ "image" ], "pos": { - "x": 985, - "y": 982 + "x": 959, + "y": 780 }, "width": 128, "height": 128, @@ -3600,8 +3600,8 @@ "OutsideTopLeft" ], "pos": { - "x": 1173, - "y": 982 + "x": 1147, + "y": 780 }, "width": 128, "height": 128, @@ -3658,8 +3658,8 @@ "OutsideTopCenter" ], "pos": { - "x": 1361, - "y": 982 + "x": 1335, + "y": 780 }, "width": 128, "height": 128, @@ -3716,8 +3716,8 @@ "OutsideTopRight" ], "pos": { - "x": 1549, - "y": 982 + "x": 1523, + "y": 780 }, "width": 128, "height": 128, @@ -3774,8 +3774,8 @@ "OutsideLeftTop" ], "pos": { - "x": 1737, - "y": 982 + "x": 1711, + "y": 780 }, "width": 128, "height": 128, @@ -3832,8 +3832,8 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1925, - "y": 982 + "x": 1899, + "y": 780 }, "width": 128, "height": 128, @@ -3890,8 +3890,8 @@ "OutsideLeftBottom" ], "pos": { - "x": 2113, - "y": 982 + "x": 2087, + "y": 780 }, "width": 128, "height": 128, @@ -3948,8 +3948,8 @@ "OutsideRightTop" ], "pos": { - "x": 2301, - "y": 982 + "x": 2275, + "y": 780 }, "width": 128, "height": 128, @@ -4006,8 +4006,8 @@ "OutsideRightMiddle" ], "pos": { - "x": 2489, - "y": 982 + "x": 2463, + "y": 780 }, "width": 128, "height": 128, @@ -4064,8 +4064,8 @@ "OutsideRightBottom" ], "pos": { - "x": 2677, - "y": 982 + "x": 2651, + "y": 780 }, "width": 128, "height": 128, @@ -4122,8 +4122,8 @@ "OutsideBottomLeft" ], "pos": { - "x": 2865, - "y": 982 + "x": 2839, + "y": 780 }, "width": 128, "height": 128, @@ -4180,8 +4180,8 @@ "OutsideBottomCenter" ], "pos": { - "x": 3053, - "y": 982 + "x": 3027, + "y": 780 }, "width": 128, "height": 128, @@ -4238,8 +4238,8 @@ "OutsideBottomRight" ], "pos": { - "x": 3241, - "y": 982 + "x": 3215, + "y": 780 }, "width": 128, "height": 128, @@ -4296,8 +4296,8 @@ "InsideTopLeft" ], "pos": { - "x": 3429, - "y": 982 + "x": 3403, + "y": 780 }, "width": 128, "height": 128, @@ -4354,8 +4354,8 @@ "InsideTopCenter" ], "pos": { - "x": 3617, - "y": 982 + "x": 3591, + "y": 780 }, "width": 128, "height": 128, @@ -4412,8 +4412,8 @@ "InsideTopRight" ], "pos": { - "x": 3805, - "y": 982 + "x": 3779, + "y": 780 }, "width": 128, "height": 128, @@ -4470,8 +4470,8 @@ "InsideMiddleLeft" ], "pos": { - "x": 3993, - "y": 982 + "x": 3967, + "y": 780 }, "width": 128, "height": 128, @@ -4528,8 +4528,8 @@ "InsideMiddleCenter" ], "pos": { - "x": 4181, - "y": 982 + "x": 4155, + "y": 780 }, "width": 128, "height": 128, @@ -4586,8 +4586,8 @@ "InsideMiddleRight" ], "pos": { - "x": 4369, - "y": 982 + "x": 4343, + "y": 780 }, "width": 128, "height": 128, @@ -4644,8 +4644,8 @@ "InsideBottomLeft" ], "pos": { - "x": 4557, - "y": 982 + "x": 4531, + "y": 780 }, "width": 128, "height": 128, @@ -4702,8 +4702,8 @@ "InsideBottomCenter" ], "pos": { - "x": 4745, - "y": 982 + "x": 4719, + "y": 780 }, "width": 128, "height": 128, @@ -4760,8 +4760,8 @@ "InsideBottomRight" ], "pos": { - "x": 4933, - "y": 982 + "x": 4907, + "y": 780 }, "width": 128, "height": 128, @@ -4836,20 +4836,20 @@ "labelPercentage": 0, "route": [ { - "x": 3117, - "y": 250 + "x": 3091, + "y": 168 }, { - "x": 3117, - "y": 302.79998779296875 + "x": 3091, + "y": 208 }, { - "x": 3117, - "y": 337.3999938964844 + "x": 3091, + "y": 234.60000610351562 }, { - "x": 3117, - "y": 423 + "x": 3091, + "y": 301 } ], "isCurve": true, @@ -4883,20 +4883,20 @@ "labelPercentage": 0, "route": [ { - "x": 3117, - "y": 764 + "x": 3091, + "y": 586 }, { - "x": 3117, - "y": 816.7999877929688 + "x": 3091, + "y": 661.2000122070312 }, { - "x": 3117, - "y": 851.4000244140625 + "x": 3091, + "y": 694 }, { - "x": 3117, - "y": 937 + "x": 3091, + "y": 750 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/icon_positions/dagre/sketch.exp.svg b/e2etests/testdata/stable/icon_positions/dagre/sketch.exp.svg index 55fb83111..43464eaaa 100644 --- a/e2etests/testdata/stable/icon_positions/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/icon_positions/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -non containercontainerimageDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-2566192971 .fill-N1{fill:#0A0F25;} + .d2-2566192971 .fill-N2{fill:#676C7E;} + .d2-2566192971 .fill-N3{fill:#9499AB;} + .d2-2566192971 .fill-N4{fill:#CFD2DD;} + .d2-2566192971 .fill-N5{fill:#DEE1EB;} + .d2-2566192971 .fill-N6{fill:#EEF1F8;} + .d2-2566192971 .fill-N7{fill:#FFFFFF;} + .d2-2566192971 .fill-B1{fill:#0D32B2;} + .d2-2566192971 .fill-B2{fill:#0D32B2;} + .d2-2566192971 .fill-B3{fill:#E3E9FD;} + .d2-2566192971 .fill-B4{fill:#E3E9FD;} + .d2-2566192971 .fill-B5{fill:#EDF0FD;} + .d2-2566192971 .fill-B6{fill:#F7F8FE;} + .d2-2566192971 .fill-AA2{fill:#4A6FF3;} + .d2-2566192971 .fill-AA4{fill:#EDF0FD;} + .d2-2566192971 .fill-AA5{fill:#F7F8FE;} + .d2-2566192971 .fill-AB4{fill:#EDF0FD;} + .d2-2566192971 .fill-AB5{fill:#F7F8FE;} + .d2-2566192971 .stroke-N1{stroke:#0A0F25;} + .d2-2566192971 .stroke-N2{stroke:#676C7E;} + .d2-2566192971 .stroke-N3{stroke:#9499AB;} + .d2-2566192971 .stroke-N4{stroke:#CFD2DD;} + .d2-2566192971 .stroke-N5{stroke:#DEE1EB;} + .d2-2566192971 .stroke-N6{stroke:#EEF1F8;} + .d2-2566192971 .stroke-N7{stroke:#FFFFFF;} + .d2-2566192971 .stroke-B1{stroke:#0D32B2;} + .d2-2566192971 .stroke-B2{stroke:#0D32B2;} + .d2-2566192971 .stroke-B3{stroke:#E3E9FD;} + .d2-2566192971 .stroke-B4{stroke:#E3E9FD;} + .d2-2566192971 .stroke-B5{stroke:#EDF0FD;} + .d2-2566192971 .stroke-B6{stroke:#F7F8FE;} + .d2-2566192971 .stroke-AA2{stroke:#4A6FF3;} + .d2-2566192971 .stroke-AA4{stroke:#EDF0FD;} + .d2-2566192971 .stroke-AA5{stroke:#F7F8FE;} + .d2-2566192971 .stroke-AB4{stroke:#EDF0FD;} + .d2-2566192971 .stroke-AB5{stroke:#F7F8FE;} + .d2-2566192971 .background-color-N1{background-color:#0A0F25;} + .d2-2566192971 .background-color-N2{background-color:#676C7E;} + .d2-2566192971 .background-color-N3{background-color:#9499AB;} + .d2-2566192971 .background-color-N4{background-color:#CFD2DD;} + .d2-2566192971 .background-color-N5{background-color:#DEE1EB;} + .d2-2566192971 .background-color-N6{background-color:#EEF1F8;} + .d2-2566192971 .background-color-N7{background-color:#FFFFFF;} + .d2-2566192971 .background-color-B1{background-color:#0D32B2;} + .d2-2566192971 .background-color-B2{background-color:#0D32B2;} + .d2-2566192971 .background-color-B3{background-color:#E3E9FD;} + .d2-2566192971 .background-color-B4{background-color:#E3E9FD;} + .d2-2566192971 .background-color-B5{background-color:#EDF0FD;} + .d2-2566192971 .background-color-B6{background-color:#F7F8FE;} + .d2-2566192971 .background-color-AA2{background-color:#4A6FF3;} + .d2-2566192971 .background-color-AA4{background-color:#EDF0FD;} + .d2-2566192971 .background-color-AA5{background-color:#F7F8FE;} + .d2-2566192971 .background-color-AB4{background-color:#EDF0FD;} + .d2-2566192971 .background-color-AB5{background-color:#F7F8FE;} + .d2-2566192971 .color-N1{color:#0A0F25;} + .d2-2566192971 .color-N2{color:#676C7E;} + .d2-2566192971 .color-N3{color:#9499AB;} + .d2-2566192971 .color-N4{color:#CFD2DD;} + .d2-2566192971 .color-N5{color:#DEE1EB;} + .d2-2566192971 .color-N6{color:#EEF1F8;} + .d2-2566192971 .color-N7{color:#FFFFFF;} + .d2-2566192971 .color-B1{color:#0D32B2;} + .d2-2566192971 .color-B2{color:#0D32B2;} + .d2-2566192971 .color-B3{color:#E3E9FD;} + .d2-2566192971 .color-B4{color:#E3E9FD;} + .d2-2566192971 .color-B5{color:#EDF0FD;} + .d2-2566192971 .color-B6{color:#F7F8FE;} + .d2-2566192971 .color-AA2{color:#4A6FF3;} + .d2-2566192971 .color-AA4{color:#EDF0FD;} + .d2-2566192971 .color-AA5{color:#F7F8FE;} + .d2-2566192971 .color-AB4{color:#EDF0FD;} + .d2-2566192971 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>non containercontainerimageDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/icon_positions/elk/board.exp.json b/e2etests/testdata/stable/icon_positions/elk/board.exp.json index 734368ce4..46b4d3c17 100644 --- a/e2etests/testdata/stable/icon_positions/elk/board.exp.json +++ b/e2etests/testdata/stable/icon_positions/elk/board.exp.json @@ -7,11 +7,11 @@ "id": "non container", "type": "rectangle", "pos": { - "x": 839, + "x": 818, "y": 12 }, - "width": 4829, - "height": 218, + "width": 5243, + "height": 266, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -51,8 +51,8 @@ "icon" ], "pos": { - "x": 889, - "y": 62 + "x": 868, + "y": 86 }, "width": 122, "height": 118, @@ -108,8 +108,8 @@ "OutsideTopLeft" ], "pos": { - "x": 1031, - "y": 62 + "x": 1010, + "y": 86 }, "width": 182, "height": 118, @@ -165,8 +165,8 @@ "OutsideTopCenter" ], "pos": { - "x": 1233, - "y": 62 + "x": 1212, + "y": 86 }, "width": 202, "height": 118, @@ -222,8 +222,8 @@ "OutsideTopRight" ], "pos": { - "x": 1455, - "y": 62 + "x": 1434, + "y": 86 }, "width": 191, "height": 118, @@ -279,8 +279,8 @@ "OutsideLeftTop" ], "pos": { - "x": 1666, - "y": 62 + "x": 1714, + "y": 86 }, "width": 182, "height": 118, @@ -336,8 +336,8 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1868, - "y": 62 + "x": 1985, + "y": 86 }, "width": 202, "height": 118, @@ -393,8 +393,8 @@ "OutsideLeftBottom" ], "pos": { - "x": 2090, - "y": 62 + "x": 2276, + "y": 86 }, "width": 207, "height": 118, @@ -450,8 +450,8 @@ "OutsideRightTop" ], "pos": { - "x": 2317, - "y": 62 + "x": 2503, + "y": 86 }, "width": 191, "height": 118, @@ -507,8 +507,8 @@ "OutsideRightMiddle" ], "pos": { - "x": 2528, - "y": 62 + "x": 2783, + "y": 86 }, "width": 212, "height": 118, @@ -564,8 +564,8 @@ "OutsideRightBottom" ], "pos": { - "x": 2760, - "y": 62 + "x": 3084, + "y": 86 }, "width": 217, "height": 118, @@ -621,8 +621,8 @@ "OutsideBottomLeft" ], "pos": { - "x": 2997, - "y": 62 + "x": 3390, + "y": 86 }, "width": 208, "height": 118, @@ -678,8 +678,8 @@ "OutsideBottomCenter" ], "pos": { - "x": 3225, - "y": 62 + "x": 3618, + "y": 86 }, "width": 228, "height": 118, @@ -735,8 +735,8 @@ "OutsideBottomRight" ], "pos": { - "x": 3473, - "y": 62 + "x": 3866, + "y": 86 }, "width": 218, "height": 118, @@ -792,8 +792,8 @@ "InsideTopLeft" ], "pos": { - "x": 3711, - "y": 62 + "x": 4104, + "y": 86 }, "width": 168, "height": 118, @@ -849,8 +849,8 @@ "InsideTopCenter" ], "pos": { - "x": 3899, - "y": 62 + "x": 4292, + "y": 86 }, "width": 189, "height": 118, @@ -906,8 +906,8 @@ "InsideTopRight" ], "pos": { - "x": 4108, - "y": 62 + "x": 4501, + "y": 86 }, "width": 178, "height": 118, @@ -963,8 +963,8 @@ "InsideMiddleLeft" ], "pos": { - "x": 4306, - "y": 62 + "x": 4699, + "y": 86 }, "width": 189, "height": 118, @@ -1020,8 +1020,8 @@ "InsideMiddleCenter" ], "pos": { - "x": 4515, - "y": 62 + "x": 4908, + "y": 86 }, "width": 209, "height": 118, @@ -1077,8 +1077,8 @@ "InsideMiddleRight" ], "pos": { - "x": 4744, - "y": 62 + "x": 5137, + "y": 86 }, "width": 199, "height": 118, @@ -1134,8 +1134,8 @@ "InsideBottomLeft" ], "pos": { - "x": 4963, - "y": 62 + "x": 5356, + "y": 86 }, "width": 195, "height": 118, @@ -1191,8 +1191,8 @@ "InsideBottomCenter" ], "pos": { - "x": 5178, - "y": 62 + "x": 5571, + "y": 86 }, "width": 215, "height": 118, @@ -1248,8 +1248,8 @@ "InsideBottomRight" ], "pos": { - "x": 5413, - "y": 62 + "x": 5806, + "y": 86 }, "width": 205, "height": 118, @@ -1302,10 +1302,10 @@ "type": "rectangle", "pos": { "x": 12, - "y": 300 + "y": 348 }, - "width": 6484, - "height": 318, + "width": 6855, + "height": 338, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1341,12 +1341,15 @@ { "id": "container.Default", "type": "rectangle", + "classes": [ + "icon" + ], "pos": { "x": 62, - "y": 350 + "y": 422 }, - "width": 222, - "height": 218, + "width": 196, + "height": 190, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1359,50 +1362,6 @@ "double-border": false, "tooltip": "", "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "Default", - "fontSize": 24, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 71, - "labelHeight": 31, - "labelPosition": "INSIDE_TOP_CENTER", - "zIndex": 0, - "level": 2 - }, - { - "id": "container.Default.Default", - "type": "rectangle", - "classes": [ - "icon" - ], - "pos": { - "x": 112, - "y": 400 - }, - "width": 122, - "height": 118, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B6", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", "icon": { "Scheme": "https", "Opaque": "", @@ -1416,7 +1375,48 @@ "Fragment": "", "RawFragment": "" }, - "iconPosition": "INSIDE_MIDDLE_CENTER", + "iconPosition": "INSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Default", + "fontSize": 24, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 71, + "labelHeight": 31, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "container.Default.Default", + "type": "rectangle", + "pos": { + "x": 112, + "y": 496 + }, + "width": 96, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", "blend": false, "fields": null, "methods": null, @@ -1431,7 +1431,7 @@ "underline": false, "labelWidth": 51, "labelHeight": 21, - "labelPosition": "INSIDE_TOP_CENTER", + "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 3 }, @@ -1443,11 +1443,11 @@ "OutsideTopLeft" ], "pos": { - "x": 304, - "y": 364 + "x": 278, + "y": 434 }, "width": 256, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1500,11 +1500,11 @@ "OutsideTopCenter" ], "pos": { - "x": 580, - "y": 364 + "x": 554, + "y": 434 }, "width": 276, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1557,11 +1557,11 @@ "OutsideTopRight" ], "pos": { - "x": 876, - "y": 364 + "x": 850, + "y": 434 }, "width": 265, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1614,11 +1614,11 @@ "OutsideLeftTop" ], "pos": { - "x": 1161, - "y": 364 + "x": 1204, + "y": 434 }, - "width": 256, - "height": 190, + "width": 236, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1671,11 +1671,11 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1437, - "y": 364 + "x": 1529, + "y": 434 }, - "width": 276, - "height": 190, + "width": 265, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1728,11 +1728,11 @@ "OutsideLeftBottom" ], "pos": { - "x": 1733, - "y": 364 + "x": 1883, + "y": 434 }, - "width": 281, - "height": 190, + "width": 273, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1785,11 +1785,11 @@ "OutsideRightTop" ], "pos": { - "x": 2034, - "y": 364 + "x": 2176, + "y": 434 }, - "width": 265, - "height": 190, + "width": 250, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1842,11 +1842,11 @@ "OutsideRightMiddle" ], "pos": { - "x": 2319, - "y": 364 + "x": 2515, + "y": 434 }, - "width": 286, - "height": 190, + "width": 279, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1899,11 +1899,11 @@ "OutsideRightBottom" ], "pos": { - "x": 2625, - "y": 364 + "x": 2883, + "y": 434 }, - "width": 291, - "height": 190, + "width": 287, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1956,11 +1956,11 @@ "OutsideBottomLeft" ], "pos": { - "x": 2936, - "y": 364 + "x": 3259, + "y": 434 }, "width": 282, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2013,11 +2013,11 @@ "OutsideBottomCenter" ], "pos": { - "x": 3238, - "y": 364 + "x": 3561, + "y": 434 }, "width": 303, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2070,11 +2070,11 @@ "OutsideBottomRight" ], "pos": { - "x": 3561, - "y": 364 + "x": 3884, + "y": 434 }, "width": 292, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2127,8 +2127,8 @@ "InsideTopLeft" ], "pos": { - "x": 3873, - "y": 364 + "x": 4196, + "y": 422 }, "width": 242, "height": 190, @@ -2184,8 +2184,8 @@ "InsideTopCenter" ], "pos": { - "x": 4135, - "y": 364 + "x": 4458, + "y": 422 }, "width": 263, "height": 190, @@ -2241,8 +2241,8 @@ "InsideTopRight" ], "pos": { - "x": 4418, - "y": 364 + "x": 4741, + "y": 422 }, "width": 252, "height": 190, @@ -2298,11 +2298,11 @@ "InsideMiddleLeft" ], "pos": { - "x": 4690, - "y": 364 + "x": 5013, + "y": 434 }, - "width": 263, - "height": 190, + "width": 287, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2355,11 +2355,11 @@ "InsideMiddleCenter" ], "pos": { - "x": 4973, - "y": 364 + "x": 5320, + "y": 434 }, "width": 283, - "height": 190, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2412,11 +2412,11 @@ "InsideMiddleRight" ], "pos": { - "x": 5276, - "y": 364 + "x": 5623, + "y": 434 }, - "width": 273, - "height": 190, + "width": 297, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2469,8 +2469,8 @@ "InsideBottomLeft" ], "pos": { - "x": 5569, - "y": 364 + "x": 5940, + "y": 422 }, "width": 269, "height": 190, @@ -2526,8 +2526,8 @@ "InsideBottomCenter" ], "pos": { - "x": 5858, - "y": 364 + "x": 6229, + "y": 422 }, "width": 289, "height": 190, @@ -2583,8 +2583,8 @@ "InsideBottomRight" ], "pos": { - "x": 6167, - "y": 364 + "x": 6538, + "y": 422 }, "width": 279, "height": 190, @@ -2636,8 +2636,8 @@ "id": "container.OutsideTopLeft.OutsideTopLeft", "type": "rectangle", "pos": { - "x": 354, - "y": 438 + "x": 328, + "y": 484 }, "width": 156, "height": 66, @@ -2677,8 +2677,8 @@ "id": "container.OutsideTopCenter.OutsideTopCenter", "type": "rectangle", "pos": { - "x": 630, - "y": 438 + "x": 604, + "y": 484 }, "width": 176, "height": 66, @@ -2718,8 +2718,8 @@ "id": "container.OutsideTopRight.OutsideTopRight", "type": "rectangle", "pos": { - "x": 926, - "y": 438 + "x": 900, + "y": 484 }, "width": 165, "height": 66, @@ -2759,8 +2759,8 @@ "id": "container.OutsideLeftTop.OutsideLeftTop", "type": "rectangle", "pos": { - "x": 1211, - "y": 438 + "x": 1244, + "y": 484 }, "width": 156, "height": 66, @@ -2800,8 +2800,8 @@ "id": "container.OutsideLeftMiddle.OutsideLeftMiddle", "type": "rectangle", "pos": { - "x": 1487, - "y": 438 + "x": 1573, + "y": 484 }, "width": 176, "height": 66, @@ -2841,8 +2841,8 @@ "id": "container.OutsideLeftBottom.OutsideLeftBottom", "type": "rectangle", "pos": { - "x": 1783, - "y": 438 + "x": 1929, + "y": 484 }, "width": 181, "height": 66, @@ -2882,8 +2882,8 @@ "id": "container.OutsideRightTop.OutsideRightTop", "type": "rectangle", "pos": { - "x": 2084, - "y": 438 + "x": 2218, + "y": 484 }, "width": 165, "height": 66, @@ -2923,8 +2923,8 @@ "id": "container.OutsideRightMiddle.OutsideRightMiddle", "type": "rectangle", "pos": { - "x": 2369, - "y": 438 + "x": 2561, + "y": 484 }, "width": 186, "height": 66, @@ -2964,8 +2964,8 @@ "id": "container.OutsideRightBottom.OutsideRightBottom", "type": "rectangle", "pos": { - "x": 2675, - "y": 438 + "x": 2931, + "y": 484 }, "width": 191, "height": 66, @@ -3005,8 +3005,8 @@ "id": "container.OutsideBottomLeft.OutsideBottomLeft", "type": "rectangle", "pos": { - "x": 2986, - "y": 438 + "x": 3309, + "y": 484 }, "width": 182, "height": 66, @@ -3046,8 +3046,8 @@ "id": "container.OutsideBottomCenter.OutsideBottomCenter", "type": "rectangle", "pos": { - "x": 3288, - "y": 438 + "x": 3611, + "y": 484 }, "width": 202, "height": 66, @@ -3087,8 +3087,8 @@ "id": "container.OutsideBottomRight.OutsideBottomRight", "type": "rectangle", "pos": { - "x": 3611, - "y": 438 + "x": 3934, + "y": 484 }, "width": 192, "height": 66, @@ -3128,8 +3128,8 @@ "id": "container.InsideTopLeft.InsideTopLeft", "type": "rectangle", "pos": { - "x": 3923, - "y": 438 + "x": 4246, + "y": 496 }, "width": 142, "height": 66, @@ -3169,8 +3169,8 @@ "id": "container.InsideTopCenter.InsideTopCenter", "type": "rectangle", "pos": { - "x": 4185, - "y": 438 + "x": 4508, + "y": 496 }, "width": 163, "height": 66, @@ -3210,8 +3210,8 @@ "id": "container.InsideTopRight.InsideTopRight", "type": "rectangle", "pos": { - "x": 4468, - "y": 438 + "x": 4791, + "y": 496 }, "width": 152, "height": 66, @@ -3251,8 +3251,8 @@ "id": "container.InsideMiddleLeft.InsideMiddleLeft", "type": "rectangle", "pos": { - "x": 4740, - "y": 438 + "x": 5087, + "y": 484 }, "width": 163, "height": 66, @@ -3292,8 +3292,8 @@ "id": "container.InsideMiddleCenter.InsideMiddleCenter", "type": "rectangle", "pos": { - "x": 5023, - "y": 438 + "x": 5370, + "y": 484 }, "width": 183, "height": 66, @@ -3333,8 +3333,8 @@ "id": "container.InsideMiddleRight.InsideMiddleRight", "type": "rectangle", "pos": { - "x": 5326, - "y": 438 + "x": 5673, + "y": 484 }, "width": 173, "height": 66, @@ -3374,8 +3374,8 @@ "id": "container.InsideBottomLeft.InsideBottomLeft", "type": "rectangle", "pos": { - "x": 5619, - "y": 438 + "x": 5990, + "y": 472 }, "width": 169, "height": 66, @@ -3415,8 +3415,8 @@ "id": "container.InsideBottomCenter.InsideBottomCenter", "type": "rectangle", "pos": { - "x": 5908, - "y": 438 + "x": 6279, + "y": 472 }, "width": 189, "height": 66, @@ -3456,8 +3456,8 @@ "id": "container.InsideBottomRight.InsideBottomRight", "type": "rectangle", "pos": { - "x": 6217, - "y": 438 + "x": 6588, + "y": 472 }, "width": 179, "height": 66, @@ -3497,8 +3497,8 @@ "id": "image", "type": "rectangle", "pos": { - "x": 1519, - "y": 688 + "x": 1704, + "y": 756 }, "width": 3470, "height": 254, @@ -3542,8 +3542,8 @@ "image" ], "pos": { - "x": 1569, - "y": 738 + "x": 1754, + "y": 806 }, "width": 128, "height": 128, @@ -3600,8 +3600,8 @@ "OutsideTopLeft" ], "pos": { - "x": 1717, - "y": 738 + "x": 1902, + "y": 806 }, "width": 128, "height": 128, @@ -3658,8 +3658,8 @@ "OutsideTopCenter" ], "pos": { - "x": 1865, - "y": 738 + "x": 2050, + "y": 806 }, "width": 131, "height": 128, @@ -3716,8 +3716,8 @@ "OutsideTopRight" ], "pos": { - "x": 2016, - "y": 738 + "x": 2201, + "y": 806 }, "width": 128, "height": 128, @@ -3774,8 +3774,8 @@ "OutsideLeftTop" ], "pos": { - "x": 2164, - "y": 738 + "x": 2349, + "y": 806 }, "width": 128, "height": 128, @@ -3832,8 +3832,8 @@ "OutsideLeftMiddle" ], "pos": { - "x": 2312, - "y": 738 + "x": 2497, + "y": 806 }, "width": 131, "height": 128, @@ -3890,8 +3890,8 @@ "OutsideLeftBottom" ], "pos": { - "x": 2463, - "y": 738 + "x": 2648, + "y": 806 }, "width": 136, "height": 128, @@ -3948,8 +3948,8 @@ "OutsideRightTop" ], "pos": { - "x": 2619, - "y": 738 + "x": 2804, + "y": 806 }, "width": 128, "height": 128, @@ -4006,8 +4006,8 @@ "OutsideRightMiddle" ], "pos": { - "x": 2767, - "y": 738 + "x": 2952, + "y": 806 }, "width": 141, "height": 128, @@ -4064,8 +4064,8 @@ "OutsideRightBottom" ], "pos": { - "x": 2928, - "y": 738 + "x": 3113, + "y": 806 }, "width": 146, "height": 128, @@ -4122,8 +4122,8 @@ "OutsideBottomLeft" ], "pos": { - "x": 3094, - "y": 738 + "x": 3279, + "y": 806 }, "width": 137, "height": 128, @@ -4180,8 +4180,8 @@ "OutsideBottomCenter" ], "pos": { - "x": 3251, - "y": 738 + "x": 3436, + "y": 806 }, "width": 157, "height": 128, @@ -4238,8 +4238,8 @@ "OutsideBottomRight" ], "pos": { - "x": 3428, - "y": 738 + "x": 3613, + "y": 806 }, "width": 147, "height": 128, @@ -4296,8 +4296,8 @@ "InsideTopLeft" ], "pos": { - "x": 3595, - "y": 738 + "x": 3780, + "y": 806 }, "width": 128, "height": 128, @@ -4354,8 +4354,8 @@ "InsideTopCenter" ], "pos": { - "x": 3743, - "y": 738 + "x": 3928, + "y": 806 }, "width": 128, "height": 128, @@ -4412,8 +4412,8 @@ "InsideTopRight" ], "pos": { - "x": 3891, - "y": 738 + "x": 4076, + "y": 806 }, "width": 128, "height": 128, @@ -4470,8 +4470,8 @@ "InsideMiddleLeft" ], "pos": { - "x": 4039, - "y": 738 + "x": 4224, + "y": 806 }, "width": 128, "height": 128, @@ -4528,8 +4528,8 @@ "InsideMiddleCenter" ], "pos": { - "x": 4187, - "y": 738 + "x": 4372, + "y": 806 }, "width": 138, "height": 128, @@ -4586,8 +4586,8 @@ "InsideMiddleRight" ], "pos": { - "x": 4345, - "y": 738 + "x": 4530, + "y": 806 }, "width": 128, "height": 128, @@ -4644,8 +4644,8 @@ "InsideBottomLeft" ], "pos": { - "x": 4493, - "y": 738 + "x": 4678, + "y": 806 }, "width": 128, "height": 128, @@ -4702,8 +4702,8 @@ "InsideBottomCenter" ], "pos": { - "x": 4641, - "y": 738 + "x": 4826, + "y": 806 }, "width": 144, "height": 128, @@ -4760,8 +4760,8 @@ "InsideBottomRight" ], "pos": { - "x": 4805, - "y": 738 + "x": 4990, + "y": 806 }, "width": 134, "height": 128, @@ -4836,12 +4836,12 @@ "labelPercentage": 0, "route": [ { - "x": 3254, - "y": 230 + "x": 3439.5, + "y": 278 }, { - "x": 3254, - "y": 300 + "x": 3439.5, + "y": 348 } ], "animated": false, @@ -4874,12 +4874,12 @@ "labelPercentage": 0, "route": [ { - "x": 3254, - "y": 618 + "x": 3439.5, + "y": 686 }, { - "x": 3254, - "y": 688 + "x": 3439.5, + "y": 756 } ], "animated": false, diff --git a/e2etests/testdata/stable/icon_positions/elk/sketch.exp.svg b/e2etests/testdata/stable/icon_positions/elk/sketch.exp.svg index 54953dc46..d1592f19b 100644 --- a/e2etests/testdata/stable/icon_positions/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/icon_positions/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -non containercontainerimageDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-1426566894 .fill-N1{fill:#0A0F25;} + .d2-1426566894 .fill-N2{fill:#676C7E;} + .d2-1426566894 .fill-N3{fill:#9499AB;} + .d2-1426566894 .fill-N4{fill:#CFD2DD;} + .d2-1426566894 .fill-N5{fill:#DEE1EB;} + .d2-1426566894 .fill-N6{fill:#EEF1F8;} + .d2-1426566894 .fill-N7{fill:#FFFFFF;} + .d2-1426566894 .fill-B1{fill:#0D32B2;} + .d2-1426566894 .fill-B2{fill:#0D32B2;} + .d2-1426566894 .fill-B3{fill:#E3E9FD;} + .d2-1426566894 .fill-B4{fill:#E3E9FD;} + .d2-1426566894 .fill-B5{fill:#EDF0FD;} + .d2-1426566894 .fill-B6{fill:#F7F8FE;} + .d2-1426566894 .fill-AA2{fill:#4A6FF3;} + .d2-1426566894 .fill-AA4{fill:#EDF0FD;} + .d2-1426566894 .fill-AA5{fill:#F7F8FE;} + .d2-1426566894 .fill-AB4{fill:#EDF0FD;} + .d2-1426566894 .fill-AB5{fill:#F7F8FE;} + .d2-1426566894 .stroke-N1{stroke:#0A0F25;} + .d2-1426566894 .stroke-N2{stroke:#676C7E;} + .d2-1426566894 .stroke-N3{stroke:#9499AB;} + .d2-1426566894 .stroke-N4{stroke:#CFD2DD;} + .d2-1426566894 .stroke-N5{stroke:#DEE1EB;} + .d2-1426566894 .stroke-N6{stroke:#EEF1F8;} + .d2-1426566894 .stroke-N7{stroke:#FFFFFF;} + .d2-1426566894 .stroke-B1{stroke:#0D32B2;} + .d2-1426566894 .stroke-B2{stroke:#0D32B2;} + .d2-1426566894 .stroke-B3{stroke:#E3E9FD;} + .d2-1426566894 .stroke-B4{stroke:#E3E9FD;} + .d2-1426566894 .stroke-B5{stroke:#EDF0FD;} + .d2-1426566894 .stroke-B6{stroke:#F7F8FE;} + .d2-1426566894 .stroke-AA2{stroke:#4A6FF3;} + .d2-1426566894 .stroke-AA4{stroke:#EDF0FD;} + .d2-1426566894 .stroke-AA5{stroke:#F7F8FE;} + .d2-1426566894 .stroke-AB4{stroke:#EDF0FD;} + .d2-1426566894 .stroke-AB5{stroke:#F7F8FE;} + .d2-1426566894 .background-color-N1{background-color:#0A0F25;} + .d2-1426566894 .background-color-N2{background-color:#676C7E;} + .d2-1426566894 .background-color-N3{background-color:#9499AB;} + .d2-1426566894 .background-color-N4{background-color:#CFD2DD;} + .d2-1426566894 .background-color-N5{background-color:#DEE1EB;} + .d2-1426566894 .background-color-N6{background-color:#EEF1F8;} + .d2-1426566894 .background-color-N7{background-color:#FFFFFF;} + .d2-1426566894 .background-color-B1{background-color:#0D32B2;} + .d2-1426566894 .background-color-B2{background-color:#0D32B2;} + .d2-1426566894 .background-color-B3{background-color:#E3E9FD;} + .d2-1426566894 .background-color-B4{background-color:#E3E9FD;} + .d2-1426566894 .background-color-B5{background-color:#EDF0FD;} + .d2-1426566894 .background-color-B6{background-color:#F7F8FE;} + .d2-1426566894 .background-color-AA2{background-color:#4A6FF3;} + .d2-1426566894 .background-color-AA4{background-color:#EDF0FD;} + .d2-1426566894 .background-color-AA5{background-color:#F7F8FE;} + .d2-1426566894 .background-color-AB4{background-color:#EDF0FD;} + .d2-1426566894 .background-color-AB5{background-color:#F7F8FE;} + .d2-1426566894 .color-N1{color:#0A0F25;} + .d2-1426566894 .color-N2{color:#676C7E;} + .d2-1426566894 .color-N3{color:#9499AB;} + .d2-1426566894 .color-N4{color:#CFD2DD;} + .d2-1426566894 .color-N5{color:#DEE1EB;} + .d2-1426566894 .color-N6{color:#EEF1F8;} + .d2-1426566894 .color-N7{color:#FFFFFF;} + .d2-1426566894 .color-B1{color:#0D32B2;} + .d2-1426566894 .color-B2{color:#0D32B2;} + .d2-1426566894 .color-B3{color:#E3E9FD;} + .d2-1426566894 .color-B4{color:#E3E9FD;} + .d2-1426566894 .color-B5{color:#EDF0FD;} + .d2-1426566894 .color-B6{color:#F7F8FE;} + .d2-1426566894 .color-AA2{color:#4A6FF3;} + .d2-1426566894 .color-AA4{color:#EDF0FD;} + .d2-1426566894 .color-AA5{color:#F7F8FE;} + .d2-1426566894 .color-AB4{color:#EDF0FD;} + .d2-1426566894 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>non containercontainerimageDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/images/dagre/board.exp.json b/e2etests/testdata/stable/images/dagre/board.exp.json index c4639550b..0bff6ddbc 100644 --- a/e2etests/testdata/stable/images/dagre/board.exp.json +++ b/e2etests/testdata/stable/images/dagre/board.exp.json @@ -61,7 +61,7 @@ "type": "image", "pos": { "x": 0, - "y": 254 + "y": 228 }, "width": 128, "height": 128, @@ -141,15 +141,15 @@ }, { "x": 64, - "y": 194 + "y": 173.1999969482422 }, { "x": 64, - "y": 214 + "y": 188 }, { "x": 64, - "y": 254 + "y": 228 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/images/dagre/sketch.exp.svg b/e2etests/testdata/stable/images/dagre/sketch.exp.svg index 6893f5c9d..c2933d8da 100644 --- a/e2etests/testdata/stable/images/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/images/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ab - + .d2-4027458821 .fill-N1{fill:#0A0F25;} + .d2-4027458821 .fill-N2{fill:#676C7E;} + .d2-4027458821 .fill-N3{fill:#9499AB;} + .d2-4027458821 .fill-N4{fill:#CFD2DD;} + .d2-4027458821 .fill-N5{fill:#DEE1EB;} + .d2-4027458821 .fill-N6{fill:#EEF1F8;} + .d2-4027458821 .fill-N7{fill:#FFFFFF;} + .d2-4027458821 .fill-B1{fill:#0D32B2;} + .d2-4027458821 .fill-B2{fill:#0D32B2;} + .d2-4027458821 .fill-B3{fill:#E3E9FD;} + .d2-4027458821 .fill-B4{fill:#E3E9FD;} + .d2-4027458821 .fill-B5{fill:#EDF0FD;} + .d2-4027458821 .fill-B6{fill:#F7F8FE;} + .d2-4027458821 .fill-AA2{fill:#4A6FF3;} + .d2-4027458821 .fill-AA4{fill:#EDF0FD;} + .d2-4027458821 .fill-AA5{fill:#F7F8FE;} + .d2-4027458821 .fill-AB4{fill:#EDF0FD;} + .d2-4027458821 .fill-AB5{fill:#F7F8FE;} + .d2-4027458821 .stroke-N1{stroke:#0A0F25;} + .d2-4027458821 .stroke-N2{stroke:#676C7E;} + .d2-4027458821 .stroke-N3{stroke:#9499AB;} + .d2-4027458821 .stroke-N4{stroke:#CFD2DD;} + .d2-4027458821 .stroke-N5{stroke:#DEE1EB;} + .d2-4027458821 .stroke-N6{stroke:#EEF1F8;} + .d2-4027458821 .stroke-N7{stroke:#FFFFFF;} + .d2-4027458821 .stroke-B1{stroke:#0D32B2;} + .d2-4027458821 .stroke-B2{stroke:#0D32B2;} + .d2-4027458821 .stroke-B3{stroke:#E3E9FD;} + .d2-4027458821 .stroke-B4{stroke:#E3E9FD;} + .d2-4027458821 .stroke-B5{stroke:#EDF0FD;} + .d2-4027458821 .stroke-B6{stroke:#F7F8FE;} + .d2-4027458821 .stroke-AA2{stroke:#4A6FF3;} + .d2-4027458821 .stroke-AA4{stroke:#EDF0FD;} + .d2-4027458821 .stroke-AA5{stroke:#F7F8FE;} + .d2-4027458821 .stroke-AB4{stroke:#EDF0FD;} + .d2-4027458821 .stroke-AB5{stroke:#F7F8FE;} + .d2-4027458821 .background-color-N1{background-color:#0A0F25;} + .d2-4027458821 .background-color-N2{background-color:#676C7E;} + .d2-4027458821 .background-color-N3{background-color:#9499AB;} + .d2-4027458821 .background-color-N4{background-color:#CFD2DD;} + .d2-4027458821 .background-color-N5{background-color:#DEE1EB;} + .d2-4027458821 .background-color-N6{background-color:#EEF1F8;} + .d2-4027458821 .background-color-N7{background-color:#FFFFFF;} + .d2-4027458821 .background-color-B1{background-color:#0D32B2;} + .d2-4027458821 .background-color-B2{background-color:#0D32B2;} + .d2-4027458821 .background-color-B3{background-color:#E3E9FD;} + .d2-4027458821 .background-color-B4{background-color:#E3E9FD;} + .d2-4027458821 .background-color-B5{background-color:#EDF0FD;} + .d2-4027458821 .background-color-B6{background-color:#F7F8FE;} + .d2-4027458821 .background-color-AA2{background-color:#4A6FF3;} + .d2-4027458821 .background-color-AA4{background-color:#EDF0FD;} + .d2-4027458821 .background-color-AA5{background-color:#F7F8FE;} + .d2-4027458821 .background-color-AB4{background-color:#EDF0FD;} + .d2-4027458821 .background-color-AB5{background-color:#F7F8FE;} + .d2-4027458821 .color-N1{color:#0A0F25;} + .d2-4027458821 .color-N2{color:#676C7E;} + .d2-4027458821 .color-N3{color:#9499AB;} + .d2-4027458821 .color-N4{color:#CFD2DD;} + .d2-4027458821 .color-N5{color:#DEE1EB;} + .d2-4027458821 .color-N6{color:#EEF1F8;} + .d2-4027458821 .color-N7{color:#FFFFFF;} + .d2-4027458821 .color-B1{color:#0D32B2;} + .d2-4027458821 .color-B2{color:#0D32B2;} + .d2-4027458821 .color-B3{color:#E3E9FD;} + .d2-4027458821 .color-B4{color:#E3E9FD;} + .d2-4027458821 .color-B5{color:#EDF0FD;} + .d2-4027458821 .color-B6{color:#F7F8FE;} + .d2-4027458821 .color-AA2{color:#4A6FF3;} + .d2-4027458821 .color-AA4{color:#EDF0FD;} + .d2-4027458821 .color-AA5{color:#F7F8FE;} + .d2-4027458821 .color-AB4{color:#EDF0FD;} + .d2-4027458821 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab + - + \ No newline at end of file diff --git a/e2etests/testdata/stable/images/elk/sketch.exp.svg b/e2etests/testdata/stable/images/elk/sketch.exp.svg index 6a3528443..9dc831988 100644 --- a/e2etests/testdata/stable/images/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/images/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ab + .d2-733997694 .fill-N1{fill:#0A0F25;} + .d2-733997694 .fill-N2{fill:#676C7E;} + .d2-733997694 .fill-N3{fill:#9499AB;} + .d2-733997694 .fill-N4{fill:#CFD2DD;} + .d2-733997694 .fill-N5{fill:#DEE1EB;} + .d2-733997694 .fill-N6{fill:#EEF1F8;} + .d2-733997694 .fill-N7{fill:#FFFFFF;} + .d2-733997694 .fill-B1{fill:#0D32B2;} + .d2-733997694 .fill-B2{fill:#0D32B2;} + .d2-733997694 .fill-B3{fill:#E3E9FD;} + .d2-733997694 .fill-B4{fill:#E3E9FD;} + .d2-733997694 .fill-B5{fill:#EDF0FD;} + .d2-733997694 .fill-B6{fill:#F7F8FE;} + .d2-733997694 .fill-AA2{fill:#4A6FF3;} + .d2-733997694 .fill-AA4{fill:#EDF0FD;} + .d2-733997694 .fill-AA5{fill:#F7F8FE;} + .d2-733997694 .fill-AB4{fill:#EDF0FD;} + .d2-733997694 .fill-AB5{fill:#F7F8FE;} + .d2-733997694 .stroke-N1{stroke:#0A0F25;} + .d2-733997694 .stroke-N2{stroke:#676C7E;} + .d2-733997694 .stroke-N3{stroke:#9499AB;} + .d2-733997694 .stroke-N4{stroke:#CFD2DD;} + .d2-733997694 .stroke-N5{stroke:#DEE1EB;} + .d2-733997694 .stroke-N6{stroke:#EEF1F8;} + .d2-733997694 .stroke-N7{stroke:#FFFFFF;} + .d2-733997694 .stroke-B1{stroke:#0D32B2;} + .d2-733997694 .stroke-B2{stroke:#0D32B2;} + .d2-733997694 .stroke-B3{stroke:#E3E9FD;} + .d2-733997694 .stroke-B4{stroke:#E3E9FD;} + .d2-733997694 .stroke-B5{stroke:#EDF0FD;} + .d2-733997694 .stroke-B6{stroke:#F7F8FE;} + .d2-733997694 .stroke-AA2{stroke:#4A6FF3;} + .d2-733997694 .stroke-AA4{stroke:#EDF0FD;} + .d2-733997694 .stroke-AA5{stroke:#F7F8FE;} + .d2-733997694 .stroke-AB4{stroke:#EDF0FD;} + .d2-733997694 .stroke-AB5{stroke:#F7F8FE;} + .d2-733997694 .background-color-N1{background-color:#0A0F25;} + .d2-733997694 .background-color-N2{background-color:#676C7E;} + .d2-733997694 .background-color-N3{background-color:#9499AB;} + .d2-733997694 .background-color-N4{background-color:#CFD2DD;} + .d2-733997694 .background-color-N5{background-color:#DEE1EB;} + .d2-733997694 .background-color-N6{background-color:#EEF1F8;} + .d2-733997694 .background-color-N7{background-color:#FFFFFF;} + .d2-733997694 .background-color-B1{background-color:#0D32B2;} + .d2-733997694 .background-color-B2{background-color:#0D32B2;} + .d2-733997694 .background-color-B3{background-color:#E3E9FD;} + .d2-733997694 .background-color-B4{background-color:#E3E9FD;} + .d2-733997694 .background-color-B5{background-color:#EDF0FD;} + .d2-733997694 .background-color-B6{background-color:#F7F8FE;} + .d2-733997694 .background-color-AA2{background-color:#4A6FF3;} + .d2-733997694 .background-color-AA4{background-color:#EDF0FD;} + .d2-733997694 .background-color-AA5{background-color:#F7F8FE;} + .d2-733997694 .background-color-AB4{background-color:#EDF0FD;} + .d2-733997694 .background-color-AB5{background-color:#F7F8FE;} + .d2-733997694 .color-N1{color:#0A0F25;} + .d2-733997694 .color-N2{color:#676C7E;} + .d2-733997694 .color-N3{color:#9499AB;} + .d2-733997694 .color-N4{color:#CFD2DD;} + .d2-733997694 .color-N5{color:#DEE1EB;} + .d2-733997694 .color-N6{color:#EEF1F8;} + .d2-733997694 .color-N7{color:#FFFFFF;} + .d2-733997694 .color-B1{color:#0D32B2;} + .d2-733997694 .color-B2{color:#0D32B2;} + .d2-733997694 .color-B3{color:#E3E9FD;} + .d2-733997694 .color-B4{color:#E3E9FD;} + .d2-733997694 .color-B5{color:#EDF0FD;} + .d2-733997694 .color-B6{color:#F7F8FE;} + .d2-733997694 .color-AA2{color:#4A6FF3;} + .d2-733997694 .color-AA4{color:#EDF0FD;} + .d2-733997694 .color-AA5{color:#F7F8FE;} + .d2-733997694 .color-AB4{color:#EDF0FD;} + .d2-733997694 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab diff --git a/e2etests/testdata/stable/investigate/dagre/board.exp.json b/e2etests/testdata/stable/investigate/dagre/board.exp.json index a7fde78ea..763339562 100644 --- a/e2etests/testdata/stable/investigate/dagre/board.exp.json +++ b/e2etests/testdata/stable/investigate/dagre/board.exp.json @@ -130,11 +130,11 @@ "id": "dd", "type": "rectangle", "pos": { - "x": 9, - "y": 686 + "x": 19, + "y": 665 }, - "width": 371, - "height": 151, + "width": 350, + "height": 152, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "diamond", "pos": { "x": 49, - "y": 715 + "y": 695 }, "width": 64, "height": 92, @@ -212,11 +212,11 @@ "id": "ff", "type": "rectangle", "pos": { - "x": 0, - "y": 1936 + "x": 10, + "y": 1889 }, - "width": 385, - "height": 332, + "width": 334, + "height": 333, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -254,7 +254,7 @@ "type": "diamond", "pos": { "x": 248, - "y": 1965 + "y": 1919 }, "width": 66, "height": 92, @@ -295,7 +295,7 @@ "type": "diamond", "pos": { "x": 273, - "y": 715 + "y": 695 }, "width": 66, "height": 92, @@ -458,11 +458,11 @@ "id": "ll", "type": "rectangle", "pos": { - "x": 0, - "y": 2409 + "x": 10, + "y": 2362 }, - "width": 353, - "height": 306, + "width": 333, + "height": 307, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -500,7 +500,7 @@ "type": "oval", "pos": { "x": 40, - "y": 2604 + "y": 2558 }, "width": 81, "height": 81, @@ -541,7 +541,7 @@ "type": "oval", "pos": { "x": 40, - "y": 2157 + "y": 2111 }, "width": 81, "height": 81, @@ -582,10 +582,10 @@ "type": "cylinder", "pos": { "x": 9, - "y": 3361 + "y": 3268 }, "width": 469, - "height": 125, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -623,7 +623,7 @@ "type": "rectangle", "pos": { "x": 49, - "y": 3390 + "y": 3318 }, "width": 63, "height": 66, @@ -664,7 +664,7 @@ "type": "rectangle", "pos": { "x": 249, - "y": 2165 + "y": 2119 }, "width": 63, "height": 66, @@ -705,7 +705,7 @@ "type": "rectangle", "pos": { "x": 249, - "y": 2438 + "y": 2392 }, "width": 64, "height": 66, @@ -746,7 +746,7 @@ "type": "rectangle", "pos": { "x": 252, - "y": 2612 + "y": 2566 }, "width": 58, "height": 66, @@ -786,11 +786,11 @@ "id": "ss", "type": "rectangle", "pos": { - "x": 387, - "y": 1165 + "x": 397, + "y": 1144 }, - "width": 138, - "height": 125, + "width": 118, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -828,7 +828,7 @@ "type": "rectangle", "pos": { "x": 427, - "y": 1194 + "y": 1174 }, "width": 58, "height": 66, @@ -868,11 +868,11 @@ "id": "uu", "type": "rectangle", "pos": { - "x": 384, - "y": 1431 + "x": 394, + "y": 1410 }, - "width": 143, - "height": 125, + "width": 123, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -910,7 +910,7 @@ "type": "rectangle", "pos": { "x": 424, - "y": 1460 + "y": 1440 }, "width": 63, "height": 66, @@ -954,7 +954,7 @@ "y": 1656 }, "width": 149, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1004,7 +1004,7 @@ "type": "rectangle", "pos": { "x": 398, - "y": 2592 + "y": 2566 }, "width": 64, "height": 66, @@ -1045,7 +1045,7 @@ "type": "rectangle", "pos": { "x": 210, - "y": 3390 + "y": 3318 }, "width": 62, "height": 66, @@ -1085,11 +1085,11 @@ "id": "yy", "type": "rectangle", "pos": { - "x": 261, - "y": 2856 + "x": 308, + "y": 2809 }, - "width": 261, - "height": 364, + "width": 198, + "height": 339, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1127,10 +1127,10 @@ "type": "queue", "pos": { "x": 338, - "y": 2885 + "y": 2839 }, "width": 138, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1180,7 +1180,7 @@ "type": "rectangle", "pos": { "x": 376, - "y": 3124 + "y": 3052 }, "width": 63, "height": 66, @@ -1221,7 +1221,7 @@ "type": "rectangle", "pos": { "x": 376, - "y": 3390 + "y": 3318 }, "width": 62, "height": 66, @@ -1262,7 +1262,7 @@ "type": "parallelogram", "pos": { "x": 350, - "y": 3586 + "y": 3534 }, "width": 115, "height": 66, @@ -1372,11 +1372,11 @@ "labelPercentage": 0, "route": [ { - "x": 332, + "x": 331, "y": 302 }, { - "x": 311.3999938964844, + "x": 311.20001220703125, "y": 350.3999938964844 }, { @@ -1419,11 +1419,11 @@ "labelPercentage": 0, "route": [ { - "x": 102, + "x": 101, "y": 101 }, { - "x": 84.80000305175781, + "x": 84.5999984741211, "y": 141 }, { @@ -1476,11 +1476,11 @@ }, { "x": 80.5999984741211, - "y": 659.2000122070312 + "y": 655 }, { "x": 81, - "y": 716 + "y": 695 } ], "isCurve": true, @@ -1515,11 +1515,11 @@ "route": [ { "x": 372, - "y": 298 + "y": 297 }, { "x": 393.79998779296875, - "y": 349.6000061035156 + "y": 349.3999938964844 }, { "x": 399.25, @@ -1715,35 +1715,35 @@ }, { "x": 232.25, - "y": 1627.800048828125 + "y": 1625.199951171875 }, { "x": 232.25, - "y": 1660.5 + "y": 1654 }, { "x": 232.25, - "y": 1693.199951171875 + "y": 1682.800048828125 }, { "x": 232.25, - "y": 1738.9000244140625 + "y": 1723.300048828125 }, { "x": 232.25, - "y": 1774.75 + "y": 1755.25 }, { "x": 232.25, - "y": 1810.5999755859375 + "y": 1787.199951171875 }, { - "x": 238.8000030517578, - "y": 1913.4000244140625 + "x": 239.1999969482422, + "y": 1882.800048828125 }, { - "x": 265, - "y": 1987 + "x": 267, + "y": 1938 } ], "isCurve": true, @@ -1786,11 +1786,11 @@ }, { "x": 306.20001220703125, - "y": 659.2000122070312 + "y": 655 }, { "x": 306, - "y": 716 + "y": 695 } ], "isCurve": true, @@ -1825,11 +1825,11 @@ "route": [ { "x": 81, - "y": 808 + "y": 787 }, { "x": 80.5999984741211, - "y": 831.2000122070312 + "y": 827 }, { "x": 80.5, @@ -1872,11 +1872,11 @@ "route": [ { "x": 80.5, - "y": 1003 + "y": 1002.5 }, { "x": 80.5, - "y": 1051.4000244140625 + "y": 1051.300048828125 }, { "x": 80.5, @@ -1998,59 +1998,59 @@ }, { "x": 80.5, - "y": 1627.800048828125 + "y": 1625.199951171875 }, { "x": 80.5, - "y": 1660.5 + "y": 1654 }, { "x": 80.5, - "y": 1693.199951171875 + "y": 1682.800048828125 }, { "x": 80.5, - "y": 1738.9000244140625 + "y": 1723.300048828125 }, { "x": 80.5, - "y": 1774.75 + "y": 1755.25 }, { "x": 80.5, - "y": 1810.5999755859375 + "y": 1787.199951171875 }, { "x": 80.5, - "y": 1846.5999755859375 + "y": 1820.5999755859375 }, { "x": 80.5, - "y": 1864.75 + "y": 1838.75 }, { "x": 80.5, - "y": 1882.9000244140625 + "y": 1856.9000244140625 }, { "x": 80.5, - "y": 1914.199951171875 + "y": 1888.199951171875 }, { "x": 80.5, - "y": 1943 + "y": 1917 }, { "x": 80.5, - "y": 1971.800048828125 + "y": 1945.800048828125 }, { "x": 80.5999984741211, - "y": 2101.199951171875 + "y": 2071 }, { "x": 81, - "y": 2158 + "y": 2111 } ], "isCurve": true, @@ -2085,55 +2085,55 @@ "route": [ { "x": 81, - "y": 2239 + "y": 2192 }, { "x": 80.5999984741211, - "y": 2262.199951171875 + "y": 2232 }, { "x": 80.5, - "y": 2278 + "y": 2252 }, { "x": 80.5, - "y": 2293 + "y": 2267 }, { "x": 80.5, - "y": 2308 + "y": 2282 }, { "x": 80.5, - "y": 2328 + "y": 2302 }, { "x": 80.5, - "y": 2343 + "y": 2317 }, { "x": 80.5, - "y": 2358 + "y": 2332 }, { "x": 80.5, - "y": 2384.60009765625 + "y": 2358.60009765625 }, { "x": 80.5, - "y": 2409.5 + "y": 2383.5 }, { "x": 80.5, - "y": 2434.39990234375 + "y": 2408.39990234375 }, { "x": 80.5999984741211, - "y": 2548.199951171875 + "y": 2518 }, { "x": 81, - "y": 2605 + "y": 2558 } ], "isCurve": true, @@ -2168,103 +2168,103 @@ "route": [ { "x": 81, - "y": 2686 + "y": 2639 }, { "x": 80.5999984741211, - "y": 2709.199951171875 + "y": 2679 }, { "x": 80.5, - "y": 2725 + "y": 2699 }, { "x": 80.5, - "y": 2740 + "y": 2714 }, { "x": 80.5, - "y": 2755 + "y": 2729 }, { "x": 80.5, - "y": 2775 + "y": 2749 }, { "x": 80.5, - "y": 2790 + "y": 2764 }, { "x": 80.5, - "y": 2805 + "y": 2779 }, { "x": 80.5, - "y": 2836.800048828125 + "y": 2808.199951171875 }, { "x": 80.5, - "y": 2869.5 + "y": 2837 }, { "x": 80.5, - "y": 2902.199951171875 + "y": 2865.800048828125 }, { "x": 80.5, - "y": 2947.89990234375 + "y": 2906.300048828125 }, { "x": 80.5, - "y": 2983.75 + "y": 2938.25 }, { "x": 80.5, - "y": 3019.60009765625 + "y": 2970.199951171875 }, { "x": 80.5, - "y": 3062.199951171875 + "y": 3010.199951171875 }, { "x": 80.5, - "y": 3090.25 + "y": 3038.25 }, { "x": 80.5, - "y": 3118.300048828125 + "y": 3066.300048828125 }, { "x": 80.5, - "y": 3153.60009765625 + "y": 3101.60009765625 }, { "x": 80.5, - "y": 3178.5 + "y": 3126.5 }, { "x": 80.5, - "y": 3203.39990234375 + "y": 3151.39990234375 }, { "x": 80.5, - "y": 3230 + "y": 3178 }, { "x": 80.5, - "y": 3245 + "y": 3193 }, { "x": 80.5, - "y": 3260 + "y": 3208 }, { "x": 80.5, - "y": 3334.10009765625 + "y": 3278 }, { "x": 80.5, - "y": 3390.5 + "y": 3318 } ], "isCurve": true, @@ -2299,19 +2299,19 @@ "route": [ { "x": 281, - "y": 2058 + "y": 2011 }, { "x": 280.79998779296875, - "y": 2097.60009765625 + "y": 2051 }, { "x": 280.75, - "y": 2119 + "y": 2072.5 }, { "x": 280.75, - "y": 2165 + "y": 2118.5 } ], "isCurve": true, @@ -2346,31 +2346,31 @@ "route": [ { "x": 280.75, - "y": 2232 + "y": 2185.5 }, { "x": 280.75, - "y": 2260.800048828125 + "y": 2230.699951171875 }, { "x": 280.75, - "y": 2278 + "y": 2252 }, { "x": 280.75, - "y": 2293 + "y": 2267 }, { "x": 280.75, - "y": 2308 + "y": 2282 }, { "x": 280.75, - "y": 2382.10009765625 + "y": 2352 }, { "x": 280.75, - "y": 2438.5 + "y": 2392 } ], "isCurve": true, @@ -2405,19 +2405,19 @@ "route": [ { "x": 280.75, - "y": 2504.5 + "y": 2458 }, { "x": 280.75, - "y": 2544.5 + "y": 2498 }, { "x": 280.75, - "y": 2566 + "y": 2519.5 }, { "x": 280.75, - "y": 2612 + "y": 2565.5 } ], "isCurve": true, @@ -2452,11 +2452,11 @@ "route": [ { "x": 306, - "y": 807 + "y": 787 }, { "x": 306.20001220703125, - "y": 831 + "y": 827 }, { "x": 336.1499938964844, @@ -2496,11 +2496,11 @@ }, { "x": 455.75, - "y": 1138.0999755859375 + "y": 1134 }, { "x": 455.75, - "y": 1194.5 + "y": 1174 } ], "isCurve": true, @@ -2535,11 +2535,11 @@ "route": [ { "x": 455.75, - "y": 1260.5 + "y": 1240 }, { "x": 455.75, - "y": 1284.0999755859375 + "y": 1280 }, { "x": 455.75, @@ -2555,11 +2555,11 @@ }, { "x": 455.75, - "y": 1404.0999755859375 + "y": 1400 }, { "x": 455.75, - "y": 1460.5 + "y": 1440 } ], "isCurve": true, @@ -2601,12 +2601,12 @@ "y": 1541.7490234375 }, { - "x": 310.20001220703125, - "y": 1616.4000244140625 + "x": 311.20001220703125, + "y": 1616 }, { - "x": 353, - "y": 1658 + "x": 358, + "y": 1656 } ], "isCurve": true, @@ -2641,18 +2641,18 @@ "route": [ { "x": 455.75, - "y": 1526.5 + "y": 1506 }, { "x": 455.75, - "y": 1550.0999755859375 + "y": 1546 }, { - "x": 451.6000061035156, + "x": 451, "y": 1616 }, { - "x": 435, + "x": 432, "y": 1656 } ], @@ -2687,116 +2687,116 @@ "labelPercentage": 0, "route": [ { - "x": 420, - "y": 1774 + "x": 419, + "y": 1748 }, { - "x": 428, - "y": 1822.4000244140625 + "x": 427.79998779296875, + "y": 1796.4000244140625 }, { "x": 430, - "y": 1846.5999755859375 + "y": 1820.5999755859375 }, { "x": 430, - "y": 1864.75 + "y": 1838.75 }, { "x": 430, - "y": 1882.9000244140625 + "y": 1856.9000244140625 }, { "x": 430, - "y": 1914.199951171875 + "y": 1888.199951171875 }, { "x": 430, - "y": 1943 + "y": 1917 }, { "x": 430, - "y": 1971.800048828125 + "y": 1945.800048828125 }, { "x": 430, - "y": 2010.199951171875 + "y": 1984.199951171875 }, { "x": 430, - "y": 2039 + "y": 2013 }, { "x": 430, - "y": 2067.800048828125 + "y": 2041.800048828125 }, { "x": 430, - "y": 2105.10009765625 + "y": 2079.10009765625 }, { "x": 430, - "y": 2132.25 + "y": 2106.25 }, { "x": 430, - "y": 2159.39990234375 + "y": 2133.39990234375 }, { "x": 430, - "y": 2195.60009765625 + "y": 2169.60009765625 }, { "x": 430, - "y": 2222.75 + "y": 2196.75 }, { "x": 430, - "y": 2249.89990234375 + "y": 2223.89990234375 }, { "x": 430, - "y": 2278 + "y": 2252 }, { "x": 430, - "y": 2293 + "y": 2267 }, { "x": 430, - "y": 2308 + "y": 2282 }, { "x": 430, - "y": 2328 + "y": 2302 }, { "x": 430, - "y": 2343 + "y": 2317 }, { "x": 430, - "y": 2358 + "y": 2332 }, { "x": 430, - "y": 2384.60009765625 + "y": 2358.60009765625 }, { "x": 430, - "y": 2409.5 + "y": 2383.5 }, { "x": 430, - "y": 2434.39990234375 + "y": 2408.39990234375 }, { "x": 430, - "y": 2545.5 + "y": 2519.5 }, { "x": 430, - "y": 2591.5 + "y": 2565.5 } ], "isCurve": true, @@ -2831,103 +2831,103 @@ "route": [ { "x": 420.5190124511719, - "y": 2658.5 + "y": 2632.5 }, { "x": 407.3030090332031, - "y": 2703.699951171875 + "y": 2677.699951171875 }, { "x": 371.29998779296875, - "y": 2725 + "y": 2699 }, { "x": 322.25, - "y": 2740 + "y": 2714 }, { "x": 273.20001220703125, - "y": 2755 + "y": 2729 }, { "x": 240.5, - "y": 2775 + "y": 2749 }, { "x": 240.5, - "y": 2790 + "y": 2764 }, { "x": 240.5, - "y": 2805 + "y": 2779 }, { "x": 240.5, - "y": 2836.800048828125 + "y": 2808.199951171875 }, { "x": 240.5, - "y": 2869.5 + "y": 2837 }, { "x": 240.5, - "y": 2902.199951171875 + "y": 2865.800048828125 }, { "x": 240.5, - "y": 2947.89990234375 + "y": 2906.300048828125 }, { "x": 240.5, - "y": 2983.75 + "y": 2938.25 }, { "x": 240.5, - "y": 3019.60009765625 + "y": 2970.199951171875 }, { "x": 240.5, - "y": 3062.199951171875 + "y": 3010.199951171875 }, { "x": 240.5, - "y": 3090.25 + "y": 3038.25 }, { "x": 240.5, - "y": 3118.300048828125 + "y": 3066.300048828125 }, { "x": 240.5, - "y": 3153.60009765625 + "y": 3101.60009765625 }, { "x": 240.5, - "y": 3178.5 + "y": 3126.5 }, { "x": 240.5, - "y": 3203.39990234375 + "y": 3151.39990234375 }, { "x": 240.5, - "y": 3230 + "y": 3178 }, { "x": 240.5, - "y": 3245 + "y": 3193 }, { "x": 240.5, - "y": 3260 + "y": 3208 }, { "x": 240.5, - "y": 3334.10009765625 + "y": 3278 }, { "x": 240.5, - "y": 3390.5 + "y": 3318 } ], "isCurve": true, @@ -2962,31 +2962,31 @@ "route": [ { "x": 280.75, - "y": 2679 + "y": 2632.5 }, { "x": 280.75, - "y": 2707.800048828125 + "y": 2677.699951171875 }, { "x": 291.6000061035156, - "y": 2725 + "y": 2699 }, { "x": 307.875, - "y": 2740 + "y": 2714 }, { "x": 324.1499938964844, - "y": 2755 + "y": 2729 }, { - "x": 341.6000061035156, - "y": 2829.199951171875 + "x": 342.6000061035156, + "y": 2799 }, { - "x": 368, - "y": 2886 + "x": 373, + "y": 2839 } ], "isCurve": true, @@ -3021,31 +3021,31 @@ "route": [ { "x": 439.7539978027344, - "y": 2658.5 + "y": 2632.5 }, { "x": 453.3500061035156, - "y": 2703.699951171875 + "y": 2677.699951171875 }, { "x": 456.75, - "y": 2725 + "y": 2699 }, { "x": 456.75, - "y": 2740 + "y": 2714 }, { "x": 456.75, - "y": 2755 + "y": 2729 }, { - "x": 452.20001220703125, - "y": 2829.199951171875 + "x": 451.6000061035156, + "y": 2799 }, { - "x": 434, - "y": 2886 + "x": 431, + "y": 2839 } ], "isCurve": true, @@ -3080,19 +3080,19 @@ "route": [ { "x": 407, - "y": 3004 + "y": 2931 }, { "x": 407, - "y": 3052 + "y": 2979.39990234375 }, { "x": 407, - "y": 3076.199951171875 + "y": 3003.699951171875 }, { "x": 407, - "y": 3125 + "y": 3052.5 } ], "isCurve": true, @@ -3127,31 +3127,31 @@ "route": [ { "x": 407, - "y": 3190.5 + "y": 3118 }, { "x": 407, - "y": 3214.10009765625 + "y": 3158 }, { "x": 407, - "y": 3230 + "y": 3178 }, { "x": 407, - "y": 3245 + "y": 3193 }, { "x": 407, - "y": 3260 + "y": 3208 }, { "x": 407, - "y": 3334.10009765625 + "y": 3278 }, { "x": 407, - "y": 3390.5 + "y": 3318 } ], "isCurve": true, @@ -3186,19 +3186,19 @@ "route": [ { "x": 407, - "y": 3456.5 + "y": 3384 }, { "x": 407, - "y": 3480.10009765625 + "y": 3424 }, { "x": 407, - "y": 3546 + "y": 3494 }, { "x": 407, - "y": 3586 + "y": 3534 } ], "isCurve": true, @@ -3232,20 +3232,20 @@ "labelPercentage": 0, "route": [ { - "x": 374, - "y": 1774 + "x": 379, + "y": 1748 }, { - "x": 345.20001220703125, - "y": 1822.4000244140625 + "x": 346.20001220703125, + "y": 1796.4000244140625 }, { - "x": 330, - "y": 1914 + "x": 329.6000061035156, + "y": 1883.199951171875 }, { - "x": 298, - "y": 1990 + "x": 296, + "y": 1940 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/investigate/dagre/sketch.exp.svg b/e2etests/testdata/stable/investigate/dagre/sketch.exp.svg index 2dc194b2f..0ce6afa82 100644 --- a/e2etests/testdata/stable/investigate/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/investigate/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -aabbccddffiijjkkllnnssuuwwrmyyeegghhmmmmooppqqrrttvvxxzzabac 123456 - + .d2-2089172870 .fill-N1{fill:#0A0F25;} + .d2-2089172870 .fill-N2{fill:#676C7E;} + .d2-2089172870 .fill-N3{fill:#9499AB;} + .d2-2089172870 .fill-N4{fill:#CFD2DD;} + .d2-2089172870 .fill-N5{fill:#DEE1EB;} + .d2-2089172870 .fill-N6{fill:#EEF1F8;} + .d2-2089172870 .fill-N7{fill:#FFFFFF;} + .d2-2089172870 .fill-B1{fill:#0D32B2;} + .d2-2089172870 .fill-B2{fill:#0D32B2;} + .d2-2089172870 .fill-B3{fill:#E3E9FD;} + .d2-2089172870 .fill-B4{fill:#E3E9FD;} + .d2-2089172870 .fill-B5{fill:#EDF0FD;} + .d2-2089172870 .fill-B6{fill:#F7F8FE;} + .d2-2089172870 .fill-AA2{fill:#4A6FF3;} + .d2-2089172870 .fill-AA4{fill:#EDF0FD;} + .d2-2089172870 .fill-AA5{fill:#F7F8FE;} + .d2-2089172870 .fill-AB4{fill:#EDF0FD;} + .d2-2089172870 .fill-AB5{fill:#F7F8FE;} + .d2-2089172870 .stroke-N1{stroke:#0A0F25;} + .d2-2089172870 .stroke-N2{stroke:#676C7E;} + .d2-2089172870 .stroke-N3{stroke:#9499AB;} + .d2-2089172870 .stroke-N4{stroke:#CFD2DD;} + .d2-2089172870 .stroke-N5{stroke:#DEE1EB;} + .d2-2089172870 .stroke-N6{stroke:#EEF1F8;} + .d2-2089172870 .stroke-N7{stroke:#FFFFFF;} + .d2-2089172870 .stroke-B1{stroke:#0D32B2;} + .d2-2089172870 .stroke-B2{stroke:#0D32B2;} + .d2-2089172870 .stroke-B3{stroke:#E3E9FD;} + .d2-2089172870 .stroke-B4{stroke:#E3E9FD;} + .d2-2089172870 .stroke-B5{stroke:#EDF0FD;} + .d2-2089172870 .stroke-B6{stroke:#F7F8FE;} + .d2-2089172870 .stroke-AA2{stroke:#4A6FF3;} + .d2-2089172870 .stroke-AA4{stroke:#EDF0FD;} + .d2-2089172870 .stroke-AA5{stroke:#F7F8FE;} + .d2-2089172870 .stroke-AB4{stroke:#EDF0FD;} + .d2-2089172870 .stroke-AB5{stroke:#F7F8FE;} + .d2-2089172870 .background-color-N1{background-color:#0A0F25;} + .d2-2089172870 .background-color-N2{background-color:#676C7E;} + .d2-2089172870 .background-color-N3{background-color:#9499AB;} + .d2-2089172870 .background-color-N4{background-color:#CFD2DD;} + .d2-2089172870 .background-color-N5{background-color:#DEE1EB;} + .d2-2089172870 .background-color-N6{background-color:#EEF1F8;} + .d2-2089172870 .background-color-N7{background-color:#FFFFFF;} + .d2-2089172870 .background-color-B1{background-color:#0D32B2;} + .d2-2089172870 .background-color-B2{background-color:#0D32B2;} + .d2-2089172870 .background-color-B3{background-color:#E3E9FD;} + .d2-2089172870 .background-color-B4{background-color:#E3E9FD;} + .d2-2089172870 .background-color-B5{background-color:#EDF0FD;} + .d2-2089172870 .background-color-B6{background-color:#F7F8FE;} + .d2-2089172870 .background-color-AA2{background-color:#4A6FF3;} + .d2-2089172870 .background-color-AA4{background-color:#EDF0FD;} + .d2-2089172870 .background-color-AA5{background-color:#F7F8FE;} + .d2-2089172870 .background-color-AB4{background-color:#EDF0FD;} + .d2-2089172870 .background-color-AB5{background-color:#F7F8FE;} + .d2-2089172870 .color-N1{color:#0A0F25;} + .d2-2089172870 .color-N2{color:#676C7E;} + .d2-2089172870 .color-N3{color:#9499AB;} + .d2-2089172870 .color-N4{color:#CFD2DD;} + .d2-2089172870 .color-N5{color:#DEE1EB;} + .d2-2089172870 .color-N6{color:#EEF1F8;} + .d2-2089172870 .color-N7{color:#FFFFFF;} + .d2-2089172870 .color-B1{color:#0D32B2;} + .d2-2089172870 .color-B2{color:#0D32B2;} + .d2-2089172870 .color-B3{color:#E3E9FD;} + .d2-2089172870 .color-B4{color:#E3E9FD;} + .d2-2089172870 .color-B5{color:#EDF0FD;} + .d2-2089172870 .color-B6{color:#F7F8FE;} + .d2-2089172870 .color-AA2{color:#4A6FF3;} + .d2-2089172870 .color-AA4{color:#EDF0FD;} + .d2-2089172870 .color-AA5{color:#F7F8FE;} + .d2-2089172870 .color-AB4{color:#EDF0FD;} + .d2-2089172870 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>aabbccddffiijjkkllnnssuuwwrmyyeegghhmmmmooppqqrrttvvxxzzabac 123456 + - - + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/investigate/elk/board.exp.json b/e2etests/testdata/stable/investigate/elk/board.exp.json index b0794985d..a8b89a72a 100644 --- a/e2etests/testdata/stable/investigate/elk/board.exp.json +++ b/e2etests/testdata/stable/investigate/elk/board.exp.json @@ -585,7 +585,7 @@ "y": 3469 }, "width": 327, - "height": 229, + "height": 210, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -623,7 +623,7 @@ "type": "rectangle", "pos": { "x": 129, - "y": 3582 + "y": 3563 }, "width": 63, "height": 66, @@ -1045,7 +1045,7 @@ "type": "rectangle", "pos": { "x": 212, - "y": 3582 + "y": 3563 }, "width": 62, "height": 66, @@ -1221,7 +1221,7 @@ "type": "rectangle", "pos": { "x": 294, - "y": 3582 + "y": 3563 }, "width": 62, "height": 66, @@ -1262,7 +1262,7 @@ "type": "parallelogram", "pos": { "x": 267, - "y": 3773 + "y": 3754 }, "width": 115, "height": 66, @@ -1624,7 +1624,7 @@ "route": [ { "x": 235, - "y": 1305 + "y": 1304.666015625 }, { "x": 235, @@ -1662,7 +1662,7 @@ "route": [ { "x": 248.33299255371094, - "y": 1567.666015625 + "y": 1568 }, { "x": 248.33299255371094, @@ -1774,7 +1774,7 @@ }, { "x": 160.58299255371094, - "y": 3582 + "y": 3563 } ], "animated": false, @@ -1854,7 +1854,7 @@ "route": [ { "x": 434.1659851074219, - "y": 2227 + "y": 2226.5 }, { "x": 434.1659851074219, @@ -1892,7 +1892,7 @@ "route": [ { "x": 434.1659851074219, - "y": 2591.5 + "y": 2591 }, { "x": 434.1659851074219, @@ -1941,7 +1941,7 @@ "y": 823 }, { - "x": 93.5, + "x": 93.4990005493164, "y": 1239 } ], @@ -2014,7 +2014,7 @@ "route": [ { "x": 221.66600036621094, - "y": 1567.666015625 + "y": 1568 }, { "x": 222, @@ -2102,7 +2102,7 @@ }, { "x": 153, - "y": 2635.3330078125 + "y": 2635 } ], "animated": false, @@ -2136,7 +2136,7 @@ "route": [ { "x": 139.66600036621094, - "y": 2701.3330078125 + "y": 2701 }, { "x": 139.66600036621094, @@ -2148,7 +2148,7 @@ }, { "x": 243.08299255371094, - "y": 3582 + "y": 3563 } ], "animated": false, @@ -2220,7 +2220,7 @@ "route": [ { "x": 166.33299255371094, - "y": 2701.3330078125 + "y": 2701 }, { "x": 166.33299255371094, @@ -2269,7 +2269,7 @@ "y": 3143 }, { - "x": 428.8330078125, + "x": 429, "y": 3213 } ], @@ -2316,7 +2316,7 @@ }, { "x": 325.0830078125, - "y": 3582 + "y": 3563 } ], "animated": false, @@ -2350,11 +2350,11 @@ "route": [ { "x": 325.0830078125, - "y": 3648 + "y": 3629 }, { "x": 325, - "y": 3773 + "y": 3754 } ], "animated": false, diff --git a/e2etests/testdata/stable/investigate/elk/sketch.exp.svg b/e2etests/testdata/stable/investigate/elk/sketch.exp.svg index c9c316a89..5a5059dff 100644 --- a/e2etests/testdata/stable/investigate/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/investigate/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -aabbccddffiijjkkllnnssuuwwrmyyeegghhmmmmooppqqrrttvvxxzzabac 123456 - + .d2-526369625 .fill-N1{fill:#0A0F25;} + .d2-526369625 .fill-N2{fill:#676C7E;} + .d2-526369625 .fill-N3{fill:#9499AB;} + .d2-526369625 .fill-N4{fill:#CFD2DD;} + .d2-526369625 .fill-N5{fill:#DEE1EB;} + .d2-526369625 .fill-N6{fill:#EEF1F8;} + .d2-526369625 .fill-N7{fill:#FFFFFF;} + .d2-526369625 .fill-B1{fill:#0D32B2;} + .d2-526369625 .fill-B2{fill:#0D32B2;} + .d2-526369625 .fill-B3{fill:#E3E9FD;} + .d2-526369625 .fill-B4{fill:#E3E9FD;} + .d2-526369625 .fill-B5{fill:#EDF0FD;} + .d2-526369625 .fill-B6{fill:#F7F8FE;} + .d2-526369625 .fill-AA2{fill:#4A6FF3;} + .d2-526369625 .fill-AA4{fill:#EDF0FD;} + .d2-526369625 .fill-AA5{fill:#F7F8FE;} + .d2-526369625 .fill-AB4{fill:#EDF0FD;} + .d2-526369625 .fill-AB5{fill:#F7F8FE;} + .d2-526369625 .stroke-N1{stroke:#0A0F25;} + .d2-526369625 .stroke-N2{stroke:#676C7E;} + .d2-526369625 .stroke-N3{stroke:#9499AB;} + .d2-526369625 .stroke-N4{stroke:#CFD2DD;} + .d2-526369625 .stroke-N5{stroke:#DEE1EB;} + .d2-526369625 .stroke-N6{stroke:#EEF1F8;} + .d2-526369625 .stroke-N7{stroke:#FFFFFF;} + .d2-526369625 .stroke-B1{stroke:#0D32B2;} + .d2-526369625 .stroke-B2{stroke:#0D32B2;} + .d2-526369625 .stroke-B3{stroke:#E3E9FD;} + .d2-526369625 .stroke-B4{stroke:#E3E9FD;} + .d2-526369625 .stroke-B5{stroke:#EDF0FD;} + .d2-526369625 .stroke-B6{stroke:#F7F8FE;} + .d2-526369625 .stroke-AA2{stroke:#4A6FF3;} + .d2-526369625 .stroke-AA4{stroke:#EDF0FD;} + .d2-526369625 .stroke-AA5{stroke:#F7F8FE;} + .d2-526369625 .stroke-AB4{stroke:#EDF0FD;} + .d2-526369625 .stroke-AB5{stroke:#F7F8FE;} + .d2-526369625 .background-color-N1{background-color:#0A0F25;} + .d2-526369625 .background-color-N2{background-color:#676C7E;} + .d2-526369625 .background-color-N3{background-color:#9499AB;} + .d2-526369625 .background-color-N4{background-color:#CFD2DD;} + .d2-526369625 .background-color-N5{background-color:#DEE1EB;} + .d2-526369625 .background-color-N6{background-color:#EEF1F8;} + .d2-526369625 .background-color-N7{background-color:#FFFFFF;} + .d2-526369625 .background-color-B1{background-color:#0D32B2;} + .d2-526369625 .background-color-B2{background-color:#0D32B2;} + .d2-526369625 .background-color-B3{background-color:#E3E9FD;} + .d2-526369625 .background-color-B4{background-color:#E3E9FD;} + .d2-526369625 .background-color-B5{background-color:#EDF0FD;} + .d2-526369625 .background-color-B6{background-color:#F7F8FE;} + .d2-526369625 .background-color-AA2{background-color:#4A6FF3;} + .d2-526369625 .background-color-AA4{background-color:#EDF0FD;} + .d2-526369625 .background-color-AA5{background-color:#F7F8FE;} + .d2-526369625 .background-color-AB4{background-color:#EDF0FD;} + .d2-526369625 .background-color-AB5{background-color:#F7F8FE;} + .d2-526369625 .color-N1{color:#0A0F25;} + .d2-526369625 .color-N2{color:#676C7E;} + .d2-526369625 .color-N3{color:#9499AB;} + .d2-526369625 .color-N4{color:#CFD2DD;} + .d2-526369625 .color-N5{color:#DEE1EB;} + .d2-526369625 .color-N6{color:#EEF1F8;} + .d2-526369625 .color-N7{color:#FFFFFF;} + .d2-526369625 .color-B1{color:#0D32B2;} + .d2-526369625 .color-B2{color:#0D32B2;} + .d2-526369625 .color-B3{color:#E3E9FD;} + .d2-526369625 .color-B4{color:#E3E9FD;} + .d2-526369625 .color-B5{color:#EDF0FD;} + .d2-526369625 .color-B6{color:#F7F8FE;} + .d2-526369625 .color-AA2{color:#4A6FF3;} + .d2-526369625 .color-AA4{color:#EDF0FD;} + .d2-526369625 .color-AA5{color:#F7F8FE;} + .d2-526369625 .color-AB4{color:#EDF0FD;} + .d2-526369625 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>aabbccddffiijjkkllnnssuuwwrmyyeegghhmmmmooppqqrrttvvxxzzabac 123456 + @@ -120,26 +120,26 @@ - + - + - + - + - + \ No newline at end of file diff --git a/e2etests/testdata/stable/label-near/dagre/board.exp.json b/e2etests/testdata/stable/label-near/dagre/board.exp.json new file mode 100644 index 000000000..58330c06c --- /dev/null +++ b/e2etests/testdata/stable/label-near/dagre/board.exp.json @@ -0,0 +1,202 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "x", + "type": "rectangle", + "pos": { + "x": 0, + "y": 74 + }, + "width": 123, + "height": 123, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/005-programmer.svg", + "RawPath": "/essentials%2F005-programmer.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_RIGHT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "worker", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 52, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 223, + "y": 74 + }, + "width": 118, + "height": 123, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/profits.svg", + "RawPath": "/essentials%2Fprofits.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_BOTTOM_CENTER", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "profits", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 47, + "labelHeight": 21, + "labelPosition": "INSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(x -> y)[0]", + "src": "x", + "srcArrow": "none", + "dst": "y", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 123, + "y": 151 + }, + { + "x": 163, + "y": 151 + }, + { + "x": 183, + "y": 151 + }, + { + "x": 223, + "y": 151 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/label-near/dagre/sketch.exp.svg b/e2etests/testdata/stable/label-near/dagre/sketch.exp.svg new file mode 100644 index 000000000..9aa21b001 --- /dev/null +++ b/e2etests/testdata/stable/label-near/dagre/sketch.exp.svg @@ -0,0 +1,96 @@ +workerprofits + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/label-near/elk/board.exp.json b/e2etests/testdata/stable/label-near/elk/board.exp.json new file mode 100644 index 000000000..77309cf93 --- /dev/null +++ b/e2etests/testdata/stable/label-near/elk/board.exp.json @@ -0,0 +1,193 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "x", + "type": "rectangle", + "pos": { + "x": 12, + "y": 12 + }, + "width": 123, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/005-programmer.svg", + "RawPath": "/essentials%2F005-programmer.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_RIGHT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "worker", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 52, + "labelHeight": 21, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "y", + "type": "rectangle", + "pos": { + "x": 205, + "y": 12 + }, + "width": 118, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/profits.svg", + "RawPath": "/essentials%2Fprofits.svg", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_BOTTOM_CENTER", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "profits", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 47, + "labelHeight": 21, + "labelPosition": "INSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(x -> y)[0]", + "src": "x", + "srcArrow": "none", + "dst": "y", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 135, + "y": 71 + }, + { + "x": 205, + "y": 71 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/label-near/elk/sketch.exp.svg b/e2etests/testdata/stable/label-near/elk/sketch.exp.svg new file mode 100644 index 000000000..a8b8e7430 --- /dev/null +++ b/e2etests/testdata/stable/label-near/elk/sketch.exp.svg @@ -0,0 +1,96 @@ +workerprofits + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/label_positions/dagre/board.exp.json b/e2etests/testdata/stable/label_positions/dagre/board.exp.json index ddce16a8c..2e5f24e9e 100644 --- a/e2etests/testdata/stable/label_positions/dagre/board.exp.json +++ b/e2etests/testdata/stable/label_positions/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "non container", "type": "rectangle", "pos": { - "x": 460, - "y": 41 + "x": 470, + "y": -5 }, - "width": 5077, - "height": 157, + "width": 6168, + "height": 128, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 500, - "y": 86 + "y": 26 }, "width": 96, "height": 66, @@ -93,7 +93,7 @@ ], "pos": { "x": 656, - "y": 86 + "y": 26 }, "width": 156, "height": 66, @@ -137,7 +137,7 @@ ], "pos": { "x": 872, - "y": 86 + "y": 26 }, "width": 176, "height": 66, @@ -181,7 +181,7 @@ ], "pos": { "x": 1108, - "y": 86 + "y": 26 }, "width": 165, "height": 66, @@ -224,8 +224,8 @@ "OutsideLeftTop" ], "pos": { - "x": 1333, - "y": 86 + "x": 1454, + "y": 26 }, "width": 156, "height": 66, @@ -268,8 +268,8 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1549, - "y": 86 + "x": 1811, + "y": 26 }, "width": 176, "height": 66, @@ -312,8 +312,8 @@ "OutsideLeftBottom" ], "pos": { - "x": 1785, - "y": 86 + "x": 2193, + "y": 26 }, "width": 181, "height": 66, @@ -356,8 +356,8 @@ "OutsideRightTop" ], "pos": { - "x": 2026, - "y": 86 + "x": 2434, + "y": 26 }, "width": 165, "height": 66, @@ -400,8 +400,8 @@ "OutsideRightMiddle" ], "pos": { - "x": 2251, - "y": 86 + "x": 2789, + "y": 26 }, "width": 186, "height": 66, @@ -444,8 +444,8 @@ "OutsideRightBottom" ], "pos": { - "x": 2497, - "y": 86 + "x": 3186, + "y": 26 }, "width": 191, "height": 66, @@ -488,8 +488,8 @@ "OutsideBottomLeft" ], "pos": { - "x": 2748, - "y": 86 + "x": 3593, + "y": 26 }, "width": 182, "height": 66, @@ -532,8 +532,8 @@ "OutsideBottomCenter" ], "pos": { - "x": 2990, - "y": 86 + "x": 3835, + "y": 26 }, "width": 202, "height": 66, @@ -576,8 +576,8 @@ "OutsideBottomRight" ], "pos": { - "x": 3252, - "y": 86 + "x": 4097, + "y": 26 }, "width": 192, "height": 66, @@ -620,8 +620,8 @@ "InsideTopLeft" ], "pos": { - "x": 3504, - "y": 86 + "x": 4349, + "y": 26 }, "width": 142, "height": 66, @@ -664,8 +664,8 @@ "InsideTopCenter" ], "pos": { - "x": 3706, - "y": 86 + "x": 4551, + "y": 26 }, "width": 163, "height": 66, @@ -708,8 +708,8 @@ "InsideTopRight" ], "pos": { - "x": 3929, - "y": 86 + "x": 4774, + "y": 26 }, "width": 152, "height": 66, @@ -752,10 +752,10 @@ "InsideMiddleLeft" ], "pos": { - "x": 4141, - "y": 86 + "x": 4986, + "y": 26 }, - "width": 163, + "width": 291, "height": 66, "opacity": 1, "strokeDash": 0, @@ -796,8 +796,8 @@ "InsideMiddleCenter" ], "pos": { - "x": 4364, - "y": 86 + "x": 5337, + "y": 26 }, "width": 183, "height": 66, @@ -840,10 +840,10 @@ "InsideMiddleRight" ], "pos": { - "x": 4607, - "y": 86 + "x": 5580, + "y": 26 }, - "width": 173, + "width": 311, "height": 66, "opacity": 1, "strokeDash": 0, @@ -884,8 +884,8 @@ "InsideBottomLeft" ], "pos": { - "x": 4840, - "y": 86 + "x": 5951, + "y": 26 }, "width": 169, "height": 66, @@ -928,8 +928,8 @@ "InsideBottomCenter" ], "pos": { - "x": 5069, - "y": 86 + "x": 6180, + "y": 26 }, "width": 189, "height": 66, @@ -972,8 +972,8 @@ "InsideBottomRight" ], "pos": { - "x": 5318, - "y": 86 + "x": 6429, + "y": 26 }, "width": 179, "height": 66, @@ -1014,10 +1014,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 371 + "y": 271 }, - "width": 5967, - "height": 289, + "width": 7497, + "height": 208, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1054,11 +1054,11 @@ "id": "container.Default", "type": "rectangle", "pos": { - "x": 20, - "y": 452 + "x": 30, + "y": 312 }, - "width": 176, - "height": 162, + "width": 156, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1096,7 +1096,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 500 + "y": 342 }, "width": 96, "height": 66, @@ -1139,11 +1139,11 @@ "OutsideTopLeft" ], "pos": { - "x": 216, - "y": 452 + "x": 226, + "y": 312 }, - "width": 236, - "height": 162, + "width": 216, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1183,11 +1183,11 @@ "OutsideTopCenter" ], "pos": { - "x": 472, - "y": 452 + "x": 482, + "y": 312 }, - "width": 256, - "height": 162, + "width": 236, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1227,11 +1227,11 @@ "OutsideTopRight" ], "pos": { - "x": 748, - "y": 452 + "x": 758, + "y": 312 }, - "width": 245, - "height": 162, + "width": 225, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1271,11 +1271,11 @@ "OutsideLeftTop" ], "pos": { - "x": 1013, - "y": 452 + "x": 1188, + "y": 312 }, - "width": 236, - "height": 162, + "width": 216, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1315,11 +1315,11 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1269, - "y": 452 + "x": 1638, + "y": 312 }, - "width": 256, - "height": 162, + "width": 236, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1359,11 +1359,11 @@ "OutsideLeftBottom" ], "pos": { - "x": 1545, - "y": 452 + "x": 2116, + "y": 312 }, - "width": 261, - "height": 162, + "width": 241, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1403,11 +1403,11 @@ "OutsideRightTop" ], "pos": { - "x": 1826, - "y": 452 + "x": 2397, + "y": 312 }, - "width": 245, - "height": 162, + "width": 225, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1447,11 +1447,11 @@ "OutsideRightMiddle" ], "pos": { - "x": 2091, - "y": 452 + "x": 2841, + "y": 312 }, - "width": 266, - "height": 162, + "width": 246, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1491,11 +1491,11 @@ "OutsideRightBottom" ], "pos": { - "x": 2377, - "y": 452 + "x": 3335, + "y": 312 }, - "width": 271, - "height": 162, + "width": 251, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1535,11 +1535,11 @@ "OutsideBottomLeft" ], "pos": { - "x": 2668, - "y": 452 + "x": 3842, + "y": 312 }, - "width": 262, - "height": 162, + "width": 242, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1579,11 +1579,11 @@ "OutsideBottomCenter" ], "pos": { - "x": 2950, - "y": 452 + "x": 4124, + "y": 312 }, - "width": 282, - "height": 162, + "width": 262, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1623,11 +1623,11 @@ "OutsideBottomRight" ], "pos": { - "x": 3262, - "y": 452 + "x": 4436, + "y": 312 }, - "width": 272, - "height": 162, + "width": 252, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1667,11 +1667,11 @@ "InsideTopLeft" ], "pos": { - "x": 3554, - "y": 452 + "x": 4728, + "y": 301 }, - "width": 222, - "height": 162, + "width": 202, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1711,11 +1711,11 @@ "InsideTopCenter" ], "pos": { - "x": 3796, - "y": 452 + "x": 4970, + "y": 301 }, - "width": 243, - "height": 162, + "width": 223, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1755,11 +1755,11 @@ "InsideTopRight" ], "pos": { - "x": 4059, - "y": 452 + "x": 5233, + "y": 301 }, - "width": 232, - "height": 162, + "width": 212, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1799,11 +1799,11 @@ "InsideMiddleLeft" ], "pos": { - "x": 4311, - "y": 452 + "x": 5515, + "y": 312 }, - "width": 243, - "height": 162, + "width": 369, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1843,11 +1843,11 @@ "InsideMiddleCenter" ], "pos": { - "x": 4574, - "y": 452 + "x": 5924, + "y": 312 }, - "width": 263, - "height": 162, + "width": 243, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1887,11 +1887,11 @@ "InsideMiddleRight" ], "pos": { - "x": 4857, - "y": 452 + "x": 6207, + "y": 312 }, - "width": 253, - "height": 162, + "width": 393, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1931,11 +1931,11 @@ "InsideBottomLeft" ], "pos": { - "x": 5130, - "y": 452 + "x": 6670, + "y": 312 }, - "width": 249, - "height": 162, + "width": 229, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1975,11 +1975,11 @@ "InsideBottomCenter" ], "pos": { - "x": 5399, - "y": 452 + "x": 6939, + "y": 312 }, - "width": 269, - "height": 162, + "width": 249, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2019,11 +2019,11 @@ "InsideBottomRight" ], "pos": { - "x": 5688, - "y": 452 + "x": 7228, + "y": 312 }, - "width": 259, - "height": 162, + "width": 239, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2061,7 +2061,7 @@ "type": "rectangle", "pos": { "x": 256, - "y": 500 + "y": 342 }, "width": 156, "height": 66, @@ -2102,7 +2102,7 @@ "type": "rectangle", "pos": { "x": 512, - "y": 500 + "y": 342 }, "width": 176, "height": 66, @@ -2143,7 +2143,7 @@ "type": "rectangle", "pos": { "x": 788, - "y": 500 + "y": 342 }, "width": 165, "height": 66, @@ -2183,8 +2183,8 @@ "id": "container.OutsideLeftTop.OutsideLeftTop", "type": "rectangle", "pos": { - "x": 1053, - "y": 500 + "x": 1218, + "y": 342 }, "width": 156, "height": 66, @@ -2224,8 +2224,8 @@ "id": "container.OutsideLeftMiddle.OutsideLeftMiddle", "type": "rectangle", "pos": { - "x": 1309, - "y": 500 + "x": 1668, + "y": 342 }, "width": 176, "height": 66, @@ -2265,8 +2265,8 @@ "id": "container.OutsideLeftBottom.OutsideLeftBottom", "type": "rectangle", "pos": { - "x": 1585, - "y": 500 + "x": 2146, + "y": 342 }, "width": 181, "height": 66, @@ -2306,8 +2306,8 @@ "id": "container.OutsideRightTop.OutsideRightTop", "type": "rectangle", "pos": { - "x": 1866, - "y": 500 + "x": 2427, + "y": 342 }, "width": 165, "height": 66, @@ -2347,8 +2347,8 @@ "id": "container.OutsideRightMiddle.OutsideRightMiddle", "type": "rectangle", "pos": { - "x": 2131, - "y": 500 + "x": 2871, + "y": 342 }, "width": 186, "height": 66, @@ -2388,8 +2388,8 @@ "id": "container.OutsideRightBottom.OutsideRightBottom", "type": "rectangle", "pos": { - "x": 2417, - "y": 500 + "x": 3365, + "y": 342 }, "width": 191, "height": 66, @@ -2429,8 +2429,8 @@ "id": "container.OutsideBottomLeft.OutsideBottomLeft", "type": "rectangle", "pos": { - "x": 2708, - "y": 500 + "x": 3872, + "y": 342 }, "width": 182, "height": 66, @@ -2470,8 +2470,8 @@ "id": "container.OutsideBottomCenter.OutsideBottomCenter", "type": "rectangle", "pos": { - "x": 2990, - "y": 500 + "x": 4154, + "y": 342 }, "width": 202, "height": 66, @@ -2511,8 +2511,8 @@ "id": "container.OutsideBottomRight.OutsideBottomRight", "type": "rectangle", "pos": { - "x": 3302, - "y": 500 + "x": 4466, + "y": 342 }, "width": 192, "height": 66, @@ -2552,8 +2552,8 @@ "id": "container.InsideTopLeft.InsideTopLeft", "type": "rectangle", "pos": { - "x": 3594, - "y": 500 + "x": 4758, + "y": 342 }, "width": 142, "height": 66, @@ -2593,8 +2593,8 @@ "id": "container.InsideTopCenter.InsideTopCenter", "type": "rectangle", "pos": { - "x": 3836, - "y": 500 + "x": 5000, + "y": 342 }, "width": 163, "height": 66, @@ -2634,8 +2634,8 @@ "id": "container.InsideTopRight.InsideTopRight", "type": "rectangle", "pos": { - "x": 4099, - "y": 500 + "x": 5263, + "y": 342 }, "width": 152, "height": 66, @@ -2675,8 +2675,8 @@ "id": "container.InsideMiddleLeft.InsideMiddleLeft", "type": "rectangle", "pos": { - "x": 4351, - "y": 500 + "x": 5691, + "y": 342 }, "width": 163, "height": 66, @@ -2716,8 +2716,8 @@ "id": "container.InsideMiddleCenter.InsideMiddleCenter", "type": "rectangle", "pos": { - "x": 4614, - "y": 500 + "x": 5954, + "y": 342 }, "width": 183, "height": 66, @@ -2757,8 +2757,8 @@ "id": "container.InsideMiddleRight.InsideMiddleRight", "type": "rectangle", "pos": { - "x": 4897, - "y": 500 + "x": 6237, + "y": 342 }, "width": 173, "height": 66, @@ -2798,8 +2798,8 @@ "id": "container.InsideBottomLeft.InsideBottomLeft", "type": "rectangle", "pos": { - "x": 5170, - "y": 500 + "x": 6700, + "y": 342 }, "width": 169, "height": 66, @@ -2839,8 +2839,8 @@ "id": "container.InsideBottomCenter.InsideBottomCenter", "type": "rectangle", "pos": { - "x": 5439, - "y": 500 + "x": 6969, + "y": 342 }, "width": 189, "height": 66, @@ -2880,8 +2880,8 @@ "id": "container.InsideBottomRight.InsideBottomRight", "type": "rectangle", "pos": { - "x": 5728, - "y": 500 + "x": 7258, + "y": 342 }, "width": 179, "height": 66, @@ -2921,11 +2921,11 @@ "id": "with icon", "type": "rectangle", "pos": { - "x": 161, - "y": 833 + "x": 171, + "y": 627 }, - "width": 5649, - "height": 209, + "width": 6740, + "height": 154, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -2966,10 +2966,10 @@ ], "pos": { "x": 201, - "y": 878 + "y": 658 }, "width": 122, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3023,10 +3023,10 @@ ], "pos": { "x": 383, - "y": 878 + "y": 658 }, "width": 182, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3080,10 +3080,10 @@ ], "pos": { "x": 625, - "y": 878 + "y": 658 }, "width": 202, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3137,10 +3137,10 @@ ], "pos": { "x": 887, - "y": 878 + "y": 658 }, "width": 191, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3193,11 +3193,11 @@ "OutsideLeftTop" ], "pos": { - "x": 1138, - "y": 878 + "x": 1259, + "y": 658 }, "width": 182, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3250,11 +3250,11 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1380, - "y": 878 + "x": 1642, + "y": 658 }, "width": 202, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3307,11 +3307,11 @@ "OutsideLeftBottom" ], "pos": { - "x": 1642, - "y": 878 + "x": 2050, + "y": 658 }, "width": 207, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3364,11 +3364,11 @@ "OutsideRightTop" ], "pos": { - "x": 1909, - "y": 878 + "x": 2317, + "y": 658 }, "width": 191, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3421,11 +3421,11 @@ "OutsideRightMiddle" ], "pos": { - "x": 2160, - "y": 878 + "x": 2698, + "y": 658 }, "width": 212, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3478,11 +3478,11 @@ "OutsideRightBottom" ], "pos": { - "x": 2432, - "y": 878 + "x": 3121, + "y": 658 }, "width": 217, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3535,11 +3535,11 @@ "OutsideBottomLeft" ], "pos": { - "x": 2709, - "y": 878 + "x": 3554, + "y": 658 }, "width": 208, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3592,11 +3592,11 @@ "OutsideBottomCenter" ], "pos": { - "x": 2977, - "y": 878 + "x": 3822, + "y": 658 }, "width": 228, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3649,11 +3649,11 @@ "OutsideBottomRight" ], "pos": { - "x": 3265, - "y": 878 + "x": 4110, + "y": 658 }, "width": 218, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3706,11 +3706,11 @@ "InsideTopLeft" ], "pos": { - "x": 3543, - "y": 878 + "x": 4388, + "y": 658 }, "width": 168, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3763,11 +3763,11 @@ "InsideTopCenter" ], "pos": { - "x": 3771, - "y": 878 + "x": 4616, + "y": 658 }, "width": 189, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3820,11 +3820,11 @@ "InsideTopRight" ], "pos": { - "x": 4020, - "y": 878 + "x": 4865, + "y": 658 }, "width": 178, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3877,11 +3877,11 @@ "InsideMiddleLeft" ], "pos": { - "x": 4258, - "y": 878 + "x": 5103, + "y": 658 }, - "width": 189, - "height": 118, + "width": 317, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3934,11 +3934,11 @@ "InsideMiddleCenter" ], "pos": { - "x": 4507, - "y": 878 + "x": 5480, + "y": 658 }, "width": 209, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -3991,11 +3991,11 @@ "InsideMiddleRight" ], "pos": { - "x": 4776, - "y": 878 + "x": 5749, + "y": 658 }, - "width": 199, - "height": 118, + "width": 337, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4048,11 +4048,11 @@ "InsideBottomLeft" ], "pos": { - "x": 5035, - "y": 878 + "x": 6146, + "y": 658 }, "width": 195, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4105,11 +4105,11 @@ "InsideBottomCenter" ], "pos": { - "x": 5290, - "y": 878 + "x": 6401, + "y": 658 }, "width": 215, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4162,11 +4162,11 @@ "InsideBottomRight" ], "pos": { - "x": 5565, - "y": 878 + "x": 6676, + "y": 658 }, "width": 205, - "height": 118, + "height": 92, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4216,10 +4216,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 1215 + "y": 909 }, - "width": 5957, - "height": 289, + "width": 7487, + "height": 252, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4259,11 +4259,11 @@ "icon" ], "pos": { - "x": 20, - "y": 1296 + "x": 30, + "y": 994 }, - "width": 176, - "height": 162, + "width": 156, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4313,7 +4313,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 1344 + "y": 1024 }, "width": 96, "height": 66, @@ -4357,11 +4357,11 @@ "OutsideTopLeft" ], "pos": { - "x": 216, - "y": 1296 + "x": 226, + "y": 994 }, - "width": 236, - "height": 162, + "width": 216, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4411,7 +4411,7 @@ "type": "rectangle", "pos": { "x": 256, - "y": 1344 + "y": 1024 }, "width": 156, "height": 66, @@ -4455,11 +4455,11 @@ "OutsideTopCenter" ], "pos": { - "x": 472, - "y": 1296 + "x": 482, + "y": 994 }, - "width": 256, - "height": 162, + "width": 236, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4509,7 +4509,7 @@ "type": "rectangle", "pos": { "x": 512, - "y": 1344 + "y": 1024 }, "width": 176, "height": 66, @@ -4553,11 +4553,11 @@ "OutsideTopRight" ], "pos": { - "x": 748, - "y": 1296 + "x": 758, + "y": 994 }, - "width": 245, - "height": 162, + "width": 225, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4607,7 +4607,7 @@ "type": "rectangle", "pos": { "x": 788, - "y": 1344 + "y": 1024 }, "width": 165, "height": 66, @@ -4651,11 +4651,11 @@ "OutsideLeftTop" ], "pos": { - "x": 1013, - "y": 1296 + "x": 1188, + "y": 994 }, - "width": 236, - "height": 162, + "width": 216, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4704,8 +4704,8 @@ "id": "container with icon.OutsideLeftTop.OutsideLeftTop", "type": "rectangle", "pos": { - "x": 1053, - "y": 1344 + "x": 1218, + "y": 1024 }, "width": 156, "height": 66, @@ -4749,11 +4749,11 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1269, - "y": 1296 + "x": 1638, + "y": 994 }, - "width": 256, - "height": 162, + "width": 236, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4802,8 +4802,8 @@ "id": "container with icon.OutsideLeftMiddle.OutsideLeftMiddle", "type": "rectangle", "pos": { - "x": 1309, - "y": 1344 + "x": 1668, + "y": 1024 }, "width": 176, "height": 66, @@ -4847,11 +4847,11 @@ "OutsideLeftBottom" ], "pos": { - "x": 1545, - "y": 1296 + "x": 2116, + "y": 994 }, - "width": 261, - "height": 162, + "width": 241, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4900,8 +4900,8 @@ "id": "container with icon.OutsideLeftBottom.OutsideLeftBottom", "type": "rectangle", "pos": { - "x": 1585, - "y": 1344 + "x": 2146, + "y": 1024 }, "width": 181, "height": 66, @@ -4945,11 +4945,11 @@ "OutsideRightTop" ], "pos": { - "x": 1826, - "y": 1296 + "x": 2397, + "y": 994 }, - "width": 245, - "height": 162, + "width": 225, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -4998,8 +4998,8 @@ "id": "container with icon.OutsideRightTop.OutsideRightTop", "type": "rectangle", "pos": { - "x": 1866, - "y": 1344 + "x": 2427, + "y": 1024 }, "width": 165, "height": 66, @@ -5043,11 +5043,11 @@ "OutsideRightMiddle" ], "pos": { - "x": 2091, - "y": 1296 + "x": 2841, + "y": 994 }, - "width": 266, - "height": 162, + "width": 246, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5096,8 +5096,8 @@ "id": "container with icon.OutsideRightMiddle.OutsideRightMiddle", "type": "rectangle", "pos": { - "x": 2131, - "y": 1344 + "x": 2871, + "y": 1024 }, "width": 186, "height": 66, @@ -5141,11 +5141,11 @@ "OutsideRightBottom" ], "pos": { - "x": 2377, - "y": 1296 + "x": 3335, + "y": 994 }, - "width": 271, - "height": 162, + "width": 251, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5194,8 +5194,8 @@ "id": "container with icon.OutsideRightBottom.OutsideRightBottom", "type": "rectangle", "pos": { - "x": 2417, - "y": 1344 + "x": 3365, + "y": 1024 }, "width": 191, "height": 66, @@ -5239,11 +5239,11 @@ "OutsideBottomLeft" ], "pos": { - "x": 2668, - "y": 1296 + "x": 3842, + "y": 994 }, - "width": 262, - "height": 162, + "width": 242, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5292,8 +5292,8 @@ "id": "container with icon.OutsideBottomLeft.OutsideBottomLeft", "type": "rectangle", "pos": { - "x": 2708, - "y": 1344 + "x": 3872, + "y": 1024 }, "width": 182, "height": 66, @@ -5337,11 +5337,11 @@ "OutsideBottomCenter" ], "pos": { - "x": 2950, - "y": 1296 + "x": 4124, + "y": 994 }, - "width": 282, - "height": 162, + "width": 262, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5390,8 +5390,8 @@ "id": "container with icon.OutsideBottomCenter.OutsideBottomCenter", "type": "rectangle", "pos": { - "x": 2990, - "y": 1344 + "x": 4154, + "y": 1024 }, "width": 202, "height": 66, @@ -5435,11 +5435,11 @@ "OutsideBottomRight" ], "pos": { - "x": 3252, - "y": 1296 + "x": 4426, + "y": 994 }, - "width": 272, - "height": 162, + "width": 252, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5488,8 +5488,8 @@ "id": "container with icon.OutsideBottomRight.OutsideBottomRight", "type": "rectangle", "pos": { - "x": 3292, - "y": 1344 + "x": 4456, + "y": 1024 }, "width": 192, "height": 66, @@ -5533,11 +5533,11 @@ "InsideTopLeft" ], "pos": { - "x": 3544, - "y": 1296 + "x": 4718, + "y": 983 }, - "width": 222, - "height": 162, + "width": 202, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5586,8 +5586,8 @@ "id": "container with icon.InsideTopLeft.InsideTopLeft", "type": "rectangle", "pos": { - "x": 3584, - "y": 1344 + "x": 4748, + "y": 1024 }, "width": 142, "height": 66, @@ -5631,11 +5631,11 @@ "InsideTopCenter" ], "pos": { - "x": 3786, - "y": 1296 + "x": 4960, + "y": 983 }, - "width": 243, - "height": 162, + "width": 223, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5684,8 +5684,8 @@ "id": "container with icon.InsideTopCenter.InsideTopCenter", "type": "rectangle", "pos": { - "x": 3826, - "y": 1344 + "x": 4990, + "y": 1024 }, "width": 163, "height": 66, @@ -5729,11 +5729,11 @@ "InsideTopRight" ], "pos": { - "x": 4049, - "y": 1296 + "x": 5223, + "y": 983 }, - "width": 232, - "height": 162, + "width": 212, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5782,8 +5782,8 @@ "id": "container with icon.InsideTopRight.InsideTopRight", "type": "rectangle", "pos": { - "x": 4089, - "y": 1344 + "x": 5253, + "y": 1024 }, "width": 152, "height": 66, @@ -5827,11 +5827,11 @@ "InsideMiddleLeft" ], "pos": { - "x": 4301, - "y": 1296 + "x": 5505, + "y": 994 }, - "width": 243, - "height": 162, + "width": 369, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5880,8 +5880,8 @@ "id": "container with icon.InsideMiddleLeft.InsideMiddleLeft", "type": "rectangle", "pos": { - "x": 4341, - "y": 1344 + "x": 5681, + "y": 1024 }, "width": 163, "height": 66, @@ -5925,11 +5925,11 @@ "InsideMiddleCenter" ], "pos": { - "x": 4564, - "y": 1296 + "x": 5914, + "y": 994 }, - "width": 263, - "height": 162, + "width": 243, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -5978,8 +5978,8 @@ "id": "container with icon.InsideMiddleCenter.InsideMiddleCenter", "type": "rectangle", "pos": { - "x": 4604, - "y": 1344 + "x": 5944, + "y": 1024 }, "width": 183, "height": 66, @@ -6023,11 +6023,11 @@ "InsideMiddleRight" ], "pos": { - "x": 4847, - "y": 1296 + "x": 6197, + "y": 994 }, - "width": 253, - "height": 162, + "width": 393, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -6076,8 +6076,8 @@ "id": "container with icon.InsideMiddleRight.InsideMiddleRight", "type": "rectangle", "pos": { - "x": 4887, - "y": 1344 + "x": 6227, + "y": 1024 }, "width": 173, "height": 66, @@ -6121,11 +6121,11 @@ "InsideBottomLeft" ], "pos": { - "x": 5120, - "y": 1296 + "x": 6660, + "y": 994 }, - "width": 249, - "height": 162, + "width": 229, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -6174,8 +6174,8 @@ "id": "container with icon.InsideBottomLeft.InsideBottomLeft", "type": "rectangle", "pos": { - "x": 5160, - "y": 1344 + "x": 6690, + "y": 1024 }, "width": 169, "height": 66, @@ -6219,11 +6219,11 @@ "InsideBottomCenter" ], "pos": { - "x": 5389, - "y": 1296 + "x": 6929, + "y": 994 }, - "width": 269, - "height": 162, + "width": 249, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -6272,8 +6272,8 @@ "id": "container with icon.InsideBottomCenter.InsideBottomCenter", "type": "rectangle", "pos": { - "x": 5429, - "y": 1344 + "x": 6959, + "y": 1024 }, "width": 189, "height": 66, @@ -6317,11 +6317,11 @@ "InsideBottomRight" ], "pos": { - "x": 5678, - "y": 1296 + "x": 7218, + "y": 994 }, - "width": 259, - "height": 162, + "width": 239, + "height": 137, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -6370,8 +6370,8 @@ "id": "container with icon.InsideBottomRight.InsideBottomRight", "type": "rectangle", "pos": { - "x": 5718, - "y": 1344 + "x": 7248, + "y": 1024 }, "width": 179, "height": 66, @@ -6435,19 +6435,19 @@ "route": [ { "x": 3091, - "y": 198 + "y": 123 }, { "x": 3091, - "y": 250.8000030517578 + "y": 178.1999969482422 }, { "x": 3091, - "y": 285.3999938964844 + "y": 207.8000030517578 }, { "x": 3091, - "y": 371 + "y": 271 } ], "isCurve": true, @@ -6482,19 +6482,19 @@ "route": [ { "x": 3091, - "y": 660 + "y": 479 }, { "x": 3091, - "y": 712.7999877929688 + "y": 542.2000122070312 }, { "x": 3091, - "y": 747.4000244140625 + "y": 571.7999877929688 }, { "x": 3091, - "y": 833 + "y": 627 } ], "isCurve": true, @@ -6529,19 +6529,19 @@ "route": [ { "x": 3091, - "y": 1042 + "y": 781 }, { "x": 3091, - "y": 1094.800048828125 + "y": 836.2000122070312 }, { "x": 3091, - "y": 1121.199951171875 + "y": 861.7999877929688 }, { "x": 3091, - "y": 1174 + "y": 909 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/label_positions/dagre/sketch.exp.svg b/e2etests/testdata/stable/label_positions/dagre/sketch.exp.svg index 7de240b2d..785a1c370 100644 --- a/e2etests/testdata/stable/label_positions/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/label_positions/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -non containercontainerwith iconcontainer with iconDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-1304341604 .fill-N1{fill:#0A0F25;} + .d2-1304341604 .fill-N2{fill:#676C7E;} + .d2-1304341604 .fill-N3{fill:#9499AB;} + .d2-1304341604 .fill-N4{fill:#CFD2DD;} + .d2-1304341604 .fill-N5{fill:#DEE1EB;} + .d2-1304341604 .fill-N6{fill:#EEF1F8;} + .d2-1304341604 .fill-N7{fill:#FFFFFF;} + .d2-1304341604 .fill-B1{fill:#0D32B2;} + .d2-1304341604 .fill-B2{fill:#0D32B2;} + .d2-1304341604 .fill-B3{fill:#E3E9FD;} + .d2-1304341604 .fill-B4{fill:#E3E9FD;} + .d2-1304341604 .fill-B5{fill:#EDF0FD;} + .d2-1304341604 .fill-B6{fill:#F7F8FE;} + .d2-1304341604 .fill-AA2{fill:#4A6FF3;} + .d2-1304341604 .fill-AA4{fill:#EDF0FD;} + .d2-1304341604 .fill-AA5{fill:#F7F8FE;} + .d2-1304341604 .fill-AB4{fill:#EDF0FD;} + .d2-1304341604 .fill-AB5{fill:#F7F8FE;} + .d2-1304341604 .stroke-N1{stroke:#0A0F25;} + .d2-1304341604 .stroke-N2{stroke:#676C7E;} + .d2-1304341604 .stroke-N3{stroke:#9499AB;} + .d2-1304341604 .stroke-N4{stroke:#CFD2DD;} + .d2-1304341604 .stroke-N5{stroke:#DEE1EB;} + .d2-1304341604 .stroke-N6{stroke:#EEF1F8;} + .d2-1304341604 .stroke-N7{stroke:#FFFFFF;} + .d2-1304341604 .stroke-B1{stroke:#0D32B2;} + .d2-1304341604 .stroke-B2{stroke:#0D32B2;} + .d2-1304341604 .stroke-B3{stroke:#E3E9FD;} + .d2-1304341604 .stroke-B4{stroke:#E3E9FD;} + .d2-1304341604 .stroke-B5{stroke:#EDF0FD;} + .d2-1304341604 .stroke-B6{stroke:#F7F8FE;} + .d2-1304341604 .stroke-AA2{stroke:#4A6FF3;} + .d2-1304341604 .stroke-AA4{stroke:#EDF0FD;} + .d2-1304341604 .stroke-AA5{stroke:#F7F8FE;} + .d2-1304341604 .stroke-AB4{stroke:#EDF0FD;} + .d2-1304341604 .stroke-AB5{stroke:#F7F8FE;} + .d2-1304341604 .background-color-N1{background-color:#0A0F25;} + .d2-1304341604 .background-color-N2{background-color:#676C7E;} + .d2-1304341604 .background-color-N3{background-color:#9499AB;} + .d2-1304341604 .background-color-N4{background-color:#CFD2DD;} + .d2-1304341604 .background-color-N5{background-color:#DEE1EB;} + .d2-1304341604 .background-color-N6{background-color:#EEF1F8;} + .d2-1304341604 .background-color-N7{background-color:#FFFFFF;} + .d2-1304341604 .background-color-B1{background-color:#0D32B2;} + .d2-1304341604 .background-color-B2{background-color:#0D32B2;} + .d2-1304341604 .background-color-B3{background-color:#E3E9FD;} + .d2-1304341604 .background-color-B4{background-color:#E3E9FD;} + .d2-1304341604 .background-color-B5{background-color:#EDF0FD;} + .d2-1304341604 .background-color-B6{background-color:#F7F8FE;} + .d2-1304341604 .background-color-AA2{background-color:#4A6FF3;} + .d2-1304341604 .background-color-AA4{background-color:#EDF0FD;} + .d2-1304341604 .background-color-AA5{background-color:#F7F8FE;} + .d2-1304341604 .background-color-AB4{background-color:#EDF0FD;} + .d2-1304341604 .background-color-AB5{background-color:#F7F8FE;} + .d2-1304341604 .color-N1{color:#0A0F25;} + .d2-1304341604 .color-N2{color:#676C7E;} + .d2-1304341604 .color-N3{color:#9499AB;} + .d2-1304341604 .color-N4{color:#CFD2DD;} + .d2-1304341604 .color-N5{color:#DEE1EB;} + .d2-1304341604 .color-N6{color:#EEF1F8;} + .d2-1304341604 .color-N7{color:#FFFFFF;} + .d2-1304341604 .color-B1{color:#0D32B2;} + .d2-1304341604 .color-B2{color:#0D32B2;} + .d2-1304341604 .color-B3{color:#E3E9FD;} + .d2-1304341604 .color-B4{color:#E3E9FD;} + .d2-1304341604 .color-B5{color:#EDF0FD;} + .d2-1304341604 .color-B6{color:#F7F8FE;} + .d2-1304341604 .color-AA2{color:#4A6FF3;} + .d2-1304341604 .color-AA4{color:#EDF0FD;} + .d2-1304341604 .color-AA5{color:#F7F8FE;} + .d2-1304341604 .color-AB4{color:#EDF0FD;} + .d2-1304341604 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>non containercontainerwith iconcontainer with iconDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/label_positions/elk/board.exp.json b/e2etests/testdata/stable/label_positions/elk/board.exp.json index 1a749b8b5..a90f1e2e4 100644 --- a/e2etests/testdata/stable/label_positions/elk/board.exp.json +++ b/e2etests/testdata/stable/label_positions/elk/board.exp.json @@ -7,10 +7,10 @@ "id": "non container", "type": "rectangle", "pos": { - "x": 1112, + "x": 1372, "y": 12 }, - "width": 4257, + "width": 5072, "height": 166, "opacity": 1, "strokeDash": 0, @@ -48,7 +48,7 @@ "id": "non container.Default", "type": "rectangle", "pos": { - "x": 1162, + "x": 1422, "y": 62 }, "width": 96, @@ -92,7 +92,7 @@ "OutsideTopLeft" ], "pos": { - "x": 1278, + "x": 1538, "y": 62 }, "width": 156, @@ -136,7 +136,7 @@ "OutsideTopCenter" ], "pos": { - "x": 1454, + "x": 1714, "y": 62 }, "width": 176, @@ -180,7 +180,7 @@ "OutsideTopRight" ], "pos": { - "x": 1650, + "x": 1910, "y": 62 }, "width": 165, @@ -224,7 +224,7 @@ "OutsideLeftTop" ], "pos": { - "x": 1835, + "x": 2211, "y": 62 }, "width": 156, @@ -268,7 +268,7 @@ "OutsideLeftMiddle" ], "pos": { - "x": 2011, + "x": 2523, "y": 62 }, "width": 176, @@ -312,7 +312,7 @@ "OutsideLeftBottom" ], "pos": { - "x": 2207, + "x": 2860, "y": 62 }, "width": 181, @@ -356,7 +356,7 @@ "OutsideRightTop" ], "pos": { - "x": 2408, + "x": 3061, "y": 62 }, "width": 165, @@ -400,7 +400,7 @@ "OutsideRightMiddle" ], "pos": { - "x": 2593, + "x": 3371, "y": 62 }, "width": 186, @@ -444,7 +444,7 @@ "OutsideRightBottom" ], "pos": { - "x": 2799, + "x": 3723, "y": 62 }, "width": 191, @@ -488,7 +488,7 @@ "OutsideBottomLeft" ], "pos": { - "x": 3010, + "x": 4085, "y": 62 }, "width": 182, @@ -532,7 +532,7 @@ "OutsideBottomCenter" ], "pos": { - "x": 3212, + "x": 4287, "y": 62 }, "width": 202, @@ -576,7 +576,7 @@ "OutsideBottomRight" ], "pos": { - "x": 3434, + "x": 4509, "y": 62 }, "width": 192, @@ -620,7 +620,7 @@ "InsideTopLeft" ], "pos": { - "x": 3646, + "x": 4721, "y": 62 }, "width": 142, @@ -664,7 +664,7 @@ "InsideTopCenter" ], "pos": { - "x": 3808, + "x": 4883, "y": 62 }, "width": 163, @@ -708,7 +708,7 @@ "InsideTopRight" ], "pos": { - "x": 3991, + "x": 5066, "y": 62 }, "width": 152, @@ -752,7 +752,7 @@ "InsideMiddleLeft" ], "pos": { - "x": 4163, + "x": 5238, "y": 62 }, "width": 163, @@ -796,7 +796,7 @@ "InsideMiddleCenter" ], "pos": { - "x": 4346, + "x": 5421, "y": 62 }, "width": 183, @@ -840,7 +840,7 @@ "InsideMiddleRight" ], "pos": { - "x": 4549, + "x": 5624, "y": 62 }, "width": 173, @@ -884,7 +884,7 @@ "InsideBottomLeft" ], "pos": { - "x": 4742, + "x": 5817, "y": 62 }, "width": 169, @@ -928,7 +928,7 @@ "InsideBottomCenter" ], "pos": { - "x": 4931, + "x": 6006, "y": 62 }, "width": 189, @@ -972,7 +972,7 @@ "InsideBottomRight" ], "pos": { - "x": 5140, + "x": 6215, "y": 62 }, "width": 179, @@ -1013,10 +1013,10 @@ "id": "container", "type": "rectangle", "pos": { - "x": 12, + "x": 120, "y": 248 }, - "width": 6457, + "width": 7576, "height": 266, "opacity": 1, "strokeDash": 0, @@ -1054,7 +1054,7 @@ "id": "container.Default", "type": "rectangle", "pos": { - "x": 62, + "x": 170, "y": 298 }, "width": 196, @@ -1095,7 +1095,7 @@ "id": "container.Default.Default", "type": "rectangle", "pos": { - "x": 112, + "x": 220, "y": 348 }, "width": 96, @@ -1139,7 +1139,7 @@ "OutsideTopLeft" ], "pos": { - "x": 278, + "x": 386, "y": 298 }, "width": 256, @@ -1183,7 +1183,7 @@ "OutsideTopCenter" ], "pos": { - "x": 554, + "x": 662, "y": 298 }, "width": 276, @@ -1227,7 +1227,7 @@ "OutsideTopRight" ], "pos": { - "x": 850, + "x": 958, "y": 298 }, "width": 265, @@ -1271,10 +1271,10 @@ "OutsideLeftTop" ], "pos": { - "x": 1135, + "x": 1403, "y": 298 }, - "width": 256, + "width": 200, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1315,10 +1315,10 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1411, + "x": 1812, "y": 298 }, - "width": 276, + "width": 229, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1359,10 +1359,10 @@ "OutsideLeftBottom" ], "pos": { - "x": 1707, + "x": 2258, "y": 298 }, - "width": 281, + "width": 237, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1403,10 +1403,10 @@ "OutsideRightTop" ], "pos": { - "x": 2008, + "x": 2515, "y": 298 }, - "width": 265, + "width": 214, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1447,10 +1447,10 @@ "OutsideRightMiddle" ], "pos": { - "x": 2293, + "x": 2923, "y": 298 }, - "width": 286, + "width": 243, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1491,10 +1491,10 @@ "OutsideRightBottom" ], "pos": { - "x": 2599, + "x": 3389, "y": 298 }, - "width": 291, + "width": 251, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1535,7 +1535,7 @@ "OutsideBottomLeft" ], "pos": { - "x": 2910, + "x": 3871, "y": 298 }, "width": 282, @@ -1579,7 +1579,7 @@ "OutsideBottomCenter" ], "pos": { - "x": 3212, + "x": 4173, "y": 298 }, "width": 302, @@ -1623,7 +1623,7 @@ "OutsideBottomRight" ], "pos": { - "x": 3534, + "x": 4495, "y": 298 }, "width": 292, @@ -1667,7 +1667,7 @@ "InsideTopLeft" ], "pos": { - "x": 3846, + "x": 4807, "y": 298 }, "width": 242, @@ -1711,7 +1711,7 @@ "InsideTopCenter" ], "pos": { - "x": 4108, + "x": 5069, "y": 298 }, "width": 263, @@ -1755,7 +1755,7 @@ "InsideTopRight" ], "pos": { - "x": 4391, + "x": 5352, "y": 298 }, "width": 252, @@ -1799,10 +1799,10 @@ "InsideMiddleLeft" ], "pos": { - "x": 4663, + "x": 5624, "y": 298 }, - "width": 263, + "width": 389, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1843,7 +1843,7 @@ "InsideMiddleCenter" ], "pos": { - "x": 4946, + "x": 6033, "y": 298 }, "width": 283, @@ -1887,10 +1887,10 @@ "InsideMiddleRight" ], "pos": { - "x": 5249, + "x": 6336, "y": 298 }, - "width": 273, + "width": 413, "height": 166, "opacity": 1, "strokeDash": 0, @@ -1931,7 +1931,7 @@ "InsideBottomLeft" ], "pos": { - "x": 5542, + "x": 6769, "y": 298 }, "width": 269, @@ -1975,7 +1975,7 @@ "InsideBottomCenter" ], "pos": { - "x": 5831, + "x": 7058, "y": 298 }, "width": 289, @@ -2019,7 +2019,7 @@ "InsideBottomRight" ], "pos": { - "x": 6140, + "x": 7367, "y": 298 }, "width": 279, @@ -2060,7 +2060,7 @@ "id": "container.OutsideTopLeft.OutsideTopLeft", "type": "rectangle", "pos": { - "x": 328, + "x": 436, "y": 348 }, "width": 156, @@ -2101,7 +2101,7 @@ "id": "container.OutsideTopCenter.OutsideTopCenter", "type": "rectangle", "pos": { - "x": 604, + "x": 712, "y": 348 }, "width": 176, @@ -2142,7 +2142,7 @@ "id": "container.OutsideTopRight.OutsideTopRight", "type": "rectangle", "pos": { - "x": 900, + "x": 1008, "y": 348 }, "width": 165, @@ -2183,7 +2183,7 @@ "id": "container.OutsideLeftTop.OutsideLeftTop", "type": "rectangle", "pos": { - "x": 1185, + "x": 1425, "y": 348 }, "width": 156, @@ -2224,7 +2224,7 @@ "id": "container.OutsideLeftMiddle.OutsideLeftMiddle", "type": "rectangle", "pos": { - "x": 1461, + "x": 1839, "y": 348 }, "width": 176, @@ -2265,7 +2265,7 @@ "id": "container.OutsideLeftBottom.OutsideLeftBottom", "type": "rectangle", "pos": { - "x": 1757, + "x": 2286, "y": 348 }, "width": 181, @@ -2306,7 +2306,7 @@ "id": "container.OutsideRightTop.OutsideRightTop", "type": "rectangle", "pos": { - "x": 2058, + "x": 2540, "y": 348 }, "width": 165, @@ -2347,7 +2347,7 @@ "id": "container.OutsideRightMiddle.OutsideRightMiddle", "type": "rectangle", "pos": { - "x": 2343, + "x": 2952, "y": 348 }, "width": 186, @@ -2388,7 +2388,7 @@ "id": "container.OutsideRightBottom.OutsideRightBottom", "type": "rectangle", "pos": { - "x": 2649, + "x": 3419, "y": 348 }, "width": 191, @@ -2429,7 +2429,7 @@ "id": "container.OutsideBottomLeft.OutsideBottomLeft", "type": "rectangle", "pos": { - "x": 2960, + "x": 3921, "y": 348 }, "width": 182, @@ -2470,7 +2470,7 @@ "id": "container.OutsideBottomCenter.OutsideBottomCenter", "type": "rectangle", "pos": { - "x": 3262, + "x": 4223, "y": 348 }, "width": 202, @@ -2511,7 +2511,7 @@ "id": "container.OutsideBottomRight.OutsideBottomRight", "type": "rectangle", "pos": { - "x": 3584, + "x": 4545, "y": 348 }, "width": 192, @@ -2552,7 +2552,7 @@ "id": "container.InsideTopLeft.InsideTopLeft", "type": "rectangle", "pos": { - "x": 3896, + "x": 4857, "y": 348 }, "width": 142, @@ -2593,7 +2593,7 @@ "id": "container.InsideTopCenter.InsideTopCenter", "type": "rectangle", "pos": { - "x": 4158, + "x": 5119, "y": 348 }, "width": 163, @@ -2634,7 +2634,7 @@ "id": "container.InsideTopRight.InsideTopRight", "type": "rectangle", "pos": { - "x": 4441, + "x": 5402, "y": 348 }, "width": 152, @@ -2675,7 +2675,7 @@ "id": "container.InsideMiddleLeft.InsideMiddleLeft", "type": "rectangle", "pos": { - "x": 4713, + "x": 5800, "y": 348 }, "width": 163, @@ -2716,7 +2716,7 @@ "id": "container.InsideMiddleCenter.InsideMiddleCenter", "type": "rectangle", "pos": { - "x": 4996, + "x": 6083, "y": 348 }, "width": 183, @@ -2757,7 +2757,7 @@ "id": "container.InsideMiddleRight.InsideMiddleRight", "type": "rectangle", "pos": { - "x": 5299, + "x": 6386, "y": 348 }, "width": 173, @@ -2798,7 +2798,7 @@ "id": "container.InsideBottomLeft.InsideBottomLeft", "type": "rectangle", "pos": { - "x": 5592, + "x": 6819, "y": 348 }, "width": 169, @@ -2839,7 +2839,7 @@ "id": "container.InsideBottomCenter.InsideBottomCenter", "type": "rectangle", "pos": { - "x": 5881, + "x": 7108, "y": 348 }, "width": 189, @@ -2880,7 +2880,7 @@ "id": "container.InsideBottomRight.InsideBottomRight", "type": "rectangle", "pos": { - "x": 6190, + "x": 7417, "y": 348 }, "width": 179, @@ -2921,10 +2921,10 @@ "id": "with icon", "type": "rectangle", "pos": { - "x": 826, + "x": 1086, "y": 584 }, - "width": 4829, + "width": 5644, "height": 218, "opacity": 1, "strokeDash": 0, @@ -2965,7 +2965,7 @@ "icon" ], "pos": { - "x": 876, + "x": 1136, "y": 634 }, "width": 122, @@ -3022,7 +3022,7 @@ "OutsideTopLeft" ], "pos": { - "x": 1018, + "x": 1278, "y": 634 }, "width": 182, @@ -3079,7 +3079,7 @@ "OutsideTopCenter" ], "pos": { - "x": 1220, + "x": 1480, "y": 634 }, "width": 202, @@ -3136,7 +3136,7 @@ "OutsideTopRight" ], "pos": { - "x": 1442, + "x": 1702, "y": 634 }, "width": 191, @@ -3193,7 +3193,7 @@ "OutsideLeftTop" ], "pos": { - "x": 1653, + "x": 2029, "y": 634 }, "width": 182, @@ -3250,7 +3250,7 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1855, + "x": 2367, "y": 634 }, "width": 202, @@ -3307,7 +3307,7 @@ "OutsideLeftBottom" ], "pos": { - "x": 2077, + "x": 2730, "y": 634 }, "width": 207, @@ -3364,7 +3364,7 @@ "OutsideRightTop" ], "pos": { - "x": 2304, + "x": 2957, "y": 634 }, "width": 191, @@ -3421,7 +3421,7 @@ "OutsideRightMiddle" ], "pos": { - "x": 2515, + "x": 3293, "y": 634 }, "width": 212, @@ -3478,7 +3478,7 @@ "OutsideRightBottom" ], "pos": { - "x": 2747, + "x": 3671, "y": 634 }, "width": 217, @@ -3535,7 +3535,7 @@ "OutsideBottomLeft" ], "pos": { - "x": 2984, + "x": 4059, "y": 634 }, "width": 208, @@ -3592,7 +3592,7 @@ "OutsideBottomCenter" ], "pos": { - "x": 3212, + "x": 4287, "y": 634 }, "width": 228, @@ -3649,7 +3649,7 @@ "OutsideBottomRight" ], "pos": { - "x": 3460, + "x": 4535, "y": 634 }, "width": 218, @@ -3706,7 +3706,7 @@ "InsideTopLeft" ], "pos": { - "x": 3698, + "x": 4773, "y": 634 }, "width": 168, @@ -3763,7 +3763,7 @@ "InsideTopCenter" ], "pos": { - "x": 3886, + "x": 4961, "y": 634 }, "width": 189, @@ -3820,7 +3820,7 @@ "InsideTopRight" ], "pos": { - "x": 4095, + "x": 5170, "y": 634 }, "width": 178, @@ -3877,7 +3877,7 @@ "InsideMiddleLeft" ], "pos": { - "x": 4293, + "x": 5368, "y": 634 }, "width": 189, @@ -3934,7 +3934,7 @@ "InsideMiddleCenter" ], "pos": { - "x": 4502, + "x": 5577, "y": 634 }, "width": 209, @@ -3991,7 +3991,7 @@ "InsideMiddleRight" ], "pos": { - "x": 4731, + "x": 5806, "y": 634 }, "width": 199, @@ -4048,7 +4048,7 @@ "InsideBottomLeft" ], "pos": { - "x": 4950, + "x": 6025, "y": 634 }, "width": 195, @@ -4105,7 +4105,7 @@ "InsideBottomCenter" ], "pos": { - "x": 5165, + "x": 6240, "y": 634 }, "width": 215, @@ -4162,7 +4162,7 @@ "InsideBottomRight" ], "pos": { - "x": 5400, + "x": 6475, "y": 634 }, "width": 205, @@ -4218,7 +4218,7 @@ "x": 12, "y": 872 }, - "width": 6458, + "width": 7793, "height": 290, "opacity": 1, "strokeDash": 0, @@ -4651,10 +4651,10 @@ "OutsideLeftTop" ], "pos": { - "x": 1135, + "x": 1295, "y": 922 }, - "width": 256, + "width": 236, "height": 190, "opacity": 1, "strokeDash": 0, @@ -4704,7 +4704,7 @@ "id": "container with icon.OutsideLeftTop.OutsideLeftTop", "type": "rectangle", "pos": { - "x": 1185, + "x": 1335, "y": 996 }, "width": 156, @@ -4749,10 +4749,10 @@ "OutsideLeftMiddle" ], "pos": { - "x": 1411, + "x": 1740, "y": 922 }, - "width": 276, + "width": 265, "height": 190, "opacity": 1, "strokeDash": 0, @@ -4802,7 +4802,7 @@ "id": "container with icon.OutsideLeftMiddle.OutsideLeftMiddle", "type": "rectangle", "pos": { - "x": 1461, + "x": 1784, "y": 996 }, "width": 176, @@ -4847,10 +4847,10 @@ "OutsideLeftBottom" ], "pos": { - "x": 1707, + "x": 2222, "y": 922 }, - "width": 281, + "width": 273, "height": 190, "opacity": 1, "strokeDash": 0, @@ -4900,7 +4900,7 @@ "id": "container with icon.OutsideLeftBottom.OutsideLeftBottom", "type": "rectangle", "pos": { - "x": 1757, + "x": 2268, "y": 996 }, "width": 181, @@ -4945,10 +4945,10 @@ "OutsideRightTop" ], "pos": { - "x": 2008, + "x": 2515, "y": 922 }, - "width": 265, + "width": 250, "height": 190, "opacity": 1, "strokeDash": 0, @@ -4998,7 +4998,7 @@ "id": "container with icon.OutsideRightTop.OutsideRightTop", "type": "rectangle", "pos": { - "x": 2058, + "x": 2557, "y": 996 }, "width": 165, @@ -5043,10 +5043,10 @@ "OutsideRightMiddle" ], "pos": { - "x": 2293, + "x": 2959, "y": 922 }, - "width": 286, + "width": 279, "height": 190, "opacity": 1, "strokeDash": 0, @@ -5096,7 +5096,7 @@ "id": "container with icon.OutsideRightMiddle.OutsideRightMiddle", "type": "rectangle", "pos": { - "x": 2343, + "x": 3005, "y": 996 }, "width": 186, @@ -5141,10 +5141,10 @@ "OutsideRightBottom" ], "pos": { - "x": 2599, + "x": 3461, "y": 922 }, - "width": 291, + "width": 287, "height": 190, "opacity": 1, "strokeDash": 0, @@ -5194,7 +5194,7 @@ "id": "container with icon.OutsideRightBottom.OutsideRightBottom", "type": "rectangle", "pos": { - "x": 2649, + "x": 3509, "y": 996 }, "width": 191, @@ -5239,7 +5239,7 @@ "OutsideBottomLeft" ], "pos": { - "x": 2910, + "x": 3979, "y": 922 }, "width": 282, @@ -5292,7 +5292,7 @@ "id": "container with icon.OutsideBottomLeft.OutsideBottomLeft", "type": "rectangle", "pos": { - "x": 2960, + "x": 4029, "y": 996 }, "width": 182, @@ -5337,7 +5337,7 @@ "OutsideBottomCenter" ], "pos": { - "x": 3212, + "x": 4281, "y": 922 }, "width": 303, @@ -5390,7 +5390,7 @@ "id": "container with icon.OutsideBottomCenter.OutsideBottomCenter", "type": "rectangle", "pos": { - "x": 3262, + "x": 4331, "y": 996 }, "width": 202, @@ -5435,7 +5435,7 @@ "OutsideBottomRight" ], "pos": { - "x": 3535, + "x": 4604, "y": 922 }, "width": 292, @@ -5488,7 +5488,7 @@ "id": "container with icon.OutsideBottomRight.OutsideBottomRight", "type": "rectangle", "pos": { - "x": 3585, + "x": 4654, "y": 996 }, "width": 192, @@ -5533,7 +5533,7 @@ "InsideTopLeft" ], "pos": { - "x": 3847, + "x": 4916, "y": 922 }, "width": 242, @@ -5586,7 +5586,7 @@ "id": "container with icon.InsideTopLeft.InsideTopLeft", "type": "rectangle", "pos": { - "x": 3897, + "x": 4966, "y": 996 }, "width": 142, @@ -5631,7 +5631,7 @@ "InsideTopCenter" ], "pos": { - "x": 4109, + "x": 5178, "y": 922 }, "width": 263, @@ -5684,7 +5684,7 @@ "id": "container with icon.InsideTopCenter.InsideTopCenter", "type": "rectangle", "pos": { - "x": 4159, + "x": 5228, "y": 996 }, "width": 163, @@ -5729,7 +5729,7 @@ "InsideTopRight" ], "pos": { - "x": 4392, + "x": 5461, "y": 922 }, "width": 252, @@ -5782,7 +5782,7 @@ "id": "container with icon.InsideTopRight.InsideTopRight", "type": "rectangle", "pos": { - "x": 4442, + "x": 5511, "y": 996 }, "width": 152, @@ -5827,10 +5827,10 @@ "InsideMiddleLeft" ], "pos": { - "x": 4664, + "x": 5733, "y": 922 }, - "width": 263, + "width": 389, "height": 190, "opacity": 1, "strokeDash": 0, @@ -5880,7 +5880,7 @@ "id": "container with icon.InsideMiddleLeft.InsideMiddleLeft", "type": "rectangle", "pos": { - "x": 4714, + "x": 5909, "y": 996 }, "width": 163, @@ -5925,7 +5925,7 @@ "InsideMiddleCenter" ], "pos": { - "x": 4947, + "x": 6142, "y": 922 }, "width": 283, @@ -5978,7 +5978,7 @@ "id": "container with icon.InsideMiddleCenter.InsideMiddleCenter", "type": "rectangle", "pos": { - "x": 4997, + "x": 6192, "y": 996 }, "width": 183, @@ -6023,10 +6023,10 @@ "InsideMiddleRight" ], "pos": { - "x": 5250, + "x": 6445, "y": 922 }, - "width": 273, + "width": 413, "height": 190, "opacity": 1, "strokeDash": 0, @@ -6076,7 +6076,7 @@ "id": "container with icon.InsideMiddleRight.InsideMiddleRight", "type": "rectangle", "pos": { - "x": 5300, + "x": 6495, "y": 996 }, "width": 173, @@ -6121,7 +6121,7 @@ "InsideBottomLeft" ], "pos": { - "x": 5543, + "x": 6878, "y": 922 }, "width": 269, @@ -6174,7 +6174,7 @@ "id": "container with icon.InsideBottomLeft.InsideBottomLeft", "type": "rectangle", "pos": { - "x": 5593, + "x": 6928, "y": 996 }, "width": 169, @@ -6219,7 +6219,7 @@ "InsideBottomCenter" ], "pos": { - "x": 5832, + "x": 7167, "y": 922 }, "width": 289, @@ -6272,7 +6272,7 @@ "id": "container with icon.InsideBottomCenter.InsideBottomCenter", "type": "rectangle", "pos": { - "x": 5882, + "x": 7217, "y": 996 }, "width": 189, @@ -6317,7 +6317,7 @@ "InsideBottomRight" ], "pos": { - "x": 6141, + "x": 7476, "y": 922 }, "width": 279, @@ -6370,7 +6370,7 @@ "id": "container with icon.InsideBottomRight.InsideBottomRight", "type": "rectangle", "pos": { - "x": 6191, + "x": 7526, "y": 996 }, "width": 179, @@ -6434,11 +6434,11 @@ "labelPercentage": 0, "route": [ { - "x": 3241, + "x": 3908.5, "y": 178 }, { - "x": 3241, + "x": 3908.5, "y": 248 } ], @@ -6472,11 +6472,11 @@ "labelPercentage": 0, "route": [ { - "x": 3241, + "x": 3908.5, "y": 514 }, { - "x": 3241, + "x": 3908.5, "y": 584 } ], @@ -6510,11 +6510,11 @@ "labelPercentage": 0, "route": [ { - "x": 3241, + "x": 3908.5, "y": 802 }, { - "x": 3241, + "x": 3908.5, "y": 872 } ], diff --git a/e2etests/testdata/stable/label_positions/elk/sketch.exp.svg b/e2etests/testdata/stable/label_positions/elk/sketch.exp.svg index 760f60f04..67fe3c104 100644 --- a/e2etests/testdata/stable/label_positions/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/label_positions/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -non containercontainerwith iconcontainer with iconDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-215275305 .fill-N1{fill:#0A0F25;} + .d2-215275305 .fill-N2{fill:#676C7E;} + .d2-215275305 .fill-N3{fill:#9499AB;} + .d2-215275305 .fill-N4{fill:#CFD2DD;} + .d2-215275305 .fill-N5{fill:#DEE1EB;} + .d2-215275305 .fill-N6{fill:#EEF1F8;} + .d2-215275305 .fill-N7{fill:#FFFFFF;} + .d2-215275305 .fill-B1{fill:#0D32B2;} + .d2-215275305 .fill-B2{fill:#0D32B2;} + .d2-215275305 .fill-B3{fill:#E3E9FD;} + .d2-215275305 .fill-B4{fill:#E3E9FD;} + .d2-215275305 .fill-B5{fill:#EDF0FD;} + .d2-215275305 .fill-B6{fill:#F7F8FE;} + .d2-215275305 .fill-AA2{fill:#4A6FF3;} + .d2-215275305 .fill-AA4{fill:#EDF0FD;} + .d2-215275305 .fill-AA5{fill:#F7F8FE;} + .d2-215275305 .fill-AB4{fill:#EDF0FD;} + .d2-215275305 .fill-AB5{fill:#F7F8FE;} + .d2-215275305 .stroke-N1{stroke:#0A0F25;} + .d2-215275305 .stroke-N2{stroke:#676C7E;} + .d2-215275305 .stroke-N3{stroke:#9499AB;} + .d2-215275305 .stroke-N4{stroke:#CFD2DD;} + .d2-215275305 .stroke-N5{stroke:#DEE1EB;} + .d2-215275305 .stroke-N6{stroke:#EEF1F8;} + .d2-215275305 .stroke-N7{stroke:#FFFFFF;} + .d2-215275305 .stroke-B1{stroke:#0D32B2;} + .d2-215275305 .stroke-B2{stroke:#0D32B2;} + .d2-215275305 .stroke-B3{stroke:#E3E9FD;} + .d2-215275305 .stroke-B4{stroke:#E3E9FD;} + .d2-215275305 .stroke-B5{stroke:#EDF0FD;} + .d2-215275305 .stroke-B6{stroke:#F7F8FE;} + .d2-215275305 .stroke-AA2{stroke:#4A6FF3;} + .d2-215275305 .stroke-AA4{stroke:#EDF0FD;} + .d2-215275305 .stroke-AA5{stroke:#F7F8FE;} + .d2-215275305 .stroke-AB4{stroke:#EDF0FD;} + .d2-215275305 .stroke-AB5{stroke:#F7F8FE;} + .d2-215275305 .background-color-N1{background-color:#0A0F25;} + .d2-215275305 .background-color-N2{background-color:#676C7E;} + .d2-215275305 .background-color-N3{background-color:#9499AB;} + .d2-215275305 .background-color-N4{background-color:#CFD2DD;} + .d2-215275305 .background-color-N5{background-color:#DEE1EB;} + .d2-215275305 .background-color-N6{background-color:#EEF1F8;} + .d2-215275305 .background-color-N7{background-color:#FFFFFF;} + .d2-215275305 .background-color-B1{background-color:#0D32B2;} + .d2-215275305 .background-color-B2{background-color:#0D32B2;} + .d2-215275305 .background-color-B3{background-color:#E3E9FD;} + .d2-215275305 .background-color-B4{background-color:#E3E9FD;} + .d2-215275305 .background-color-B5{background-color:#EDF0FD;} + .d2-215275305 .background-color-B6{background-color:#F7F8FE;} + .d2-215275305 .background-color-AA2{background-color:#4A6FF3;} + .d2-215275305 .background-color-AA4{background-color:#EDF0FD;} + .d2-215275305 .background-color-AA5{background-color:#F7F8FE;} + .d2-215275305 .background-color-AB4{background-color:#EDF0FD;} + .d2-215275305 .background-color-AB5{background-color:#F7F8FE;} + .d2-215275305 .color-N1{color:#0A0F25;} + .d2-215275305 .color-N2{color:#676C7E;} + .d2-215275305 .color-N3{color:#9499AB;} + .d2-215275305 .color-N4{color:#CFD2DD;} + .d2-215275305 .color-N5{color:#DEE1EB;} + .d2-215275305 .color-N6{color:#EEF1F8;} + .d2-215275305 .color-N7{color:#FFFFFF;} + .d2-215275305 .color-B1{color:#0D32B2;} + .d2-215275305 .color-B2{color:#0D32B2;} + .d2-215275305 .color-B3{color:#E3E9FD;} + .d2-215275305 .color-B4{color:#E3E9FD;} + .d2-215275305 .color-B5{color:#EDF0FD;} + .d2-215275305 .color-B6{color:#F7F8FE;} + .d2-215275305 .color-AA2{color:#4A6FF3;} + .d2-215275305 .color-AA4{color:#EDF0FD;} + .d2-215275305 .color-AA5{color:#F7F8FE;} + .d2-215275305 .color-AB4{color:#EDF0FD;} + .d2-215275305 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>non containercontainerwith iconcontainer with iconDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRightDefaultOutsideTopLeftOutsideTopCenterOutsideTopRightOutsideLeftTopOutsideLeftMiddleOutsideLeftBottomOutsideRightTopOutsideRightMiddleOutsideRightBottomOutsideBottomLeftOutsideBottomCenterOutsideBottomRightInsideTopLeftInsideTopCenterInsideTopRightInsideMiddleLeftInsideMiddleCenterInsideMiddleRightInsideBottomLeftInsideBottomCenterInsideBottomRight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/large_arch/dagre/board.exp.json b/e2etests/testdata/stable/large_arch/dagre/board.exp.json index cd06318bf..28358af13 100644 --- a/e2etests/testdata/stable/large_arch/dagre/board.exp.json +++ b/e2etests/testdata/stable/large_arch/dagre/board.exp.json @@ -336,10 +336,10 @@ "type": "rectangle", "pos": { "x": 1427, - "y": 407 + "y": 395 }, - "width": 476, - "height": 541, + "width": 466, + "height": 513, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -376,11 +376,11 @@ "id": "i.j", "type": "rectangle", "pos": { - "x": 1449, - "y": 472 + "x": 1459, + "y": 436 }, - "width": 349, - "height": 130, + "width": 329, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -418,7 +418,7 @@ "type": "rectangle", "pos": { "x": 1705, - "y": 504 + "y": 466 }, "width": 53, "height": 66, @@ -459,7 +459,7 @@ "type": "rectangle", "pos": { "x": 1489, - "y": 504 + "y": 466 }, "width": 49, "height": 66, @@ -500,7 +500,7 @@ "type": "rectangle", "pos": { "x": 1693, - "y": 802 + "y": 782 }, "width": 57, "height": 66, @@ -541,7 +541,7 @@ "type": "rectangle", "pos": { "x": 1810, - "y": 802 + "y": 782 }, "width": 53, "height": 66, @@ -581,11 +581,11 @@ "id": "i.o", "type": "rectangle", "pos": { - "x": 1447, - "y": 788 + "x": 1457, + "y": 752 }, - "width": 133, - "height": 130, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -623,7 +623,7 @@ "type": "rectangle", "pos": { "x": 1487, - "y": 820 + "y": 782 }, "width": 53, "height": 66, @@ -704,11 +704,11 @@ "id": "r", "type": "rectangle", "pos": { - "x": 206, - "y": 41 + "x": 216, + "y": 43 }, - "width": 1202, - "height": 591, + "width": 1191, + "height": 549, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -745,11 +745,11 @@ "id": "r.s", "type": "rectangle", "pos": { - "x": 471, - "y": 106 + "x": 502, + "y": 84 }, - "width": 403, - "height": 496, + "width": 367, + "height": 478, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -787,7 +787,7 @@ "type": "rectangle", "pos": { "x": 532, - "y": 504 + "y": 466 }, "width": 51, "height": 66, @@ -827,11 +827,11 @@ "id": "r.s.u", "type": "rectangle", "pos": { - "x": 715, - "y": 169 + "x": 725, + "y": 120 }, - "width": 134, - "height": 135, + "width": 114, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -869,7 +869,7 @@ "type": "rectangle", "pos": { "x": 755, - "y": 204 + "y": 150 }, "width": 54, "height": 66, @@ -910,7 +910,7 @@ "type": "rectangle", "pos": { "x": 643, - "y": 504 + "y": 466 }, "width": 58, "height": 66, @@ -951,7 +951,7 @@ "type": "rectangle", "pos": { "x": 622, - "y": 188 + "y": 150 }, "width": 53, "height": 66, @@ -992,7 +992,7 @@ "type": "rectangle", "pos": { "x": 761, - "y": 504 + "y": 466 }, "width": 54, "height": 66, @@ -1033,7 +1033,7 @@ "type": "rectangle", "pos": { "x": 913, - "y": 486 + "y": 466 }, "width": 52, "height": 66, @@ -1074,7 +1074,7 @@ "type": "rectangle", "pos": { "x": 246, - "y": 170 + "y": 150 }, "width": 62, "height": 66, @@ -1114,11 +1114,11 @@ "id": "r.bb", "type": "rectangle", "pos": { - "x": 1122, - "y": 472 + "x": 1132, + "y": 436 }, - "width": 265, - "height": 130, + "width": 245, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1156,7 +1156,7 @@ "type": "rectangle", "pos": { "x": 1162, - "y": 504 + "y": 466 }, "width": 61, "height": 66, @@ -1197,7 +1197,7 @@ "type": "rectangle", "pos": { "x": 1283, - "y": 504 + "y": 466 }, "width": 64, "height": 66, @@ -1238,7 +1238,7 @@ "type": "rectangle", "pos": { "x": 1023, - "y": 170 + "y": 150 }, "width": 62, "height": 66, @@ -1279,7 +1279,7 @@ "type": "rectangle", "pos": { "x": 1025, - "y": 486 + "y": 466 }, "width": 57, "height": 66, @@ -1320,7 +1320,7 @@ "type": "rectangle", "pos": { "x": 368, - "y": 170 + "y": 150 }, "width": 63, "height": 66, @@ -1384,43 +1384,43 @@ "route": [ { "x": 1731.5, - "y": 570.5 + "y": 532 }, { "x": 1731.5, - "y": 596.0999755859375 + "y": 572 }, { "x": 1731.5, - "y": 612.5 + "y": 592 }, { "x": 1731.5, - "y": 627.5 + "y": 607 }, { "x": 1731.5, - "y": 642.5 + "y": 622 }, { "x": 1731.5, - "y": 662.5 + "y": 642 }, { "x": 1731.5, - "y": 677.5 + "y": 657 }, { "x": 1731.5, - "y": 692.5 + "y": 672 }, { "x": 1730.300048828125, - "y": 762.5 + "y": 742 }, { "x": 1725.5, - "y": 802.5 + "y": 782 } ], "isCurve": true, @@ -1455,43 +1455,43 @@ "route": [ { "x": 1513.75, - "y": 570.5 + "y": 532 }, { "x": 1513.75, - "y": 596.0999755859375 + "y": 572 }, { "x": 1513.75, - "y": 612.5 + "y": 592 }, { "x": 1513.75, - "y": 627.5 + "y": 607 }, { "x": 1513.75, - "y": 642.5 + "y": 622 }, { "x": 1513.75, - "y": 662.5 + "y": 642 }, { "x": 1513.75, - "y": 677.5 + "y": 657 }, { "x": 1513.75, - "y": 692.5 + "y": 672 }, { "x": 1513.75, - "y": 766.0999755859375 + "y": 742 }, { "x": 1513.75, - "y": 820.5 + "y": 782 } ], "isCurve": true, @@ -1525,11 +1525,11 @@ "labelPercentage": 0, "route": [ { - "x": 1813.637939453125, + "x": 1814, "y": 1048 }, { - "x": 1785.927001953125, + "x": 1786, "y": 1008 }, { @@ -1546,11 +1546,11 @@ }, { "x": 1772, - "y": 892.0999755859375 + "y": 888 }, { "x": 1744, - "y": 868.5 + "y": 848 } ], "isCurve": true, @@ -1584,12 +1584,12 @@ "labelPercentage": 0, "route": [ { - "x": 1750, - "y": 851.4559936523438 + "x": 1749.75, + "y": 831 }, { - "x": 1845.800048828125, - "y": 888.6909790039062 + "x": 1845.75, + "y": 884.5999755859375 }, { "x": 1869.75, @@ -1644,11 +1644,11 @@ "route": [ { "x": 1836.5, - "y": 868.5 + "y": 848 }, { "x": 1836.5, - "y": 892.0999755859375 + "y": 888 }, { "x": 1836.5, @@ -1702,12 +1702,12 @@ "labelPercentage": 0, "route": [ { - "x": 1693, - "y": 855.7169799804688 + "x": 1693.5, + "y": 835 }, { - "x": 1622.199951171875, - "y": 889.5430297851562 + "x": 1622.300048828125, + "y": 885.4000244140625 }, { "x": 1604.5, @@ -1761,12 +1761,12 @@ "labelPercentage": 0, "route": [ { - "x": 1693, - "y": 859.885986328125 + "x": 1693.5, + "y": 839 }, { - "x": 1638.199951171875, - "y": 890.3770141601562 + "x": 1638.300048828125, + "y": 886.2000122070312 }, { "x": 1624.5, @@ -1820,12 +1820,12 @@ "labelPercentage": 0, "route": [ { - "x": 1736.4090576171875, - "y": 868.5 + "x": 1736, + "y": 848 }, { - "x": 1754.48095703125, - "y": 892.0999755859375 + "x": 1754.4000244140625, + "y": 888 }, { "x": 1759, @@ -1879,12 +1879,12 @@ "labelPercentage": 0, "route": [ { - "x": 1699.135009765625, - "y": 868.5 + "x": 1699.25, + "y": 848 }, { - "x": 1672.0269775390625, - "y": 892.0999755859375 + "x": 1672.050048828125, + "y": 888 }, { "x": 1665.25, @@ -1985,44 +1985,44 @@ "labelPercentage": 0, "route": [ { - "x": 629.4630126953125, - "y": 254.5 + "x": 629, + "y": 216 }, { - "x": 606.6920166015625, - "y": 294.5 + "x": 606.5999755859375, + "y": 256 }, { "x": 601, - "y": 314.5 + "y": 276 }, { "x": 601, - "y": 329.5 + "y": 291 }, { "x": 601, - "y": 344.5 + "y": 306 }, { "x": 601, - "y": 364.5 + "y": 326 }, { "x": 601, - "y": 379.5 + "y": 341 }, { "x": 601, - "y": 394.5 + "y": 356 }, { "x": 595.5999755859375, - "y": 464.5 + "y": 426 }, { "x": 574, - "y": 504.5 + "y": 466 } ], "isCurve": true, @@ -2056,44 +2056,44 @@ "labelPercentage": 0, "route": [ { - "x": 657.4929809570312, - "y": 254.5 + "x": 657.5, + "y": 216 }, { - "x": 668.697998046875, - "y": 294.5 + "x": 668.7000122070312, + "y": 256 }, { "x": 671.5, - "y": 314.5 + "y": 276 }, { "x": 671.5, - "y": 329.5 + "y": 291 }, { "x": 671.5, - "y": 344.5 + "y": 306 }, { "x": 671.5, - "y": 364.5 + "y": 326 }, { "x": 671.5, - "y": 379.5 + "y": 341 }, { "x": 671.5, - "y": 394.5 + "y": 356 }, { "x": 671.5, - "y": 464.5 + "y": 426 }, { "x": 671.5, - "y": 504.5 + "y": 466 } ], "isCurve": true, @@ -2128,43 +2128,43 @@ "route": [ { "x": 431, - "y": 220.10000610351562 + "y": 200 }, { "x": 531.7999877929688, - "y": 273.2200012207031 + "y": 252.8000030517578 }, { "x": 557, - "y": 296.5 + "y": 276 }, { "x": 557, - "y": 311.5 + "y": 291 }, { "x": 557, - "y": 326.5 + "y": 306 }, { "x": 557, - "y": 346.5 + "y": 326 }, { "x": 557, - "y": 361.5 + "y": 341 }, { "x": 557, - "y": 376.5 + "y": 356 }, { "x": 557, - "y": 450.1000061035156 + "y": 426 }, { "x": 557, - "y": 504.5 + "y": 466 } ], "isCurve": true, @@ -2199,43 +2199,43 @@ "route": [ { "x": 781.75, - "y": 270 + "y": 216 }, { "x": 781.75, - "y": 283.20001220703125 + "y": 256 }, { "x": 781.75, - "y": 296.5 + "y": 276 }, { "x": 781.75, - "y": 311.5 + "y": 291 }, { "x": 781.75, - "y": 326.5 + "y": 306 }, { "x": 781.75, - "y": 346.5 + "y": 326 }, { "x": 781.75, - "y": 361.5 + "y": 341 }, { "x": 781.75, - "y": 376.5 + "y": 356 }, { "x": 807.9500122070312, - "y": 450.29998779296875 + "y": 429.79998779296875 }, { "x": 912.75, - "y": 505.5 + "y": 485 } ], "isCurve": true, @@ -2269,44 +2269,44 @@ "labelPercentage": 0, "route": [ { - "x": 308, - "y": 214.8470001220703 + "x": 307.75, + "y": 194 }, { - "x": 464.6000061035156, - "y": 272.16900634765625 + "x": 464.54998779296875, + "y": 251.60000610351562 }, { "x": 503.75, - "y": 296.5 + "y": 276 }, { "x": 503.75, - "y": 311.5 + "y": 291 }, { "x": 503.75, - "y": 326.5 + "y": 306 }, { "x": 503.75, - "y": 346.5 + "y": 326 }, { "x": 503.75, - "y": 361.5 + "y": 341 }, { "x": 503.75, - "y": 376.5 + "y": 356 }, { "x": 510.1499938964844, - "y": 450.1000061035156 + "y": 426 }, { "x": 535.75, - "y": 504.5 + "y": 466 } ], "isCurve": true, @@ -2341,11 +2341,11 @@ "route": [ { "x": 671.5, - "y": 570.5 + "y": 532 }, { "x": 671.5, - "y": 579.7000122070312 + "y": 572 }, { "x": 671.5, @@ -2373,11 +2373,11 @@ }, { "x": 1638.300048828125, - "y": 747.9000244140625 + "y": 743.7999877929688 }, { "x": 1693.5, - "y": 811.5 + "y": 791 } ], "isCurve": true, @@ -2411,12 +2411,12 @@ "labelPercentage": 0, "route": [ { - "x": 575.7860107421875, - "y": 570.5 + "x": 576.25, + "y": 532 }, { - "x": 598.5570068359375, - "y": 579.7000122070312 + "x": 598.6500244140625, + "y": 572 }, { "x": 604.25, @@ -2530,12 +2530,12 @@ "labelPercentage": 0, "route": [ { - "x": 543.780029296875, - "y": 570.5 + "x": 543.75, + "y": 532 }, { - "x": 527.7559814453125, - "y": 579.7000122070312 + "x": 527.75, + "y": 572 }, { "x": 523.75, @@ -2602,43 +2602,43 @@ "route": [ { "x": 1053.75, - "y": 236.5 + "y": 216 }, { "x": 1053.75, - "y": 276.5 + "y": 256 }, { "x": 1053.75, - "y": 296.5 + "y": 276 }, { "x": 1053.75, - "y": 311.5 + "y": 291 }, { "x": 1053.75, - "y": 326.5 + "y": 306 }, { "x": 1053.75, - "y": 346.5 + "y": 326 }, { "x": 1053.75, - "y": 361.5 + "y": 341 }, { "x": 1053.75, - "y": 376.5 + "y": 356 }, { "x": 1053.75, - "y": 446.5 + "y": 426 }, { "x": 1053.75, - "y": 486.5 + "y": 466 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/large_arch/dagre/sketch.exp.svg b/e2etests/testdata/stable/large_arch/dagre/sketch.exp.svg index e323340fd..83f9eb680 100644 --- a/e2etests/testdata/stable/large_arch/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/large_arch/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abcdefghiqrjmnoszaabbeeffggklptuwxyccddv - + .d2-2164096773 .fill-N1{fill:#0A0F25;} + .d2-2164096773 .fill-N2{fill:#676C7E;} + .d2-2164096773 .fill-N3{fill:#9499AB;} + .d2-2164096773 .fill-N4{fill:#CFD2DD;} + .d2-2164096773 .fill-N5{fill:#DEE1EB;} + .d2-2164096773 .fill-N6{fill:#EEF1F8;} + .d2-2164096773 .fill-N7{fill:#FFFFFF;} + .d2-2164096773 .fill-B1{fill:#0D32B2;} + .d2-2164096773 .fill-B2{fill:#0D32B2;} + .d2-2164096773 .fill-B3{fill:#E3E9FD;} + .d2-2164096773 .fill-B4{fill:#E3E9FD;} + .d2-2164096773 .fill-B5{fill:#EDF0FD;} + .d2-2164096773 .fill-B6{fill:#F7F8FE;} + .d2-2164096773 .fill-AA2{fill:#4A6FF3;} + .d2-2164096773 .fill-AA4{fill:#EDF0FD;} + .d2-2164096773 .fill-AA5{fill:#F7F8FE;} + .d2-2164096773 .fill-AB4{fill:#EDF0FD;} + .d2-2164096773 .fill-AB5{fill:#F7F8FE;} + .d2-2164096773 .stroke-N1{stroke:#0A0F25;} + .d2-2164096773 .stroke-N2{stroke:#676C7E;} + .d2-2164096773 .stroke-N3{stroke:#9499AB;} + .d2-2164096773 .stroke-N4{stroke:#CFD2DD;} + .d2-2164096773 .stroke-N5{stroke:#DEE1EB;} + .d2-2164096773 .stroke-N6{stroke:#EEF1F8;} + .d2-2164096773 .stroke-N7{stroke:#FFFFFF;} + .d2-2164096773 .stroke-B1{stroke:#0D32B2;} + .d2-2164096773 .stroke-B2{stroke:#0D32B2;} + .d2-2164096773 .stroke-B3{stroke:#E3E9FD;} + .d2-2164096773 .stroke-B4{stroke:#E3E9FD;} + .d2-2164096773 .stroke-B5{stroke:#EDF0FD;} + .d2-2164096773 .stroke-B6{stroke:#F7F8FE;} + .d2-2164096773 .stroke-AA2{stroke:#4A6FF3;} + .d2-2164096773 .stroke-AA4{stroke:#EDF0FD;} + .d2-2164096773 .stroke-AA5{stroke:#F7F8FE;} + .d2-2164096773 .stroke-AB4{stroke:#EDF0FD;} + .d2-2164096773 .stroke-AB5{stroke:#F7F8FE;} + .d2-2164096773 .background-color-N1{background-color:#0A0F25;} + .d2-2164096773 .background-color-N2{background-color:#676C7E;} + .d2-2164096773 .background-color-N3{background-color:#9499AB;} + .d2-2164096773 .background-color-N4{background-color:#CFD2DD;} + .d2-2164096773 .background-color-N5{background-color:#DEE1EB;} + .d2-2164096773 .background-color-N6{background-color:#EEF1F8;} + .d2-2164096773 .background-color-N7{background-color:#FFFFFF;} + .d2-2164096773 .background-color-B1{background-color:#0D32B2;} + .d2-2164096773 .background-color-B2{background-color:#0D32B2;} + .d2-2164096773 .background-color-B3{background-color:#E3E9FD;} + .d2-2164096773 .background-color-B4{background-color:#E3E9FD;} + .d2-2164096773 .background-color-B5{background-color:#EDF0FD;} + .d2-2164096773 .background-color-B6{background-color:#F7F8FE;} + .d2-2164096773 .background-color-AA2{background-color:#4A6FF3;} + .d2-2164096773 .background-color-AA4{background-color:#EDF0FD;} + .d2-2164096773 .background-color-AA5{background-color:#F7F8FE;} + .d2-2164096773 .background-color-AB4{background-color:#EDF0FD;} + .d2-2164096773 .background-color-AB5{background-color:#F7F8FE;} + .d2-2164096773 .color-N1{color:#0A0F25;} + .d2-2164096773 .color-N2{color:#676C7E;} + .d2-2164096773 .color-N3{color:#9499AB;} + .d2-2164096773 .color-N4{color:#CFD2DD;} + .d2-2164096773 .color-N5{color:#DEE1EB;} + .d2-2164096773 .color-N6{color:#EEF1F8;} + .d2-2164096773 .color-N7{color:#FFFFFF;} + .d2-2164096773 .color-B1{color:#0D32B2;} + .d2-2164096773 .color-B2{color:#0D32B2;} + .d2-2164096773 .color-B3{color:#E3E9FD;} + .d2-2164096773 .color-B4{color:#E3E9FD;} + .d2-2164096773 .color-B5{color:#EDF0FD;} + .d2-2164096773 .color-B6{color:#F7F8FE;} + .d2-2164096773 .color-AA2{color:#4A6FF3;} + .d2-2164096773 .color-AA4{color:#EDF0FD;} + .d2-2164096773 .color-AA5{color:#F7F8FE;} + .d2-2164096773 .color-AB4{color:#EDF0FD;} + .d2-2164096773 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghiqrjmnoszaabbeeffggklptuwxyccddv + @@ -106,29 +106,29 @@ - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/large_arch/elk/board.exp.json b/e2etests/testdata/stable/large_arch/elk/board.exp.json index 47b3df074..331db4ae7 100644 --- a/e2etests/testdata/stable/large_arch/elk/board.exp.json +++ b/e2etests/testdata/stable/large_arch/elk/board.exp.json @@ -1396,7 +1396,7 @@ }, { "x": 652.75, - "y": 1427.625 + "y": 1428 } ], "animated": false, @@ -1488,7 +1488,7 @@ }, { "x": 602.75, - "y": 1427.625 + "y": 1428 } ], "animated": false, @@ -1522,7 +1522,7 @@ "route": [ { "x": 669.416015625, - "y": 1493.625 + "y": 1494 }, { "x": 669.416015625, @@ -1614,7 +1614,7 @@ "route": [ { "x": 646.166015625, - "y": 1493.625 + "y": 1494 }, { "x": 646.166015625, @@ -1652,7 +1652,7 @@ "route": [ { "x": 602.75, - "y": 1493.625 + "y": 1494 }, { "x": 602.75, @@ -1698,7 +1698,7 @@ "route": [ { "x": 536.0830078125, - "y": 1493.625 + "y": 1494 }, { "x": 536.0830078125, @@ -1744,7 +1744,7 @@ "route": [ { "x": 569.416015625, - "y": 1493.625 + "y": 1494 }, { "x": 569.416015625, @@ -1874,7 +1874,7 @@ "route": [ { "x": 601, - "y": 429 + "y": 428.5 }, { "x": 601, @@ -2034,7 +2034,7 @@ "route": [ { "x": 601, - "y": 627.5 + "y": 627 }, { "x": 601, @@ -2046,7 +2046,7 @@ }, { "x": 552.75, - "y": 1427.625 + "y": 1428 } ], "animated": false, @@ -2083,7 +2083,7 @@ "y": 617 }, { - "x": 270.4989929199219, + "x": 270.5, "y": 1768 } ], diff --git a/e2etests/testdata/stable/large_arch/elk/sketch.exp.svg b/e2etests/testdata/stable/large_arch/elk/sketch.exp.svg index 11a3bd0bd..18d46c628 100644 --- a/e2etests/testdata/stable/large_arch/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/large_arch/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abcdefghiqrjmnoszaabbeeffggklptuwxyccddv + .d2-3038672767 .fill-N1{fill:#0A0F25;} + .d2-3038672767 .fill-N2{fill:#676C7E;} + .d2-3038672767 .fill-N3{fill:#9499AB;} + .d2-3038672767 .fill-N4{fill:#CFD2DD;} + .d2-3038672767 .fill-N5{fill:#DEE1EB;} + .d2-3038672767 .fill-N6{fill:#EEF1F8;} + .d2-3038672767 .fill-N7{fill:#FFFFFF;} + .d2-3038672767 .fill-B1{fill:#0D32B2;} + .d2-3038672767 .fill-B2{fill:#0D32B2;} + .d2-3038672767 .fill-B3{fill:#E3E9FD;} + .d2-3038672767 .fill-B4{fill:#E3E9FD;} + .d2-3038672767 .fill-B5{fill:#EDF0FD;} + .d2-3038672767 .fill-B6{fill:#F7F8FE;} + .d2-3038672767 .fill-AA2{fill:#4A6FF3;} + .d2-3038672767 .fill-AA4{fill:#EDF0FD;} + .d2-3038672767 .fill-AA5{fill:#F7F8FE;} + .d2-3038672767 .fill-AB4{fill:#EDF0FD;} + .d2-3038672767 .fill-AB5{fill:#F7F8FE;} + .d2-3038672767 .stroke-N1{stroke:#0A0F25;} + .d2-3038672767 .stroke-N2{stroke:#676C7E;} + .d2-3038672767 .stroke-N3{stroke:#9499AB;} + .d2-3038672767 .stroke-N4{stroke:#CFD2DD;} + .d2-3038672767 .stroke-N5{stroke:#DEE1EB;} + .d2-3038672767 .stroke-N6{stroke:#EEF1F8;} + .d2-3038672767 .stroke-N7{stroke:#FFFFFF;} + .d2-3038672767 .stroke-B1{stroke:#0D32B2;} + .d2-3038672767 .stroke-B2{stroke:#0D32B2;} + .d2-3038672767 .stroke-B3{stroke:#E3E9FD;} + .d2-3038672767 .stroke-B4{stroke:#E3E9FD;} + .d2-3038672767 .stroke-B5{stroke:#EDF0FD;} + .d2-3038672767 .stroke-B6{stroke:#F7F8FE;} + .d2-3038672767 .stroke-AA2{stroke:#4A6FF3;} + .d2-3038672767 .stroke-AA4{stroke:#EDF0FD;} + .d2-3038672767 .stroke-AA5{stroke:#F7F8FE;} + .d2-3038672767 .stroke-AB4{stroke:#EDF0FD;} + .d2-3038672767 .stroke-AB5{stroke:#F7F8FE;} + .d2-3038672767 .background-color-N1{background-color:#0A0F25;} + .d2-3038672767 .background-color-N2{background-color:#676C7E;} + .d2-3038672767 .background-color-N3{background-color:#9499AB;} + .d2-3038672767 .background-color-N4{background-color:#CFD2DD;} + .d2-3038672767 .background-color-N5{background-color:#DEE1EB;} + .d2-3038672767 .background-color-N6{background-color:#EEF1F8;} + .d2-3038672767 .background-color-N7{background-color:#FFFFFF;} + .d2-3038672767 .background-color-B1{background-color:#0D32B2;} + .d2-3038672767 .background-color-B2{background-color:#0D32B2;} + .d2-3038672767 .background-color-B3{background-color:#E3E9FD;} + .d2-3038672767 .background-color-B4{background-color:#E3E9FD;} + .d2-3038672767 .background-color-B5{background-color:#EDF0FD;} + .d2-3038672767 .background-color-B6{background-color:#F7F8FE;} + .d2-3038672767 .background-color-AA2{background-color:#4A6FF3;} + .d2-3038672767 .background-color-AA4{background-color:#EDF0FD;} + .d2-3038672767 .background-color-AA5{background-color:#F7F8FE;} + .d2-3038672767 .background-color-AB4{background-color:#EDF0FD;} + .d2-3038672767 .background-color-AB5{background-color:#F7F8FE;} + .d2-3038672767 .color-N1{color:#0A0F25;} + .d2-3038672767 .color-N2{color:#676C7E;} + .d2-3038672767 .color-N3{color:#9499AB;} + .d2-3038672767 .color-N4{color:#CFD2DD;} + .d2-3038672767 .color-N5{color:#DEE1EB;} + .d2-3038672767 .color-N6{color:#EEF1F8;} + .d2-3038672767 .color-N7{color:#FFFFFF;} + .d2-3038672767 .color-B1{color:#0D32B2;} + .d2-3038672767 .color-B2{color:#0D32B2;} + .d2-3038672767 .color-B3{color:#E3E9FD;} + .d2-3038672767 .color-B4{color:#E3E9FD;} + .d2-3038672767 .color-B5{color:#EDF0FD;} + .d2-3038672767 .color-B6{color:#F7F8FE;} + .d2-3038672767 .color-AA2{color:#4A6FF3;} + .d2-3038672767 .color-AA4{color:#EDF0FD;} + .d2-3038672767 .color-AA5{color:#F7F8FE;} + .d2-3038672767 .color-AB4{color:#EDF0FD;} + .d2-3038672767 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghiqrjmnoszaabbeeffggklptuwxyccddv diff --git a/e2etests/testdata/stable/latex/dagre/board.exp.json b/e2etests/testdata/stable/latex/dagre/board.exp.json index 5760e319a..457430502 100644 --- a/e2etests/testdata/stable/latex/dagre/board.exp.json +++ b/e2etests/testdata/stable/latex/dagre/board.exp.json @@ -273,11 +273,11 @@ "labelPercentage": 0, "route": [ { - "x": 284.8739929199219, + "x": 285, "y": 51 }, { - "x": 209.7740020751953, + "x": 209.8000030517578, "y": 91 }, { @@ -320,11 +320,11 @@ "labelPercentage": 0, "route": [ { - "x": 380.625, + "x": 380.5, "y": 51 }, { - "x": 455.7250061035156, + "x": 455.70001220703125, "y": 91 }, { @@ -509,11 +509,11 @@ "route": [ { "x": 474.5, - "y": 418 + "y": 417.5 }, { "x": 474.5, - "y": 466.3999938964844 + "y": 466.29998779296875 }, { "x": 474.5, diff --git a/e2etests/testdata/stable/latex/dagre/sketch.exp.svg b/e2etests/testdata/stable/latex/dagre/sketch.exp.svg index 89f411bf3..9c8a2bd9f 100644 --- a/e2etests/testdata/stable/latex/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/latex/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -mixed togethersugarsolution we get +mixed togethersugarsolution we get diff --git a/e2etests/testdata/stable/latex/elk/board.exp.json b/e2etests/testdata/stable/latex/elk/board.exp.json index ba49c3482..93483c57c 100644 --- a/e2etests/testdata/stable/latex/elk/board.exp.json +++ b/e2etests/testdata/stable/latex/elk/board.exp.json @@ -324,7 +324,7 @@ }, { "x": 446.5, - "y": 184.5 + "y": 185 } ], "animated": false, @@ -404,7 +404,7 @@ "route": [ { "x": 446.5, - "y": 202.5 + "y": 202 }, { "x": 446.5, diff --git a/e2etests/testdata/stable/latex/elk/sketch.exp.svg b/e2etests/testdata/stable/latex/elk/sketch.exp.svg index 780c480c2..8237b7e42 100644 --- a/e2etests/testdata/stable/latex/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/latex/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -mixed togethersugarsolution we get +mixed togethersugarsolution we get diff --git a/e2etests/testdata/stable/legend_with_near_key/dagre/board.exp.json b/e2etests/testdata/stable/legend_with_near_key/dagre/board.exp.json index 0b5b99f6f..66f51a747 100644 --- a/e2etests/testdata/stable/legend_with_near_key/dagre/board.exp.json +++ b/e2etests/testdata/stable/legend_with_near_key/dagre/board.exp.json @@ -130,11 +130,11 @@ "id": "legend", "type": "rectangle", "pos": { - "x": 87, + "x": 97, "y": 122 }, - "width": 184, - "height": 80, + "width": 164, + "height": 81, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "text", "pos": { "x": 127, - "y": 151 + "y": 152 }, "width": 22, "height": 21, @@ -212,7 +212,7 @@ "type": "text", "pos": { "x": 209, - "y": 151 + "y": 152 }, "width": 22, "height": 21, diff --git a/e2etests/testdata/stable/legend_with_near_key/dagre/sketch.exp.svg b/e2etests/testdata/stable/legend_with_near_key/dagre/sketch.exp.svg index 2d89147db..d1c5b7839 100644 --- a/e2etests/testdata/stable/legend_with_near_key/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/legend_with_near_key/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -xyzlegendfoobar - +xyzlegendfoobar + - - + + \ No newline at end of file diff --git a/e2etests/testdata/stable/legend_with_near_key/elk/sketch.exp.svg b/e2etests/testdata/stable/legend_with_near_key/elk/sketch.exp.svg index 2d39f9d80..6b0554909 100644 --- a/e2etests/testdata/stable/legend_with_near_key/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/legend_with_near_key/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -xyzlegendfoobar +xyzlegendfoobar diff --git a/e2etests/testdata/stable/li1/dagre/sketch.exp.svg b/e2etests/testdata/stable/li1/dagre/sketch.exp.svg index e02a4528b..3c64ad0c1 100644 --- a/e2etests/testdata/stable/li1/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/li1/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -
      @@ -848,7 +848,7 @@
    -
    ab +ab diff --git a/e2etests/testdata/stable/li1/elk/sketch.exp.svg b/e2etests/testdata/stable/li1/elk/sketch.exp.svg index c748f81d1..8e4dda0ba 100644 --- a/e2etests/testdata/stable/li1/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/li1/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -
      @@ -848,7 +848,7 @@
    -
    ab +ab diff --git a/e2etests/testdata/stable/li2/dagre/sketch.exp.svg b/e2etests/testdata/stable/li2/dagre/sketch.exp.svg index 16da70033..445d6d35e 100644 --- a/e2etests/testdata/stable/li2/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/li2/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -
      @@ -851,7 +851,7 @@
    -
    ab +ab diff --git a/e2etests/testdata/stable/li2/elk/sketch.exp.svg b/e2etests/testdata/stable/li2/elk/sketch.exp.svg index 3679fed55..60490ce32 100644 --- a/e2etests/testdata/stable/li2/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/li2/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -
      @@ -851,7 +851,7 @@
    -
    ab +ab diff --git a/e2etests/testdata/stable/li3/dagre/sketch.exp.svg b/e2etests/testdata/stable/li3/dagre/sketch.exp.svg index 5a839ff9d..f2428754b 100644 --- a/e2etests/testdata/stable/li3/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/li3/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -
      @@ -869,7 +869,7 @@
    -
    ab +ab diff --git a/e2etests/testdata/stable/li3/elk/sketch.exp.svg b/e2etests/testdata/stable/li3/elk/sketch.exp.svg index 5f56bddce..63484b9dd 100644 --- a/e2etests/testdata/stable/li3/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/li3/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -
      @@ -869,7 +869,7 @@
    -
    ab +ab diff --git a/e2etests/testdata/stable/li4/dagre/sketch.exp.svg b/e2etests/testdata/stable/li4/dagre/sketch.exp.svg index e4f9654d8..408b5101a 100644 --- a/e2etests/testdata/stable/li4/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/li4/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -

    List items may consist of multiple paragraphs. Each subsequent @@ -874,7 +874,7 @@ sit amet, consectetuer adipiscing elit.

    Another item in the same list.

    -
    ab +ab diff --git a/e2etests/testdata/stable/li4/elk/sketch.exp.svg b/e2etests/testdata/stable/li4/elk/sketch.exp.svg index 6b5941aa7..95c7d1d0e 100644 --- a/e2etests/testdata/stable/li4/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/li4/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -

    List items may consist of multiple paragraphs. Each subsequent @@ -874,7 +874,7 @@ sit amet, consectetuer adipiscing elit.

    Another item in the same list.

    -
    ab +ab diff --git a/e2etests/testdata/stable/links/dagre/sketch.exp.svg b/e2etests/testdata/stable/links/dagre/sketch.exp.svg index 2dd378f7a..8f6f74bc8 100644 --- a/e2etests/testdata/stable/links/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/links/dagre/sketch.exp.svg @@ -1,12 +1,12 @@ -xy + .d2-3606605273 .fill-N1{fill:#0A0F25;} + .d2-3606605273 .fill-N2{fill:#676C7E;} + .d2-3606605273 .fill-N3{fill:#9499AB;} + .d2-3606605273 .fill-N4{fill:#CFD2DD;} + .d2-3606605273 .fill-N5{fill:#DEE1EB;} + .d2-3606605273 .fill-N6{fill:#EEF1F8;} + .d2-3606605273 .fill-N7{fill:#FFFFFF;} + .d2-3606605273 .fill-B1{fill:#0D32B2;} + .d2-3606605273 .fill-B2{fill:#0D32B2;} + .d2-3606605273 .fill-B3{fill:#E3E9FD;} + .d2-3606605273 .fill-B4{fill:#E3E9FD;} + .d2-3606605273 .fill-B5{fill:#EDF0FD;} + .d2-3606605273 .fill-B6{fill:#F7F8FE;} + .d2-3606605273 .fill-AA2{fill:#4A6FF3;} + .d2-3606605273 .fill-AA4{fill:#EDF0FD;} + .d2-3606605273 .fill-AA5{fill:#F7F8FE;} + .d2-3606605273 .fill-AB4{fill:#EDF0FD;} + .d2-3606605273 .fill-AB5{fill:#F7F8FE;} + .d2-3606605273 .stroke-N1{stroke:#0A0F25;} + .d2-3606605273 .stroke-N2{stroke:#676C7E;} + .d2-3606605273 .stroke-N3{stroke:#9499AB;} + .d2-3606605273 .stroke-N4{stroke:#CFD2DD;} + .d2-3606605273 .stroke-N5{stroke:#DEE1EB;} + .d2-3606605273 .stroke-N6{stroke:#EEF1F8;} + .d2-3606605273 .stroke-N7{stroke:#FFFFFF;} + .d2-3606605273 .stroke-B1{stroke:#0D32B2;} + .d2-3606605273 .stroke-B2{stroke:#0D32B2;} + .d2-3606605273 .stroke-B3{stroke:#E3E9FD;} + .d2-3606605273 .stroke-B4{stroke:#E3E9FD;} + .d2-3606605273 .stroke-B5{stroke:#EDF0FD;} + .d2-3606605273 .stroke-B6{stroke:#F7F8FE;} + .d2-3606605273 .stroke-AA2{stroke:#4A6FF3;} + .d2-3606605273 .stroke-AA4{stroke:#EDF0FD;} + .d2-3606605273 .stroke-AA5{stroke:#F7F8FE;} + .d2-3606605273 .stroke-AB4{stroke:#EDF0FD;} + .d2-3606605273 .stroke-AB5{stroke:#F7F8FE;} + .d2-3606605273 .background-color-N1{background-color:#0A0F25;} + .d2-3606605273 .background-color-N2{background-color:#676C7E;} + .d2-3606605273 .background-color-N3{background-color:#9499AB;} + .d2-3606605273 .background-color-N4{background-color:#CFD2DD;} + .d2-3606605273 .background-color-N5{background-color:#DEE1EB;} + .d2-3606605273 .background-color-N6{background-color:#EEF1F8;} + .d2-3606605273 .background-color-N7{background-color:#FFFFFF;} + .d2-3606605273 .background-color-B1{background-color:#0D32B2;} + .d2-3606605273 .background-color-B2{background-color:#0D32B2;} + .d2-3606605273 .background-color-B3{background-color:#E3E9FD;} + .d2-3606605273 .background-color-B4{background-color:#E3E9FD;} + .d2-3606605273 .background-color-B5{background-color:#EDF0FD;} + .d2-3606605273 .background-color-B6{background-color:#F7F8FE;} + .d2-3606605273 .background-color-AA2{background-color:#4A6FF3;} + .d2-3606605273 .background-color-AA4{background-color:#EDF0FD;} + .d2-3606605273 .background-color-AA5{background-color:#F7F8FE;} + .d2-3606605273 .background-color-AB4{background-color:#EDF0FD;} + .d2-3606605273 .background-color-AB5{background-color:#F7F8FE;} + .d2-3606605273 .color-N1{color:#0A0F25;} + .d2-3606605273 .color-N2{color:#676C7E;} + .d2-3606605273 .color-N3{color:#9499AB;} + .d2-3606605273 .color-N4{color:#CFD2DD;} + .d2-3606605273 .color-N5{color:#DEE1EB;} + .d2-3606605273 .color-N6{color:#EEF1F8;} + .d2-3606605273 .color-N7{color:#FFFFFF;} + .d2-3606605273 .color-B1{color:#0D32B2;} + .d2-3606605273 .color-B2{color:#0D32B2;} + .d2-3606605273 .color-B3{color:#E3E9FD;} + .d2-3606605273 .color-B4{color:#E3E9FD;} + .d2-3606605273 .color-B5{color:#EDF0FD;} + .d2-3606605273 .color-B6{color:#F7F8FE;} + .d2-3606605273 .color-AA2{color:#4A6FF3;} + .d2-3606605273 .color-AA4{color:#EDF0FD;} + .d2-3606605273 .color-AA5{color:#F7F8FE;} + .d2-3606605273 .color-AB4{color:#EDF0FD;} + .d2-3606605273 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! @@ -104,7 +104,7 @@ - +Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! @@ -117,7 +117,7 @@ -Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! + @@ -129,7 +129,7 @@ - + diff --git a/e2etests/testdata/stable/links/elk/sketch.exp.svg b/e2etests/testdata/stable/links/elk/sketch.exp.svg index 3ad7ff513..eb4d4fe24 100644 --- a/e2etests/testdata/stable/links/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/links/elk/sketch.exp.svg @@ -1,12 +1,12 @@ -xy + .d2-2493258333 .fill-N1{fill:#0A0F25;} + .d2-2493258333 .fill-N2{fill:#676C7E;} + .d2-2493258333 .fill-N3{fill:#9499AB;} + .d2-2493258333 .fill-N4{fill:#CFD2DD;} + .d2-2493258333 .fill-N5{fill:#DEE1EB;} + .d2-2493258333 .fill-N6{fill:#EEF1F8;} + .d2-2493258333 .fill-N7{fill:#FFFFFF;} + .d2-2493258333 .fill-B1{fill:#0D32B2;} + .d2-2493258333 .fill-B2{fill:#0D32B2;} + .d2-2493258333 .fill-B3{fill:#E3E9FD;} + .d2-2493258333 .fill-B4{fill:#E3E9FD;} + .d2-2493258333 .fill-B5{fill:#EDF0FD;} + .d2-2493258333 .fill-B6{fill:#F7F8FE;} + .d2-2493258333 .fill-AA2{fill:#4A6FF3;} + .d2-2493258333 .fill-AA4{fill:#EDF0FD;} + .d2-2493258333 .fill-AA5{fill:#F7F8FE;} + .d2-2493258333 .fill-AB4{fill:#EDF0FD;} + .d2-2493258333 .fill-AB5{fill:#F7F8FE;} + .d2-2493258333 .stroke-N1{stroke:#0A0F25;} + .d2-2493258333 .stroke-N2{stroke:#676C7E;} + .d2-2493258333 .stroke-N3{stroke:#9499AB;} + .d2-2493258333 .stroke-N4{stroke:#CFD2DD;} + .d2-2493258333 .stroke-N5{stroke:#DEE1EB;} + .d2-2493258333 .stroke-N6{stroke:#EEF1F8;} + .d2-2493258333 .stroke-N7{stroke:#FFFFFF;} + .d2-2493258333 .stroke-B1{stroke:#0D32B2;} + .d2-2493258333 .stroke-B2{stroke:#0D32B2;} + .d2-2493258333 .stroke-B3{stroke:#E3E9FD;} + .d2-2493258333 .stroke-B4{stroke:#E3E9FD;} + .d2-2493258333 .stroke-B5{stroke:#EDF0FD;} + .d2-2493258333 .stroke-B6{stroke:#F7F8FE;} + .d2-2493258333 .stroke-AA2{stroke:#4A6FF3;} + .d2-2493258333 .stroke-AA4{stroke:#EDF0FD;} + .d2-2493258333 .stroke-AA5{stroke:#F7F8FE;} + .d2-2493258333 .stroke-AB4{stroke:#EDF0FD;} + .d2-2493258333 .stroke-AB5{stroke:#F7F8FE;} + .d2-2493258333 .background-color-N1{background-color:#0A0F25;} + .d2-2493258333 .background-color-N2{background-color:#676C7E;} + .d2-2493258333 .background-color-N3{background-color:#9499AB;} + .d2-2493258333 .background-color-N4{background-color:#CFD2DD;} + .d2-2493258333 .background-color-N5{background-color:#DEE1EB;} + .d2-2493258333 .background-color-N6{background-color:#EEF1F8;} + .d2-2493258333 .background-color-N7{background-color:#FFFFFF;} + .d2-2493258333 .background-color-B1{background-color:#0D32B2;} + .d2-2493258333 .background-color-B2{background-color:#0D32B2;} + .d2-2493258333 .background-color-B3{background-color:#E3E9FD;} + .d2-2493258333 .background-color-B4{background-color:#E3E9FD;} + .d2-2493258333 .background-color-B5{background-color:#EDF0FD;} + .d2-2493258333 .background-color-B6{background-color:#F7F8FE;} + .d2-2493258333 .background-color-AA2{background-color:#4A6FF3;} + .d2-2493258333 .background-color-AA4{background-color:#EDF0FD;} + .d2-2493258333 .background-color-AA5{background-color:#F7F8FE;} + .d2-2493258333 .background-color-AB4{background-color:#EDF0FD;} + .d2-2493258333 .background-color-AB5{background-color:#F7F8FE;} + .d2-2493258333 .color-N1{color:#0A0F25;} + .d2-2493258333 .color-N2{color:#676C7E;} + .d2-2493258333 .color-N3{color:#9499AB;} + .d2-2493258333 .color-N4{color:#CFD2DD;} + .d2-2493258333 .color-N5{color:#DEE1EB;} + .d2-2493258333 .color-N6{color:#EEF1F8;} + .d2-2493258333 .color-N7{color:#FFFFFF;} + .d2-2493258333 .color-B1{color:#0D32B2;} + .d2-2493258333 .color-B2{color:#0D32B2;} + .d2-2493258333 .color-B3{color:#E3E9FD;} + .d2-2493258333 .color-B4{color:#E3E9FD;} + .d2-2493258333 .color-B5{color:#EDF0FD;} + .d2-2493258333 .color-B6{color:#F7F8FE;} + .d2-2493258333 .color-AA2{color:#4A6FF3;} + .d2-2493258333 .color-AA4{color:#EDF0FD;} + .d2-2493258333 .color-AA5{color:#F7F8FE;} + .d2-2493258333 .color-AB4{color:#EDF0FD;} + .d2-2493258333 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyGee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! @@ -104,7 +104,7 @@ - +Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! @@ -117,7 +117,7 @@ -Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! + @@ -129,7 +129,7 @@ - + diff --git a/e2etests/testdata/stable/lone_h1/dagre/sketch.exp.svg b/e2etests/testdata/stable/lone_h1/dagre/sketch.exp.svg index 9e82e989b..f95878ff3 100644 --- a/e2etests/testdata/stable/lone_h1/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/lone_h1/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -

    Markdown: Syntax

    -
    ab +ab diff --git a/e2etests/testdata/stable/lone_h1/elk/sketch.exp.svg b/e2etests/testdata/stable/lone_h1/elk/sketch.exp.svg index c12d8d825..2ab2a16e0 100644 --- a/e2etests/testdata/stable/lone_h1/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/lone_h1/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -

    Markdown: Syntax

    -
    ab +ab diff --git a/e2etests/testdata/stable/markdown/dagre/sketch.exp.svg b/e2etests/testdata/stable/markdown/dagre/sketch.exp.svg index f3e6f6e68..1be25ca15 100644 --- a/e2etests/testdata/stable/markdown/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/markdown/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -

    Every frustum longs to be a cone

    @@ -851,7 +851,7 @@

    Festivity Level 1: Your guests are chatting amiably with each other.

    test strikethrough test

    -
    xy +xy diff --git a/e2etests/testdata/stable/markdown/elk/sketch.exp.svg b/e2etests/testdata/stable/markdown/elk/sketch.exp.svg index ba28e5c51..7643631d7 100644 --- a/e2etests/testdata/stable/markdown/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/markdown/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -

    Every frustum longs to be a cone

    @@ -851,7 +851,7 @@

    Festivity Level 1: Your guests are chatting amiably with each other.

    test strikethrough test

    -
    xy +xy diff --git a/e2etests/testdata/stable/markdown_stroke_fill/dagre/board.exp.json b/e2etests/testdata/stable/markdown_stroke_fill/dagre/board.exp.json index 5096d0de9..93b639665 100644 --- a/e2etests/testdata/stable/markdown_stroke_fill/dagre/board.exp.json +++ b/e2etests/testdata/stable/markdown_stroke_fill/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "container", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 292, - "height": 317, + "width": 272, + "height": 318, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "text", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 212, "height": 258, @@ -152,11 +152,11 @@ "route": [ { "x": 146, - "y": 358 + "y": 338 }, { "x": 146, - "y": 398 + "y": 394 }, { "x": 146, diff --git a/e2etests/testdata/stable/markdown_stroke_fill/dagre/sketch.exp.svg b/e2etests/testdata/stable/markdown_stroke_fill/dagre/sketch.exp.svg index 456a9068a..59fa6f516 100644 --- a/e2etests/testdata/stable/markdown_stroke_fill/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/markdown_stroke_fill/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -container

    they did it in style

    -

    a header

    +container

    they did it in style

    +

    a header

    a line of text and an

    {
     	indented: "block",
    @@ -845,9 +845,9 @@
     }
     

    walk into a bar.

    -
    - - +
    + + - +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/markdown_stroke_fill/elk/sketch.exp.svg b/e2etests/testdata/stable/markdown_stroke_fill/elk/sketch.exp.svg index a86ddd2c5..30cc0c6ac 100644 --- a/e2etests/testdata/stable/markdown_stroke_fill/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/markdown_stroke_fill/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -container

    they did it in style

    @@ -845,7 +845,7 @@ }

    walk into a bar.

    -
    + diff --git a/e2etests/testdata/stable/md_2space_newline/dagre/board.exp.json b/e2etests/testdata/stable/md_2space_newline/dagre/board.exp.json index 3d12b47d6..dd8959eb9 100644 --- a/e2etests/testdata/stable/md_2space_newline/dagre/board.exp.json +++ b/e2etests/testdata/stable/md_2space_newline/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "markdown", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 539, - "height": 107, + "width": 519, + "height": 108, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "text", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 459, "height": 48, diff --git a/e2etests/testdata/stable/md_2space_newline/dagre/sketch.exp.svg b/e2etests/testdata/stable/md_2space_newline/dagre/sketch.exp.svg index aedffcf7f..484eac670 100644 --- a/e2etests/testdata/stable/md_2space_newline/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/md_2space_newline/dagre/sketch.exp.svg @@ -1,13 +1,13 @@ -markdown

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    +markdown

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    -
    - - - +
    + + +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/md_2space_newline/elk/sketch.exp.svg b/e2etests/testdata/stable/md_2space_newline/elk/sketch.exp.svg index ee058868e..fa13f85fc 100644 --- a/e2etests/testdata/stable/md_2space_newline/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/md_2space_newline/elk/sketch.exp.svg @@ -1,13 +1,13 @@ -markdown

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    -
    + diff --git a/e2etests/testdata/stable/md_backslash_newline/dagre/board.exp.json b/e2etests/testdata/stable/md_backslash_newline/dagre/board.exp.json index 05dd96fcf..7a28b31e8 100644 --- a/e2etests/testdata/stable/md_backslash_newline/dagre/board.exp.json +++ b/e2etests/testdata/stable/md_backslash_newline/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "markdown", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 539, - "height": 107, + "width": 519, + "height": 108, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "text", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 459, "height": 48, diff --git a/e2etests/testdata/stable/md_backslash_newline/dagre/sketch.exp.svg b/e2etests/testdata/stable/md_backslash_newline/dagre/sketch.exp.svg index ba9d0deb7..9b5ba819d 100644 --- a/e2etests/testdata/stable/md_backslash_newline/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/md_backslash_newline/dagre/sketch.exp.svg @@ -1,13 +1,13 @@ -markdown

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    +markdown

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    -
    - - - +
    + + +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/md_backslash_newline/elk/sketch.exp.svg b/e2etests/testdata/stable/md_backslash_newline/elk/sketch.exp.svg index adaadab0e..1fab8695a 100644 --- a/e2etests/testdata/stable/md_backslash_newline/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/md_backslash_newline/elk/sketch.exp.svg @@ -1,13 +1,13 @@ -markdown

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    -
    + diff --git a/e2etests/testdata/stable/md_code_block_fenced/dagre/sketch.exp.svg b/e2etests/testdata/stable/md_code_block_fenced/dagre/sketch.exp.svg index 9d5d46967..b7ed16d62 100644 --- a/e2etests/testdata/stable/md_code_block_fenced/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/md_code_block_fenced/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -
    {
    @@ -848,7 +848,7 @@
     	of: "json",
     }
     
    -
    ab +ab diff --git a/e2etests/testdata/stable/md_code_block_fenced/elk/sketch.exp.svg b/e2etests/testdata/stable/md_code_block_fenced/elk/sketch.exp.svg index 583bc80af..9db82831a 100644 --- a/e2etests/testdata/stable/md_code_block_fenced/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/md_code_block_fenced/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -
    {
    @@ -848,7 +848,7 @@
     	of: "json",
     }
     
    -
    ab +ab diff --git a/e2etests/testdata/stable/md_code_block_indented/dagre/sketch.exp.svg b/e2etests/testdata/stable/md_code_block_indented/dagre/sketch.exp.svg index 64f2202f2..ac3862e6b 100644 --- a/e2etests/testdata/stable/md_code_block_indented/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/md_code_block_indented/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -

    a line of text and an

    @@ -849,7 +849,7 @@ of: "json", } -
    ab +ab diff --git a/e2etests/testdata/stable/md_code_block_indented/elk/sketch.exp.svg b/e2etests/testdata/stable/md_code_block_indented/elk/sketch.exp.svg index 1e7c3e76e..0725c1876 100644 --- a/e2etests/testdata/stable/md_code_block_indented/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/md_code_block_indented/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -

    a line of text and an

    @@ -849,7 +849,7 @@ of: "json", } -
    ab +ab diff --git a/e2etests/testdata/stable/md_code_inline/dagre/sketch.exp.svg b/e2etests/testdata/stable/md_code_inline/dagre/sketch.exp.svg index fcb1894f1..1745044a5 100644 --- a/e2etests/testdata/stable/md_code_inline/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/md_code_inline/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -

    code

    -
    ab +ab diff --git a/e2etests/testdata/stable/md_code_inline/elk/sketch.exp.svg b/e2etests/testdata/stable/md_code_inline/elk/sketch.exp.svg index a2b771282..33ac5d360 100644 --- a/e2etests/testdata/stable/md_code_inline/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/md_code_inline/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -

    code

    -
    ab +ab diff --git a/e2etests/testdata/stable/md_fontsize_10/dagre/sketch.exp.svg b/e2etests/testdata/stable/md_fontsize_10/dagre/sketch.exp.svg index 6f669a161..a8975578e 100644 --- a/e2etests/testdata/stable/md_fontsize_10/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/md_fontsize_10/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -

    Every frustum longs to be a cone

    @@ -851,7 +851,7 @@

    Festivity Level 1: Your guests are chatting amiably with each other.

    test strikethrough test

    -
    xy +xy diff --git a/e2etests/testdata/stable/md_fontsize_10/elk/sketch.exp.svg b/e2etests/testdata/stable/md_fontsize_10/elk/sketch.exp.svg index d9400b1ca..7e32d0a77 100644 --- a/e2etests/testdata/stable/md_fontsize_10/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/md_fontsize_10/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -

    Every frustum longs to be a cone

    @@ -851,7 +851,7 @@

    Festivity Level 1: Your guests are chatting amiably with each other.

    test strikethrough test

    -
    xy +xy diff --git a/e2etests/testdata/stable/mono-edge/dagre/sketch.exp.svg b/e2etests/testdata/stable/mono-edge/dagre/sketch.exp.svg index e061f608b..9af1d9031 100644 --- a/e2etests/testdata/stable/mono-edge/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/mono-edge/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -xy hi + .d2-1588848796 .fill-N1{fill:#0A0F25;} + .d2-1588848796 .fill-N2{fill:#676C7E;} + .d2-1588848796 .fill-N3{fill:#9499AB;} + .d2-1588848796 .fill-N4{fill:#CFD2DD;} + .d2-1588848796 .fill-N5{fill:#DEE1EB;} + .d2-1588848796 .fill-N6{fill:#EEF1F8;} + .d2-1588848796 .fill-N7{fill:#FFFFFF;} + .d2-1588848796 .fill-B1{fill:#0D32B2;} + .d2-1588848796 .fill-B2{fill:#0D32B2;} + .d2-1588848796 .fill-B3{fill:#E3E9FD;} + .d2-1588848796 .fill-B4{fill:#E3E9FD;} + .d2-1588848796 .fill-B5{fill:#EDF0FD;} + .d2-1588848796 .fill-B6{fill:#F7F8FE;} + .d2-1588848796 .fill-AA2{fill:#4A6FF3;} + .d2-1588848796 .fill-AA4{fill:#EDF0FD;} + .d2-1588848796 .fill-AA5{fill:#F7F8FE;} + .d2-1588848796 .fill-AB4{fill:#EDF0FD;} + .d2-1588848796 .fill-AB5{fill:#F7F8FE;} + .d2-1588848796 .stroke-N1{stroke:#0A0F25;} + .d2-1588848796 .stroke-N2{stroke:#676C7E;} + .d2-1588848796 .stroke-N3{stroke:#9499AB;} + .d2-1588848796 .stroke-N4{stroke:#CFD2DD;} + .d2-1588848796 .stroke-N5{stroke:#DEE1EB;} + .d2-1588848796 .stroke-N6{stroke:#EEF1F8;} + .d2-1588848796 .stroke-N7{stroke:#FFFFFF;} + .d2-1588848796 .stroke-B1{stroke:#0D32B2;} + .d2-1588848796 .stroke-B2{stroke:#0D32B2;} + .d2-1588848796 .stroke-B3{stroke:#E3E9FD;} + .d2-1588848796 .stroke-B4{stroke:#E3E9FD;} + .d2-1588848796 .stroke-B5{stroke:#EDF0FD;} + .d2-1588848796 .stroke-B6{stroke:#F7F8FE;} + .d2-1588848796 .stroke-AA2{stroke:#4A6FF3;} + .d2-1588848796 .stroke-AA4{stroke:#EDF0FD;} + .d2-1588848796 .stroke-AA5{stroke:#F7F8FE;} + .d2-1588848796 .stroke-AB4{stroke:#EDF0FD;} + .d2-1588848796 .stroke-AB5{stroke:#F7F8FE;} + .d2-1588848796 .background-color-N1{background-color:#0A0F25;} + .d2-1588848796 .background-color-N2{background-color:#676C7E;} + .d2-1588848796 .background-color-N3{background-color:#9499AB;} + .d2-1588848796 .background-color-N4{background-color:#CFD2DD;} + .d2-1588848796 .background-color-N5{background-color:#DEE1EB;} + .d2-1588848796 .background-color-N6{background-color:#EEF1F8;} + .d2-1588848796 .background-color-N7{background-color:#FFFFFF;} + .d2-1588848796 .background-color-B1{background-color:#0D32B2;} + .d2-1588848796 .background-color-B2{background-color:#0D32B2;} + .d2-1588848796 .background-color-B3{background-color:#E3E9FD;} + .d2-1588848796 .background-color-B4{background-color:#E3E9FD;} + .d2-1588848796 .background-color-B5{background-color:#EDF0FD;} + .d2-1588848796 .background-color-B6{background-color:#F7F8FE;} + .d2-1588848796 .background-color-AA2{background-color:#4A6FF3;} + .d2-1588848796 .background-color-AA4{background-color:#EDF0FD;} + .d2-1588848796 .background-color-AA5{background-color:#F7F8FE;} + .d2-1588848796 .background-color-AB4{background-color:#EDF0FD;} + .d2-1588848796 .background-color-AB5{background-color:#F7F8FE;} + .d2-1588848796 .color-N1{color:#0A0F25;} + .d2-1588848796 .color-N2{color:#676C7E;} + .d2-1588848796 .color-N3{color:#9499AB;} + .d2-1588848796 .color-N4{color:#CFD2DD;} + .d2-1588848796 .color-N5{color:#DEE1EB;} + .d2-1588848796 .color-N6{color:#EEF1F8;} + .d2-1588848796 .color-N7{color:#FFFFFF;} + .d2-1588848796 .color-B1{color:#0D32B2;} + .d2-1588848796 .color-B2{color:#0D32B2;} + .d2-1588848796 .color-B3{color:#E3E9FD;} + .d2-1588848796 .color-B4{color:#E3E9FD;} + .d2-1588848796 .color-B5{color:#EDF0FD;} + .d2-1588848796 .color-B6{color:#F7F8FE;} + .d2-1588848796 .color-AA2{color:#4A6FF3;} + .d2-1588848796 .color-AA4{color:#EDF0FD;} + .d2-1588848796 .color-AA5{color:#F7F8FE;} + .d2-1588848796 .color-AB4{color:#EDF0FD;} + .d2-1588848796 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy hi diff --git a/e2etests/testdata/stable/mono-edge/elk/sketch.exp.svg b/e2etests/testdata/stable/mono-edge/elk/sketch.exp.svg index d5dcc6ece..b35c3006a 100644 --- a/e2etests/testdata/stable/mono-edge/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/mono-edge/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -xy hi + .d2-2882779651 .fill-N1{fill:#0A0F25;} + .d2-2882779651 .fill-N2{fill:#676C7E;} + .d2-2882779651 .fill-N3{fill:#9499AB;} + .d2-2882779651 .fill-N4{fill:#CFD2DD;} + .d2-2882779651 .fill-N5{fill:#DEE1EB;} + .d2-2882779651 .fill-N6{fill:#EEF1F8;} + .d2-2882779651 .fill-N7{fill:#FFFFFF;} + .d2-2882779651 .fill-B1{fill:#0D32B2;} + .d2-2882779651 .fill-B2{fill:#0D32B2;} + .d2-2882779651 .fill-B3{fill:#E3E9FD;} + .d2-2882779651 .fill-B4{fill:#E3E9FD;} + .d2-2882779651 .fill-B5{fill:#EDF0FD;} + .d2-2882779651 .fill-B6{fill:#F7F8FE;} + .d2-2882779651 .fill-AA2{fill:#4A6FF3;} + .d2-2882779651 .fill-AA4{fill:#EDF0FD;} + .d2-2882779651 .fill-AA5{fill:#F7F8FE;} + .d2-2882779651 .fill-AB4{fill:#EDF0FD;} + .d2-2882779651 .fill-AB5{fill:#F7F8FE;} + .d2-2882779651 .stroke-N1{stroke:#0A0F25;} + .d2-2882779651 .stroke-N2{stroke:#676C7E;} + .d2-2882779651 .stroke-N3{stroke:#9499AB;} + .d2-2882779651 .stroke-N4{stroke:#CFD2DD;} + .d2-2882779651 .stroke-N5{stroke:#DEE1EB;} + .d2-2882779651 .stroke-N6{stroke:#EEF1F8;} + .d2-2882779651 .stroke-N7{stroke:#FFFFFF;} + .d2-2882779651 .stroke-B1{stroke:#0D32B2;} + .d2-2882779651 .stroke-B2{stroke:#0D32B2;} + .d2-2882779651 .stroke-B3{stroke:#E3E9FD;} + .d2-2882779651 .stroke-B4{stroke:#E3E9FD;} + .d2-2882779651 .stroke-B5{stroke:#EDF0FD;} + .d2-2882779651 .stroke-B6{stroke:#F7F8FE;} + .d2-2882779651 .stroke-AA2{stroke:#4A6FF3;} + .d2-2882779651 .stroke-AA4{stroke:#EDF0FD;} + .d2-2882779651 .stroke-AA5{stroke:#F7F8FE;} + .d2-2882779651 .stroke-AB4{stroke:#EDF0FD;} + .d2-2882779651 .stroke-AB5{stroke:#F7F8FE;} + .d2-2882779651 .background-color-N1{background-color:#0A0F25;} + .d2-2882779651 .background-color-N2{background-color:#676C7E;} + .d2-2882779651 .background-color-N3{background-color:#9499AB;} + .d2-2882779651 .background-color-N4{background-color:#CFD2DD;} + .d2-2882779651 .background-color-N5{background-color:#DEE1EB;} + .d2-2882779651 .background-color-N6{background-color:#EEF1F8;} + .d2-2882779651 .background-color-N7{background-color:#FFFFFF;} + .d2-2882779651 .background-color-B1{background-color:#0D32B2;} + .d2-2882779651 .background-color-B2{background-color:#0D32B2;} + .d2-2882779651 .background-color-B3{background-color:#E3E9FD;} + .d2-2882779651 .background-color-B4{background-color:#E3E9FD;} + .d2-2882779651 .background-color-B5{background-color:#EDF0FD;} + .d2-2882779651 .background-color-B6{background-color:#F7F8FE;} + .d2-2882779651 .background-color-AA2{background-color:#4A6FF3;} + .d2-2882779651 .background-color-AA4{background-color:#EDF0FD;} + .d2-2882779651 .background-color-AA5{background-color:#F7F8FE;} + .d2-2882779651 .background-color-AB4{background-color:#EDF0FD;} + .d2-2882779651 .background-color-AB5{background-color:#F7F8FE;} + .d2-2882779651 .color-N1{color:#0A0F25;} + .d2-2882779651 .color-N2{color:#676C7E;} + .d2-2882779651 .color-N3{color:#9499AB;} + .d2-2882779651 .color-N4{color:#CFD2DD;} + .d2-2882779651 .color-N5{color:#DEE1EB;} + .d2-2882779651 .color-N6{color:#EEF1F8;} + .d2-2882779651 .color-N7{color:#FFFFFF;} + .d2-2882779651 .color-B1{color:#0D32B2;} + .d2-2882779651 .color-B2{color:#0D32B2;} + .d2-2882779651 .color-B3{color:#E3E9FD;} + .d2-2882779651 .color-B4{color:#E3E9FD;} + .d2-2882779651 .color-B5{color:#EDF0FD;} + .d2-2882779651 .color-B6{color:#F7F8FE;} + .d2-2882779651 .color-AA2{color:#4A6FF3;} + .d2-2882779651 .color-AA4{color:#EDF0FD;} + .d2-2882779651 .color-AA5{color:#F7F8FE;} + .d2-2882779651 .color-AB4{color:#EDF0FD;} + .d2-2882779651 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy hi diff --git a/e2etests/testdata/stable/mono-font/dagre/board.exp.json b/e2etests/testdata/stable/mono-font/dagre/board.exp.json index b7ee63c1d..35ed1a099 100644 --- a/e2etests/testdata/stable/mono-font/dagre/board.exp.json +++ b/e2etests/testdata/stable/mono-font/dagre/board.exp.json @@ -7,8 +7,8 @@ "id": "satellites", "type": "stored_data", "pos": { - "x": 22, - "y": 10 + "x": 27, + "y": 0 }, "width": 161, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 32, - "y": 197 + "y": 187 }, "width": 151, "height": 66, @@ -112,20 +112,20 @@ "labelPercentage": 0, "route": [ { - "x": 77, - "y": 76 - }, - { - "x": 38.5989990234375, - "y": 124.4000015258789 + "x": 79, + "y": 66 }, { "x": 39, - "y": 148.6999969482422 + "y": 114.4000015258789 + }, + { + "x": 39, + "y": 138.6999969482422 }, { "x": 79, - "y": 197.5 + "y": 187.5 } ], "isCurve": true, @@ -160,19 +160,19 @@ "route": [ { "x": 107, - "y": 76 + "y": 66 }, { "x": 107, - "y": 124.4000015258789 + "y": 114.4000015258789 }, { "x": 107, - "y": 148.6999969482422 + "y": 138.6999969482422 }, { "x": 107, - "y": 197.5 + "y": 187.5 } ], "isCurve": true, @@ -206,20 +206,20 @@ "labelPercentage": 0, "route": [ { - "x": 137, - "y": 76 - }, - { - "x": 175.39999389648438, - "y": 124.4000015258789 + "x": 135, + "y": 66 }, { "x": 175, - "y": 148.6999969482422 + "y": 114.4000015258789 + }, + { + "x": 175, + "y": 138.6999969482422 }, { "x": 135, - "y": 197.5 + "y": 187.5 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/mono-font/dagre/sketch.exp.svg b/e2etests/testdata/stable/mono-font/dagre/sketch.exp.svg index 588fe473d..c1298eb7b 100644 --- a/e2etests/testdata/stable/mono-font/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/mono-font/dagre/sketch.exp.svg @@ -1,16 +1,23 @@ -SATELLITESTRANSMITTER SENDSENDSEND - - - - - - + .d2-1948806370 .fill-N1{fill:#0A0F25;} + .d2-1948806370 .fill-N2{fill:#676C7E;} + .d2-1948806370 .fill-N3{fill:#9499AB;} + .d2-1948806370 .fill-N4{fill:#CFD2DD;} + .d2-1948806370 .fill-N5{fill:#DEE1EB;} + .d2-1948806370 .fill-N6{fill:#EEF1F8;} + .d2-1948806370 .fill-N7{fill:#FFFFFF;} + .d2-1948806370 .fill-B1{fill:#0D32B2;} + .d2-1948806370 .fill-B2{fill:#0D32B2;} + .d2-1948806370 .fill-B3{fill:#E3E9FD;} + .d2-1948806370 .fill-B4{fill:#E3E9FD;} + .d2-1948806370 .fill-B5{fill:#EDF0FD;} + .d2-1948806370 .fill-B6{fill:#F7F8FE;} + .d2-1948806370 .fill-AA2{fill:#4A6FF3;} + .d2-1948806370 .fill-AA4{fill:#EDF0FD;} + .d2-1948806370 .fill-AA5{fill:#F7F8FE;} + .d2-1948806370 .fill-AB4{fill:#EDF0FD;} + .d2-1948806370 .fill-AB5{fill:#F7F8FE;} + .d2-1948806370 .stroke-N1{stroke:#0A0F25;} + .d2-1948806370 .stroke-N2{stroke:#676C7E;} + .d2-1948806370 .stroke-N3{stroke:#9499AB;} + .d2-1948806370 .stroke-N4{stroke:#CFD2DD;} + .d2-1948806370 .stroke-N5{stroke:#DEE1EB;} + .d2-1948806370 .stroke-N6{stroke:#EEF1F8;} + .d2-1948806370 .stroke-N7{stroke:#FFFFFF;} + .d2-1948806370 .stroke-B1{stroke:#0D32B2;} + .d2-1948806370 .stroke-B2{stroke:#0D32B2;} + .d2-1948806370 .stroke-B3{stroke:#E3E9FD;} + .d2-1948806370 .stroke-B4{stroke:#E3E9FD;} + .d2-1948806370 .stroke-B5{stroke:#EDF0FD;} + .d2-1948806370 .stroke-B6{stroke:#F7F8FE;} + .d2-1948806370 .stroke-AA2{stroke:#4A6FF3;} + .d2-1948806370 .stroke-AA4{stroke:#EDF0FD;} + .d2-1948806370 .stroke-AA5{stroke:#F7F8FE;} + .d2-1948806370 .stroke-AB4{stroke:#EDF0FD;} + .d2-1948806370 .stroke-AB5{stroke:#F7F8FE;} + .d2-1948806370 .background-color-N1{background-color:#0A0F25;} + .d2-1948806370 .background-color-N2{background-color:#676C7E;} + .d2-1948806370 .background-color-N3{background-color:#9499AB;} + .d2-1948806370 .background-color-N4{background-color:#CFD2DD;} + .d2-1948806370 .background-color-N5{background-color:#DEE1EB;} + .d2-1948806370 .background-color-N6{background-color:#EEF1F8;} + .d2-1948806370 .background-color-N7{background-color:#FFFFFF;} + .d2-1948806370 .background-color-B1{background-color:#0D32B2;} + .d2-1948806370 .background-color-B2{background-color:#0D32B2;} + .d2-1948806370 .background-color-B3{background-color:#E3E9FD;} + .d2-1948806370 .background-color-B4{background-color:#E3E9FD;} + .d2-1948806370 .background-color-B5{background-color:#EDF0FD;} + .d2-1948806370 .background-color-B6{background-color:#F7F8FE;} + .d2-1948806370 .background-color-AA2{background-color:#4A6FF3;} + .d2-1948806370 .background-color-AA4{background-color:#EDF0FD;} + .d2-1948806370 .background-color-AA5{background-color:#F7F8FE;} + .d2-1948806370 .background-color-AB4{background-color:#EDF0FD;} + .d2-1948806370 .background-color-AB5{background-color:#F7F8FE;} + .d2-1948806370 .color-N1{color:#0A0F25;} + .d2-1948806370 .color-N2{color:#676C7E;} + .d2-1948806370 .color-N3{color:#9499AB;} + .d2-1948806370 .color-N4{color:#CFD2DD;} + .d2-1948806370 .color-N5{color:#DEE1EB;} + .d2-1948806370 .color-N6{color:#EEF1F8;} + .d2-1948806370 .color-N7{color:#FFFFFF;} + .d2-1948806370 .color-B1{color:#0D32B2;} + .d2-1948806370 .color-B2{color:#0D32B2;} + .d2-1948806370 .color-B3{color:#E3E9FD;} + .d2-1948806370 .color-B4{color:#E3E9FD;} + .d2-1948806370 .color-B5{color:#EDF0FD;} + .d2-1948806370 .color-B6{color:#F7F8FE;} + .d2-1948806370 .color-AA2{color:#4A6FF3;} + .d2-1948806370 .color-AA4{color:#EDF0FD;} + .d2-1948806370 .color-AA5{color:#F7F8FE;} + .d2-1948806370 .color-AB4{color:#EDF0FD;} + .d2-1948806370 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>SATELLITESTRANSMITTER SENDSENDSEND + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/mono-font/elk/board.exp.json b/e2etests/testdata/stable/mono-font/elk/board.exp.json index 80cca418e..9609194e3 100644 --- a/e2etests/testdata/stable/mono-font/elk/board.exp.json +++ b/e2etests/testdata/stable/mono-font/elk/board.exp.json @@ -154,7 +154,7 @@ "y": 88 }, { - "x": 97.5, + "x": 98, "y": 269 } ], diff --git a/e2etests/testdata/stable/mono-font/elk/sketch.exp.svg b/e2etests/testdata/stable/mono-font/elk/sketch.exp.svg index 6db3a94cd..b6d0598a8 100644 --- a/e2etests/testdata/stable/mono-font/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/mono-font/elk/sketch.exp.svg @@ -1,16 +1,23 @@ -SATELLITESTRANSMITTER SENDSENDSEND + .d2-1412428584 .fill-N1{fill:#0A0F25;} + .d2-1412428584 .fill-N2{fill:#676C7E;} + .d2-1412428584 .fill-N3{fill:#9499AB;} + .d2-1412428584 .fill-N4{fill:#CFD2DD;} + .d2-1412428584 .fill-N5{fill:#DEE1EB;} + .d2-1412428584 .fill-N6{fill:#EEF1F8;} + .d2-1412428584 .fill-N7{fill:#FFFFFF;} + .d2-1412428584 .fill-B1{fill:#0D32B2;} + .d2-1412428584 .fill-B2{fill:#0D32B2;} + .d2-1412428584 .fill-B3{fill:#E3E9FD;} + .d2-1412428584 .fill-B4{fill:#E3E9FD;} + .d2-1412428584 .fill-B5{fill:#EDF0FD;} + .d2-1412428584 .fill-B6{fill:#F7F8FE;} + .d2-1412428584 .fill-AA2{fill:#4A6FF3;} + .d2-1412428584 .fill-AA4{fill:#EDF0FD;} + .d2-1412428584 .fill-AA5{fill:#F7F8FE;} + .d2-1412428584 .fill-AB4{fill:#EDF0FD;} + .d2-1412428584 .fill-AB5{fill:#F7F8FE;} + .d2-1412428584 .stroke-N1{stroke:#0A0F25;} + .d2-1412428584 .stroke-N2{stroke:#676C7E;} + .d2-1412428584 .stroke-N3{stroke:#9499AB;} + .d2-1412428584 .stroke-N4{stroke:#CFD2DD;} + .d2-1412428584 .stroke-N5{stroke:#DEE1EB;} + .d2-1412428584 .stroke-N6{stroke:#EEF1F8;} + .d2-1412428584 .stroke-N7{stroke:#FFFFFF;} + .d2-1412428584 .stroke-B1{stroke:#0D32B2;} + .d2-1412428584 .stroke-B2{stroke:#0D32B2;} + .d2-1412428584 .stroke-B3{stroke:#E3E9FD;} + .d2-1412428584 .stroke-B4{stroke:#E3E9FD;} + .d2-1412428584 .stroke-B5{stroke:#EDF0FD;} + .d2-1412428584 .stroke-B6{stroke:#F7F8FE;} + .d2-1412428584 .stroke-AA2{stroke:#4A6FF3;} + .d2-1412428584 .stroke-AA4{stroke:#EDF0FD;} + .d2-1412428584 .stroke-AA5{stroke:#F7F8FE;} + .d2-1412428584 .stroke-AB4{stroke:#EDF0FD;} + .d2-1412428584 .stroke-AB5{stroke:#F7F8FE;} + .d2-1412428584 .background-color-N1{background-color:#0A0F25;} + .d2-1412428584 .background-color-N2{background-color:#676C7E;} + .d2-1412428584 .background-color-N3{background-color:#9499AB;} + .d2-1412428584 .background-color-N4{background-color:#CFD2DD;} + .d2-1412428584 .background-color-N5{background-color:#DEE1EB;} + .d2-1412428584 .background-color-N6{background-color:#EEF1F8;} + .d2-1412428584 .background-color-N7{background-color:#FFFFFF;} + .d2-1412428584 .background-color-B1{background-color:#0D32B2;} + .d2-1412428584 .background-color-B2{background-color:#0D32B2;} + .d2-1412428584 .background-color-B3{background-color:#E3E9FD;} + .d2-1412428584 .background-color-B4{background-color:#E3E9FD;} + .d2-1412428584 .background-color-B5{background-color:#EDF0FD;} + .d2-1412428584 .background-color-B6{background-color:#F7F8FE;} + .d2-1412428584 .background-color-AA2{background-color:#4A6FF3;} + .d2-1412428584 .background-color-AA4{background-color:#EDF0FD;} + .d2-1412428584 .background-color-AA5{background-color:#F7F8FE;} + .d2-1412428584 .background-color-AB4{background-color:#EDF0FD;} + .d2-1412428584 .background-color-AB5{background-color:#F7F8FE;} + .d2-1412428584 .color-N1{color:#0A0F25;} + .d2-1412428584 .color-N2{color:#676C7E;} + .d2-1412428584 .color-N3{color:#9499AB;} + .d2-1412428584 .color-N4{color:#CFD2DD;} + .d2-1412428584 .color-N5{color:#DEE1EB;} + .d2-1412428584 .color-N6{color:#EEF1F8;} + .d2-1412428584 .color-N7{color:#FFFFFF;} + .d2-1412428584 .color-B1{color:#0D32B2;} + .d2-1412428584 .color-B2{color:#0D32B2;} + .d2-1412428584 .color-B3{color:#E3E9FD;} + .d2-1412428584 .color-B4{color:#E3E9FD;} + .d2-1412428584 .color-B5{color:#EDF0FD;} + .d2-1412428584 .color-B6{color:#F7F8FE;} + .d2-1412428584 .color-AA2{color:#4A6FF3;} + .d2-1412428584 .color-AA4{color:#EDF0FD;} + .d2-1412428584 .color-AA5{color:#F7F8FE;} + .d2-1412428584 .color-AB4{color:#EDF0FD;} + .d2-1412428584 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>SATELLITESTRANSMITTER SENDSENDSEND - + \ No newline at end of file diff --git a/e2etests/testdata/stable/multiline_text/dagre/sketch.exp.svg b/e2etests/testdata/stable/multiline_text/dagre/sketch.exp.svg index 2157c5617..17f4bebb0 100644 --- a/e2etests/testdata/stable/multiline_text/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/multiline_text/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -thisgoesmultiple lines + .d2-759444024 .fill-N1{fill:#0A0F25;} + .d2-759444024 .fill-N2{fill:#676C7E;} + .d2-759444024 .fill-N3{fill:#9499AB;} + .d2-759444024 .fill-N4{fill:#CFD2DD;} + .d2-759444024 .fill-N5{fill:#DEE1EB;} + .d2-759444024 .fill-N6{fill:#EEF1F8;} + .d2-759444024 .fill-N7{fill:#FFFFFF;} + .d2-759444024 .fill-B1{fill:#0D32B2;} + .d2-759444024 .fill-B2{fill:#0D32B2;} + .d2-759444024 .fill-B3{fill:#E3E9FD;} + .d2-759444024 .fill-B4{fill:#E3E9FD;} + .d2-759444024 .fill-B5{fill:#EDF0FD;} + .d2-759444024 .fill-B6{fill:#F7F8FE;} + .d2-759444024 .fill-AA2{fill:#4A6FF3;} + .d2-759444024 .fill-AA4{fill:#EDF0FD;} + .d2-759444024 .fill-AA5{fill:#F7F8FE;} + .d2-759444024 .fill-AB4{fill:#EDF0FD;} + .d2-759444024 .fill-AB5{fill:#F7F8FE;} + .d2-759444024 .stroke-N1{stroke:#0A0F25;} + .d2-759444024 .stroke-N2{stroke:#676C7E;} + .d2-759444024 .stroke-N3{stroke:#9499AB;} + .d2-759444024 .stroke-N4{stroke:#CFD2DD;} + .d2-759444024 .stroke-N5{stroke:#DEE1EB;} + .d2-759444024 .stroke-N6{stroke:#EEF1F8;} + .d2-759444024 .stroke-N7{stroke:#FFFFFF;} + .d2-759444024 .stroke-B1{stroke:#0D32B2;} + .d2-759444024 .stroke-B2{stroke:#0D32B2;} + .d2-759444024 .stroke-B3{stroke:#E3E9FD;} + .d2-759444024 .stroke-B4{stroke:#E3E9FD;} + .d2-759444024 .stroke-B5{stroke:#EDF0FD;} + .d2-759444024 .stroke-B6{stroke:#F7F8FE;} + .d2-759444024 .stroke-AA2{stroke:#4A6FF3;} + .d2-759444024 .stroke-AA4{stroke:#EDF0FD;} + .d2-759444024 .stroke-AA5{stroke:#F7F8FE;} + .d2-759444024 .stroke-AB4{stroke:#EDF0FD;} + .d2-759444024 .stroke-AB5{stroke:#F7F8FE;} + .d2-759444024 .background-color-N1{background-color:#0A0F25;} + .d2-759444024 .background-color-N2{background-color:#676C7E;} + .d2-759444024 .background-color-N3{background-color:#9499AB;} + .d2-759444024 .background-color-N4{background-color:#CFD2DD;} + .d2-759444024 .background-color-N5{background-color:#DEE1EB;} + .d2-759444024 .background-color-N6{background-color:#EEF1F8;} + .d2-759444024 .background-color-N7{background-color:#FFFFFF;} + .d2-759444024 .background-color-B1{background-color:#0D32B2;} + .d2-759444024 .background-color-B2{background-color:#0D32B2;} + .d2-759444024 .background-color-B3{background-color:#E3E9FD;} + .d2-759444024 .background-color-B4{background-color:#E3E9FD;} + .d2-759444024 .background-color-B5{background-color:#EDF0FD;} + .d2-759444024 .background-color-B6{background-color:#F7F8FE;} + .d2-759444024 .background-color-AA2{background-color:#4A6FF3;} + .d2-759444024 .background-color-AA4{background-color:#EDF0FD;} + .d2-759444024 .background-color-AA5{background-color:#F7F8FE;} + .d2-759444024 .background-color-AB4{background-color:#EDF0FD;} + .d2-759444024 .background-color-AB5{background-color:#F7F8FE;} + .d2-759444024 .color-N1{color:#0A0F25;} + .d2-759444024 .color-N2{color:#676C7E;} + .d2-759444024 .color-N3{color:#9499AB;} + .d2-759444024 .color-N4{color:#CFD2DD;} + .d2-759444024 .color-N5{color:#DEE1EB;} + .d2-759444024 .color-N6{color:#EEF1F8;} + .d2-759444024 .color-N7{color:#FFFFFF;} + .d2-759444024 .color-B1{color:#0D32B2;} + .d2-759444024 .color-B2{color:#0D32B2;} + .d2-759444024 .color-B3{color:#E3E9FD;} + .d2-759444024 .color-B4{color:#E3E9FD;} + .d2-759444024 .color-B5{color:#EDF0FD;} + .d2-759444024 .color-B6{color:#F7F8FE;} + .d2-759444024 .color-AA2{color:#4A6FF3;} + .d2-759444024 .color-AA4{color:#EDF0FD;} + .d2-759444024 .color-AA5{color:#F7F8FE;} + .d2-759444024 .color-AB4{color:#EDF0FD;} + .d2-759444024 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>thisgoesmultiple lines \ No newline at end of file diff --git a/e2etests/testdata/stable/multiline_text/elk/sketch.exp.svg b/e2etests/testdata/stable/multiline_text/elk/sketch.exp.svg index 57928f4fd..f6165b192 100644 --- a/e2etests/testdata/stable/multiline_text/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/multiline_text/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -thisgoesmultiple lines + .d2-1968289800 .fill-N1{fill:#0A0F25;} + .d2-1968289800 .fill-N2{fill:#676C7E;} + .d2-1968289800 .fill-N3{fill:#9499AB;} + .d2-1968289800 .fill-N4{fill:#CFD2DD;} + .d2-1968289800 .fill-N5{fill:#DEE1EB;} + .d2-1968289800 .fill-N6{fill:#EEF1F8;} + .d2-1968289800 .fill-N7{fill:#FFFFFF;} + .d2-1968289800 .fill-B1{fill:#0D32B2;} + .d2-1968289800 .fill-B2{fill:#0D32B2;} + .d2-1968289800 .fill-B3{fill:#E3E9FD;} + .d2-1968289800 .fill-B4{fill:#E3E9FD;} + .d2-1968289800 .fill-B5{fill:#EDF0FD;} + .d2-1968289800 .fill-B6{fill:#F7F8FE;} + .d2-1968289800 .fill-AA2{fill:#4A6FF3;} + .d2-1968289800 .fill-AA4{fill:#EDF0FD;} + .d2-1968289800 .fill-AA5{fill:#F7F8FE;} + .d2-1968289800 .fill-AB4{fill:#EDF0FD;} + .d2-1968289800 .fill-AB5{fill:#F7F8FE;} + .d2-1968289800 .stroke-N1{stroke:#0A0F25;} + .d2-1968289800 .stroke-N2{stroke:#676C7E;} + .d2-1968289800 .stroke-N3{stroke:#9499AB;} + .d2-1968289800 .stroke-N4{stroke:#CFD2DD;} + .d2-1968289800 .stroke-N5{stroke:#DEE1EB;} + .d2-1968289800 .stroke-N6{stroke:#EEF1F8;} + .d2-1968289800 .stroke-N7{stroke:#FFFFFF;} + .d2-1968289800 .stroke-B1{stroke:#0D32B2;} + .d2-1968289800 .stroke-B2{stroke:#0D32B2;} + .d2-1968289800 .stroke-B3{stroke:#E3E9FD;} + .d2-1968289800 .stroke-B4{stroke:#E3E9FD;} + .d2-1968289800 .stroke-B5{stroke:#EDF0FD;} + .d2-1968289800 .stroke-B6{stroke:#F7F8FE;} + .d2-1968289800 .stroke-AA2{stroke:#4A6FF3;} + .d2-1968289800 .stroke-AA4{stroke:#EDF0FD;} + .d2-1968289800 .stroke-AA5{stroke:#F7F8FE;} + .d2-1968289800 .stroke-AB4{stroke:#EDF0FD;} + .d2-1968289800 .stroke-AB5{stroke:#F7F8FE;} + .d2-1968289800 .background-color-N1{background-color:#0A0F25;} + .d2-1968289800 .background-color-N2{background-color:#676C7E;} + .d2-1968289800 .background-color-N3{background-color:#9499AB;} + .d2-1968289800 .background-color-N4{background-color:#CFD2DD;} + .d2-1968289800 .background-color-N5{background-color:#DEE1EB;} + .d2-1968289800 .background-color-N6{background-color:#EEF1F8;} + .d2-1968289800 .background-color-N7{background-color:#FFFFFF;} + .d2-1968289800 .background-color-B1{background-color:#0D32B2;} + .d2-1968289800 .background-color-B2{background-color:#0D32B2;} + .d2-1968289800 .background-color-B3{background-color:#E3E9FD;} + .d2-1968289800 .background-color-B4{background-color:#E3E9FD;} + .d2-1968289800 .background-color-B5{background-color:#EDF0FD;} + .d2-1968289800 .background-color-B6{background-color:#F7F8FE;} + .d2-1968289800 .background-color-AA2{background-color:#4A6FF3;} + .d2-1968289800 .background-color-AA4{background-color:#EDF0FD;} + .d2-1968289800 .background-color-AA5{background-color:#F7F8FE;} + .d2-1968289800 .background-color-AB4{background-color:#EDF0FD;} + .d2-1968289800 .background-color-AB5{background-color:#F7F8FE;} + .d2-1968289800 .color-N1{color:#0A0F25;} + .d2-1968289800 .color-N2{color:#676C7E;} + .d2-1968289800 .color-N3{color:#9499AB;} + .d2-1968289800 .color-N4{color:#CFD2DD;} + .d2-1968289800 .color-N5{color:#DEE1EB;} + .d2-1968289800 .color-N6{color:#EEF1F8;} + .d2-1968289800 .color-N7{color:#FFFFFF;} + .d2-1968289800 .color-B1{color:#0D32B2;} + .d2-1968289800 .color-B2{color:#0D32B2;} + .d2-1968289800 .color-B3{color:#E3E9FD;} + .d2-1968289800 .color-B4{color:#E3E9FD;} + .d2-1968289800 .color-B5{color:#EDF0FD;} + .d2-1968289800 .color-B6{color:#F7F8FE;} + .d2-1968289800 .color-AA2{color:#4A6FF3;} + .d2-1968289800 .color-AA4{color:#EDF0FD;} + .d2-1968289800 .color-AA5{color:#F7F8FE;} + .d2-1968289800 .color-AB4{color:#EDF0FD;} + .d2-1968289800 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>thisgoesmultiple lines \ No newline at end of file diff --git a/e2etests/testdata/stable/multiple_box_selection/dagre/board.exp.json b/e2etests/testdata/stable/multiple_box_selection/dagre/board.exp.json index defb282e2..65b1e9991 100644 --- a/e2etests/testdata/stable/multiple_box_selection/dagre/board.exp.json +++ b/e2etests/testdata/stable/multiple_box_selection/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 207 + "y": 179 }, - "width": 268, - "height": 335, + "width": 278, + "height": 293, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,10 +49,10 @@ "type": "rectangle", "pos": { "x": 20, - "y": 272 + "y": 220 }, - "width": 228, - "height": 240, + "width": 238, + "height": 222, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -89,11 +89,11 @@ "id": "outer.vg.vd", "type": "rectangle", "pos": { - "x": 40, - "y": 345 + "x": 50, + "y": 276 }, - "width": 188, - "height": 145, + "width": 168, + "height": 136, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 80, - "y": 390 + "y": 316 }, "width": 98, "height": 66, @@ -171,7 +171,7 @@ "id": "start", "type": "rectangle", "pos": { - "x": 94, + "x": 89, "y": 0 }, "width": 80, @@ -212,8 +212,8 @@ "id": "end", "type": "rectangle", "pos": { - "x": 98, - "y": 642 + "x": 93, + "y": 632 }, "width": 72, "height": 66, @@ -276,44 +276,44 @@ "labelPercentage": 0, "route": [ { - "x": 134, + "x": 129, "y": 66 }, { - "x": 134, + "x": 129, "y": 106 }, { - "x": 134, + "x": 129, "y": 126 }, { - "x": 134, + "x": 129, "y": 141 }, { - "x": 134, + "x": 129, "y": 156 }, { - "x": 134, + "x": 129, "y": 176 }, { - "x": 134, + "x": 129, "y": 191 }, { - "x": 134, + "x": 129, "y": 206 }, { - "x": 134, - "y": 288.79998779296875 + "x": 129, + "y": 274 }, { - "x": 134, - "y": 380 + "x": 129, + "y": 306 } ], "isCurve": true, @@ -347,32 +347,44 @@ "labelPercentage": 0, "route": [ { - "x": 134, - "y": 456 + "x": 129, + "y": 382 }, { - "x": 134, - "y": 484.79998779296875 + "x": 129, + "y": 422 }, { - "x": 134, - "y": 502 + "x": 129, + "y": 442 }, { - "x": 134, - "y": 517 + "x": 129, + "y": 457 }, { - "x": 134, - "y": 532 + "x": 129, + "y": 472 }, { - "x": 134, - "y": 602 + "x": 129, + "y": 492 }, { - "x": 134, - "y": 642 + "x": 129, + "y": 507 + }, + { + "x": 129, + "y": 522 + }, + { + "x": 129, + "y": 592 + }, + { + "x": 129, + "y": 632 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/multiple_box_selection/dagre/sketch.exp.svg b/e2etests/testdata/stable/multiple_box_selection/dagre/sketch.exp.svg index 39caa9bc5..01b11bd3f 100644 --- a/e2etests/testdata/stable/multiple_box_selection/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_box_selection/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -outerstartendvolume groupvolume definitionvolume - - - - - - - + .d2-2094625675 .fill-N1{fill:#0A0F25;} + .d2-2094625675 .fill-N2{fill:#676C7E;} + .d2-2094625675 .fill-N3{fill:#9499AB;} + .d2-2094625675 .fill-N4{fill:#CFD2DD;} + .d2-2094625675 .fill-N5{fill:#DEE1EB;} + .d2-2094625675 .fill-N6{fill:#EEF1F8;} + .d2-2094625675 .fill-N7{fill:#FFFFFF;} + .d2-2094625675 .fill-B1{fill:#0D32B2;} + .d2-2094625675 .fill-B2{fill:#0D32B2;} + .d2-2094625675 .fill-B3{fill:#E3E9FD;} + .d2-2094625675 .fill-B4{fill:#E3E9FD;} + .d2-2094625675 .fill-B5{fill:#EDF0FD;} + .d2-2094625675 .fill-B6{fill:#F7F8FE;} + .d2-2094625675 .fill-AA2{fill:#4A6FF3;} + .d2-2094625675 .fill-AA4{fill:#EDF0FD;} + .d2-2094625675 .fill-AA5{fill:#F7F8FE;} + .d2-2094625675 .fill-AB4{fill:#EDF0FD;} + .d2-2094625675 .fill-AB5{fill:#F7F8FE;} + .d2-2094625675 .stroke-N1{stroke:#0A0F25;} + .d2-2094625675 .stroke-N2{stroke:#676C7E;} + .d2-2094625675 .stroke-N3{stroke:#9499AB;} + .d2-2094625675 .stroke-N4{stroke:#CFD2DD;} + .d2-2094625675 .stroke-N5{stroke:#DEE1EB;} + .d2-2094625675 .stroke-N6{stroke:#EEF1F8;} + .d2-2094625675 .stroke-N7{stroke:#FFFFFF;} + .d2-2094625675 .stroke-B1{stroke:#0D32B2;} + .d2-2094625675 .stroke-B2{stroke:#0D32B2;} + .d2-2094625675 .stroke-B3{stroke:#E3E9FD;} + .d2-2094625675 .stroke-B4{stroke:#E3E9FD;} + .d2-2094625675 .stroke-B5{stroke:#EDF0FD;} + .d2-2094625675 .stroke-B6{stroke:#F7F8FE;} + .d2-2094625675 .stroke-AA2{stroke:#4A6FF3;} + .d2-2094625675 .stroke-AA4{stroke:#EDF0FD;} + .d2-2094625675 .stroke-AA5{stroke:#F7F8FE;} + .d2-2094625675 .stroke-AB4{stroke:#EDF0FD;} + .d2-2094625675 .stroke-AB5{stroke:#F7F8FE;} + .d2-2094625675 .background-color-N1{background-color:#0A0F25;} + .d2-2094625675 .background-color-N2{background-color:#676C7E;} + .d2-2094625675 .background-color-N3{background-color:#9499AB;} + .d2-2094625675 .background-color-N4{background-color:#CFD2DD;} + .d2-2094625675 .background-color-N5{background-color:#DEE1EB;} + .d2-2094625675 .background-color-N6{background-color:#EEF1F8;} + .d2-2094625675 .background-color-N7{background-color:#FFFFFF;} + .d2-2094625675 .background-color-B1{background-color:#0D32B2;} + .d2-2094625675 .background-color-B2{background-color:#0D32B2;} + .d2-2094625675 .background-color-B3{background-color:#E3E9FD;} + .d2-2094625675 .background-color-B4{background-color:#E3E9FD;} + .d2-2094625675 .background-color-B5{background-color:#EDF0FD;} + .d2-2094625675 .background-color-B6{background-color:#F7F8FE;} + .d2-2094625675 .background-color-AA2{background-color:#4A6FF3;} + .d2-2094625675 .background-color-AA4{background-color:#EDF0FD;} + .d2-2094625675 .background-color-AA5{background-color:#F7F8FE;} + .d2-2094625675 .background-color-AB4{background-color:#EDF0FD;} + .d2-2094625675 .background-color-AB5{background-color:#F7F8FE;} + .d2-2094625675 .color-N1{color:#0A0F25;} + .d2-2094625675 .color-N2{color:#676C7E;} + .d2-2094625675 .color-N3{color:#9499AB;} + .d2-2094625675 .color-N4{color:#CFD2DD;} + .d2-2094625675 .color-N5{color:#DEE1EB;} + .d2-2094625675 .color-N6{color:#EEF1F8;} + .d2-2094625675 .color-N7{color:#FFFFFF;} + .d2-2094625675 .color-B1{color:#0D32B2;} + .d2-2094625675 .color-B2{color:#0D32B2;} + .d2-2094625675 .color-B3{color:#E3E9FD;} + .d2-2094625675 .color-B4{color:#E3E9FD;} + .d2-2094625675 .color-B5{color:#EDF0FD;} + .d2-2094625675 .color-B6{color:#F7F8FE;} + .d2-2094625675 .color-AA2{color:#4A6FF3;} + .d2-2094625675 .color-AA4{color:#EDF0FD;} + .d2-2094625675 .color-AA5{color:#F7F8FE;} + .d2-2094625675 .color-AB4{color:#EDF0FD;} + .d2-2094625675 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>outerstartendvolume groupvolume definitionvolume + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/multiple_box_selection/elk/sketch.exp.svg b/e2etests/testdata/stable/multiple_box_selection/elk/sketch.exp.svg index 93034112c..aeaa59580 100644 --- a/e2etests/testdata/stable/multiple_box_selection/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_box_selection/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -outerstartendvolume groupvolume definitionvolume + .d2-4187716189 .fill-N1{fill:#0A0F25;} + .d2-4187716189 .fill-N2{fill:#676C7E;} + .d2-4187716189 .fill-N3{fill:#9499AB;} + .d2-4187716189 .fill-N4{fill:#CFD2DD;} + .d2-4187716189 .fill-N5{fill:#DEE1EB;} + .d2-4187716189 .fill-N6{fill:#EEF1F8;} + .d2-4187716189 .fill-N7{fill:#FFFFFF;} + .d2-4187716189 .fill-B1{fill:#0D32B2;} + .d2-4187716189 .fill-B2{fill:#0D32B2;} + .d2-4187716189 .fill-B3{fill:#E3E9FD;} + .d2-4187716189 .fill-B4{fill:#E3E9FD;} + .d2-4187716189 .fill-B5{fill:#EDF0FD;} + .d2-4187716189 .fill-B6{fill:#F7F8FE;} + .d2-4187716189 .fill-AA2{fill:#4A6FF3;} + .d2-4187716189 .fill-AA4{fill:#EDF0FD;} + .d2-4187716189 .fill-AA5{fill:#F7F8FE;} + .d2-4187716189 .fill-AB4{fill:#EDF0FD;} + .d2-4187716189 .fill-AB5{fill:#F7F8FE;} + .d2-4187716189 .stroke-N1{stroke:#0A0F25;} + .d2-4187716189 .stroke-N2{stroke:#676C7E;} + .d2-4187716189 .stroke-N3{stroke:#9499AB;} + .d2-4187716189 .stroke-N4{stroke:#CFD2DD;} + .d2-4187716189 .stroke-N5{stroke:#DEE1EB;} + .d2-4187716189 .stroke-N6{stroke:#EEF1F8;} + .d2-4187716189 .stroke-N7{stroke:#FFFFFF;} + .d2-4187716189 .stroke-B1{stroke:#0D32B2;} + .d2-4187716189 .stroke-B2{stroke:#0D32B2;} + .d2-4187716189 .stroke-B3{stroke:#E3E9FD;} + .d2-4187716189 .stroke-B4{stroke:#E3E9FD;} + .d2-4187716189 .stroke-B5{stroke:#EDF0FD;} + .d2-4187716189 .stroke-B6{stroke:#F7F8FE;} + .d2-4187716189 .stroke-AA2{stroke:#4A6FF3;} + .d2-4187716189 .stroke-AA4{stroke:#EDF0FD;} + .d2-4187716189 .stroke-AA5{stroke:#F7F8FE;} + .d2-4187716189 .stroke-AB4{stroke:#EDF0FD;} + .d2-4187716189 .stroke-AB5{stroke:#F7F8FE;} + .d2-4187716189 .background-color-N1{background-color:#0A0F25;} + .d2-4187716189 .background-color-N2{background-color:#676C7E;} + .d2-4187716189 .background-color-N3{background-color:#9499AB;} + .d2-4187716189 .background-color-N4{background-color:#CFD2DD;} + .d2-4187716189 .background-color-N5{background-color:#DEE1EB;} + .d2-4187716189 .background-color-N6{background-color:#EEF1F8;} + .d2-4187716189 .background-color-N7{background-color:#FFFFFF;} + .d2-4187716189 .background-color-B1{background-color:#0D32B2;} + .d2-4187716189 .background-color-B2{background-color:#0D32B2;} + .d2-4187716189 .background-color-B3{background-color:#E3E9FD;} + .d2-4187716189 .background-color-B4{background-color:#E3E9FD;} + .d2-4187716189 .background-color-B5{background-color:#EDF0FD;} + .d2-4187716189 .background-color-B6{background-color:#F7F8FE;} + .d2-4187716189 .background-color-AA2{background-color:#4A6FF3;} + .d2-4187716189 .background-color-AA4{background-color:#EDF0FD;} + .d2-4187716189 .background-color-AA5{background-color:#F7F8FE;} + .d2-4187716189 .background-color-AB4{background-color:#EDF0FD;} + .d2-4187716189 .background-color-AB5{background-color:#F7F8FE;} + .d2-4187716189 .color-N1{color:#0A0F25;} + .d2-4187716189 .color-N2{color:#676C7E;} + .d2-4187716189 .color-N3{color:#9499AB;} + .d2-4187716189 .color-N4{color:#CFD2DD;} + .d2-4187716189 .color-N5{color:#DEE1EB;} + .d2-4187716189 .color-N6{color:#EEF1F8;} + .d2-4187716189 .color-N7{color:#FFFFFF;} + .d2-4187716189 .color-B1{color:#0D32B2;} + .d2-4187716189 .color-B2{color:#0D32B2;} + .d2-4187716189 .color-B3{color:#E3E9FD;} + .d2-4187716189 .color-B4{color:#E3E9FD;} + .d2-4187716189 .color-B5{color:#EDF0FD;} + .d2-4187716189 .color-B6{color:#F7F8FE;} + .d2-4187716189 .color-AA2{color:#4A6FF3;} + .d2-4187716189 .color-AA4{color:#EDF0FD;} + .d2-4187716189 .color-AA5{color:#F7F8FE;} + .d2-4187716189 .color-AB4{color:#EDF0FD;} + .d2-4187716189 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>outerstartendvolume groupvolume definitionvolume diff --git a/e2etests/testdata/stable/multiple_offset/dagre/board.exp.json b/e2etests/testdata/stable/multiple_offset/dagre/board.exp.json index 3af11b9ef..33fe35aad 100644 --- a/e2etests/testdata/stable/multiple_offset/dagre/board.exp.json +++ b/e2etests/testdata/stable/multiple_offset/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "n1", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 143, - "height": 321, + "width": 123, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,8 +48,8 @@ "id": "n1.a", "type": "rectangle", "pos": { - "x": 45, - "y": 78 + "x": 40, + "y": 50 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 264 + "y": 216 }, "width": 53, "height": 66, @@ -130,11 +130,11 @@ "id": "n2", "type": "rectangle", "pos": { - "x": 163, - "y": 41 + "x": 173, + "y": 20 }, - "width": 148, - "height": 321, + "width": 128, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -171,8 +171,8 @@ "id": "n2.a", "type": "rectangle", "pos": { - "x": 211, - "y": 78 + "x": 203, + "y": 50 }, "width": 53, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 203, - "y": 266 + "y": 216 }, "width": 53, "height": 66, @@ -253,11 +253,11 @@ "id": "n3", "type": "rectangle", "pos": { - "x": 331, - "y": 51 + "x": 341, + "y": 20 }, - "width": 143, - "height": 321, + "width": 123, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -294,8 +294,8 @@ "id": "n3.a", "type": "rectangle", "pos": { - "x": 376, - "y": 88 + "x": 371, + "y": 50 }, "width": 53, "height": 66, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 371, - "y": 274 + "y": 216 }, "width": 53, "height": 66, @@ -376,11 +376,11 @@ "id": "n4", "type": "rectangle", "pos": { - "x": 494, - "y": 56 + "x": 514, + "y": 20 }, - "width": 148, - "height": 321, + "width": 128, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -417,8 +417,8 @@ "id": "n4.a", "type": "rectangle", "pos": { - "x": 542, - "y": 93 + "x": 544, + "y": 50 }, "width": 53, "height": 66, @@ -458,8 +458,8 @@ "id": "n4.b", "type": "rectangle", "pos": { - "x": 534, - "y": 281 + "x": 544, + "y": 216 }, "width": 53, "height": 66, @@ -499,11 +499,11 @@ "id": "n5", "type": "rectangle", "pos": { - "x": 662, - "y": 51 + "x": 687, + "y": 20 }, - "width": 133, - "height": 321, + "width": 113, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -540,8 +540,8 @@ "id": "n5.a", "type": "rectangle", "pos": { - "x": 702, - "y": 88 + "x": 717, + "y": 50 }, "width": 53, "height": 66, @@ -581,8 +581,8 @@ "id": "n5.b", "type": "rectangle", "pos": { - "x": 702, - "y": 269 + "x": 717, + "y": 216 }, "width": 53, "height": 66, @@ -622,11 +622,11 @@ "id": "n6", "type": "rectangle", "pos": { - "x": 815, - "y": 56 + "x": 845, + "y": 20 }, - "width": 133, - "height": 321, + "width": 113, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -663,8 +663,8 @@ "id": "n6.a", "type": "rectangle", "pos": { - "x": 855, - "y": 93 + "x": 875, + "y": 50 }, "width": 53, "height": 66, @@ -704,8 +704,8 @@ "id": "n6.b", "type": "rectangle", "pos": { - "x": 855, - "y": 274 + "x": 875, + "y": 216 }, "width": 53, "height": 66, @@ -745,11 +745,11 @@ "id": "n7", "type": "rectangle", "pos": { - "x": 968, - "y": 51 + "x": 1008, + "y": 10 }, - "width": 143, - "height": 321, + "width": 123, + "height": 302, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -786,8 +786,8 @@ "id": "n7.a", "type": "rectangle", "pos": { - "x": 1008, - "y": 93 + "x": 1038, + "y": 50 }, "width": 53, "height": 66, @@ -827,8 +827,8 @@ "id": "n7.b", "type": "rectangle", "pos": { - "x": 1013, - "y": 269 + "x": 1038, + "y": 216 }, "width": 53, "height": 66, @@ -868,11 +868,11 @@ "id": "n8", "type": "rectangle", "pos": { - "x": 1131, - "y": 56 + "x": 1171, + "y": 5 }, - "width": 148, - "height": 321, + "width": 128, + "height": 307, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -909,8 +909,8 @@ "id": "n8.a", "type": "rectangle", "pos": { - "x": 1171, - "y": 100 + "x": 1201, + "y": 50 }, "width": 53, "height": 66, @@ -950,8 +950,8 @@ "id": "n8.b", "type": "rectangle", "pos": { - "x": 1179, - "y": 274 + "x": 1201, + "y": 216 }, "width": 53, "height": 66, @@ -991,11 +991,11 @@ "id": "n9", "type": "rectangle", "pos": { - "x": 1299, - "y": 51 + "x": 1354, + "y": 10 }, - "width": 143, - "height": 321, + "width": 123, + "height": 302, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1032,8 +1032,8 @@ "id": "n9.a", "type": "rectangle", "pos": { - "x": 1339, - "y": 93 + "x": 1384, + "y": 50 }, "width": 53, "height": 66, @@ -1073,8 +1073,8 @@ "id": "n9.b", "type": "rectangle", "pos": { - "x": 1339, - "y": 274 + "x": 1384, + "y": 216 }, "width": 53, "height": 66, @@ -1114,11 +1114,11 @@ "id": "n10", "type": "rectangle", "pos": { - "x": 1462, - "y": 56 + "x": 1527, + "y": 5 }, - "width": 148, - "height": 321, + "width": 128, + "height": 307, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1155,8 +1155,8 @@ "id": "n10.a", "type": "rectangle", "pos": { - "x": 1502, - "y": 100 + "x": 1557, + "y": 50 }, "width": 53, "height": 66, @@ -1196,8 +1196,8 @@ "id": "n10.b", "type": "rectangle", "pos": { - "x": 1502, - "y": 281 + "x": 1557, + "y": 216 }, "width": 53, "height": 66, @@ -1260,20 +1260,20 @@ "labelPercentage": 0, "route": [ { - "x": 71.5, - "y": 145 + "x": 66.5, + "y": 116 }, { - "x": 71.5, - "y": 190.1999969482422 + "x": 66.5, + "y": 156 }, { - "x": 71.5, - "y": 212 + "x": 66.5, + "y": 174 }, { - "x": 71.5, - "y": 254 + "x": 66.5, + "y": 206 } ], "isCurve": true, @@ -1307,20 +1307,20 @@ "labelPercentage": 0, "route": [ { - "x": 237, - "y": 145 + "x": 229.5, + "y": 116 }, { - "x": 237, - "y": 190.1999969482422 + "x": 229.5, + "y": 156 }, { - "x": 237, - "y": 211.5 + "x": 229.5, + "y": 173 }, { - "x": 237, - "y": 251.5 + "x": 229.5, + "y": 201 } ], "isCurve": true, @@ -1354,20 +1354,20 @@ "labelPercentage": 0, "route": [ { - "x": 402.5, - "y": 155 + "x": 397.5, + "y": 116 }, { - "x": 402.5, - "y": 200.1999969482422 + "x": 397.5, + "y": 156 }, { - "x": 402.5, - "y": 222 + "x": 397.5, + "y": 174 }, { - "x": 402.5, - "y": 264 + "x": 397.5, + "y": 206 } ], "isCurve": true, @@ -1401,20 +1401,20 @@ "labelPercentage": 0, "route": [ { - "x": 568, - "y": 160 + "x": 570.5, + "y": 116 }, { - "x": 568, - "y": 205.1999969482422 + "x": 570.5, + "y": 156 }, { - "x": 568, - "y": 226.5 + "x": 570.5, + "y": 173 }, { - "x": 568, - "y": 266.5 + "x": 570.5, + "y": 201 } ], "isCurve": true, @@ -1448,20 +1448,20 @@ "labelPercentage": 0, "route": [ { - "x": 728.5, - "y": 155 + "x": 743.5, + "y": 116 }, { - "x": 728.5, - "y": 200.1999969482422 + "x": 743.5, + "y": 156 }, { - "x": 728.5, - "y": 223 + "x": 743.5, + "y": 176 }, { - "x": 728.5, - "y": 269 + "x": 743.5, + "y": 216 } ], "isCurve": true, @@ -1495,20 +1495,20 @@ "labelPercentage": 0, "route": [ { - "x": 881.5, - "y": 160 + "x": 901.5, + "y": 116 }, { - "x": 881.5, - "y": 205.1999969482422 + "x": 901.5, + "y": 156 }, { - "x": 881.5, - "y": 228 + "x": 901.5, + "y": 176 }, { - "x": 881.5, - "y": 274 + "x": 901.5, + "y": 216 } ], "isCurve": true, @@ -1542,20 +1542,20 @@ "labelPercentage": 0, "route": [ { - "x": 1039.5, - "y": 160 + "x": 1064.5, + "y": 116 }, { - "x": 1039.5, - "y": 201.1999969482422 + "x": 1064.5, + "y": 156 }, { - "x": 1039.5, - "y": 223 + "x": 1064.5, + "y": 176 }, { - "x": 1039.5, - "y": 269 + "x": 1064.5, + "y": 216 } ], "isCurve": true, @@ -1589,20 +1589,20 @@ "labelPercentage": 0, "route": [ { - "x": 1205, - "y": 166.5 + "x": 1227.5, + "y": 116 }, { - "x": 1205, - "y": 206.5 + "x": 1227.5, + "y": 156 }, { - "x": 1205, - "y": 228 + "x": 1227.5, + "y": 176 }, { - "x": 1205, - "y": 274 + "x": 1227.5, + "y": 216 } ], "isCurve": true, @@ -1636,20 +1636,20 @@ "labelPercentage": 0, "route": [ { - "x": 1370.5, - "y": 160 + "x": 1410.5, + "y": 116 }, { - "x": 1370.5, - "y": 201.1999969482422 + "x": 1410.5, + "y": 156 }, { - "x": 1370.5, - "y": 222 + "x": 1410.5, + "y": 174 }, { - "x": 1370.5, - "y": 264 + "x": 1410.5, + "y": 206 } ], "isCurve": true, @@ -1683,20 +1683,20 @@ "labelPercentage": 0, "route": [ { - "x": 1536, - "y": 166.5 + "x": 1583.5, + "y": 116 }, { - "x": 1536, - "y": 206.5 + "x": 1583.5, + "y": 156 }, { - "x": 1536, - "y": 226.5 + "x": 1583.5, + "y": 173 }, { - "x": 1536, - "y": 266.5 + "x": 1583.5, + "y": 201 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/multiple_offset/dagre/sketch.exp.svg b/e2etests/testdata/stable/multiple_offset/dagre/sketch.exp.svg index 3eb8f462a..f6e4cca90 100644 --- a/e2etests/testdata/stable/multiple_offset/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_offset/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -n1n2n3 - -n4n5 - -n6n7 - -n8n9 - -n10aba - -baba - -bababab - -abab - -a - -b - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-4084110625 .fill-N1{fill:#0A0F25;} + .d2-4084110625 .fill-N2{fill:#676C7E;} + .d2-4084110625 .fill-N3{fill:#9499AB;} + .d2-4084110625 .fill-N4{fill:#CFD2DD;} + .d2-4084110625 .fill-N5{fill:#DEE1EB;} + .d2-4084110625 .fill-N6{fill:#EEF1F8;} + .d2-4084110625 .fill-N7{fill:#FFFFFF;} + .d2-4084110625 .fill-B1{fill:#0D32B2;} + .d2-4084110625 .fill-B2{fill:#0D32B2;} + .d2-4084110625 .fill-B3{fill:#E3E9FD;} + .d2-4084110625 .fill-B4{fill:#E3E9FD;} + .d2-4084110625 .fill-B5{fill:#EDF0FD;} + .d2-4084110625 .fill-B6{fill:#F7F8FE;} + .d2-4084110625 .fill-AA2{fill:#4A6FF3;} + .d2-4084110625 .fill-AA4{fill:#EDF0FD;} + .d2-4084110625 .fill-AA5{fill:#F7F8FE;} + .d2-4084110625 .fill-AB4{fill:#EDF0FD;} + .d2-4084110625 .fill-AB5{fill:#F7F8FE;} + .d2-4084110625 .stroke-N1{stroke:#0A0F25;} + .d2-4084110625 .stroke-N2{stroke:#676C7E;} + .d2-4084110625 .stroke-N3{stroke:#9499AB;} + .d2-4084110625 .stroke-N4{stroke:#CFD2DD;} + .d2-4084110625 .stroke-N5{stroke:#DEE1EB;} + .d2-4084110625 .stroke-N6{stroke:#EEF1F8;} + .d2-4084110625 .stroke-N7{stroke:#FFFFFF;} + .d2-4084110625 .stroke-B1{stroke:#0D32B2;} + .d2-4084110625 .stroke-B2{stroke:#0D32B2;} + .d2-4084110625 .stroke-B3{stroke:#E3E9FD;} + .d2-4084110625 .stroke-B4{stroke:#E3E9FD;} + .d2-4084110625 .stroke-B5{stroke:#EDF0FD;} + .d2-4084110625 .stroke-B6{stroke:#F7F8FE;} + .d2-4084110625 .stroke-AA2{stroke:#4A6FF3;} + .d2-4084110625 .stroke-AA4{stroke:#EDF0FD;} + .d2-4084110625 .stroke-AA5{stroke:#F7F8FE;} + .d2-4084110625 .stroke-AB4{stroke:#EDF0FD;} + .d2-4084110625 .stroke-AB5{stroke:#F7F8FE;} + .d2-4084110625 .background-color-N1{background-color:#0A0F25;} + .d2-4084110625 .background-color-N2{background-color:#676C7E;} + .d2-4084110625 .background-color-N3{background-color:#9499AB;} + .d2-4084110625 .background-color-N4{background-color:#CFD2DD;} + .d2-4084110625 .background-color-N5{background-color:#DEE1EB;} + .d2-4084110625 .background-color-N6{background-color:#EEF1F8;} + .d2-4084110625 .background-color-N7{background-color:#FFFFFF;} + .d2-4084110625 .background-color-B1{background-color:#0D32B2;} + .d2-4084110625 .background-color-B2{background-color:#0D32B2;} + .d2-4084110625 .background-color-B3{background-color:#E3E9FD;} + .d2-4084110625 .background-color-B4{background-color:#E3E9FD;} + .d2-4084110625 .background-color-B5{background-color:#EDF0FD;} + .d2-4084110625 .background-color-B6{background-color:#F7F8FE;} + .d2-4084110625 .background-color-AA2{background-color:#4A6FF3;} + .d2-4084110625 .background-color-AA4{background-color:#EDF0FD;} + .d2-4084110625 .background-color-AA5{background-color:#F7F8FE;} + .d2-4084110625 .background-color-AB4{background-color:#EDF0FD;} + .d2-4084110625 .background-color-AB5{background-color:#F7F8FE;} + .d2-4084110625 .color-N1{color:#0A0F25;} + .d2-4084110625 .color-N2{color:#676C7E;} + .d2-4084110625 .color-N3{color:#9499AB;} + .d2-4084110625 .color-N4{color:#CFD2DD;} + .d2-4084110625 .color-N5{color:#DEE1EB;} + .d2-4084110625 .color-N6{color:#EEF1F8;} + .d2-4084110625 .color-N7{color:#FFFFFF;} + .d2-4084110625 .color-B1{color:#0D32B2;} + .d2-4084110625 .color-B2{color:#0D32B2;} + .d2-4084110625 .color-B3{color:#E3E9FD;} + .d2-4084110625 .color-B4{color:#E3E9FD;} + .d2-4084110625 .color-B5{color:#EDF0FD;} + .d2-4084110625 .color-B6{color:#F7F8FE;} + .d2-4084110625 .color-AA2{color:#4A6FF3;} + .d2-4084110625 .color-AA4{color:#EDF0FD;} + .d2-4084110625 .color-AA5{color:#F7F8FE;} + .d2-4084110625 .color-AB4{color:#EDF0FD;} + .d2-4084110625 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>n1n2n3 + +n4n5 + +n6n7 + +n8n9 + +n10aba + +baba + +bababab + +abab + +a + +b + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/multiple_offset/elk/sketch.exp.svg b/e2etests/testdata/stable/multiple_offset/elk/sketch.exp.svg index 71db4f5be..156b603ed 100644 --- a/e2etests/testdata/stable/multiple_offset/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_offset/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -n1n2n3 + .d2-2199715291 .fill-N1{fill:#0A0F25;} + .d2-2199715291 .fill-N2{fill:#676C7E;} + .d2-2199715291 .fill-N3{fill:#9499AB;} + .d2-2199715291 .fill-N4{fill:#CFD2DD;} + .d2-2199715291 .fill-N5{fill:#DEE1EB;} + .d2-2199715291 .fill-N6{fill:#EEF1F8;} + .d2-2199715291 .fill-N7{fill:#FFFFFF;} + .d2-2199715291 .fill-B1{fill:#0D32B2;} + .d2-2199715291 .fill-B2{fill:#0D32B2;} + .d2-2199715291 .fill-B3{fill:#E3E9FD;} + .d2-2199715291 .fill-B4{fill:#E3E9FD;} + .d2-2199715291 .fill-B5{fill:#EDF0FD;} + .d2-2199715291 .fill-B6{fill:#F7F8FE;} + .d2-2199715291 .fill-AA2{fill:#4A6FF3;} + .d2-2199715291 .fill-AA4{fill:#EDF0FD;} + .d2-2199715291 .fill-AA5{fill:#F7F8FE;} + .d2-2199715291 .fill-AB4{fill:#EDF0FD;} + .d2-2199715291 .fill-AB5{fill:#F7F8FE;} + .d2-2199715291 .stroke-N1{stroke:#0A0F25;} + .d2-2199715291 .stroke-N2{stroke:#676C7E;} + .d2-2199715291 .stroke-N3{stroke:#9499AB;} + .d2-2199715291 .stroke-N4{stroke:#CFD2DD;} + .d2-2199715291 .stroke-N5{stroke:#DEE1EB;} + .d2-2199715291 .stroke-N6{stroke:#EEF1F8;} + .d2-2199715291 .stroke-N7{stroke:#FFFFFF;} + .d2-2199715291 .stroke-B1{stroke:#0D32B2;} + .d2-2199715291 .stroke-B2{stroke:#0D32B2;} + .d2-2199715291 .stroke-B3{stroke:#E3E9FD;} + .d2-2199715291 .stroke-B4{stroke:#E3E9FD;} + .d2-2199715291 .stroke-B5{stroke:#EDF0FD;} + .d2-2199715291 .stroke-B6{stroke:#F7F8FE;} + .d2-2199715291 .stroke-AA2{stroke:#4A6FF3;} + .d2-2199715291 .stroke-AA4{stroke:#EDF0FD;} + .d2-2199715291 .stroke-AA5{stroke:#F7F8FE;} + .d2-2199715291 .stroke-AB4{stroke:#EDF0FD;} + .d2-2199715291 .stroke-AB5{stroke:#F7F8FE;} + .d2-2199715291 .background-color-N1{background-color:#0A0F25;} + .d2-2199715291 .background-color-N2{background-color:#676C7E;} + .d2-2199715291 .background-color-N3{background-color:#9499AB;} + .d2-2199715291 .background-color-N4{background-color:#CFD2DD;} + .d2-2199715291 .background-color-N5{background-color:#DEE1EB;} + .d2-2199715291 .background-color-N6{background-color:#EEF1F8;} + .d2-2199715291 .background-color-N7{background-color:#FFFFFF;} + .d2-2199715291 .background-color-B1{background-color:#0D32B2;} + .d2-2199715291 .background-color-B2{background-color:#0D32B2;} + .d2-2199715291 .background-color-B3{background-color:#E3E9FD;} + .d2-2199715291 .background-color-B4{background-color:#E3E9FD;} + .d2-2199715291 .background-color-B5{background-color:#EDF0FD;} + .d2-2199715291 .background-color-B6{background-color:#F7F8FE;} + .d2-2199715291 .background-color-AA2{background-color:#4A6FF3;} + .d2-2199715291 .background-color-AA4{background-color:#EDF0FD;} + .d2-2199715291 .background-color-AA5{background-color:#F7F8FE;} + .d2-2199715291 .background-color-AB4{background-color:#EDF0FD;} + .d2-2199715291 .background-color-AB5{background-color:#F7F8FE;} + .d2-2199715291 .color-N1{color:#0A0F25;} + .d2-2199715291 .color-N2{color:#676C7E;} + .d2-2199715291 .color-N3{color:#9499AB;} + .d2-2199715291 .color-N4{color:#CFD2DD;} + .d2-2199715291 .color-N5{color:#DEE1EB;} + .d2-2199715291 .color-N6{color:#EEF1F8;} + .d2-2199715291 .color-N7{color:#FFFFFF;} + .d2-2199715291 .color-B1{color:#0D32B2;} + .d2-2199715291 .color-B2{color:#0D32B2;} + .d2-2199715291 .color-B3{color:#E3E9FD;} + .d2-2199715291 .color-B4{color:#E3E9FD;} + .d2-2199715291 .color-B5{color:#EDF0FD;} + .d2-2199715291 .color-B6{color:#F7F8FE;} + .d2-2199715291 .color-AA2{color:#4A6FF3;} + .d2-2199715291 .color-AA4{color:#EDF0FD;} + .d2-2199715291 .color-AA5{color:#F7F8FE;} + .d2-2199715291 .color-AB4{color:#EDF0FD;} + .d2-2199715291 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>n1n2n3 n4n5 @@ -114,7 +114,7 @@ a -b +b diff --git a/e2etests/testdata/stable/multiple_offset_left/dagre/board.exp.json b/e2etests/testdata/stable/multiple_offset_left/dagre/board.exp.json index a0bfacf2b..3d6c59d59 100644 --- a/e2etests/testdata/stable/multiple_offset_left/dagre/board.exp.json +++ b/e2etests/testdata/stable/multiple_offset_left/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "n1", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 20, + "y": 56 }, - "width": 336, - "height": 95, + "width": 266, + "height": 136, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,8 +48,8 @@ "id": "n1.a", "type": "rectangle", "pos": { - "x": 226, - "y": 55 + "x": 203, + "y": 96 }, "width": 53, "height": 66, @@ -89,8 +89,8 @@ "id": "n1.b", "type": "rectangle", "pos": { - "x": 53, - "y": 60 + "x": 50, + "y": 96 }, "width": 53, "height": 66, @@ -130,11 +130,11 @@ "id": "n2", "type": "rectangle", "pos": { - "x": 0, - "y": 217 + "x": 20, + "y": 278 }, - "width": 336, - "height": 100, + "width": 266, + "height": 141, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -171,8 +171,8 @@ "id": "n2.a", "type": "rectangle", "pos": { - "x": 226, - "y": 234 + "x": 203, + "y": 323 }, "width": 53, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 50, - "y": 241 + "y": 323 }, "width": 53, "height": 66, @@ -253,11 +253,11 @@ "id": "n3", "type": "rectangle", "pos": { - "x": 0, - "y": 408 + "x": 20, + "y": 515 }, - "width": 336, - "height": 95, + "width": 266, + "height": 136, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -294,8 +294,8 @@ "id": "n3.a", "type": "rectangle", "pos": { - "x": 226, - "y": 422 + "x": 203, + "y": 555 }, "width": 53, "height": 66, @@ -335,8 +335,8 @@ "id": "n3.b", "type": "rectangle", "pos": { - "x": 53, - "y": 427 + "x": 50, + "y": 555 }, "width": 53, "height": 66, @@ -376,11 +376,11 @@ "id": "n4", "type": "rectangle", "pos": { - "x": 0, - "y": 589 + "x": 20, + "y": 752 }, - "width": 336, - "height": 100, + "width": 266, + "height": 141, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -417,8 +417,8 @@ "id": "n4.a", "type": "rectangle", "pos": { - "x": 226, - "y": 606 + "x": 203, + "y": 797 }, "width": 53, "height": 66, @@ -459,7 +459,7 @@ "type": "rectangle", "pos": { "x": 50, - "y": 613 + "y": 797 }, "width": 53, "height": 66, @@ -499,11 +499,11 @@ "id": "n5", "type": "rectangle", "pos": { - "x": 0, - "y": 765 + "x": 20, + "y": 989 }, - "width": 336, - "height": 85, + "width": 266, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -540,8 +540,8 @@ "id": "n5.a", "type": "rectangle", "pos": { - "x": 226, - "y": 774 + "x": 203, + "y": 1019 }, "width": 53, "height": 66, @@ -581,8 +581,8 @@ "id": "n5.b", "type": "rectangle", "pos": { - "x": 58, - "y": 774 + "x": 50, + "y": 1019 }, "width": 53, "height": 66, @@ -622,11 +622,11 @@ "id": "n6", "type": "rectangle", "pos": { - "x": 0, - "y": 936 + "x": 20, + "y": 1216 }, - "width": 336, - "height": 85, + "width": 266, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -663,8 +663,8 @@ "id": "n6.a", "type": "rectangle", "pos": { - "x": 226, - "y": 945 + "x": 203, + "y": 1246 }, "width": 53, "height": 66, @@ -704,8 +704,8 @@ "id": "n6.b", "type": "rectangle", "pos": { - "x": 58, - "y": 945 + "x": 50, + "y": 1246 }, "width": 53, "height": 66, @@ -745,11 +745,11 @@ "id": "n7", "type": "rectangle", "pos": { - "x": 0, - "y": 1097 + "x": 20, + "y": 1438 }, - "width": 336, - "height": 95, + "width": 276, + "height": 136, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -786,8 +786,8 @@ "id": "n7.a", "type": "rectangle", "pos": { - "x": 221, - "y": 1116 + "x": 203, + "y": 1478 }, "width": 53, "height": 66, @@ -827,8 +827,8 @@ "id": "n7.b", "type": "rectangle", "pos": { - "x": 58, - "y": 1111 + "x": 50, + "y": 1478 }, "width": 53, "height": 66, @@ -868,11 +868,11 @@ "id": "n8", "type": "rectangle", "pos": { - "x": 0, - "y": 1278 + "x": 20, + "y": 1675 }, - "width": 336, - "height": 100, + "width": 281, + "height": 141, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -909,8 +909,8 @@ "id": "n8.a", "type": "rectangle", "pos": { - "x": 218, - "y": 1302 + "x": 203, + "y": 1720 }, "width": 53, "height": 66, @@ -950,8 +950,8 @@ "id": "n8.b", "type": "rectangle", "pos": { - "x": 58, - "y": 1295 + "x": 50, + "y": 1720 }, "width": 53, "height": 66, @@ -991,11 +991,11 @@ "id": "n9", "type": "rectangle", "pos": { - "x": 0, - "y": 1454 + "x": 20, + "y": 1922 }, - "width": 336, - "height": 95, + "width": 276, + "height": 136, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1032,8 +1032,8 @@ "id": "n9.a", "type": "rectangle", "pos": { - "x": 221, - "y": 1473 + "x": 203, + "y": 1962 }, "width": 53, "height": 66, @@ -1073,8 +1073,8 @@ "id": "n9.b", "type": "rectangle", "pos": { - "x": 53, - "y": 1473 + "x": 50, + "y": 1962 }, "width": 53, "height": 66, @@ -1114,11 +1114,11 @@ "id": "n10", "type": "rectangle", "pos": { - "x": 0, - "y": 1635 + "x": 20, + "y": 2174 }, - "width": 336, - "height": 100, + "width": 281, + "height": 141, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1155,8 +1155,8 @@ "id": "n10.a", "type": "rectangle", "pos": { - "x": 218, - "y": 1659 + "x": 203, + "y": 2219 }, "width": 53, "height": 66, @@ -1197,7 +1197,7 @@ "type": "rectangle", "pos": { "x": 50, - "y": 1659 + "y": 2219 }, "width": 53, "height": 66, @@ -1260,20 +1260,20 @@ "labelPercentage": 0, "route": [ { - "x": 225.5, - "y": 88.5 + "x": 203, + "y": 129 }, { - "x": 179.5, - "y": 88.5 + "x": 163, + "y": 129 }, { - "x": 157.60000610351562, - "y": 88.5 + "x": 145, + "y": 129 }, { - "x": 116, - "y": 88.5 + "x": 113, + "y": 129 } ], "isCurve": true, @@ -1307,20 +1307,20 @@ "labelPercentage": 0, "route": [ { - "x": 225.5, - "y": 267 + "x": 203, + "y": 356 }, { - "x": 179.5, - "y": 267 + "x": 163, + "y": 356 }, { - "x": 158, - "y": 267 + "x": 146, + "y": 356 }, { "x": 118, - "y": 267 + "y": 356 } ], "isCurve": true, @@ -1354,20 +1354,20 @@ "labelPercentage": 0, "route": [ { - "x": 225.5, - "y": 455.5 + "x": 203, + "y": 588 }, { - "x": 179.5, - "y": 455.5 + "x": 163, + "y": 588 }, { - "x": 157.60000610351562, - "y": 455.5 + "x": 145, + "y": 588 }, { - "x": 116, - "y": 455.5 + "x": 113, + "y": 588 } ], "isCurve": true, @@ -1401,20 +1401,20 @@ "labelPercentage": 0, "route": [ { - "x": 225.5, - "y": 639 + "x": 203, + "y": 830 }, { - "x": 179.5, - "y": 639 + "x": 163, + "y": 830 }, { - "x": 158, - "y": 639 + "x": 146, + "y": 830 }, { "x": 118, - "y": 639 + "y": 830 } ], "isCurve": true, @@ -1448,20 +1448,20 @@ "labelPercentage": 0, "route": [ { - "x": 225.5, - "y": 807.5 + "x": 203, + "y": 1052 }, { - "x": 179.5, - "y": 807.5 + "x": 163, + "y": 1052 }, { - "x": 156.60000610351562, - "y": 807.5 + "x": 143, + "y": 1052 }, { - "x": 111, - "y": 807.5 + "x": 103, + "y": 1052 } ], "isCurve": true, @@ -1495,20 +1495,20 @@ "labelPercentage": 0, "route": [ { - "x": 225.5, - "y": 978.5 + "x": 203, + "y": 1279 }, { - "x": 179.5, - "y": 978.5 + "x": 163, + "y": 1279 }, { - "x": 156.60000610351562, - "y": 978.5 + "x": 143, + "y": 1279 }, { - "x": 111, - "y": 978.5 + "x": 103, + "y": 1279 } ], "isCurve": true, @@ -1542,20 +1542,20 @@ "labelPercentage": 0, "route": [ { - "x": 220.5, - "y": 1144.5 + "x": 203, + "y": 1511 }, { - "x": 178.5, - "y": 1144.5 + "x": 163, + "y": 1511 }, { - "x": 156.60000610351562, - "y": 1144.5 + "x": 143, + "y": 1511 }, { - "x": 111, - "y": 1144.5 + "x": 103, + "y": 1511 } ], "isCurve": true, @@ -1589,20 +1589,20 @@ "labelPercentage": 0, "route": [ { - "x": 218, - "y": 1328 + "x": 203, + "y": 1753 }, { - "x": 178, - "y": 1328 + "x": 163, + "y": 1753 }, { - "x": 156.60000610351562, - "y": 1328 + "x": 143, + "y": 1753 }, { - "x": 111, - "y": 1328 + "x": 103, + "y": 1753 } ], "isCurve": true, @@ -1636,20 +1636,20 @@ "labelPercentage": 0, "route": [ { - "x": 220.5, - "y": 1501.5 + "x": 203, + "y": 1995 }, { - "x": 178.5, - "y": 1501.5 + "x": 163, + "y": 1995 }, { - "x": 157.60000610351562, - "y": 1501.5 + "x": 145, + "y": 1995 }, { - "x": 116, - "y": 1501.5 + "x": 113, + "y": 1995 } ], "isCurve": true, @@ -1683,20 +1683,20 @@ "labelPercentage": 0, "route": [ { - "x": 218, - "y": 1685 + "x": 203, + "y": 2252 }, { - "x": 178, - "y": 1685 + "x": 163, + "y": 2252 }, { - "x": 158, - "y": 1685 + "x": 146, + "y": 2252 }, { "x": 118, - "y": 1685 + "y": 2252 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/multiple_offset_left/dagre/sketch.exp.svg b/e2etests/testdata/stable/multiple_offset_left/dagre/sketch.exp.svg index 2e00fe0c9..7138209cf 100644 --- a/e2etests/testdata/stable/multiple_offset_left/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_offset_left/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -n1n2n3 - -n4n5 - -n6n7 - -n8n9 - -n10aba - -baba - -bababab - -abab - -a - -b - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .d2-3651601834 .fill-N1{fill:#0A0F25;} + .d2-3651601834 .fill-N2{fill:#676C7E;} + .d2-3651601834 .fill-N3{fill:#9499AB;} + .d2-3651601834 .fill-N4{fill:#CFD2DD;} + .d2-3651601834 .fill-N5{fill:#DEE1EB;} + .d2-3651601834 .fill-N6{fill:#EEF1F8;} + .d2-3651601834 .fill-N7{fill:#FFFFFF;} + .d2-3651601834 .fill-B1{fill:#0D32B2;} + .d2-3651601834 .fill-B2{fill:#0D32B2;} + .d2-3651601834 .fill-B3{fill:#E3E9FD;} + .d2-3651601834 .fill-B4{fill:#E3E9FD;} + .d2-3651601834 .fill-B5{fill:#EDF0FD;} + .d2-3651601834 .fill-B6{fill:#F7F8FE;} + .d2-3651601834 .fill-AA2{fill:#4A6FF3;} + .d2-3651601834 .fill-AA4{fill:#EDF0FD;} + .d2-3651601834 .fill-AA5{fill:#F7F8FE;} + .d2-3651601834 .fill-AB4{fill:#EDF0FD;} + .d2-3651601834 .fill-AB5{fill:#F7F8FE;} + .d2-3651601834 .stroke-N1{stroke:#0A0F25;} + .d2-3651601834 .stroke-N2{stroke:#676C7E;} + .d2-3651601834 .stroke-N3{stroke:#9499AB;} + .d2-3651601834 .stroke-N4{stroke:#CFD2DD;} + .d2-3651601834 .stroke-N5{stroke:#DEE1EB;} + .d2-3651601834 .stroke-N6{stroke:#EEF1F8;} + .d2-3651601834 .stroke-N7{stroke:#FFFFFF;} + .d2-3651601834 .stroke-B1{stroke:#0D32B2;} + .d2-3651601834 .stroke-B2{stroke:#0D32B2;} + .d2-3651601834 .stroke-B3{stroke:#E3E9FD;} + .d2-3651601834 .stroke-B4{stroke:#E3E9FD;} + .d2-3651601834 .stroke-B5{stroke:#EDF0FD;} + .d2-3651601834 .stroke-B6{stroke:#F7F8FE;} + .d2-3651601834 .stroke-AA2{stroke:#4A6FF3;} + .d2-3651601834 .stroke-AA4{stroke:#EDF0FD;} + .d2-3651601834 .stroke-AA5{stroke:#F7F8FE;} + .d2-3651601834 .stroke-AB4{stroke:#EDF0FD;} + .d2-3651601834 .stroke-AB5{stroke:#F7F8FE;} + .d2-3651601834 .background-color-N1{background-color:#0A0F25;} + .d2-3651601834 .background-color-N2{background-color:#676C7E;} + .d2-3651601834 .background-color-N3{background-color:#9499AB;} + .d2-3651601834 .background-color-N4{background-color:#CFD2DD;} + .d2-3651601834 .background-color-N5{background-color:#DEE1EB;} + .d2-3651601834 .background-color-N6{background-color:#EEF1F8;} + .d2-3651601834 .background-color-N7{background-color:#FFFFFF;} + .d2-3651601834 .background-color-B1{background-color:#0D32B2;} + .d2-3651601834 .background-color-B2{background-color:#0D32B2;} + .d2-3651601834 .background-color-B3{background-color:#E3E9FD;} + .d2-3651601834 .background-color-B4{background-color:#E3E9FD;} + .d2-3651601834 .background-color-B5{background-color:#EDF0FD;} + .d2-3651601834 .background-color-B6{background-color:#F7F8FE;} + .d2-3651601834 .background-color-AA2{background-color:#4A6FF3;} + .d2-3651601834 .background-color-AA4{background-color:#EDF0FD;} + .d2-3651601834 .background-color-AA5{background-color:#F7F8FE;} + .d2-3651601834 .background-color-AB4{background-color:#EDF0FD;} + .d2-3651601834 .background-color-AB5{background-color:#F7F8FE;} + .d2-3651601834 .color-N1{color:#0A0F25;} + .d2-3651601834 .color-N2{color:#676C7E;} + .d2-3651601834 .color-N3{color:#9499AB;} + .d2-3651601834 .color-N4{color:#CFD2DD;} + .d2-3651601834 .color-N5{color:#DEE1EB;} + .d2-3651601834 .color-N6{color:#EEF1F8;} + .d2-3651601834 .color-N7{color:#FFFFFF;} + .d2-3651601834 .color-B1{color:#0D32B2;} + .d2-3651601834 .color-B2{color:#0D32B2;} + .d2-3651601834 .color-B3{color:#E3E9FD;} + .d2-3651601834 .color-B4{color:#E3E9FD;} + .d2-3651601834 .color-B5{color:#EDF0FD;} + .d2-3651601834 .color-B6{color:#F7F8FE;} + .d2-3651601834 .color-AA2{color:#4A6FF3;} + .d2-3651601834 .color-AA4{color:#EDF0FD;} + .d2-3651601834 .color-AA5{color:#F7F8FE;} + .d2-3651601834 .color-AB4{color:#EDF0FD;} + .d2-3651601834 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>n1n2n3 + +n4n5 + +n6n7 + +n8n9 + +n10aba + +baba + +bababab + +abab + +a + +b + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/multiple_offset_left/elk/sketch.exp.svg b/e2etests/testdata/stable/multiple_offset_left/elk/sketch.exp.svg index 8e39f774e..c437719a3 100644 --- a/e2etests/testdata/stable/multiple_offset_left/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_offset_left/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -n1n2n3 + .d2-4159279222 .fill-N1{fill:#0A0F25;} + .d2-4159279222 .fill-N2{fill:#676C7E;} + .d2-4159279222 .fill-N3{fill:#9499AB;} + .d2-4159279222 .fill-N4{fill:#CFD2DD;} + .d2-4159279222 .fill-N5{fill:#DEE1EB;} + .d2-4159279222 .fill-N6{fill:#EEF1F8;} + .d2-4159279222 .fill-N7{fill:#FFFFFF;} + .d2-4159279222 .fill-B1{fill:#0D32B2;} + .d2-4159279222 .fill-B2{fill:#0D32B2;} + .d2-4159279222 .fill-B3{fill:#E3E9FD;} + .d2-4159279222 .fill-B4{fill:#E3E9FD;} + .d2-4159279222 .fill-B5{fill:#EDF0FD;} + .d2-4159279222 .fill-B6{fill:#F7F8FE;} + .d2-4159279222 .fill-AA2{fill:#4A6FF3;} + .d2-4159279222 .fill-AA4{fill:#EDF0FD;} + .d2-4159279222 .fill-AA5{fill:#F7F8FE;} + .d2-4159279222 .fill-AB4{fill:#EDF0FD;} + .d2-4159279222 .fill-AB5{fill:#F7F8FE;} + .d2-4159279222 .stroke-N1{stroke:#0A0F25;} + .d2-4159279222 .stroke-N2{stroke:#676C7E;} + .d2-4159279222 .stroke-N3{stroke:#9499AB;} + .d2-4159279222 .stroke-N4{stroke:#CFD2DD;} + .d2-4159279222 .stroke-N5{stroke:#DEE1EB;} + .d2-4159279222 .stroke-N6{stroke:#EEF1F8;} + .d2-4159279222 .stroke-N7{stroke:#FFFFFF;} + .d2-4159279222 .stroke-B1{stroke:#0D32B2;} + .d2-4159279222 .stroke-B2{stroke:#0D32B2;} + .d2-4159279222 .stroke-B3{stroke:#E3E9FD;} + .d2-4159279222 .stroke-B4{stroke:#E3E9FD;} + .d2-4159279222 .stroke-B5{stroke:#EDF0FD;} + .d2-4159279222 .stroke-B6{stroke:#F7F8FE;} + .d2-4159279222 .stroke-AA2{stroke:#4A6FF3;} + .d2-4159279222 .stroke-AA4{stroke:#EDF0FD;} + .d2-4159279222 .stroke-AA5{stroke:#F7F8FE;} + .d2-4159279222 .stroke-AB4{stroke:#EDF0FD;} + .d2-4159279222 .stroke-AB5{stroke:#F7F8FE;} + .d2-4159279222 .background-color-N1{background-color:#0A0F25;} + .d2-4159279222 .background-color-N2{background-color:#676C7E;} + .d2-4159279222 .background-color-N3{background-color:#9499AB;} + .d2-4159279222 .background-color-N4{background-color:#CFD2DD;} + .d2-4159279222 .background-color-N5{background-color:#DEE1EB;} + .d2-4159279222 .background-color-N6{background-color:#EEF1F8;} + .d2-4159279222 .background-color-N7{background-color:#FFFFFF;} + .d2-4159279222 .background-color-B1{background-color:#0D32B2;} + .d2-4159279222 .background-color-B2{background-color:#0D32B2;} + .d2-4159279222 .background-color-B3{background-color:#E3E9FD;} + .d2-4159279222 .background-color-B4{background-color:#E3E9FD;} + .d2-4159279222 .background-color-B5{background-color:#EDF0FD;} + .d2-4159279222 .background-color-B6{background-color:#F7F8FE;} + .d2-4159279222 .background-color-AA2{background-color:#4A6FF3;} + .d2-4159279222 .background-color-AA4{background-color:#EDF0FD;} + .d2-4159279222 .background-color-AA5{background-color:#F7F8FE;} + .d2-4159279222 .background-color-AB4{background-color:#EDF0FD;} + .d2-4159279222 .background-color-AB5{background-color:#F7F8FE;} + .d2-4159279222 .color-N1{color:#0A0F25;} + .d2-4159279222 .color-N2{color:#676C7E;} + .d2-4159279222 .color-N3{color:#9499AB;} + .d2-4159279222 .color-N4{color:#CFD2DD;} + .d2-4159279222 .color-N5{color:#DEE1EB;} + .d2-4159279222 .color-N6{color:#EEF1F8;} + .d2-4159279222 .color-N7{color:#FFFFFF;} + .d2-4159279222 .color-B1{color:#0D32B2;} + .d2-4159279222 .color-B2{color:#0D32B2;} + .d2-4159279222 .color-B3{color:#E3E9FD;} + .d2-4159279222 .color-B4{color:#E3E9FD;} + .d2-4159279222 .color-B5{color:#EDF0FD;} + .d2-4159279222 .color-B6{color:#F7F8FE;} + .d2-4159279222 .color-AA2{color:#4A6FF3;} + .d2-4159279222 .color-AA4{color:#EDF0FD;} + .d2-4159279222 .color-AA5{color:#F7F8FE;} + .d2-4159279222 .color-AB4{color:#EDF0FD;} + .d2-4159279222 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>n1n2n3 n4n5 @@ -114,7 +114,7 @@ a -b +b diff --git a/e2etests/testdata/stable/multiple_person_label/dagre/board.exp.json b/e2etests/testdata/stable/multiple_person_label/dagre/board.exp.json new file mode 100644 index 000000000..35fb68f2f --- /dev/null +++ b/e2etests/testdata/stable/multiple_person_label/dagre/board.exp.json @@ -0,0 +1,89 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "?", + "type": "person", + "pos": { + "x": 0, + "y": 0 + }, + "width": 44, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B3", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": true, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "あ", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 19, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/multiple_person_label/dagre/sketch.exp.svg b/e2etests/testdata/stable/multiple_person_label/dagre/sketch.exp.svg new file mode 100644 index 000000000..fa5259889 --- /dev/null +++ b/e2etests/testdata/stable/multiple_person_label/dagre/sketch.exp.svg @@ -0,0 +1,95 @@ + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/multiple_person_label/elk/board.exp.json b/e2etests/testdata/stable/multiple_person_label/elk/board.exp.json new file mode 100644 index 000000000..6e11b66cb --- /dev/null +++ b/e2etests/testdata/stable/multiple_person_label/elk/board.exp.json @@ -0,0 +1,89 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "?", + "type": "person", + "pos": { + "x": 12, + "y": 22 + }, + "width": 44, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B3", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": true, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "あ", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 19, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/multiple_person_label/elk/sketch.exp.svg b/e2etests/testdata/stable/multiple_person_label/elk/sketch.exp.svg new file mode 100644 index 000000000..a2ddc524c --- /dev/null +++ b/e2etests/testdata/stable/multiple_person_label/elk/sketch.exp.svg @@ -0,0 +1,95 @@ + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/multiple_trees/dagre/board.exp.json b/e2etests/testdata/stable/multiple_trees/dagre/board.exp.json index d24969232..2140eaba0 100644 --- a/e2etests/testdata/stable/multiple_trees/dagre/board.exp.json +++ b/e2etests/testdata/stable/multiple_trees/dagre/board.exp.json @@ -973,12 +973,12 @@ "labelPercentage": 0, "route": [ { - "x": 515, - "y": 369.09698486328125 + "x": 514.75, + "y": 369 }, { - "x": 106.79900360107422, - "y": 432.218994140625 + "x": 106.75, + "y": 432.20001220703125 }, { "x": 14.350000381469727, @@ -1020,12 +1020,12 @@ "labelPercentage": 0, "route": [ { - "x": 515, - "y": 371.4540100097656 + "x": 514.75, + "y": 371 }, { - "x": 263.6000061035156, - "y": 432.69000244140625 + "x": 263.54901123046875, + "y": 432.6000061035156 }, { "x": 200.75, @@ -1067,12 +1067,12 @@ "labelPercentage": 0, "route": [ { - "x": 515, - "y": 384.4639892578125 + "x": 515.5, + "y": 384 }, { - "x": 445.79998779296875, - "y": 435.2919921875 + "x": 445.8999938964844, + "y": 435.20001220703125 }, { "x": 428.5, @@ -1115,11 +1115,11 @@ "route": [ { "x": 568, - "y": 384.37799072265625 + "y": 384 }, { "x": 637.5999755859375, - "y": 435.2749938964844 + "y": 435.20001220703125 }, { "x": 655, @@ -1161,12 +1161,12 @@ "labelPercentage": 0, "route": [ { - "x": 568, - "y": 371.5260009765625 + "x": 567.5, + "y": 372 }, { - "x": 816.4000244140625, - "y": 432.7049865722656 + "x": 816.2999877929688, + "y": 432.79998779296875 }, { "x": 878.5, @@ -1255,20 +1255,20 @@ "labelPercentage": 0, "route": [ { - "x": 568, - "y": 370.4570007324219 + "x": 567.5, + "y": 370 }, { - "x": 869.2000122070312, - "y": 432.4909973144531 + "x": 869.0999755859375, + "y": 432.3999938964844 }, { "x": 954.7000122070312, - "y": 458.79998779296875 + "y": 458.6000061035156 }, { "x": 995.5, - "y": 502 + "y": 501 } ], "isCurve": true, @@ -1302,11 +1302,11 @@ "labelPercentage": 0, "route": [ { - "x": 24.599000930786133, + "x": 24.75, "y": 398 }, { - "x": 24.7189998626709, + "x": 24.75, "y": 438 }, { @@ -1349,11 +1349,11 @@ "labelPercentage": 0, "route": [ { - "x": 134.0989990234375, + "x": 134.25, "y": 398 }, { - "x": 134.218994140625, + "x": 134.25, "y": 438 }, { @@ -1490,11 +1490,11 @@ "labelPercentage": 0, "route": [ { - "x": 177.88800048828125, + "x": 178.25, "y": 564 }, { - "x": 150.177001953125, + "x": 150.25, "y": 604 }, { @@ -1537,11 +1537,11 @@ "labelPercentage": 0, "route": [ { - "x": 223.61099243164062, + "x": 223.25, "y": 564 }, { - "x": 251.32200622558594, + "x": 251.25, "y": 604 }, { @@ -1584,11 +1584,11 @@ "labelPercentage": 0, "route": [ { - "x": 405.9360046386719, + "x": 405.75, "y": 564 }, { - "x": 378.5870056152344, + "x": 378.54998779296875, "y": 604 }, { @@ -1631,11 +1631,11 @@ "labelPercentage": 0, "route": [ { - "x": 451.06298828125, + "x": 451.25, "y": 564 }, { - "x": 478.4119873046875, + "x": 478.45001220703125, "y": 604 }, { @@ -1678,11 +1678,11 @@ "labelPercentage": 0, "route": [ { - "x": 632.635009765625, + "x": 632.75, "y": 564 }, { - "x": 605.5269775390625, + "x": 605.5499877929688, "y": 604 }, { @@ -1725,11 +1725,11 @@ "labelPercentage": 0, "route": [ { - "x": 677.364013671875, + "x": 677.25, "y": 564 }, { - "x": 704.4719848632812, + "x": 704.4500122070312, "y": 604 }, { @@ -1819,11 +1819,11 @@ "labelPercentage": 0, "route": [ { - "x": 856.135009765625, + "x": 856.25, "y": 564 }, { - "x": 829.0269775390625, + "x": 829.0499877929688, "y": 604 }, { @@ -1866,11 +1866,11 @@ "labelPercentage": 0, "route": [ { - "x": 900.864013671875, + "x": 900.75, "y": 564 }, { - "x": 927.9719848632812, + "x": 927.9500122070312, "y": 604 }, { diff --git a/e2etests/testdata/stable/multiple_trees/dagre/sketch.exp.svg b/e2etests/testdata/stable/multiple_trees/dagre/sketch.exp.svg index ff6f0b82f..2649fd642 100644 --- a/e2etests/testdata/stable/multiple_trees/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_trees/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmnopqrstuvw + .d2-2062740197 .fill-N1{fill:#0A0F25;} + .d2-2062740197 .fill-N2{fill:#676C7E;} + .d2-2062740197 .fill-N3{fill:#9499AB;} + .d2-2062740197 .fill-N4{fill:#CFD2DD;} + .d2-2062740197 .fill-N5{fill:#DEE1EB;} + .d2-2062740197 .fill-N6{fill:#EEF1F8;} + .d2-2062740197 .fill-N7{fill:#FFFFFF;} + .d2-2062740197 .fill-B1{fill:#0D32B2;} + .d2-2062740197 .fill-B2{fill:#0D32B2;} + .d2-2062740197 .fill-B3{fill:#E3E9FD;} + .d2-2062740197 .fill-B4{fill:#E3E9FD;} + .d2-2062740197 .fill-B5{fill:#EDF0FD;} + .d2-2062740197 .fill-B6{fill:#F7F8FE;} + .d2-2062740197 .fill-AA2{fill:#4A6FF3;} + .d2-2062740197 .fill-AA4{fill:#EDF0FD;} + .d2-2062740197 .fill-AA5{fill:#F7F8FE;} + .d2-2062740197 .fill-AB4{fill:#EDF0FD;} + .d2-2062740197 .fill-AB5{fill:#F7F8FE;} + .d2-2062740197 .stroke-N1{stroke:#0A0F25;} + .d2-2062740197 .stroke-N2{stroke:#676C7E;} + .d2-2062740197 .stroke-N3{stroke:#9499AB;} + .d2-2062740197 .stroke-N4{stroke:#CFD2DD;} + .d2-2062740197 .stroke-N5{stroke:#DEE1EB;} + .d2-2062740197 .stroke-N6{stroke:#EEF1F8;} + .d2-2062740197 .stroke-N7{stroke:#FFFFFF;} + .d2-2062740197 .stroke-B1{stroke:#0D32B2;} + .d2-2062740197 .stroke-B2{stroke:#0D32B2;} + .d2-2062740197 .stroke-B3{stroke:#E3E9FD;} + .d2-2062740197 .stroke-B4{stroke:#E3E9FD;} + .d2-2062740197 .stroke-B5{stroke:#EDF0FD;} + .d2-2062740197 .stroke-B6{stroke:#F7F8FE;} + .d2-2062740197 .stroke-AA2{stroke:#4A6FF3;} + .d2-2062740197 .stroke-AA4{stroke:#EDF0FD;} + .d2-2062740197 .stroke-AA5{stroke:#F7F8FE;} + .d2-2062740197 .stroke-AB4{stroke:#EDF0FD;} + .d2-2062740197 .stroke-AB5{stroke:#F7F8FE;} + .d2-2062740197 .background-color-N1{background-color:#0A0F25;} + .d2-2062740197 .background-color-N2{background-color:#676C7E;} + .d2-2062740197 .background-color-N3{background-color:#9499AB;} + .d2-2062740197 .background-color-N4{background-color:#CFD2DD;} + .d2-2062740197 .background-color-N5{background-color:#DEE1EB;} + .d2-2062740197 .background-color-N6{background-color:#EEF1F8;} + .d2-2062740197 .background-color-N7{background-color:#FFFFFF;} + .d2-2062740197 .background-color-B1{background-color:#0D32B2;} + .d2-2062740197 .background-color-B2{background-color:#0D32B2;} + .d2-2062740197 .background-color-B3{background-color:#E3E9FD;} + .d2-2062740197 .background-color-B4{background-color:#E3E9FD;} + .d2-2062740197 .background-color-B5{background-color:#EDF0FD;} + .d2-2062740197 .background-color-B6{background-color:#F7F8FE;} + .d2-2062740197 .background-color-AA2{background-color:#4A6FF3;} + .d2-2062740197 .background-color-AA4{background-color:#EDF0FD;} + .d2-2062740197 .background-color-AA5{background-color:#F7F8FE;} + .d2-2062740197 .background-color-AB4{background-color:#EDF0FD;} + .d2-2062740197 .background-color-AB5{background-color:#F7F8FE;} + .d2-2062740197 .color-N1{color:#0A0F25;} + .d2-2062740197 .color-N2{color:#676C7E;} + .d2-2062740197 .color-N3{color:#9499AB;} + .d2-2062740197 .color-N4{color:#CFD2DD;} + .d2-2062740197 .color-N5{color:#DEE1EB;} + .d2-2062740197 .color-N6{color:#EEF1F8;} + .d2-2062740197 .color-N7{color:#FFFFFF;} + .d2-2062740197 .color-B1{color:#0D32B2;} + .d2-2062740197 .color-B2{color:#0D32B2;} + .d2-2062740197 .color-B3{color:#E3E9FD;} + .d2-2062740197 .color-B4{color:#E3E9FD;} + .d2-2062740197 .color-B5{color:#EDF0FD;} + .d2-2062740197 .color-B6{color:#F7F8FE;} + .d2-2062740197 .color-AA2{color:#4A6FF3;} + .d2-2062740197 .color-AA4{color:#EDF0FD;} + .d2-2062740197 .color-AA5{color:#F7F8FE;} + .d2-2062740197 .color-AB4{color:#EDF0FD;} + .d2-2062740197 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmnopqrstuvw diff --git a/e2etests/testdata/stable/multiple_trees/elk/sketch.exp.svg b/e2etests/testdata/stable/multiple_trees/elk/sketch.exp.svg index 14b157375..81abca198 100644 --- a/e2etests/testdata/stable/multiple_trees/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/multiple_trees/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmnopqrstuvw + .d2-183457136 .fill-N1{fill:#0A0F25;} + .d2-183457136 .fill-N2{fill:#676C7E;} + .d2-183457136 .fill-N3{fill:#9499AB;} + .d2-183457136 .fill-N4{fill:#CFD2DD;} + .d2-183457136 .fill-N5{fill:#DEE1EB;} + .d2-183457136 .fill-N6{fill:#EEF1F8;} + .d2-183457136 .fill-N7{fill:#FFFFFF;} + .d2-183457136 .fill-B1{fill:#0D32B2;} + .d2-183457136 .fill-B2{fill:#0D32B2;} + .d2-183457136 .fill-B3{fill:#E3E9FD;} + .d2-183457136 .fill-B4{fill:#E3E9FD;} + .d2-183457136 .fill-B5{fill:#EDF0FD;} + .d2-183457136 .fill-B6{fill:#F7F8FE;} + .d2-183457136 .fill-AA2{fill:#4A6FF3;} + .d2-183457136 .fill-AA4{fill:#EDF0FD;} + .d2-183457136 .fill-AA5{fill:#F7F8FE;} + .d2-183457136 .fill-AB4{fill:#EDF0FD;} + .d2-183457136 .fill-AB5{fill:#F7F8FE;} + .d2-183457136 .stroke-N1{stroke:#0A0F25;} + .d2-183457136 .stroke-N2{stroke:#676C7E;} + .d2-183457136 .stroke-N3{stroke:#9499AB;} + .d2-183457136 .stroke-N4{stroke:#CFD2DD;} + .d2-183457136 .stroke-N5{stroke:#DEE1EB;} + .d2-183457136 .stroke-N6{stroke:#EEF1F8;} + .d2-183457136 .stroke-N7{stroke:#FFFFFF;} + .d2-183457136 .stroke-B1{stroke:#0D32B2;} + .d2-183457136 .stroke-B2{stroke:#0D32B2;} + .d2-183457136 .stroke-B3{stroke:#E3E9FD;} + .d2-183457136 .stroke-B4{stroke:#E3E9FD;} + .d2-183457136 .stroke-B5{stroke:#EDF0FD;} + .d2-183457136 .stroke-B6{stroke:#F7F8FE;} + .d2-183457136 .stroke-AA2{stroke:#4A6FF3;} + .d2-183457136 .stroke-AA4{stroke:#EDF0FD;} + .d2-183457136 .stroke-AA5{stroke:#F7F8FE;} + .d2-183457136 .stroke-AB4{stroke:#EDF0FD;} + .d2-183457136 .stroke-AB5{stroke:#F7F8FE;} + .d2-183457136 .background-color-N1{background-color:#0A0F25;} + .d2-183457136 .background-color-N2{background-color:#676C7E;} + .d2-183457136 .background-color-N3{background-color:#9499AB;} + .d2-183457136 .background-color-N4{background-color:#CFD2DD;} + .d2-183457136 .background-color-N5{background-color:#DEE1EB;} + .d2-183457136 .background-color-N6{background-color:#EEF1F8;} + .d2-183457136 .background-color-N7{background-color:#FFFFFF;} + .d2-183457136 .background-color-B1{background-color:#0D32B2;} + .d2-183457136 .background-color-B2{background-color:#0D32B2;} + .d2-183457136 .background-color-B3{background-color:#E3E9FD;} + .d2-183457136 .background-color-B4{background-color:#E3E9FD;} + .d2-183457136 .background-color-B5{background-color:#EDF0FD;} + .d2-183457136 .background-color-B6{background-color:#F7F8FE;} + .d2-183457136 .background-color-AA2{background-color:#4A6FF3;} + .d2-183457136 .background-color-AA4{background-color:#EDF0FD;} + .d2-183457136 .background-color-AA5{background-color:#F7F8FE;} + .d2-183457136 .background-color-AB4{background-color:#EDF0FD;} + .d2-183457136 .background-color-AB5{background-color:#F7F8FE;} + .d2-183457136 .color-N1{color:#0A0F25;} + .d2-183457136 .color-N2{color:#676C7E;} + .d2-183457136 .color-N3{color:#9499AB;} + .d2-183457136 .color-N4{color:#CFD2DD;} + .d2-183457136 .color-N5{color:#DEE1EB;} + .d2-183457136 .color-N6{color:#EEF1F8;} + .d2-183457136 .color-N7{color:#FFFFFF;} + .d2-183457136 .color-B1{color:#0D32B2;} + .d2-183457136 .color-B2{color:#0D32B2;} + .d2-183457136 .color-B3{color:#E3E9FD;} + .d2-183457136 .color-B4{color:#E3E9FD;} + .d2-183457136 .color-B5{color:#EDF0FD;} + .d2-183457136 .color-B6{color:#F7F8FE;} + .d2-183457136 .color-AA2{color:#4A6FF3;} + .d2-183457136 .color-AA4{color:#EDF0FD;} + .d2-183457136 .color-AA5{color:#F7F8FE;} + .d2-183457136 .color-AB4{color:#EDF0FD;} + .d2-183457136 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmnopqrstuvw diff --git a/e2etests/testdata/stable/n22_e32/dagre/board.exp.json b/e2etests/testdata/stable/n22_e32/dagre/board.exp.json index f0d1e96f5..82cc56b50 100644 --- a/e2etests/testdata/stable/n22_e32/dagre/board.exp.json +++ b/e2etests/testdata/stable/n22_e32/dagre/board.exp.json @@ -1163,11 +1163,11 @@ "labelPercentage": 0, "route": [ { - "x": 139.68600463867188, + "x": 139.5, "y": 730 }, { - "x": 112.33699798583984, + "x": 112.30000305175781, "y": 770 }, { @@ -1412,11 +1412,11 @@ "route": [ { "x": 186, - "y": 51.67499923706055 + "y": 52 }, { "x": 260.39898681640625, - "y": 103.13500213623047 + "y": 103.19999694824219 }, { "x": 279, @@ -1470,12 +1470,12 @@ "labelPercentage": 0, "route": [ { - "x": 132, - "y": 53.32600021362305 + "x": 131.75, + "y": 53 }, { - "x": 65.39900207519531, - "y": 103.46499633789062 + "x": 65.3489990234375, + "y": 103.4000015258789 }, { "x": 48.75, @@ -1847,11 +1847,11 @@ "labelPercentage": 0, "route": [ { - "x": 603.5479736328125, + "x": 603.5, "y": 730 }, { - "x": 633.9089965820312, + "x": 633.9000244140625, "y": 770 }, { @@ -1894,11 +1894,11 @@ "labelPercentage": 0, "route": [ { - "x": 590.7249755859375, + "x": 590.25, "y": 730 }, { - "x": 605.5449829101562, + "x": 605.4500122070312, "y": 770 }, { @@ -1941,11 +1941,11 @@ "labelPercentage": 0, "route": [ { - "x": 573.927001953125, + "x": 574, "y": 730 }, { - "x": 568.385009765625, + "x": 568.4000244140625, "y": 770 }, { @@ -2024,11 +2024,11 @@ "labelPercentage": 0, "route": [ { - "x": 556.6320190429688, + "x": 556.5, "y": 730 }, { - "x": 530.1259765625, + "x": 530.0999755859375, "y": 770 }, { @@ -2166,11 +2166,11 @@ "route": [ { "x": 552, - "y": 712.1160278320312 + "y": 712 }, { "x": 456.79998779296875, - "y": 766.4229736328125 + "y": 766.4000244140625 }, { "x": 433, @@ -2224,11 +2224,11 @@ "labelPercentage": 0, "route": [ { - "x": 551.6920166015625, + "x": 551.5, "y": 66 }, { - "x": 573.1380004882812, + "x": 573.0999755859375, "y": 106 }, { @@ -2331,12 +2331,12 @@ "labelPercentage": 0, "route": [ { - "x": 507, - "y": 50.138999938964844 + "x": 507.25, + "y": 50 }, { - "x": 424, - "y": 102.8270034790039 + "x": 424.04998779296875, + "y": 102.80000305175781 }, { "x": 403.25, @@ -2425,11 +2425,11 @@ "labelPercentage": 0, "route": [ { - "x": 424.6199951171875, + "x": 425, "y": 398 }, { - "x": 450.52398681640625, + "x": 450.6000061035156, "y": 438 }, { @@ -2472,11 +2472,11 @@ "labelPercentage": 0, "route": [ { - "x": 380.48699951171875, + "x": 380, "y": 564 }, { - "x": 352.8970031738281, + "x": 352.79998779296875, "y": 604 }, { @@ -2519,12 +2519,12 @@ "labelPercentage": 0, "route": [ { - "x": 373, - "y": 714.1719970703125 + "x": 372.5, + "y": 714 }, { - "x": 455.79998779296875, - "y": 766.833984375 + "x": 455.70001220703125, + "y": 766.7999877929688 }, { "x": 479.29998779296875, @@ -2566,11 +2566,11 @@ "labelPercentage": 0, "route": [ { - "x": 407.1260070800781, + "x": 407, "y": 564 }, { - "x": 411.82501220703125, + "x": 411.79998779296875, "y": 604 }, { @@ -2649,11 +2649,11 @@ "labelPercentage": 0, "route": [ { - "x": 296.2950134277344, + "x": 296.5, "y": 398 }, { - "x": 317.2590026855469, + "x": 317.29998779296875, "y": 438 }, { @@ -2696,12 +2696,12 @@ "labelPercentage": 0, "route": [ { - "x": 377.25, - "y": 378.13800048828125 + "x": 377, + "y": 378 }, { - "x": 266.6499938964844, - "y": 434.0270080566406 + "x": 266.6000061035156, + "y": 434 }, { "x": 239, @@ -2779,12 +2779,12 @@ "labelPercentage": 0, "route": [ { - "x": 319, - "y": 712.9500122070312 + "x": 319.5, + "y": 713 }, { - "x": 228.1999969482422, - "y": 766.5900268554688 + "x": 228.3000030517578, + "y": 766.5999755859375 }, { "x": 211.89999389648438, diff --git a/e2etests/testdata/stable/n22_e32/dagre/sketch.exp.svg b/e2etests/testdata/stable/n22_e32/dagre/sketch.exp.svg index 691347821..a2573e00f 100644 --- a/e2etests/testdata/stable/n22_e32/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/n22_e32/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmnopqrstu + .d2-2756959702 .fill-N1{fill:#0A0F25;} + .d2-2756959702 .fill-N2{fill:#676C7E;} + .d2-2756959702 .fill-N3{fill:#9499AB;} + .d2-2756959702 .fill-N4{fill:#CFD2DD;} + .d2-2756959702 .fill-N5{fill:#DEE1EB;} + .d2-2756959702 .fill-N6{fill:#EEF1F8;} + .d2-2756959702 .fill-N7{fill:#FFFFFF;} + .d2-2756959702 .fill-B1{fill:#0D32B2;} + .d2-2756959702 .fill-B2{fill:#0D32B2;} + .d2-2756959702 .fill-B3{fill:#E3E9FD;} + .d2-2756959702 .fill-B4{fill:#E3E9FD;} + .d2-2756959702 .fill-B5{fill:#EDF0FD;} + .d2-2756959702 .fill-B6{fill:#F7F8FE;} + .d2-2756959702 .fill-AA2{fill:#4A6FF3;} + .d2-2756959702 .fill-AA4{fill:#EDF0FD;} + .d2-2756959702 .fill-AA5{fill:#F7F8FE;} + .d2-2756959702 .fill-AB4{fill:#EDF0FD;} + .d2-2756959702 .fill-AB5{fill:#F7F8FE;} + .d2-2756959702 .stroke-N1{stroke:#0A0F25;} + .d2-2756959702 .stroke-N2{stroke:#676C7E;} + .d2-2756959702 .stroke-N3{stroke:#9499AB;} + .d2-2756959702 .stroke-N4{stroke:#CFD2DD;} + .d2-2756959702 .stroke-N5{stroke:#DEE1EB;} + .d2-2756959702 .stroke-N6{stroke:#EEF1F8;} + .d2-2756959702 .stroke-N7{stroke:#FFFFFF;} + .d2-2756959702 .stroke-B1{stroke:#0D32B2;} + .d2-2756959702 .stroke-B2{stroke:#0D32B2;} + .d2-2756959702 .stroke-B3{stroke:#E3E9FD;} + .d2-2756959702 .stroke-B4{stroke:#E3E9FD;} + .d2-2756959702 .stroke-B5{stroke:#EDF0FD;} + .d2-2756959702 .stroke-B6{stroke:#F7F8FE;} + .d2-2756959702 .stroke-AA2{stroke:#4A6FF3;} + .d2-2756959702 .stroke-AA4{stroke:#EDF0FD;} + .d2-2756959702 .stroke-AA5{stroke:#F7F8FE;} + .d2-2756959702 .stroke-AB4{stroke:#EDF0FD;} + .d2-2756959702 .stroke-AB5{stroke:#F7F8FE;} + .d2-2756959702 .background-color-N1{background-color:#0A0F25;} + .d2-2756959702 .background-color-N2{background-color:#676C7E;} + .d2-2756959702 .background-color-N3{background-color:#9499AB;} + .d2-2756959702 .background-color-N4{background-color:#CFD2DD;} + .d2-2756959702 .background-color-N5{background-color:#DEE1EB;} + .d2-2756959702 .background-color-N6{background-color:#EEF1F8;} + .d2-2756959702 .background-color-N7{background-color:#FFFFFF;} + .d2-2756959702 .background-color-B1{background-color:#0D32B2;} + .d2-2756959702 .background-color-B2{background-color:#0D32B2;} + .d2-2756959702 .background-color-B3{background-color:#E3E9FD;} + .d2-2756959702 .background-color-B4{background-color:#E3E9FD;} + .d2-2756959702 .background-color-B5{background-color:#EDF0FD;} + .d2-2756959702 .background-color-B6{background-color:#F7F8FE;} + .d2-2756959702 .background-color-AA2{background-color:#4A6FF3;} + .d2-2756959702 .background-color-AA4{background-color:#EDF0FD;} + .d2-2756959702 .background-color-AA5{background-color:#F7F8FE;} + .d2-2756959702 .background-color-AB4{background-color:#EDF0FD;} + .d2-2756959702 .background-color-AB5{background-color:#F7F8FE;} + .d2-2756959702 .color-N1{color:#0A0F25;} + .d2-2756959702 .color-N2{color:#676C7E;} + .d2-2756959702 .color-N3{color:#9499AB;} + .d2-2756959702 .color-N4{color:#CFD2DD;} + .d2-2756959702 .color-N5{color:#DEE1EB;} + .d2-2756959702 .color-N6{color:#EEF1F8;} + .d2-2756959702 .color-N7{color:#FFFFFF;} + .d2-2756959702 .color-B1{color:#0D32B2;} + .d2-2756959702 .color-B2{color:#0D32B2;} + .d2-2756959702 .color-B3{color:#E3E9FD;} + .d2-2756959702 .color-B4{color:#E3E9FD;} + .d2-2756959702 .color-B5{color:#EDF0FD;} + .d2-2756959702 .color-B6{color:#F7F8FE;} + .d2-2756959702 .color-AA2{color:#4A6FF3;} + .d2-2756959702 .color-AA4{color:#EDF0FD;} + .d2-2756959702 .color-AA5{color:#F7F8FE;} + .d2-2756959702 .color-AB4{color:#EDF0FD;} + .d2-2756959702 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmnopqrstu diff --git a/e2etests/testdata/stable/n22_e32/elk/sketch.exp.svg b/e2etests/testdata/stable/n22_e32/elk/sketch.exp.svg index e417fabf9..47a7200ff 100644 --- a/e2etests/testdata/stable/n22_e32/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/n22_e32/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abcdefghijklmnopqrstu + .d2-502227939 .fill-N1{fill:#0A0F25;} + .d2-502227939 .fill-N2{fill:#676C7E;} + .d2-502227939 .fill-N3{fill:#9499AB;} + .d2-502227939 .fill-N4{fill:#CFD2DD;} + .d2-502227939 .fill-N5{fill:#DEE1EB;} + .d2-502227939 .fill-N6{fill:#EEF1F8;} + .d2-502227939 .fill-N7{fill:#FFFFFF;} + .d2-502227939 .fill-B1{fill:#0D32B2;} + .d2-502227939 .fill-B2{fill:#0D32B2;} + .d2-502227939 .fill-B3{fill:#E3E9FD;} + .d2-502227939 .fill-B4{fill:#E3E9FD;} + .d2-502227939 .fill-B5{fill:#EDF0FD;} + .d2-502227939 .fill-B6{fill:#F7F8FE;} + .d2-502227939 .fill-AA2{fill:#4A6FF3;} + .d2-502227939 .fill-AA4{fill:#EDF0FD;} + .d2-502227939 .fill-AA5{fill:#F7F8FE;} + .d2-502227939 .fill-AB4{fill:#EDF0FD;} + .d2-502227939 .fill-AB5{fill:#F7F8FE;} + .d2-502227939 .stroke-N1{stroke:#0A0F25;} + .d2-502227939 .stroke-N2{stroke:#676C7E;} + .d2-502227939 .stroke-N3{stroke:#9499AB;} + .d2-502227939 .stroke-N4{stroke:#CFD2DD;} + .d2-502227939 .stroke-N5{stroke:#DEE1EB;} + .d2-502227939 .stroke-N6{stroke:#EEF1F8;} + .d2-502227939 .stroke-N7{stroke:#FFFFFF;} + .d2-502227939 .stroke-B1{stroke:#0D32B2;} + .d2-502227939 .stroke-B2{stroke:#0D32B2;} + .d2-502227939 .stroke-B3{stroke:#E3E9FD;} + .d2-502227939 .stroke-B4{stroke:#E3E9FD;} + .d2-502227939 .stroke-B5{stroke:#EDF0FD;} + .d2-502227939 .stroke-B6{stroke:#F7F8FE;} + .d2-502227939 .stroke-AA2{stroke:#4A6FF3;} + .d2-502227939 .stroke-AA4{stroke:#EDF0FD;} + .d2-502227939 .stroke-AA5{stroke:#F7F8FE;} + .d2-502227939 .stroke-AB4{stroke:#EDF0FD;} + .d2-502227939 .stroke-AB5{stroke:#F7F8FE;} + .d2-502227939 .background-color-N1{background-color:#0A0F25;} + .d2-502227939 .background-color-N2{background-color:#676C7E;} + .d2-502227939 .background-color-N3{background-color:#9499AB;} + .d2-502227939 .background-color-N4{background-color:#CFD2DD;} + .d2-502227939 .background-color-N5{background-color:#DEE1EB;} + .d2-502227939 .background-color-N6{background-color:#EEF1F8;} + .d2-502227939 .background-color-N7{background-color:#FFFFFF;} + .d2-502227939 .background-color-B1{background-color:#0D32B2;} + .d2-502227939 .background-color-B2{background-color:#0D32B2;} + .d2-502227939 .background-color-B3{background-color:#E3E9FD;} + .d2-502227939 .background-color-B4{background-color:#E3E9FD;} + .d2-502227939 .background-color-B5{background-color:#EDF0FD;} + .d2-502227939 .background-color-B6{background-color:#F7F8FE;} + .d2-502227939 .background-color-AA2{background-color:#4A6FF3;} + .d2-502227939 .background-color-AA4{background-color:#EDF0FD;} + .d2-502227939 .background-color-AA5{background-color:#F7F8FE;} + .d2-502227939 .background-color-AB4{background-color:#EDF0FD;} + .d2-502227939 .background-color-AB5{background-color:#F7F8FE;} + .d2-502227939 .color-N1{color:#0A0F25;} + .d2-502227939 .color-N2{color:#676C7E;} + .d2-502227939 .color-N3{color:#9499AB;} + .d2-502227939 .color-N4{color:#CFD2DD;} + .d2-502227939 .color-N5{color:#DEE1EB;} + .d2-502227939 .color-N6{color:#EEF1F8;} + .d2-502227939 .color-N7{color:#FFFFFF;} + .d2-502227939 .color-B1{color:#0D32B2;} + .d2-502227939 .color-B2{color:#0D32B2;} + .d2-502227939 .color-B3{color:#E3E9FD;} + .d2-502227939 .color-B4{color:#E3E9FD;} + .d2-502227939 .color-B5{color:#EDF0FD;} + .d2-502227939 .color-B6{color:#F7F8FE;} + .d2-502227939 .color-AA2{color:#4A6FF3;} + .d2-502227939 .color-AA4{color:#EDF0FD;} + .d2-502227939 .color-AA5{color:#F7F8FE;} + .d2-502227939 .color-AB4{color:#EDF0FD;} + .d2-502227939 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdefghijklmnopqrstu diff --git a/e2etests/testdata/stable/near-alone/dagre/sketch.exp.svg b/e2etests/testdata/stable/near-alone/dagre/sketch.exp.svg index b5b0d4b18..aaa7666ee 100644 --- a/e2etests/testdata/stable/near-alone/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/near-alone/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -xyz + .d2-4054177818 .fill-N1{fill:#0A0F25;} + .d2-4054177818 .fill-N2{fill:#676C7E;} + .d2-4054177818 .fill-N3{fill:#9499AB;} + .d2-4054177818 .fill-N4{fill:#CFD2DD;} + .d2-4054177818 .fill-N5{fill:#DEE1EB;} + .d2-4054177818 .fill-N6{fill:#EEF1F8;} + .d2-4054177818 .fill-N7{fill:#FFFFFF;} + .d2-4054177818 .fill-B1{fill:#0D32B2;} + .d2-4054177818 .fill-B2{fill:#0D32B2;} + .d2-4054177818 .fill-B3{fill:#E3E9FD;} + .d2-4054177818 .fill-B4{fill:#E3E9FD;} + .d2-4054177818 .fill-B5{fill:#EDF0FD;} + .d2-4054177818 .fill-B6{fill:#F7F8FE;} + .d2-4054177818 .fill-AA2{fill:#4A6FF3;} + .d2-4054177818 .fill-AA4{fill:#EDF0FD;} + .d2-4054177818 .fill-AA5{fill:#F7F8FE;} + .d2-4054177818 .fill-AB4{fill:#EDF0FD;} + .d2-4054177818 .fill-AB5{fill:#F7F8FE;} + .d2-4054177818 .stroke-N1{stroke:#0A0F25;} + .d2-4054177818 .stroke-N2{stroke:#676C7E;} + .d2-4054177818 .stroke-N3{stroke:#9499AB;} + .d2-4054177818 .stroke-N4{stroke:#CFD2DD;} + .d2-4054177818 .stroke-N5{stroke:#DEE1EB;} + .d2-4054177818 .stroke-N6{stroke:#EEF1F8;} + .d2-4054177818 .stroke-N7{stroke:#FFFFFF;} + .d2-4054177818 .stroke-B1{stroke:#0D32B2;} + .d2-4054177818 .stroke-B2{stroke:#0D32B2;} + .d2-4054177818 .stroke-B3{stroke:#E3E9FD;} + .d2-4054177818 .stroke-B4{stroke:#E3E9FD;} + .d2-4054177818 .stroke-B5{stroke:#EDF0FD;} + .d2-4054177818 .stroke-B6{stroke:#F7F8FE;} + .d2-4054177818 .stroke-AA2{stroke:#4A6FF3;} + .d2-4054177818 .stroke-AA4{stroke:#EDF0FD;} + .d2-4054177818 .stroke-AA5{stroke:#F7F8FE;} + .d2-4054177818 .stroke-AB4{stroke:#EDF0FD;} + .d2-4054177818 .stroke-AB5{stroke:#F7F8FE;} + .d2-4054177818 .background-color-N1{background-color:#0A0F25;} + .d2-4054177818 .background-color-N2{background-color:#676C7E;} + .d2-4054177818 .background-color-N3{background-color:#9499AB;} + .d2-4054177818 .background-color-N4{background-color:#CFD2DD;} + .d2-4054177818 .background-color-N5{background-color:#DEE1EB;} + .d2-4054177818 .background-color-N6{background-color:#EEF1F8;} + .d2-4054177818 .background-color-N7{background-color:#FFFFFF;} + .d2-4054177818 .background-color-B1{background-color:#0D32B2;} + .d2-4054177818 .background-color-B2{background-color:#0D32B2;} + .d2-4054177818 .background-color-B3{background-color:#E3E9FD;} + .d2-4054177818 .background-color-B4{background-color:#E3E9FD;} + .d2-4054177818 .background-color-B5{background-color:#EDF0FD;} + .d2-4054177818 .background-color-B6{background-color:#F7F8FE;} + .d2-4054177818 .background-color-AA2{background-color:#4A6FF3;} + .d2-4054177818 .background-color-AA4{background-color:#EDF0FD;} + .d2-4054177818 .background-color-AA5{background-color:#F7F8FE;} + .d2-4054177818 .background-color-AB4{background-color:#EDF0FD;} + .d2-4054177818 .background-color-AB5{background-color:#F7F8FE;} + .d2-4054177818 .color-N1{color:#0A0F25;} + .d2-4054177818 .color-N2{color:#676C7E;} + .d2-4054177818 .color-N3{color:#9499AB;} + .d2-4054177818 .color-N4{color:#CFD2DD;} + .d2-4054177818 .color-N5{color:#DEE1EB;} + .d2-4054177818 .color-N6{color:#EEF1F8;} + .d2-4054177818 .color-N7{color:#FFFFFF;} + .d2-4054177818 .color-B1{color:#0D32B2;} + .d2-4054177818 .color-B2{color:#0D32B2;} + .d2-4054177818 .color-B3{color:#E3E9FD;} + .d2-4054177818 .color-B4{color:#E3E9FD;} + .d2-4054177818 .color-B5{color:#EDF0FD;} + .d2-4054177818 .color-B6{color:#F7F8FE;} + .d2-4054177818 .color-AA2{color:#4A6FF3;} + .d2-4054177818 .color-AA4{color:#EDF0FD;} + .d2-4054177818 .color-AA5{color:#F7F8FE;} + .d2-4054177818 .color-AB4{color:#EDF0FD;} + .d2-4054177818 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyz diff --git a/e2etests/testdata/stable/near-alone/elk/sketch.exp.svg b/e2etests/testdata/stable/near-alone/elk/sketch.exp.svg index b5b0d4b18..aaa7666ee 100644 --- a/e2etests/testdata/stable/near-alone/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/near-alone/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -xyz + .d2-4054177818 .fill-N1{fill:#0A0F25;} + .d2-4054177818 .fill-N2{fill:#676C7E;} + .d2-4054177818 .fill-N3{fill:#9499AB;} + .d2-4054177818 .fill-N4{fill:#CFD2DD;} + .d2-4054177818 .fill-N5{fill:#DEE1EB;} + .d2-4054177818 .fill-N6{fill:#EEF1F8;} + .d2-4054177818 .fill-N7{fill:#FFFFFF;} + .d2-4054177818 .fill-B1{fill:#0D32B2;} + .d2-4054177818 .fill-B2{fill:#0D32B2;} + .d2-4054177818 .fill-B3{fill:#E3E9FD;} + .d2-4054177818 .fill-B4{fill:#E3E9FD;} + .d2-4054177818 .fill-B5{fill:#EDF0FD;} + .d2-4054177818 .fill-B6{fill:#F7F8FE;} + .d2-4054177818 .fill-AA2{fill:#4A6FF3;} + .d2-4054177818 .fill-AA4{fill:#EDF0FD;} + .d2-4054177818 .fill-AA5{fill:#F7F8FE;} + .d2-4054177818 .fill-AB4{fill:#EDF0FD;} + .d2-4054177818 .fill-AB5{fill:#F7F8FE;} + .d2-4054177818 .stroke-N1{stroke:#0A0F25;} + .d2-4054177818 .stroke-N2{stroke:#676C7E;} + .d2-4054177818 .stroke-N3{stroke:#9499AB;} + .d2-4054177818 .stroke-N4{stroke:#CFD2DD;} + .d2-4054177818 .stroke-N5{stroke:#DEE1EB;} + .d2-4054177818 .stroke-N6{stroke:#EEF1F8;} + .d2-4054177818 .stroke-N7{stroke:#FFFFFF;} + .d2-4054177818 .stroke-B1{stroke:#0D32B2;} + .d2-4054177818 .stroke-B2{stroke:#0D32B2;} + .d2-4054177818 .stroke-B3{stroke:#E3E9FD;} + .d2-4054177818 .stroke-B4{stroke:#E3E9FD;} + .d2-4054177818 .stroke-B5{stroke:#EDF0FD;} + .d2-4054177818 .stroke-B6{stroke:#F7F8FE;} + .d2-4054177818 .stroke-AA2{stroke:#4A6FF3;} + .d2-4054177818 .stroke-AA4{stroke:#EDF0FD;} + .d2-4054177818 .stroke-AA5{stroke:#F7F8FE;} + .d2-4054177818 .stroke-AB4{stroke:#EDF0FD;} + .d2-4054177818 .stroke-AB5{stroke:#F7F8FE;} + .d2-4054177818 .background-color-N1{background-color:#0A0F25;} + .d2-4054177818 .background-color-N2{background-color:#676C7E;} + .d2-4054177818 .background-color-N3{background-color:#9499AB;} + .d2-4054177818 .background-color-N4{background-color:#CFD2DD;} + .d2-4054177818 .background-color-N5{background-color:#DEE1EB;} + .d2-4054177818 .background-color-N6{background-color:#EEF1F8;} + .d2-4054177818 .background-color-N7{background-color:#FFFFFF;} + .d2-4054177818 .background-color-B1{background-color:#0D32B2;} + .d2-4054177818 .background-color-B2{background-color:#0D32B2;} + .d2-4054177818 .background-color-B3{background-color:#E3E9FD;} + .d2-4054177818 .background-color-B4{background-color:#E3E9FD;} + .d2-4054177818 .background-color-B5{background-color:#EDF0FD;} + .d2-4054177818 .background-color-B6{background-color:#F7F8FE;} + .d2-4054177818 .background-color-AA2{background-color:#4A6FF3;} + .d2-4054177818 .background-color-AA4{background-color:#EDF0FD;} + .d2-4054177818 .background-color-AA5{background-color:#F7F8FE;} + .d2-4054177818 .background-color-AB4{background-color:#EDF0FD;} + .d2-4054177818 .background-color-AB5{background-color:#F7F8FE;} + .d2-4054177818 .color-N1{color:#0A0F25;} + .d2-4054177818 .color-N2{color:#676C7E;} + .d2-4054177818 .color-N3{color:#9499AB;} + .d2-4054177818 .color-N4{color:#CFD2DD;} + .d2-4054177818 .color-N5{color:#DEE1EB;} + .d2-4054177818 .color-N6{color:#EEF1F8;} + .d2-4054177818 .color-N7{color:#FFFFFF;} + .d2-4054177818 .color-B1{color:#0D32B2;} + .d2-4054177818 .color-B2{color:#0D32B2;} + .d2-4054177818 .color-B3{color:#E3E9FD;} + .d2-4054177818 .color-B4{color:#E3E9FD;} + .d2-4054177818 .color-B5{color:#EDF0FD;} + .d2-4054177818 .color-B6{color:#F7F8FE;} + .d2-4054177818 .color-AA2{color:#4A6FF3;} + .d2-4054177818 .color-AA4{color:#EDF0FD;} + .d2-4054177818 .color-AA5{color:#F7F8FE;} + .d2-4054177818 .color-AB4{color:#EDF0FD;} + .d2-4054177818 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyz diff --git a/e2etests/testdata/stable/near_keys_for_container#01/dagre/board.exp.json b/e2etests/testdata/stable/near_keys_for_container#01/dagre/board.exp.json index a7f22c5cc..0b3b174cd 100644 --- a/e2etests/testdata/stable/near_keys_for_container#01/dagre/board.exp.json +++ b/e2etests/testdata/stable/near_keys_for_container#01/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "z", "type": "rectangle", "pos": { - "x": -123, + "x": -113, "y": 56 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": -83, - "y": 85 + "y": 86 }, "width": 53, "height": 66, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": -83, - "y": 251 + "y": 252 }, "width": 53, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 30, - "y": 85 + "y": 86 }, "width": 53, "height": 66, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 29, - "y": 251 + "y": 252 }, "width": 54, "height": 66, @@ -213,10 +213,10 @@ "type": "rectangle", "pos": { "x": -86, - "y": -245 + "y": -217 }, "width": 173, - "height": 225, + "height": 197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -253,11 +253,11 @@ "id": "a.b", "type": "rectangle", "pos": { - "x": -66, - "y": -179 + "x": -56, + "y": -176 }, - "width": 133, - "height": 130, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": -26, - "y": -147 + "y": -146 }, "width": 53, "height": 66, @@ -335,11 +335,11 @@ "id": "x", "type": "rectangle", "pos": { - "x": -390, - "y": -311 + "x": -360, + "y": -312 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -376,8 +376,8 @@ "id": "x.a", "type": "rectangle", "pos": { - "x": -350, - "y": -281 + "x": -330, + "y": -282 }, "width": 53, "height": 66, @@ -417,8 +417,8 @@ "id": "x.b", "type": "rectangle", "pos": { - "x": -350, - "y": -115 + "x": -330, + "y": -116 }, "width": 53, "height": 66, @@ -458,8 +458,8 @@ "id": "x.c", "type": "rectangle", "pos": { - "x": -236, - "y": -281 + "x": -216, + "y": -282 }, "width": 53, "height": 66, @@ -499,8 +499,8 @@ "id": "x.d", "type": "rectangle", "pos": { - "x": -237, - "y": -115 + "x": -217, + "y": -116 }, "width": 54, "height": 66, @@ -540,11 +540,11 @@ "id": "y", "type": "rectangle", "pos": { - "x": 143, - "y": -311 + "x": 133, + "y": -312 }, - "width": 247, - "height": 291, + "width": 227, + "height": 292, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -581,8 +581,8 @@ "id": "y.a", "type": "rectangle", "pos": { - "x": 183, - "y": -281 + "x": 163, + "y": -282 }, "width": 53, "height": 66, @@ -622,8 +622,8 @@ "id": "y.b", "type": "rectangle", "pos": { - "x": 183, - "y": -115 + "x": 163, + "y": -116 }, "width": 53, "height": 66, @@ -663,8 +663,8 @@ "id": "y.c", "type": "rectangle", "pos": { - "x": 297, - "y": -281 + "x": 277, + "y": -282 }, "width": 53, "height": 66, @@ -704,8 +704,8 @@ "id": "y.d", "type": "rectangle", "pos": { - "x": 296, - "y": -115 + "x": 276, + "y": -116 }, "width": 54, "height": 66, @@ -745,11 +745,11 @@ "id": "b", "type": "rectangle", "pos": { - "x": 143, + "x": 133, "y": 56 }, "width": 214, - "height": 325, + "height": 263, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -786,11 +786,11 @@ "id": "b.a", "type": "rectangle", "pos": { - "x": 163, - "y": 121 + "x": 153, + "y": 97 }, "width": 174, - "height": 230, + "height": 192, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -828,10 +828,10 @@ "type": "rectangle", "pos": { "x": 183, - "y": 184 + "y": 133 }, - "width": 134, - "height": 135, + "width": 114, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -868,8 +868,8 @@ "id": "b.a.c.d", "type": "rectangle", "pos": { - "x": 223, - "y": 219 + "x": 213, + "y": 163 }, "width": 54, "height": 66, @@ -933,19 +933,19 @@ "route": [ { "x": -57, - "y": 151.5 + "y": 152 }, { "x": -57, - "y": 191.5 + "y": 192 }, { "x": -57, - "y": 211.5 + "y": 212 }, { "x": -57, - "y": 251.5 + "y": 252 } ], "isCurve": true, @@ -980,19 +980,19 @@ "route": [ { "x": 56.5, - "y": 151.5 + "y": 152 }, { "x": 56.5, - "y": 191.5 + "y": 192 }, { "x": 56.5, - "y": 211.5 + "y": 212 }, { "x": 56.5, - "y": 251.5 + "y": 252 } ], "isCurve": true, @@ -1026,20 +1026,20 @@ "labelPercentage": 0, "route": [ { - "x": -324, - "y": -215.5 + "x": -304, + "y": -216 }, { - "x": -324, - "y": -175.5 + "x": -304, + "y": -176 }, { - "x": -324, - "y": -155.5 + "x": -304, + "y": -156 }, { - "x": -324, - "y": -115.5 + "x": -304, + "y": -116 } ], "isCurve": true, @@ -1073,20 +1073,20 @@ "labelPercentage": 0, "route": [ { - "x": -210.5, - "y": -215.5 + "x": -190.5, + "y": -216 }, { - "x": -210.5, - "y": -175.5 + "x": -190.5, + "y": -176 }, { - "x": -210.5, - "y": -155.5 + "x": -190.5, + "y": -156 }, { - "x": -210.5, - "y": -115.5 + "x": -190.5, + "y": -116 } ], "isCurve": true, @@ -1120,20 +1120,20 @@ "labelPercentage": 0, "route": [ { - "x": 210, - "y": -215.5 + "x": 190, + "y": -216 }, { - "x": 210, - "y": -175.5 + "x": 190, + "y": -176 }, { - "x": 210, - "y": -155.5 + "x": 190, + "y": -156 }, { - "x": 210, - "y": -115.5 + "x": 190, + "y": -116 } ], "isCurve": true, @@ -1167,20 +1167,20 @@ "labelPercentage": 0, "route": [ { - "x": 323.5, - "y": -215.5 + "x": 303.5, + "y": -216 }, { - "x": 323.5, - "y": -175.5 + "x": 303.5, + "y": -176 }, { - "x": 323.5, - "y": -155.5 + "x": 303.5, + "y": -156 }, { - "x": 323.5, - "y": -115.5 + "x": 303.5, + "y": -116 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/near_keys_for_container#01/dagre/sketch.exp.svg b/e2etests/testdata/stable/near_keys_for_container#01/dagre/sketch.exp.svg index 02835b148..006077180 100644 --- a/e2etests/testdata/stable/near_keys_for_container#01/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/near_keys_for_container#01/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -zaxybabcdbabcdabcdaccd - + .d2-470005247 .fill-N1{fill:#0A0F25;} + .d2-470005247 .fill-N2{fill:#676C7E;} + .d2-470005247 .fill-N3{fill:#9499AB;} + .d2-470005247 .fill-N4{fill:#CFD2DD;} + .d2-470005247 .fill-N5{fill:#DEE1EB;} + .d2-470005247 .fill-N6{fill:#EEF1F8;} + .d2-470005247 .fill-N7{fill:#FFFFFF;} + .d2-470005247 .fill-B1{fill:#0D32B2;} + .d2-470005247 .fill-B2{fill:#0D32B2;} + .d2-470005247 .fill-B3{fill:#E3E9FD;} + .d2-470005247 .fill-B4{fill:#E3E9FD;} + .d2-470005247 .fill-B5{fill:#EDF0FD;} + .d2-470005247 .fill-B6{fill:#F7F8FE;} + .d2-470005247 .fill-AA2{fill:#4A6FF3;} + .d2-470005247 .fill-AA4{fill:#EDF0FD;} + .d2-470005247 .fill-AA5{fill:#F7F8FE;} + .d2-470005247 .fill-AB4{fill:#EDF0FD;} + .d2-470005247 .fill-AB5{fill:#F7F8FE;} + .d2-470005247 .stroke-N1{stroke:#0A0F25;} + .d2-470005247 .stroke-N2{stroke:#676C7E;} + .d2-470005247 .stroke-N3{stroke:#9499AB;} + .d2-470005247 .stroke-N4{stroke:#CFD2DD;} + .d2-470005247 .stroke-N5{stroke:#DEE1EB;} + .d2-470005247 .stroke-N6{stroke:#EEF1F8;} + .d2-470005247 .stroke-N7{stroke:#FFFFFF;} + .d2-470005247 .stroke-B1{stroke:#0D32B2;} + .d2-470005247 .stroke-B2{stroke:#0D32B2;} + .d2-470005247 .stroke-B3{stroke:#E3E9FD;} + .d2-470005247 .stroke-B4{stroke:#E3E9FD;} + .d2-470005247 .stroke-B5{stroke:#EDF0FD;} + .d2-470005247 .stroke-B6{stroke:#F7F8FE;} + .d2-470005247 .stroke-AA2{stroke:#4A6FF3;} + .d2-470005247 .stroke-AA4{stroke:#EDF0FD;} + .d2-470005247 .stroke-AA5{stroke:#F7F8FE;} + .d2-470005247 .stroke-AB4{stroke:#EDF0FD;} + .d2-470005247 .stroke-AB5{stroke:#F7F8FE;} + .d2-470005247 .background-color-N1{background-color:#0A0F25;} + .d2-470005247 .background-color-N2{background-color:#676C7E;} + .d2-470005247 .background-color-N3{background-color:#9499AB;} + .d2-470005247 .background-color-N4{background-color:#CFD2DD;} + .d2-470005247 .background-color-N5{background-color:#DEE1EB;} + .d2-470005247 .background-color-N6{background-color:#EEF1F8;} + .d2-470005247 .background-color-N7{background-color:#FFFFFF;} + .d2-470005247 .background-color-B1{background-color:#0D32B2;} + .d2-470005247 .background-color-B2{background-color:#0D32B2;} + .d2-470005247 .background-color-B3{background-color:#E3E9FD;} + .d2-470005247 .background-color-B4{background-color:#E3E9FD;} + .d2-470005247 .background-color-B5{background-color:#EDF0FD;} + .d2-470005247 .background-color-B6{background-color:#F7F8FE;} + .d2-470005247 .background-color-AA2{background-color:#4A6FF3;} + .d2-470005247 .background-color-AA4{background-color:#EDF0FD;} + .d2-470005247 .background-color-AA5{background-color:#F7F8FE;} + .d2-470005247 .background-color-AB4{background-color:#EDF0FD;} + .d2-470005247 .background-color-AB5{background-color:#F7F8FE;} + .d2-470005247 .color-N1{color:#0A0F25;} + .d2-470005247 .color-N2{color:#676C7E;} + .d2-470005247 .color-N3{color:#9499AB;} + .d2-470005247 .color-N4{color:#CFD2DD;} + .d2-470005247 .color-N5{color:#DEE1EB;} + .d2-470005247 .color-N6{color:#EEF1F8;} + .d2-470005247 .color-N7{color:#FFFFFF;} + .d2-470005247 .color-B1{color:#0D32B2;} + .d2-470005247 .color-B2{color:#0D32B2;} + .d2-470005247 .color-B3{color:#E3E9FD;} + .d2-470005247 .color-B4{color:#E3E9FD;} + .d2-470005247 .color-B5{color:#EDF0FD;} + .d2-470005247 .color-B6{color:#F7F8FE;} + .d2-470005247 .color-AA2{color:#4A6FF3;} + .d2-470005247 .color-AA4{color:#EDF0FD;} + .d2-470005247 .color-AA5{color:#F7F8FE;} + .d2-470005247 .color-AB4{color:#EDF0FD;} + .d2-470005247 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>zaxybabcdbabcdabcdaccd + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/near_keys_for_container#01/elk/sketch.exp.svg b/e2etests/testdata/stable/near_keys_for_container#01/elk/sketch.exp.svg index 7b26c4868..535aecf9d 100644 --- a/e2etests/testdata/stable/near_keys_for_container#01/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/near_keys_for_container#01/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -zaxybabcdbabcdabcdaccd + .d2-2612941080 .fill-N1{fill:#0A0F25;} + .d2-2612941080 .fill-N2{fill:#676C7E;} + .d2-2612941080 .fill-N3{fill:#9499AB;} + .d2-2612941080 .fill-N4{fill:#CFD2DD;} + .d2-2612941080 .fill-N5{fill:#DEE1EB;} + .d2-2612941080 .fill-N6{fill:#EEF1F8;} + .d2-2612941080 .fill-N7{fill:#FFFFFF;} + .d2-2612941080 .fill-B1{fill:#0D32B2;} + .d2-2612941080 .fill-B2{fill:#0D32B2;} + .d2-2612941080 .fill-B3{fill:#E3E9FD;} + .d2-2612941080 .fill-B4{fill:#E3E9FD;} + .d2-2612941080 .fill-B5{fill:#EDF0FD;} + .d2-2612941080 .fill-B6{fill:#F7F8FE;} + .d2-2612941080 .fill-AA2{fill:#4A6FF3;} + .d2-2612941080 .fill-AA4{fill:#EDF0FD;} + .d2-2612941080 .fill-AA5{fill:#F7F8FE;} + .d2-2612941080 .fill-AB4{fill:#EDF0FD;} + .d2-2612941080 .fill-AB5{fill:#F7F8FE;} + .d2-2612941080 .stroke-N1{stroke:#0A0F25;} + .d2-2612941080 .stroke-N2{stroke:#676C7E;} + .d2-2612941080 .stroke-N3{stroke:#9499AB;} + .d2-2612941080 .stroke-N4{stroke:#CFD2DD;} + .d2-2612941080 .stroke-N5{stroke:#DEE1EB;} + .d2-2612941080 .stroke-N6{stroke:#EEF1F8;} + .d2-2612941080 .stroke-N7{stroke:#FFFFFF;} + .d2-2612941080 .stroke-B1{stroke:#0D32B2;} + .d2-2612941080 .stroke-B2{stroke:#0D32B2;} + .d2-2612941080 .stroke-B3{stroke:#E3E9FD;} + .d2-2612941080 .stroke-B4{stroke:#E3E9FD;} + .d2-2612941080 .stroke-B5{stroke:#EDF0FD;} + .d2-2612941080 .stroke-B6{stroke:#F7F8FE;} + .d2-2612941080 .stroke-AA2{stroke:#4A6FF3;} + .d2-2612941080 .stroke-AA4{stroke:#EDF0FD;} + .d2-2612941080 .stroke-AA5{stroke:#F7F8FE;} + .d2-2612941080 .stroke-AB4{stroke:#EDF0FD;} + .d2-2612941080 .stroke-AB5{stroke:#F7F8FE;} + .d2-2612941080 .background-color-N1{background-color:#0A0F25;} + .d2-2612941080 .background-color-N2{background-color:#676C7E;} + .d2-2612941080 .background-color-N3{background-color:#9499AB;} + .d2-2612941080 .background-color-N4{background-color:#CFD2DD;} + .d2-2612941080 .background-color-N5{background-color:#DEE1EB;} + .d2-2612941080 .background-color-N6{background-color:#EEF1F8;} + .d2-2612941080 .background-color-N7{background-color:#FFFFFF;} + .d2-2612941080 .background-color-B1{background-color:#0D32B2;} + .d2-2612941080 .background-color-B2{background-color:#0D32B2;} + .d2-2612941080 .background-color-B3{background-color:#E3E9FD;} + .d2-2612941080 .background-color-B4{background-color:#E3E9FD;} + .d2-2612941080 .background-color-B5{background-color:#EDF0FD;} + .d2-2612941080 .background-color-B6{background-color:#F7F8FE;} + .d2-2612941080 .background-color-AA2{background-color:#4A6FF3;} + .d2-2612941080 .background-color-AA4{background-color:#EDF0FD;} + .d2-2612941080 .background-color-AA5{background-color:#F7F8FE;} + .d2-2612941080 .background-color-AB4{background-color:#EDF0FD;} + .d2-2612941080 .background-color-AB5{background-color:#F7F8FE;} + .d2-2612941080 .color-N1{color:#0A0F25;} + .d2-2612941080 .color-N2{color:#676C7E;} + .d2-2612941080 .color-N3{color:#9499AB;} + .d2-2612941080 .color-N4{color:#CFD2DD;} + .d2-2612941080 .color-N5{color:#DEE1EB;} + .d2-2612941080 .color-N6{color:#EEF1F8;} + .d2-2612941080 .color-N7{color:#FFFFFF;} + .d2-2612941080 .color-B1{color:#0D32B2;} + .d2-2612941080 .color-B2{color:#0D32B2;} + .d2-2612941080 .color-B3{color:#E3E9FD;} + .d2-2612941080 .color-B4{color:#E3E9FD;} + .d2-2612941080 .color-B5{color:#EDF0FD;} + .d2-2612941080 .color-B6{color:#F7F8FE;} + .d2-2612941080 .color-AA2{color:#4A6FF3;} + .d2-2612941080 .color-AA4{color:#EDF0FD;} + .d2-2612941080 .color-AA5{color:#F7F8FE;} + .d2-2612941080 .color-AB4{color:#EDF0FD;} + .d2-2612941080 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>zaxybabcdbabcdabcdaccd diff --git a/e2etests/testdata/stable/near_keys_for_container/dagre/sketch.exp.svg b/e2etests/testdata/stable/near_keys_for_container/dagre/sketch.exp.svg index c970ab150..ef6626d8c 100644 --- a/e2etests/testdata/stable/near_keys_for_container/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/near_keys_for_container/dagre/sketch.exp.svg @@ -1,13 +1,13 @@ -

    Service-Cluster Provisioning ("Outside view")

    -
    +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/near_keys_for_container/elk/sketch.exp.svg b/e2etests/testdata/stable/near_keys_for_container/elk/sketch.exp.svg index c970ab150..ef6626d8c 100644 --- a/e2etests/testdata/stable/near_keys_for_container/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/near_keys_for_container/elk/sketch.exp.svg @@ -1,13 +1,13 @@ -

    Service-Cluster Provisioning ("Outside view")

    -
    +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/nested_shape_labels/dagre/board.exp.json b/e2etests/testdata/stable/nested_shape_labels/dagre/board.exp.json new file mode 100644 index 000000000..80fede376 --- /dev/null +++ b/e2etests/testdata/stable/nested_shape_labels/dagre/board.exp.json @@ -0,0 +1,212 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "aa", + "type": "package", + "pos": { + "x": 0, + "y": 0 + }, + "width": 146, + "height": 192, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "AA4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "aa", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 27, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "aa.bb", + "type": "diamond", + "pos": { + "x": 40, + "y": 50 + }, + "width": 66, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "bb", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 18, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "cc", + "type": "diamond", + "pos": { + "x": 166, + "y": 0 + }, + "width": 156, + "height": 192, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cc", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 25, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "cc.dd", + "type": "oval", + "pos": { + "x": 206, + "y": 58 + }, + "width": 76, + "height": 76, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "dd", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 19, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + } + ], + "connections": [], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/nested_shape_labels/dagre/sketch.exp.svg b/e2etests/testdata/stable/nested_shape_labels/dagre/sketch.exp.svg new file mode 100644 index 000000000..703d67e71 --- /dev/null +++ b/e2etests/testdata/stable/nested_shape_labels/dagre/sketch.exp.svg @@ -0,0 +1,105 @@ +aaccbbdd + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/nested_shape_labels/elk/board.exp.json b/e2etests/testdata/stable/nested_shape_labels/elk/board.exp.json new file mode 100644 index 000000000..89fb2b14c --- /dev/null +++ b/e2etests/testdata/stable/nested_shape_labels/elk/board.exp.json @@ -0,0 +1,212 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "aa", + "type": "package", + "pos": { + "x": 12, + "y": 17 + }, + "width": 166, + "height": 234, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "AA4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "aa", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 27, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "aa.bb", + "type": "diamond", + "pos": { + "x": 62, + "y": 109 + }, + "width": 66, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "bb", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 18, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "cc", + "type": "diamond", + "pos": { + "x": 198, + "y": 12 + }, + "width": 176, + "height": 244, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cc", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 25, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "cc.dd", + "type": "oval", + "pos": { + "x": 248, + "y": 119 + }, + "width": 76, + "height": 76, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "dd", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 19, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + } + ], + "connections": [], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/nested_shape_labels/elk/sketch.exp.svg b/e2etests/testdata/stable/nested_shape_labels/elk/sketch.exp.svg new file mode 100644 index 000000000..ea0469ee1 --- /dev/null +++ b/e2etests/testdata/stable/nested_shape_labels/elk/sketch.exp.svg @@ -0,0 +1,105 @@ +aaccbbdd + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/number_connections/dagre/sketch.exp.svg b/e2etests/testdata/stable/number_connections/dagre/sketch.exp.svg index d6d19697b..dacd2f249 100644 --- a/e2etests/testdata/stable/number_connections/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/number_connections/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -12Foo Bazhello + .d2-1160589039 .fill-N1{fill:#0A0F25;} + .d2-1160589039 .fill-N2{fill:#676C7E;} + .d2-1160589039 .fill-N3{fill:#9499AB;} + .d2-1160589039 .fill-N4{fill:#CFD2DD;} + .d2-1160589039 .fill-N5{fill:#DEE1EB;} + .d2-1160589039 .fill-N6{fill:#EEF1F8;} + .d2-1160589039 .fill-N7{fill:#FFFFFF;} + .d2-1160589039 .fill-B1{fill:#0D32B2;} + .d2-1160589039 .fill-B2{fill:#0D32B2;} + .d2-1160589039 .fill-B3{fill:#E3E9FD;} + .d2-1160589039 .fill-B4{fill:#E3E9FD;} + .d2-1160589039 .fill-B5{fill:#EDF0FD;} + .d2-1160589039 .fill-B6{fill:#F7F8FE;} + .d2-1160589039 .fill-AA2{fill:#4A6FF3;} + .d2-1160589039 .fill-AA4{fill:#EDF0FD;} + .d2-1160589039 .fill-AA5{fill:#F7F8FE;} + .d2-1160589039 .fill-AB4{fill:#EDF0FD;} + .d2-1160589039 .fill-AB5{fill:#F7F8FE;} + .d2-1160589039 .stroke-N1{stroke:#0A0F25;} + .d2-1160589039 .stroke-N2{stroke:#676C7E;} + .d2-1160589039 .stroke-N3{stroke:#9499AB;} + .d2-1160589039 .stroke-N4{stroke:#CFD2DD;} + .d2-1160589039 .stroke-N5{stroke:#DEE1EB;} + .d2-1160589039 .stroke-N6{stroke:#EEF1F8;} + .d2-1160589039 .stroke-N7{stroke:#FFFFFF;} + .d2-1160589039 .stroke-B1{stroke:#0D32B2;} + .d2-1160589039 .stroke-B2{stroke:#0D32B2;} + .d2-1160589039 .stroke-B3{stroke:#E3E9FD;} + .d2-1160589039 .stroke-B4{stroke:#E3E9FD;} + .d2-1160589039 .stroke-B5{stroke:#EDF0FD;} + .d2-1160589039 .stroke-B6{stroke:#F7F8FE;} + .d2-1160589039 .stroke-AA2{stroke:#4A6FF3;} + .d2-1160589039 .stroke-AA4{stroke:#EDF0FD;} + .d2-1160589039 .stroke-AA5{stroke:#F7F8FE;} + .d2-1160589039 .stroke-AB4{stroke:#EDF0FD;} + .d2-1160589039 .stroke-AB5{stroke:#F7F8FE;} + .d2-1160589039 .background-color-N1{background-color:#0A0F25;} + .d2-1160589039 .background-color-N2{background-color:#676C7E;} + .d2-1160589039 .background-color-N3{background-color:#9499AB;} + .d2-1160589039 .background-color-N4{background-color:#CFD2DD;} + .d2-1160589039 .background-color-N5{background-color:#DEE1EB;} + .d2-1160589039 .background-color-N6{background-color:#EEF1F8;} + .d2-1160589039 .background-color-N7{background-color:#FFFFFF;} + .d2-1160589039 .background-color-B1{background-color:#0D32B2;} + .d2-1160589039 .background-color-B2{background-color:#0D32B2;} + .d2-1160589039 .background-color-B3{background-color:#E3E9FD;} + .d2-1160589039 .background-color-B4{background-color:#E3E9FD;} + .d2-1160589039 .background-color-B5{background-color:#EDF0FD;} + .d2-1160589039 .background-color-B6{background-color:#F7F8FE;} + .d2-1160589039 .background-color-AA2{background-color:#4A6FF3;} + .d2-1160589039 .background-color-AA4{background-color:#EDF0FD;} + .d2-1160589039 .background-color-AA5{background-color:#F7F8FE;} + .d2-1160589039 .background-color-AB4{background-color:#EDF0FD;} + .d2-1160589039 .background-color-AB5{background-color:#F7F8FE;} + .d2-1160589039 .color-N1{color:#0A0F25;} + .d2-1160589039 .color-N2{color:#676C7E;} + .d2-1160589039 .color-N3{color:#9499AB;} + .d2-1160589039 .color-N4{color:#CFD2DD;} + .d2-1160589039 .color-N5{color:#DEE1EB;} + .d2-1160589039 .color-N6{color:#EEF1F8;} + .d2-1160589039 .color-N7{color:#FFFFFF;} + .d2-1160589039 .color-B1{color:#0D32B2;} + .d2-1160589039 .color-B2{color:#0D32B2;} + .d2-1160589039 .color-B3{color:#E3E9FD;} + .d2-1160589039 .color-B4{color:#E3E9FD;} + .d2-1160589039 .color-B5{color:#EDF0FD;} + .d2-1160589039 .color-B6{color:#F7F8FE;} + .d2-1160589039 .color-AA2{color:#4A6FF3;} + .d2-1160589039 .color-AA4{color:#EDF0FD;} + .d2-1160589039 .color-AA5{color:#F7F8FE;} + .d2-1160589039 .color-AB4{color:#EDF0FD;} + .d2-1160589039 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>12Foo Bazhello diff --git a/e2etests/testdata/stable/number_connections/elk/sketch.exp.svg b/e2etests/testdata/stable/number_connections/elk/sketch.exp.svg index 27987f446..abf2605a4 100644 --- a/e2etests/testdata/stable/number_connections/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/number_connections/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -12Foo Bazhello + .d2-1005771847 .fill-N1{fill:#0A0F25;} + .d2-1005771847 .fill-N2{fill:#676C7E;} + .d2-1005771847 .fill-N3{fill:#9499AB;} + .d2-1005771847 .fill-N4{fill:#CFD2DD;} + .d2-1005771847 .fill-N5{fill:#DEE1EB;} + .d2-1005771847 .fill-N6{fill:#EEF1F8;} + .d2-1005771847 .fill-N7{fill:#FFFFFF;} + .d2-1005771847 .fill-B1{fill:#0D32B2;} + .d2-1005771847 .fill-B2{fill:#0D32B2;} + .d2-1005771847 .fill-B3{fill:#E3E9FD;} + .d2-1005771847 .fill-B4{fill:#E3E9FD;} + .d2-1005771847 .fill-B5{fill:#EDF0FD;} + .d2-1005771847 .fill-B6{fill:#F7F8FE;} + .d2-1005771847 .fill-AA2{fill:#4A6FF3;} + .d2-1005771847 .fill-AA4{fill:#EDF0FD;} + .d2-1005771847 .fill-AA5{fill:#F7F8FE;} + .d2-1005771847 .fill-AB4{fill:#EDF0FD;} + .d2-1005771847 .fill-AB5{fill:#F7F8FE;} + .d2-1005771847 .stroke-N1{stroke:#0A0F25;} + .d2-1005771847 .stroke-N2{stroke:#676C7E;} + .d2-1005771847 .stroke-N3{stroke:#9499AB;} + .d2-1005771847 .stroke-N4{stroke:#CFD2DD;} + .d2-1005771847 .stroke-N5{stroke:#DEE1EB;} + .d2-1005771847 .stroke-N6{stroke:#EEF1F8;} + .d2-1005771847 .stroke-N7{stroke:#FFFFFF;} + .d2-1005771847 .stroke-B1{stroke:#0D32B2;} + .d2-1005771847 .stroke-B2{stroke:#0D32B2;} + .d2-1005771847 .stroke-B3{stroke:#E3E9FD;} + .d2-1005771847 .stroke-B4{stroke:#E3E9FD;} + .d2-1005771847 .stroke-B5{stroke:#EDF0FD;} + .d2-1005771847 .stroke-B6{stroke:#F7F8FE;} + .d2-1005771847 .stroke-AA2{stroke:#4A6FF3;} + .d2-1005771847 .stroke-AA4{stroke:#EDF0FD;} + .d2-1005771847 .stroke-AA5{stroke:#F7F8FE;} + .d2-1005771847 .stroke-AB4{stroke:#EDF0FD;} + .d2-1005771847 .stroke-AB5{stroke:#F7F8FE;} + .d2-1005771847 .background-color-N1{background-color:#0A0F25;} + .d2-1005771847 .background-color-N2{background-color:#676C7E;} + .d2-1005771847 .background-color-N3{background-color:#9499AB;} + .d2-1005771847 .background-color-N4{background-color:#CFD2DD;} + .d2-1005771847 .background-color-N5{background-color:#DEE1EB;} + .d2-1005771847 .background-color-N6{background-color:#EEF1F8;} + .d2-1005771847 .background-color-N7{background-color:#FFFFFF;} + .d2-1005771847 .background-color-B1{background-color:#0D32B2;} + .d2-1005771847 .background-color-B2{background-color:#0D32B2;} + .d2-1005771847 .background-color-B3{background-color:#E3E9FD;} + .d2-1005771847 .background-color-B4{background-color:#E3E9FD;} + .d2-1005771847 .background-color-B5{background-color:#EDF0FD;} + .d2-1005771847 .background-color-B6{background-color:#F7F8FE;} + .d2-1005771847 .background-color-AA2{background-color:#4A6FF3;} + .d2-1005771847 .background-color-AA4{background-color:#EDF0FD;} + .d2-1005771847 .background-color-AA5{background-color:#F7F8FE;} + .d2-1005771847 .background-color-AB4{background-color:#EDF0FD;} + .d2-1005771847 .background-color-AB5{background-color:#F7F8FE;} + .d2-1005771847 .color-N1{color:#0A0F25;} + .d2-1005771847 .color-N2{color:#676C7E;} + .d2-1005771847 .color-N3{color:#9499AB;} + .d2-1005771847 .color-N4{color:#CFD2DD;} + .d2-1005771847 .color-N5{color:#DEE1EB;} + .d2-1005771847 .color-N6{color:#EEF1F8;} + .d2-1005771847 .color-N7{color:#FFFFFF;} + .d2-1005771847 .color-B1{color:#0D32B2;} + .d2-1005771847 .color-B2{color:#0D32B2;} + .d2-1005771847 .color-B3{color:#E3E9FD;} + .d2-1005771847 .color-B4{color:#E3E9FD;} + .d2-1005771847 .color-B5{color:#EDF0FD;} + .d2-1005771847 .color-B6{color:#F7F8FE;} + .d2-1005771847 .color-AA2{color:#4A6FF3;} + .d2-1005771847 .color-AA4{color:#EDF0FD;} + .d2-1005771847 .color-AA5{color:#F7F8FE;} + .d2-1005771847 .color-AB4{color:#EDF0FD;} + .d2-1005771847 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>12Foo Bazhello diff --git a/e2etests/testdata/stable/one_container_loop/dagre/board.exp.json b/e2etests/testdata/stable/one_container_loop/dagre/board.exp.json index 1984f19b4..16ddc4df3 100644 --- a/e2etests/testdata/stable/one_container_loop/dagre/board.exp.json +++ b/e2etests/testdata/stable/one_container_loop/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "a", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 10, + "y": 20 }, - "width": 314, - "height": 125, + "width": 290, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -295,7 +295,7 @@ "type": "rectangle", "pos": { "x": 187, - "y": 70 + "y": 50 }, "width": 53, "height": 66, @@ -359,11 +359,11 @@ "route": [ { "x": 66.5, - "y": 136.5 + "y": 116 }, { "x": 66.5, - "y": 160.10000610351562 + "y": 156 }, { "x": 66.5, @@ -619,11 +619,11 @@ "route": [ { "x": 270, - "y": 166 + "y": 146 }, { "x": 270, - "y": 206 + "y": 202 }, { "x": 270, @@ -748,12 +748,12 @@ "labelPercentage": 0, "route": [ { - "x": 190.68600463867188, - "y": 136.5 + "x": 190.5, + "y": 116 }, { - "x": 163.33700561523438, - "y": 160.10000610351562 + "x": 163.3000030517578, + "y": 156 }, { "x": 156.5, diff --git a/e2etests/testdata/stable/one_container_loop/dagre/sketch.exp.svg b/e2etests/testdata/stable/one_container_loop/dagre/sketch.exp.svg index 67750d9d0..9c3d1d942 100644 --- a/e2etests/testdata/stable/one_container_loop/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/one_container_loop/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -acdefgbh - - + .d2-4157992462 .fill-N1{fill:#0A0F25;} + .d2-4157992462 .fill-N2{fill:#676C7E;} + .d2-4157992462 .fill-N3{fill:#9499AB;} + .d2-4157992462 .fill-N4{fill:#CFD2DD;} + .d2-4157992462 .fill-N5{fill:#DEE1EB;} + .d2-4157992462 .fill-N6{fill:#EEF1F8;} + .d2-4157992462 .fill-N7{fill:#FFFFFF;} + .d2-4157992462 .fill-B1{fill:#0D32B2;} + .d2-4157992462 .fill-B2{fill:#0D32B2;} + .d2-4157992462 .fill-B3{fill:#E3E9FD;} + .d2-4157992462 .fill-B4{fill:#E3E9FD;} + .d2-4157992462 .fill-B5{fill:#EDF0FD;} + .d2-4157992462 .fill-B6{fill:#F7F8FE;} + .d2-4157992462 .fill-AA2{fill:#4A6FF3;} + .d2-4157992462 .fill-AA4{fill:#EDF0FD;} + .d2-4157992462 .fill-AA5{fill:#F7F8FE;} + .d2-4157992462 .fill-AB4{fill:#EDF0FD;} + .d2-4157992462 .fill-AB5{fill:#F7F8FE;} + .d2-4157992462 .stroke-N1{stroke:#0A0F25;} + .d2-4157992462 .stroke-N2{stroke:#676C7E;} + .d2-4157992462 .stroke-N3{stroke:#9499AB;} + .d2-4157992462 .stroke-N4{stroke:#CFD2DD;} + .d2-4157992462 .stroke-N5{stroke:#DEE1EB;} + .d2-4157992462 .stroke-N6{stroke:#EEF1F8;} + .d2-4157992462 .stroke-N7{stroke:#FFFFFF;} + .d2-4157992462 .stroke-B1{stroke:#0D32B2;} + .d2-4157992462 .stroke-B2{stroke:#0D32B2;} + .d2-4157992462 .stroke-B3{stroke:#E3E9FD;} + .d2-4157992462 .stroke-B4{stroke:#E3E9FD;} + .d2-4157992462 .stroke-B5{stroke:#EDF0FD;} + .d2-4157992462 .stroke-B6{stroke:#F7F8FE;} + .d2-4157992462 .stroke-AA2{stroke:#4A6FF3;} + .d2-4157992462 .stroke-AA4{stroke:#EDF0FD;} + .d2-4157992462 .stroke-AA5{stroke:#F7F8FE;} + .d2-4157992462 .stroke-AB4{stroke:#EDF0FD;} + .d2-4157992462 .stroke-AB5{stroke:#F7F8FE;} + .d2-4157992462 .background-color-N1{background-color:#0A0F25;} + .d2-4157992462 .background-color-N2{background-color:#676C7E;} + .d2-4157992462 .background-color-N3{background-color:#9499AB;} + .d2-4157992462 .background-color-N4{background-color:#CFD2DD;} + .d2-4157992462 .background-color-N5{background-color:#DEE1EB;} + .d2-4157992462 .background-color-N6{background-color:#EEF1F8;} + .d2-4157992462 .background-color-N7{background-color:#FFFFFF;} + .d2-4157992462 .background-color-B1{background-color:#0D32B2;} + .d2-4157992462 .background-color-B2{background-color:#0D32B2;} + .d2-4157992462 .background-color-B3{background-color:#E3E9FD;} + .d2-4157992462 .background-color-B4{background-color:#E3E9FD;} + .d2-4157992462 .background-color-B5{background-color:#EDF0FD;} + .d2-4157992462 .background-color-B6{background-color:#F7F8FE;} + .d2-4157992462 .background-color-AA2{background-color:#4A6FF3;} + .d2-4157992462 .background-color-AA4{background-color:#EDF0FD;} + .d2-4157992462 .background-color-AA5{background-color:#F7F8FE;} + .d2-4157992462 .background-color-AB4{background-color:#EDF0FD;} + .d2-4157992462 .background-color-AB5{background-color:#F7F8FE;} + .d2-4157992462 .color-N1{color:#0A0F25;} + .d2-4157992462 .color-N2{color:#676C7E;} + .d2-4157992462 .color-N3{color:#9499AB;} + .d2-4157992462 .color-N4{color:#CFD2DD;} + .d2-4157992462 .color-N5{color:#DEE1EB;} + .d2-4157992462 .color-N6{color:#EEF1F8;} + .d2-4157992462 .color-N7{color:#FFFFFF;} + .d2-4157992462 .color-B1{color:#0D32B2;} + .d2-4157992462 .color-B2{color:#0D32B2;} + .d2-4157992462 .color-B3{color:#E3E9FD;} + .d2-4157992462 .color-B4{color:#E3E9FD;} + .d2-4157992462 .color-B5{color:#EDF0FD;} + .d2-4157992462 .color-B6{color:#F7F8FE;} + .d2-4157992462 .color-AA2{color:#4A6FF3;} + .d2-4157992462 .color-AA4{color:#EDF0FD;} + .d2-4157992462 .color-AA5{color:#F7F8FE;} + .d2-4157992462 .color-AB4{color:#EDF0FD;} + .d2-4157992462 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acdefgbh + + - - + + \ No newline at end of file diff --git a/e2etests/testdata/stable/one_container_loop/elk/sketch.exp.svg b/e2etests/testdata/stable/one_container_loop/elk/sketch.exp.svg index 1d0e07194..468abe272 100644 --- a/e2etests/testdata/stable/one_container_loop/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/one_container_loop/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -acdefgbh + .d2-1784891775 .fill-N1{fill:#0A0F25;} + .d2-1784891775 .fill-N2{fill:#676C7E;} + .d2-1784891775 .fill-N3{fill:#9499AB;} + .d2-1784891775 .fill-N4{fill:#CFD2DD;} + .d2-1784891775 .fill-N5{fill:#DEE1EB;} + .d2-1784891775 .fill-N6{fill:#EEF1F8;} + .d2-1784891775 .fill-N7{fill:#FFFFFF;} + .d2-1784891775 .fill-B1{fill:#0D32B2;} + .d2-1784891775 .fill-B2{fill:#0D32B2;} + .d2-1784891775 .fill-B3{fill:#E3E9FD;} + .d2-1784891775 .fill-B4{fill:#E3E9FD;} + .d2-1784891775 .fill-B5{fill:#EDF0FD;} + .d2-1784891775 .fill-B6{fill:#F7F8FE;} + .d2-1784891775 .fill-AA2{fill:#4A6FF3;} + .d2-1784891775 .fill-AA4{fill:#EDF0FD;} + .d2-1784891775 .fill-AA5{fill:#F7F8FE;} + .d2-1784891775 .fill-AB4{fill:#EDF0FD;} + .d2-1784891775 .fill-AB5{fill:#F7F8FE;} + .d2-1784891775 .stroke-N1{stroke:#0A0F25;} + .d2-1784891775 .stroke-N2{stroke:#676C7E;} + .d2-1784891775 .stroke-N3{stroke:#9499AB;} + .d2-1784891775 .stroke-N4{stroke:#CFD2DD;} + .d2-1784891775 .stroke-N5{stroke:#DEE1EB;} + .d2-1784891775 .stroke-N6{stroke:#EEF1F8;} + .d2-1784891775 .stroke-N7{stroke:#FFFFFF;} + .d2-1784891775 .stroke-B1{stroke:#0D32B2;} + .d2-1784891775 .stroke-B2{stroke:#0D32B2;} + .d2-1784891775 .stroke-B3{stroke:#E3E9FD;} + .d2-1784891775 .stroke-B4{stroke:#E3E9FD;} + .d2-1784891775 .stroke-B5{stroke:#EDF0FD;} + .d2-1784891775 .stroke-B6{stroke:#F7F8FE;} + .d2-1784891775 .stroke-AA2{stroke:#4A6FF3;} + .d2-1784891775 .stroke-AA4{stroke:#EDF0FD;} + .d2-1784891775 .stroke-AA5{stroke:#F7F8FE;} + .d2-1784891775 .stroke-AB4{stroke:#EDF0FD;} + .d2-1784891775 .stroke-AB5{stroke:#F7F8FE;} + .d2-1784891775 .background-color-N1{background-color:#0A0F25;} + .d2-1784891775 .background-color-N2{background-color:#676C7E;} + .d2-1784891775 .background-color-N3{background-color:#9499AB;} + .d2-1784891775 .background-color-N4{background-color:#CFD2DD;} + .d2-1784891775 .background-color-N5{background-color:#DEE1EB;} + .d2-1784891775 .background-color-N6{background-color:#EEF1F8;} + .d2-1784891775 .background-color-N7{background-color:#FFFFFF;} + .d2-1784891775 .background-color-B1{background-color:#0D32B2;} + .d2-1784891775 .background-color-B2{background-color:#0D32B2;} + .d2-1784891775 .background-color-B3{background-color:#E3E9FD;} + .d2-1784891775 .background-color-B4{background-color:#E3E9FD;} + .d2-1784891775 .background-color-B5{background-color:#EDF0FD;} + .d2-1784891775 .background-color-B6{background-color:#F7F8FE;} + .d2-1784891775 .background-color-AA2{background-color:#4A6FF3;} + .d2-1784891775 .background-color-AA4{background-color:#EDF0FD;} + .d2-1784891775 .background-color-AA5{background-color:#F7F8FE;} + .d2-1784891775 .background-color-AB4{background-color:#EDF0FD;} + .d2-1784891775 .background-color-AB5{background-color:#F7F8FE;} + .d2-1784891775 .color-N1{color:#0A0F25;} + .d2-1784891775 .color-N2{color:#676C7E;} + .d2-1784891775 .color-N3{color:#9499AB;} + .d2-1784891775 .color-N4{color:#CFD2DD;} + .d2-1784891775 .color-N5{color:#DEE1EB;} + .d2-1784891775 .color-N6{color:#EEF1F8;} + .d2-1784891775 .color-N7{color:#FFFFFF;} + .d2-1784891775 .color-B1{color:#0D32B2;} + .d2-1784891775 .color-B2{color:#0D32B2;} + .d2-1784891775 .color-B3{color:#E3E9FD;} + .d2-1784891775 .color-B4{color:#E3E9FD;} + .d2-1784891775 .color-B5{color:#EDF0FD;} + .d2-1784891775 .color-B6{color:#F7F8FE;} + .d2-1784891775 .color-AA2{color:#4A6FF3;} + .d2-1784891775 .color-AA4{color:#EDF0FD;} + .d2-1784891775 .color-AA5{color:#F7F8FE;} + .d2-1784891775 .color-AB4{color:#EDF0FD;} + .d2-1784891775 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acdefgbh diff --git a/e2etests/testdata/stable/one_three_one_container/dagre/board.exp.json b/e2etests/testdata/stable/one_three_one_container/dagre/board.exp.json index 643fd62b5..a853f9265 100644 --- a/e2etests/testdata/stable/one_three_one_container/dagre/board.exp.json +++ b/e2etests/testdata/stable/one_three_one_container/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "top2", "type": "rectangle", "pos": { - "x": 0, - "y": 41 + "x": 93, + "y": 20 }, - "width": 326, - "height": 125, + "width": 140, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 123, - "y": 70 + "y": 50 }, "width": 80, "height": 66, @@ -212,11 +212,11 @@ "id": "bottom", "type": "rectangle", "pos": { - "x": 0, - "y": 473 + "x": 107, + "y": 452 }, - "width": 324, - "height": 125, + "width": 132, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 137, - "y": 502 + "y": 482 }, "width": 72, "height": 66, @@ -318,11 +318,11 @@ "route": [ { "x": 123, - "y": 135.11900329589844 + "y": 115 }, { "x": 71, - "y": 159.822998046875 + "y": 155.8000030517578 }, { "x": 58, @@ -364,12 +364,12 @@ "labelPercentage": 0, "route": [ { - "x": 166.17999267578125, - "y": 136.5 + "x": 166, + "y": 116 }, { - "x": 170.03599548339844, - "y": 160.10000610351562 + "x": 170, + "y": 156 }, { "x": 171, @@ -412,11 +412,11 @@ "route": [ { "x": 203, - "y": 130.93800354003906 + "y": 110 }, { "x": 267.79998779296875, - "y": 158.98699951171875 + "y": 154.8000030517578 }, { "x": 284, @@ -467,11 +467,11 @@ }, { "x": 73.80000305175781, - "y": 447.5 + "y": 443.3999938964844 }, { "x": 137, - "y": 509.5 + "y": 489 } ], "isCurve": true, @@ -514,11 +514,11 @@ }, { "x": 171.1999969482422, - "y": 446.1000061035156 + "y": 442 }, { "x": 172, - "y": 502.5 + "y": 482 } ], "isCurve": true, @@ -561,11 +561,11 @@ }, { "x": 269, - "y": 447.29998779296875 + "y": 443.20001220703125 }, { "x": 209, - "y": 508.5 + "y": 488 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/one_three_one_container/dagre/sketch.exp.svg b/e2etests/testdata/stable/one_three_one_container/dagre/sketch.exp.svg index b8f3dd184..810f02f6c 100644 --- a/e2etests/testdata/stable/one_three_one_container/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/one_three_one_container/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -top2abcbottomstartend - - + .d2-3393164995 .fill-N1{fill:#0A0F25;} + .d2-3393164995 .fill-N2{fill:#676C7E;} + .d2-3393164995 .fill-N3{fill:#9499AB;} + .d2-3393164995 .fill-N4{fill:#CFD2DD;} + .d2-3393164995 .fill-N5{fill:#DEE1EB;} + .d2-3393164995 .fill-N6{fill:#EEF1F8;} + .d2-3393164995 .fill-N7{fill:#FFFFFF;} + .d2-3393164995 .fill-B1{fill:#0D32B2;} + .d2-3393164995 .fill-B2{fill:#0D32B2;} + .d2-3393164995 .fill-B3{fill:#E3E9FD;} + .d2-3393164995 .fill-B4{fill:#E3E9FD;} + .d2-3393164995 .fill-B5{fill:#EDF0FD;} + .d2-3393164995 .fill-B6{fill:#F7F8FE;} + .d2-3393164995 .fill-AA2{fill:#4A6FF3;} + .d2-3393164995 .fill-AA4{fill:#EDF0FD;} + .d2-3393164995 .fill-AA5{fill:#F7F8FE;} + .d2-3393164995 .fill-AB4{fill:#EDF0FD;} + .d2-3393164995 .fill-AB5{fill:#F7F8FE;} + .d2-3393164995 .stroke-N1{stroke:#0A0F25;} + .d2-3393164995 .stroke-N2{stroke:#676C7E;} + .d2-3393164995 .stroke-N3{stroke:#9499AB;} + .d2-3393164995 .stroke-N4{stroke:#CFD2DD;} + .d2-3393164995 .stroke-N5{stroke:#DEE1EB;} + .d2-3393164995 .stroke-N6{stroke:#EEF1F8;} + .d2-3393164995 .stroke-N7{stroke:#FFFFFF;} + .d2-3393164995 .stroke-B1{stroke:#0D32B2;} + .d2-3393164995 .stroke-B2{stroke:#0D32B2;} + .d2-3393164995 .stroke-B3{stroke:#E3E9FD;} + .d2-3393164995 .stroke-B4{stroke:#E3E9FD;} + .d2-3393164995 .stroke-B5{stroke:#EDF0FD;} + .d2-3393164995 .stroke-B6{stroke:#F7F8FE;} + .d2-3393164995 .stroke-AA2{stroke:#4A6FF3;} + .d2-3393164995 .stroke-AA4{stroke:#EDF0FD;} + .d2-3393164995 .stroke-AA5{stroke:#F7F8FE;} + .d2-3393164995 .stroke-AB4{stroke:#EDF0FD;} + .d2-3393164995 .stroke-AB5{stroke:#F7F8FE;} + .d2-3393164995 .background-color-N1{background-color:#0A0F25;} + .d2-3393164995 .background-color-N2{background-color:#676C7E;} + .d2-3393164995 .background-color-N3{background-color:#9499AB;} + .d2-3393164995 .background-color-N4{background-color:#CFD2DD;} + .d2-3393164995 .background-color-N5{background-color:#DEE1EB;} + .d2-3393164995 .background-color-N6{background-color:#EEF1F8;} + .d2-3393164995 .background-color-N7{background-color:#FFFFFF;} + .d2-3393164995 .background-color-B1{background-color:#0D32B2;} + .d2-3393164995 .background-color-B2{background-color:#0D32B2;} + .d2-3393164995 .background-color-B3{background-color:#E3E9FD;} + .d2-3393164995 .background-color-B4{background-color:#E3E9FD;} + .d2-3393164995 .background-color-B5{background-color:#EDF0FD;} + .d2-3393164995 .background-color-B6{background-color:#F7F8FE;} + .d2-3393164995 .background-color-AA2{background-color:#4A6FF3;} + .d2-3393164995 .background-color-AA4{background-color:#EDF0FD;} + .d2-3393164995 .background-color-AA5{background-color:#F7F8FE;} + .d2-3393164995 .background-color-AB4{background-color:#EDF0FD;} + .d2-3393164995 .background-color-AB5{background-color:#F7F8FE;} + .d2-3393164995 .color-N1{color:#0A0F25;} + .d2-3393164995 .color-N2{color:#676C7E;} + .d2-3393164995 .color-N3{color:#9499AB;} + .d2-3393164995 .color-N4{color:#CFD2DD;} + .d2-3393164995 .color-N5{color:#DEE1EB;} + .d2-3393164995 .color-N6{color:#EEF1F8;} + .d2-3393164995 .color-N7{color:#FFFFFF;} + .d2-3393164995 .color-B1{color:#0D32B2;} + .d2-3393164995 .color-B2{color:#0D32B2;} + .d2-3393164995 .color-B3{color:#E3E9FD;} + .d2-3393164995 .color-B4{color:#E3E9FD;} + .d2-3393164995 .color-B5{color:#EDF0FD;} + .d2-3393164995 .color-B6{color:#F7F8FE;} + .d2-3393164995 .color-AA2{color:#4A6FF3;} + .d2-3393164995 .color-AA4{color:#EDF0FD;} + .d2-3393164995 .color-AA5{color:#F7F8FE;} + .d2-3393164995 .color-AB4{color:#EDF0FD;} + .d2-3393164995 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>top2abcbottomstartend + + - - - + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/one_three_one_container/elk/sketch.exp.svg b/e2etests/testdata/stable/one_three_one_container/elk/sketch.exp.svg index f6bc5f6d4..f4695c4d2 100644 --- a/e2etests/testdata/stable/one_three_one_container/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/one_three_one_container/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -top2abcbottomstartend + .d2-1048954117 .fill-N1{fill:#0A0F25;} + .d2-1048954117 .fill-N2{fill:#676C7E;} + .d2-1048954117 .fill-N3{fill:#9499AB;} + .d2-1048954117 .fill-N4{fill:#CFD2DD;} + .d2-1048954117 .fill-N5{fill:#DEE1EB;} + .d2-1048954117 .fill-N6{fill:#EEF1F8;} + .d2-1048954117 .fill-N7{fill:#FFFFFF;} + .d2-1048954117 .fill-B1{fill:#0D32B2;} + .d2-1048954117 .fill-B2{fill:#0D32B2;} + .d2-1048954117 .fill-B3{fill:#E3E9FD;} + .d2-1048954117 .fill-B4{fill:#E3E9FD;} + .d2-1048954117 .fill-B5{fill:#EDF0FD;} + .d2-1048954117 .fill-B6{fill:#F7F8FE;} + .d2-1048954117 .fill-AA2{fill:#4A6FF3;} + .d2-1048954117 .fill-AA4{fill:#EDF0FD;} + .d2-1048954117 .fill-AA5{fill:#F7F8FE;} + .d2-1048954117 .fill-AB4{fill:#EDF0FD;} + .d2-1048954117 .fill-AB5{fill:#F7F8FE;} + .d2-1048954117 .stroke-N1{stroke:#0A0F25;} + .d2-1048954117 .stroke-N2{stroke:#676C7E;} + .d2-1048954117 .stroke-N3{stroke:#9499AB;} + .d2-1048954117 .stroke-N4{stroke:#CFD2DD;} + .d2-1048954117 .stroke-N5{stroke:#DEE1EB;} + .d2-1048954117 .stroke-N6{stroke:#EEF1F8;} + .d2-1048954117 .stroke-N7{stroke:#FFFFFF;} + .d2-1048954117 .stroke-B1{stroke:#0D32B2;} + .d2-1048954117 .stroke-B2{stroke:#0D32B2;} + .d2-1048954117 .stroke-B3{stroke:#E3E9FD;} + .d2-1048954117 .stroke-B4{stroke:#E3E9FD;} + .d2-1048954117 .stroke-B5{stroke:#EDF0FD;} + .d2-1048954117 .stroke-B6{stroke:#F7F8FE;} + .d2-1048954117 .stroke-AA2{stroke:#4A6FF3;} + .d2-1048954117 .stroke-AA4{stroke:#EDF0FD;} + .d2-1048954117 .stroke-AA5{stroke:#F7F8FE;} + .d2-1048954117 .stroke-AB4{stroke:#EDF0FD;} + .d2-1048954117 .stroke-AB5{stroke:#F7F8FE;} + .d2-1048954117 .background-color-N1{background-color:#0A0F25;} + .d2-1048954117 .background-color-N2{background-color:#676C7E;} + .d2-1048954117 .background-color-N3{background-color:#9499AB;} + .d2-1048954117 .background-color-N4{background-color:#CFD2DD;} + .d2-1048954117 .background-color-N5{background-color:#DEE1EB;} + .d2-1048954117 .background-color-N6{background-color:#EEF1F8;} + .d2-1048954117 .background-color-N7{background-color:#FFFFFF;} + .d2-1048954117 .background-color-B1{background-color:#0D32B2;} + .d2-1048954117 .background-color-B2{background-color:#0D32B2;} + .d2-1048954117 .background-color-B3{background-color:#E3E9FD;} + .d2-1048954117 .background-color-B4{background-color:#E3E9FD;} + .d2-1048954117 .background-color-B5{background-color:#EDF0FD;} + .d2-1048954117 .background-color-B6{background-color:#F7F8FE;} + .d2-1048954117 .background-color-AA2{background-color:#4A6FF3;} + .d2-1048954117 .background-color-AA4{background-color:#EDF0FD;} + .d2-1048954117 .background-color-AA5{background-color:#F7F8FE;} + .d2-1048954117 .background-color-AB4{background-color:#EDF0FD;} + .d2-1048954117 .background-color-AB5{background-color:#F7F8FE;} + .d2-1048954117 .color-N1{color:#0A0F25;} + .d2-1048954117 .color-N2{color:#676C7E;} + .d2-1048954117 .color-N3{color:#9499AB;} + .d2-1048954117 .color-N4{color:#CFD2DD;} + .d2-1048954117 .color-N5{color:#DEE1EB;} + .d2-1048954117 .color-N6{color:#EEF1F8;} + .d2-1048954117 .color-N7{color:#FFFFFF;} + .d2-1048954117 .color-B1{color:#0D32B2;} + .d2-1048954117 .color-B2{color:#0D32B2;} + .d2-1048954117 .color-B3{color:#E3E9FD;} + .d2-1048954117 .color-B4{color:#E3E9FD;} + .d2-1048954117 .color-B5{color:#EDF0FD;} + .d2-1048954117 .color-B6{color:#F7F8FE;} + .d2-1048954117 .color-AA2{color:#4A6FF3;} + .d2-1048954117 .color-AA4{color:#EDF0FD;} + .d2-1048954117 .color-AA5{color:#F7F8FE;} + .d2-1048954117 .color-AB4{color:#EDF0FD;} + .d2-1048954117 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>top2abcbottomstartend diff --git a/e2etests/testdata/stable/outside_bottom_labels/dagre/board.exp.json b/e2etests/testdata/stable/outside_bottom_labels/dagre/board.exp.json index 0b07ba894..f424c7cf9 100644 --- a/e2etests/testdata/stable/outside_bottom_labels/dagre/board.exp.json +++ b/e2etests/testdata/stable/outside_bottom_labels/dagre/board.exp.json @@ -49,7 +49,7 @@ "type": "person", "pos": { "x": 9, - "y": 447 + "y": 395 }, "width": 157, "height": 105, @@ -90,7 +90,7 @@ "type": "person", "pos": { "x": 28, - "y": 242 + "y": 216 }, "width": 118, "height": 79, @@ -153,20 +153,20 @@ "labelPercentage": 0, "route": [ { - "x": 75, + "x": 71, "y": 142 }, { - "x": 68.5999984741211, - "y": 182 + "x": 67.80000305175781, + "y": 161.1999969482422 }, { - "x": 69, - "y": 202.1999969482422 + "x": 69.19999694824219, + "y": 176.1999969482422 }, { - "x": 77, - "y": 243 + "x": 78, + "y": 217 } ], "isCurve": true, @@ -201,19 +201,19 @@ "route": [ { "x": 87, - "y": 447 + "y": 395 }, { "x": 87, - "y": 407 + "y": 355 }, { "x": 87, - "y": 387 + "y": 340.20001220703125 }, { "x": 87, - "y": 347 + "y": 321 } ], "isCurve": true, @@ -252,15 +252,15 @@ }, { "x": 87, - "y": 182 + "y": 161.1999969482422 }, { "x": 87, - "y": 202 + "y": 176 }, { "x": 87, - "y": 242 + "y": 216 } ], "isCurve": true, @@ -294,20 +294,20 @@ "labelPercentage": 0, "route": [ { - "x": 98, - "y": 448 - }, - { - "x": 105.19999694824219, - "y": 407.20001220703125 + "x": 97, + "y": 395 }, { "x": 105, - "y": 387 + "y": 355 }, { - "x": 97, - "y": 347 + "x": 106, + "y": 340.20001220703125 + }, + { + "x": 102, + "y": 321 } ], "isCurve": true, @@ -341,20 +341,20 @@ "labelPercentage": 0, "route": [ { - "x": 77, - "y": 347 + "x": 72, + "y": 321 + }, + { + "x": 68, + "y": 340.20001220703125 }, { "x": 69, - "y": 387 + "y": 355 }, { - "x": 68.80000305175781, - "y": 407.20001220703125 - }, - { - "x": 76, - "y": 448 + "x": 77, + "y": 395 } ], "isCurve": true, @@ -388,19 +388,19 @@ "labelPercentage": 0, "route": [ { - "x": 97, - "y": 243 + "x": 96, + "y": 217 }, { - "x": 105, - "y": 202.1999969482422 + "x": 104.80000305175781, + "y": 176.1999969482422 }, { - "x": 105.4000015258789, - "y": 182 + "x": 106.19999694824219, + "y": 161.1999969482422 }, { - "x": 99, + "x": 103, "y": 142 } ], diff --git a/e2etests/testdata/stable/outside_bottom_labels/dagre/sketch.exp.svg b/e2etests/testdata/stable/outside_bottom_labels/dagre/sketch.exp.svg index bf848899a..1e74832c4 100644 --- a/e2etests/testdata/stable/outside_bottom_labels/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/outside_bottom_labels/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -Daphne SnickerdoodlePrudence McSnortlePolly Pizzazzle - + .d2-467777836 .fill-N1{fill:#0A0F25;} + .d2-467777836 .fill-N2{fill:#676C7E;} + .d2-467777836 .fill-N3{fill:#9499AB;} + .d2-467777836 .fill-N4{fill:#CFD2DD;} + .d2-467777836 .fill-N5{fill:#DEE1EB;} + .d2-467777836 .fill-N6{fill:#EEF1F8;} + .d2-467777836 .fill-N7{fill:#FFFFFF;} + .d2-467777836 .fill-B1{fill:#0D32B2;} + .d2-467777836 .fill-B2{fill:#0D32B2;} + .d2-467777836 .fill-B3{fill:#E3E9FD;} + .d2-467777836 .fill-B4{fill:#E3E9FD;} + .d2-467777836 .fill-B5{fill:#EDF0FD;} + .d2-467777836 .fill-B6{fill:#F7F8FE;} + .d2-467777836 .fill-AA2{fill:#4A6FF3;} + .d2-467777836 .fill-AA4{fill:#EDF0FD;} + .d2-467777836 .fill-AA5{fill:#F7F8FE;} + .d2-467777836 .fill-AB4{fill:#EDF0FD;} + .d2-467777836 .fill-AB5{fill:#F7F8FE;} + .d2-467777836 .stroke-N1{stroke:#0A0F25;} + .d2-467777836 .stroke-N2{stroke:#676C7E;} + .d2-467777836 .stroke-N3{stroke:#9499AB;} + .d2-467777836 .stroke-N4{stroke:#CFD2DD;} + .d2-467777836 .stroke-N5{stroke:#DEE1EB;} + .d2-467777836 .stroke-N6{stroke:#EEF1F8;} + .d2-467777836 .stroke-N7{stroke:#FFFFFF;} + .d2-467777836 .stroke-B1{stroke:#0D32B2;} + .d2-467777836 .stroke-B2{stroke:#0D32B2;} + .d2-467777836 .stroke-B3{stroke:#E3E9FD;} + .d2-467777836 .stroke-B4{stroke:#E3E9FD;} + .d2-467777836 .stroke-B5{stroke:#EDF0FD;} + .d2-467777836 .stroke-B6{stroke:#F7F8FE;} + .d2-467777836 .stroke-AA2{stroke:#4A6FF3;} + .d2-467777836 .stroke-AA4{stroke:#EDF0FD;} + .d2-467777836 .stroke-AA5{stroke:#F7F8FE;} + .d2-467777836 .stroke-AB4{stroke:#EDF0FD;} + .d2-467777836 .stroke-AB5{stroke:#F7F8FE;} + .d2-467777836 .background-color-N1{background-color:#0A0F25;} + .d2-467777836 .background-color-N2{background-color:#676C7E;} + .d2-467777836 .background-color-N3{background-color:#9499AB;} + .d2-467777836 .background-color-N4{background-color:#CFD2DD;} + .d2-467777836 .background-color-N5{background-color:#DEE1EB;} + .d2-467777836 .background-color-N6{background-color:#EEF1F8;} + .d2-467777836 .background-color-N7{background-color:#FFFFFF;} + .d2-467777836 .background-color-B1{background-color:#0D32B2;} + .d2-467777836 .background-color-B2{background-color:#0D32B2;} + .d2-467777836 .background-color-B3{background-color:#E3E9FD;} + .d2-467777836 .background-color-B4{background-color:#E3E9FD;} + .d2-467777836 .background-color-B5{background-color:#EDF0FD;} + .d2-467777836 .background-color-B6{background-color:#F7F8FE;} + .d2-467777836 .background-color-AA2{background-color:#4A6FF3;} + .d2-467777836 .background-color-AA4{background-color:#EDF0FD;} + .d2-467777836 .background-color-AA5{background-color:#F7F8FE;} + .d2-467777836 .background-color-AB4{background-color:#EDF0FD;} + .d2-467777836 .background-color-AB5{background-color:#F7F8FE;} + .d2-467777836 .color-N1{color:#0A0F25;} + .d2-467777836 .color-N2{color:#676C7E;} + .d2-467777836 .color-N3{color:#9499AB;} + .d2-467777836 .color-N4{color:#CFD2DD;} + .d2-467777836 .color-N5{color:#DEE1EB;} + .d2-467777836 .color-N6{color:#EEF1F8;} + .d2-467777836 .color-N7{color:#FFFFFF;} + .d2-467777836 .color-B1{color:#0D32B2;} + .d2-467777836 .color-B2{color:#0D32B2;} + .d2-467777836 .color-B3{color:#E3E9FD;} + .d2-467777836 .color-B4{color:#E3E9FD;} + .d2-467777836 .color-B5{color:#EDF0FD;} + .d2-467777836 .color-B6{color:#F7F8FE;} + .d2-467777836 .color-AA2{color:#4A6FF3;} + .d2-467777836 .color-AA4{color:#EDF0FD;} + .d2-467777836 .color-AA5{color:#F7F8FE;} + .d2-467777836 .color-AB4{color:#EDF0FD;} + .d2-467777836 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Daphne SnickerdoodlePrudence McSnortlePolly Pizzazzle + - - + + \ No newline at end of file diff --git a/e2etests/testdata/stable/outside_bottom_labels/elk/sketch.exp.svg b/e2etests/testdata/stable/outside_bottom_labels/elk/sketch.exp.svg index 802688175..ffeca84e2 100644 --- a/e2etests/testdata/stable/outside_bottom_labels/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/outside_bottom_labels/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -Daphne SnickerdoodlePrudence McSnortlePolly Pizzazzle + .d2-1996782705 .fill-N1{fill:#0A0F25;} + .d2-1996782705 .fill-N2{fill:#676C7E;} + .d2-1996782705 .fill-N3{fill:#9499AB;} + .d2-1996782705 .fill-N4{fill:#CFD2DD;} + .d2-1996782705 .fill-N5{fill:#DEE1EB;} + .d2-1996782705 .fill-N6{fill:#EEF1F8;} + .d2-1996782705 .fill-N7{fill:#FFFFFF;} + .d2-1996782705 .fill-B1{fill:#0D32B2;} + .d2-1996782705 .fill-B2{fill:#0D32B2;} + .d2-1996782705 .fill-B3{fill:#E3E9FD;} + .d2-1996782705 .fill-B4{fill:#E3E9FD;} + .d2-1996782705 .fill-B5{fill:#EDF0FD;} + .d2-1996782705 .fill-B6{fill:#F7F8FE;} + .d2-1996782705 .fill-AA2{fill:#4A6FF3;} + .d2-1996782705 .fill-AA4{fill:#EDF0FD;} + .d2-1996782705 .fill-AA5{fill:#F7F8FE;} + .d2-1996782705 .fill-AB4{fill:#EDF0FD;} + .d2-1996782705 .fill-AB5{fill:#F7F8FE;} + .d2-1996782705 .stroke-N1{stroke:#0A0F25;} + .d2-1996782705 .stroke-N2{stroke:#676C7E;} + .d2-1996782705 .stroke-N3{stroke:#9499AB;} + .d2-1996782705 .stroke-N4{stroke:#CFD2DD;} + .d2-1996782705 .stroke-N5{stroke:#DEE1EB;} + .d2-1996782705 .stroke-N6{stroke:#EEF1F8;} + .d2-1996782705 .stroke-N7{stroke:#FFFFFF;} + .d2-1996782705 .stroke-B1{stroke:#0D32B2;} + .d2-1996782705 .stroke-B2{stroke:#0D32B2;} + .d2-1996782705 .stroke-B3{stroke:#E3E9FD;} + .d2-1996782705 .stroke-B4{stroke:#E3E9FD;} + .d2-1996782705 .stroke-B5{stroke:#EDF0FD;} + .d2-1996782705 .stroke-B6{stroke:#F7F8FE;} + .d2-1996782705 .stroke-AA2{stroke:#4A6FF3;} + .d2-1996782705 .stroke-AA4{stroke:#EDF0FD;} + .d2-1996782705 .stroke-AA5{stroke:#F7F8FE;} + .d2-1996782705 .stroke-AB4{stroke:#EDF0FD;} + .d2-1996782705 .stroke-AB5{stroke:#F7F8FE;} + .d2-1996782705 .background-color-N1{background-color:#0A0F25;} + .d2-1996782705 .background-color-N2{background-color:#676C7E;} + .d2-1996782705 .background-color-N3{background-color:#9499AB;} + .d2-1996782705 .background-color-N4{background-color:#CFD2DD;} + .d2-1996782705 .background-color-N5{background-color:#DEE1EB;} + .d2-1996782705 .background-color-N6{background-color:#EEF1F8;} + .d2-1996782705 .background-color-N7{background-color:#FFFFFF;} + .d2-1996782705 .background-color-B1{background-color:#0D32B2;} + .d2-1996782705 .background-color-B2{background-color:#0D32B2;} + .d2-1996782705 .background-color-B3{background-color:#E3E9FD;} + .d2-1996782705 .background-color-B4{background-color:#E3E9FD;} + .d2-1996782705 .background-color-B5{background-color:#EDF0FD;} + .d2-1996782705 .background-color-B6{background-color:#F7F8FE;} + .d2-1996782705 .background-color-AA2{background-color:#4A6FF3;} + .d2-1996782705 .background-color-AA4{background-color:#EDF0FD;} + .d2-1996782705 .background-color-AA5{background-color:#F7F8FE;} + .d2-1996782705 .background-color-AB4{background-color:#EDF0FD;} + .d2-1996782705 .background-color-AB5{background-color:#F7F8FE;} + .d2-1996782705 .color-N1{color:#0A0F25;} + .d2-1996782705 .color-N2{color:#676C7E;} + .d2-1996782705 .color-N3{color:#9499AB;} + .d2-1996782705 .color-N4{color:#CFD2DD;} + .d2-1996782705 .color-N5{color:#DEE1EB;} + .d2-1996782705 .color-N6{color:#EEF1F8;} + .d2-1996782705 .color-N7{color:#FFFFFF;} + .d2-1996782705 .color-B1{color:#0D32B2;} + .d2-1996782705 .color-B2{color:#0D32B2;} + .d2-1996782705 .color-B3{color:#E3E9FD;} + .d2-1996782705 .color-B4{color:#E3E9FD;} + .d2-1996782705 .color-B5{color:#EDF0FD;} + .d2-1996782705 .color-B6{color:#F7F8FE;} + .d2-1996782705 .color-AA2{color:#4A6FF3;} + .d2-1996782705 .color-AA4{color:#EDF0FD;} + .d2-1996782705 .color-AA5{color:#F7F8FE;} + .d2-1996782705 .color-AB4{color:#EDF0FD;} + .d2-1996782705 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Daphne SnickerdoodlePrudence McSnortlePolly Pizzazzle diff --git a/e2etests/testdata/stable/ovals/dagre/sketch.exp.svg b/e2etests/testdata/stable/ovals/dagre/sketch.exp.svg index b67810589..254db9585 100644 --- a/e2etests/testdata/stable/ovals/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/ovals/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ --------------------------------------------------------------------------------------------------------------------------------12345 + .d2-2188249131 .fill-N1{fill:#0A0F25;} + .d2-2188249131 .fill-N2{fill:#676C7E;} + .d2-2188249131 .fill-N3{fill:#9499AB;} + .d2-2188249131 .fill-N4{fill:#CFD2DD;} + .d2-2188249131 .fill-N5{fill:#DEE1EB;} + .d2-2188249131 .fill-N6{fill:#EEF1F8;} + .d2-2188249131 .fill-N7{fill:#FFFFFF;} + .d2-2188249131 .fill-B1{fill:#0D32B2;} + .d2-2188249131 .fill-B2{fill:#0D32B2;} + .d2-2188249131 .fill-B3{fill:#E3E9FD;} + .d2-2188249131 .fill-B4{fill:#E3E9FD;} + .d2-2188249131 .fill-B5{fill:#EDF0FD;} + .d2-2188249131 .fill-B6{fill:#F7F8FE;} + .d2-2188249131 .fill-AA2{fill:#4A6FF3;} + .d2-2188249131 .fill-AA4{fill:#EDF0FD;} + .d2-2188249131 .fill-AA5{fill:#F7F8FE;} + .d2-2188249131 .fill-AB4{fill:#EDF0FD;} + .d2-2188249131 .fill-AB5{fill:#F7F8FE;} + .d2-2188249131 .stroke-N1{stroke:#0A0F25;} + .d2-2188249131 .stroke-N2{stroke:#676C7E;} + .d2-2188249131 .stroke-N3{stroke:#9499AB;} + .d2-2188249131 .stroke-N4{stroke:#CFD2DD;} + .d2-2188249131 .stroke-N5{stroke:#DEE1EB;} + .d2-2188249131 .stroke-N6{stroke:#EEF1F8;} + .d2-2188249131 .stroke-N7{stroke:#FFFFFF;} + .d2-2188249131 .stroke-B1{stroke:#0D32B2;} + .d2-2188249131 .stroke-B2{stroke:#0D32B2;} + .d2-2188249131 .stroke-B3{stroke:#E3E9FD;} + .d2-2188249131 .stroke-B4{stroke:#E3E9FD;} + .d2-2188249131 .stroke-B5{stroke:#EDF0FD;} + .d2-2188249131 .stroke-B6{stroke:#F7F8FE;} + .d2-2188249131 .stroke-AA2{stroke:#4A6FF3;} + .d2-2188249131 .stroke-AA4{stroke:#EDF0FD;} + .d2-2188249131 .stroke-AA5{stroke:#F7F8FE;} + .d2-2188249131 .stroke-AB4{stroke:#EDF0FD;} + .d2-2188249131 .stroke-AB5{stroke:#F7F8FE;} + .d2-2188249131 .background-color-N1{background-color:#0A0F25;} + .d2-2188249131 .background-color-N2{background-color:#676C7E;} + .d2-2188249131 .background-color-N3{background-color:#9499AB;} + .d2-2188249131 .background-color-N4{background-color:#CFD2DD;} + .d2-2188249131 .background-color-N5{background-color:#DEE1EB;} + .d2-2188249131 .background-color-N6{background-color:#EEF1F8;} + .d2-2188249131 .background-color-N7{background-color:#FFFFFF;} + .d2-2188249131 .background-color-B1{background-color:#0D32B2;} + .d2-2188249131 .background-color-B2{background-color:#0D32B2;} + .d2-2188249131 .background-color-B3{background-color:#E3E9FD;} + .d2-2188249131 .background-color-B4{background-color:#E3E9FD;} + .d2-2188249131 .background-color-B5{background-color:#EDF0FD;} + .d2-2188249131 .background-color-B6{background-color:#F7F8FE;} + .d2-2188249131 .background-color-AA2{background-color:#4A6FF3;} + .d2-2188249131 .background-color-AA4{background-color:#EDF0FD;} + .d2-2188249131 .background-color-AA5{background-color:#F7F8FE;} + .d2-2188249131 .background-color-AB4{background-color:#EDF0FD;} + .d2-2188249131 .background-color-AB5{background-color:#F7F8FE;} + .d2-2188249131 .color-N1{color:#0A0F25;} + .d2-2188249131 .color-N2{color:#676C7E;} + .d2-2188249131 .color-N3{color:#9499AB;} + .d2-2188249131 .color-N4{color:#CFD2DD;} + .d2-2188249131 .color-N5{color:#DEE1EB;} + .d2-2188249131 .color-N6{color:#EEF1F8;} + .d2-2188249131 .color-N7{color:#FFFFFF;} + .d2-2188249131 .color-B1{color:#0D32B2;} + .d2-2188249131 .color-B2{color:#0D32B2;} + .d2-2188249131 .color-B3{color:#E3E9FD;} + .d2-2188249131 .color-B4{color:#E3E9FD;} + .d2-2188249131 .color-B5{color:#EDF0FD;} + .d2-2188249131 .color-B6{color:#F7F8FE;} + .d2-2188249131 .color-AA2{color:#4A6FF3;} + .d2-2188249131 .color-AA4{color:#EDF0FD;} + .d2-2188249131 .color-AA5{color:#F7F8FE;} + .d2-2188249131 .color-AB4{color:#EDF0FD;} + .d2-2188249131 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-------------------------------------------------------------------------------------------------------------------------------12345 diff --git a/e2etests/testdata/stable/ovals/elk/sketch.exp.svg b/e2etests/testdata/stable/ovals/elk/sketch.exp.svg index 9d7f3c6e6..727ad3f4d 100644 --- a/e2etests/testdata/stable/ovals/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/ovals/elk/sketch.exp.svg @@ -1,9 +1,9 @@ --------------------------------------------------------------------------------------------------------------------------------12345 + .d2-2072620018 .fill-N1{fill:#0A0F25;} + .d2-2072620018 .fill-N2{fill:#676C7E;} + .d2-2072620018 .fill-N3{fill:#9499AB;} + .d2-2072620018 .fill-N4{fill:#CFD2DD;} + .d2-2072620018 .fill-N5{fill:#DEE1EB;} + .d2-2072620018 .fill-N6{fill:#EEF1F8;} + .d2-2072620018 .fill-N7{fill:#FFFFFF;} + .d2-2072620018 .fill-B1{fill:#0D32B2;} + .d2-2072620018 .fill-B2{fill:#0D32B2;} + .d2-2072620018 .fill-B3{fill:#E3E9FD;} + .d2-2072620018 .fill-B4{fill:#E3E9FD;} + .d2-2072620018 .fill-B5{fill:#EDF0FD;} + .d2-2072620018 .fill-B6{fill:#F7F8FE;} + .d2-2072620018 .fill-AA2{fill:#4A6FF3;} + .d2-2072620018 .fill-AA4{fill:#EDF0FD;} + .d2-2072620018 .fill-AA5{fill:#F7F8FE;} + .d2-2072620018 .fill-AB4{fill:#EDF0FD;} + .d2-2072620018 .fill-AB5{fill:#F7F8FE;} + .d2-2072620018 .stroke-N1{stroke:#0A0F25;} + .d2-2072620018 .stroke-N2{stroke:#676C7E;} + .d2-2072620018 .stroke-N3{stroke:#9499AB;} + .d2-2072620018 .stroke-N4{stroke:#CFD2DD;} + .d2-2072620018 .stroke-N5{stroke:#DEE1EB;} + .d2-2072620018 .stroke-N6{stroke:#EEF1F8;} + .d2-2072620018 .stroke-N7{stroke:#FFFFFF;} + .d2-2072620018 .stroke-B1{stroke:#0D32B2;} + .d2-2072620018 .stroke-B2{stroke:#0D32B2;} + .d2-2072620018 .stroke-B3{stroke:#E3E9FD;} + .d2-2072620018 .stroke-B4{stroke:#E3E9FD;} + .d2-2072620018 .stroke-B5{stroke:#EDF0FD;} + .d2-2072620018 .stroke-B6{stroke:#F7F8FE;} + .d2-2072620018 .stroke-AA2{stroke:#4A6FF3;} + .d2-2072620018 .stroke-AA4{stroke:#EDF0FD;} + .d2-2072620018 .stroke-AA5{stroke:#F7F8FE;} + .d2-2072620018 .stroke-AB4{stroke:#EDF0FD;} + .d2-2072620018 .stroke-AB5{stroke:#F7F8FE;} + .d2-2072620018 .background-color-N1{background-color:#0A0F25;} + .d2-2072620018 .background-color-N2{background-color:#676C7E;} + .d2-2072620018 .background-color-N3{background-color:#9499AB;} + .d2-2072620018 .background-color-N4{background-color:#CFD2DD;} + .d2-2072620018 .background-color-N5{background-color:#DEE1EB;} + .d2-2072620018 .background-color-N6{background-color:#EEF1F8;} + .d2-2072620018 .background-color-N7{background-color:#FFFFFF;} + .d2-2072620018 .background-color-B1{background-color:#0D32B2;} + .d2-2072620018 .background-color-B2{background-color:#0D32B2;} + .d2-2072620018 .background-color-B3{background-color:#E3E9FD;} + .d2-2072620018 .background-color-B4{background-color:#E3E9FD;} + .d2-2072620018 .background-color-B5{background-color:#EDF0FD;} + .d2-2072620018 .background-color-B6{background-color:#F7F8FE;} + .d2-2072620018 .background-color-AA2{background-color:#4A6FF3;} + .d2-2072620018 .background-color-AA4{background-color:#EDF0FD;} + .d2-2072620018 .background-color-AA5{background-color:#F7F8FE;} + .d2-2072620018 .background-color-AB4{background-color:#EDF0FD;} + .d2-2072620018 .background-color-AB5{background-color:#F7F8FE;} + .d2-2072620018 .color-N1{color:#0A0F25;} + .d2-2072620018 .color-N2{color:#676C7E;} + .d2-2072620018 .color-N3{color:#9499AB;} + .d2-2072620018 .color-N4{color:#CFD2DD;} + .d2-2072620018 .color-N5{color:#DEE1EB;} + .d2-2072620018 .color-N6{color:#EEF1F8;} + .d2-2072620018 .color-N7{color:#FFFFFF;} + .d2-2072620018 .color-B1{color:#0D32B2;} + .d2-2072620018 .color-B2{color:#0D32B2;} + .d2-2072620018 .color-B3{color:#E3E9FD;} + .d2-2072620018 .color-B4{color:#E3E9FD;} + .d2-2072620018 .color-B5{color:#EDF0FD;} + .d2-2072620018 .color-B6{color:#F7F8FE;} + .d2-2072620018 .color-AA2{color:#4A6FF3;} + .d2-2072620018 .color-AA4{color:#EDF0FD;} + .d2-2072620018 .color-AA5{color:#F7F8FE;} + .d2-2072620018 .color-AB4{color:#EDF0FD;} + .d2-2072620018 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-------------------------------------------------------------------------------------------------------------------------------12345 diff --git a/e2etests/testdata/stable/overlapping_child_label/dagre/board.exp.json b/e2etests/testdata/stable/overlapping_child_label/dagre/board.exp.json new file mode 100644 index 000000000..68e4a89c8 --- /dev/null +++ b/e2etests/testdata/stable/overlapping_child_label/dagre/board.exp.json @@ -0,0 +1,555 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "heyy", + "type": "rectangle", + "pos": { + "x": 10, + "y": 33 + }, + "width": 131, + "height": 500, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "heyy", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 54, + "labelHeight": 36, + "labelPosition": "INSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "heyy.yo", + "type": "rectangle", + "pos": { + "x": 44, + "y": 63 + }, + "width": 63, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "yo", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 18, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "heyy.hey", + "type": "rectangle", + "pos": { + "x": 40, + "y": 390 + }, + "width": 71, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "hey", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 26, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "aaaa", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 181, + "y": -70 + }, + "width": 167, + "height": 242, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "aaaa", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 55, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "aaaa.bbbb", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 211, + "y": 50 + }, + "width": 107, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_RIGHT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "bbbb", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 36, + "labelHeight": 21, + "labelPosition": "OUTSIDE_TOP_LEFT", + "zIndex": 0, + "level": 2 + }, + { + "id": "cccc", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 388, + "y": -27 + }, + "width": 168, + "height": 317, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_BOTTOM_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cccc", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 51, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "cccc.dddd", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 418, + "y": 50 + }, + "width": 108, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_BOTTOM_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "dddd", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 37, + "labelHeight": 21, + "labelPosition": "OUTSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "eeeeeeeeeeeeeeeeeee", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 626, + "y": 20 + }, + "width": 624, + "height": 152, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_MIDDLE_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "eeeeeeeeeeeeeeeeeee", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 263, + "labelHeight": 36, + "labelPosition": "INSIDE_MIDDLE_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "eeeeeeeeeeeeeeeeeee.fffffffffff", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 774, + "y": 50 + }, + "width": 132, + "height": 92, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_MIDDLE", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "fffffffffff", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 61, + "labelHeight": 21, + "labelPosition": "OUTSIDE_RIGHT_MIDDLE", + "zIndex": 0, + "level": 2 + } + ], + "connections": [ + { + "id": "heyy.(yo -> hey)[0]", + "src": "heyy.yo", + "srcArrow": "none", + "dst": "heyy.hey", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 75.5, + "y": 129 + }, + { + "x": 75.5, + "y": 257.79998779296875 + }, + { + "x": 75.5, + "y": 350 + }, + { + "x": 75.5, + "y": 390 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/overlapping_child_label/dagre/sketch.exp.svg b/e2etests/testdata/stable/overlapping_child_label/dagre/sketch.exp.svg new file mode 100644 index 000000000..33ead3e9f --- /dev/null +++ b/e2etests/testdata/stable/overlapping_child_label/dagre/sketch.exp.svg @@ -0,0 +1,110 @@ +heyyaaaacccceeeeeeeeeeeeeeeeeeeyoheybbbbddddfffffffffff + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/overlapping_child_label/elk/board.exp.json b/e2etests/testdata/stable/overlapping_child_label/elk/board.exp.json new file mode 100644 index 000000000..f7d744bab --- /dev/null +++ b/e2etests/testdata/stable/overlapping_child_label/elk/board.exp.json @@ -0,0 +1,546 @@ +{ + "name": "", + "isFolderOnly": false, + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "heyy", + "type": "rectangle", + "pos": { + "x": 12, + "y": 12 + }, + "width": 171, + "height": 302, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "heyy", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 54, + "labelHeight": 36, + "labelPosition": "INSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "heyy.yo", + "type": "rectangle", + "pos": { + "x": 66, + "y": 62 + }, + "width": 63, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "yo", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 18, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "heyy.hey", + "type": "rectangle", + "pos": { + "x": 62, + "y": 198 + }, + "width": 71, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "hey", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 26, + "labelHeight": 21, + "labelPosition": "OUTSIDE_BOTTOM_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "aaaa", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 203, + "y": 42 + }, + "width": 207, + "height": 242, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_TOP_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "aaaa", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 55, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "aaaa.bbbb", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 253, + "y": 116 + }, + "width": 107, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_TOP_RIGHT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "bbbb", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 36, + "labelHeight": 21, + "labelPosition": "OUTSIDE_TOP_LEFT", + "zIndex": 0, + "level": 2 + }, + { + "id": "cccc", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 430, + "y": 42 + }, + "width": 208, + "height": 242, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_BOTTOM_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "cccc", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 51, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "cccc.dddd", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 480, + "y": 92 + }, + "width": 108, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_BOTTOM_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "dddd", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 37, + "labelHeight": 21, + "labelPosition": "OUTSIDE_TOP_RIGHT", + "zIndex": 0, + "level": 2 + }, + { + "id": "eeeeeeeeeeeeeeeeeee", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 658, + "y": 54 + }, + "width": 614, + "height": 218, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "INSIDE_MIDDLE_LEFT", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "eeeeeeeeeeeeeeeeeee", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 263, + "labelHeight": 36, + "labelPosition": "INSIDE_MIDDLE_RIGHT", + "zIndex": 0, + "level": 1 + }, + { + "id": "eeeeeeeeeeeeeeeeeee.fffffffffff", + "type": "rectangle", + "classes": [ + "icon" + ], + "pos": { + "x": 801, + "y": 104 + }, + "width": 132, + "height": 118, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": { + "Scheme": "https", + "Opaque": "", + "User": null, + "Host": "icons.terrastruct.com", + "Path": "/essentials/time.svg", + "RawPath": "", + "OmitHost": false, + "ForceQuery": false, + "RawQuery": "", + "Fragment": "", + "RawFragment": "" + }, + "iconPosition": "OUTSIDE_LEFT_MIDDLE", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "fffffffffff", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 61, + "labelHeight": 21, + "labelPosition": "OUTSIDE_RIGHT_MIDDLE", + "zIndex": 0, + "level": 2 + } + ], + "connections": [ + { + "id": "heyy.(yo -> hey)[0]", + "src": "heyy.yo", + "srcArrow": "none", + "dst": "heyy.hey", + "dstArrow": "triangle", + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "stroke": "B1", + "borderRadius": 10, + "label": "", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N2", + "italic": true, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "labelPosition": "", + "labelPercentage": 0, + "route": [ + { + "x": 97.5, + "y": 128 + }, + { + "x": 97.5, + "y": 198 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + } + ], + "root": { + "id": "", + "type": "", + "pos": { + "x": 0, + "y": 0 + }, + "width": 0, + "height": 0, + "opacity": 0, + "strokeDash": 0, + "strokeWidth": 0, + "borderRadius": 0, + "fill": "N7", + "stroke": "", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0, + "zIndex": 0, + "level": 0 + } +} diff --git a/e2etests/testdata/stable/overlapping_child_label/elk/sketch.exp.svg b/e2etests/testdata/stable/overlapping_child_label/elk/sketch.exp.svg new file mode 100644 index 000000000..feb9c1517 --- /dev/null +++ b/e2etests/testdata/stable/overlapping_child_label/elk/sketch.exp.svg @@ -0,0 +1,110 @@ +heyyaaaacccceeeeeeeeeeeeeeeeeeeyoheybbbbddddfffffffffff + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/overlapping_image_container_labels/dagre/board.exp.json b/e2etests/testdata/stable/overlapping_image_container_labels/dagre/board.exp.json index 7f980921e..8241c4499 100644 --- a/e2etests/testdata/stable/overlapping_image_container_labels/dagre/board.exp.json +++ b/e2etests/testdata/stable/overlapping_image_container_labels/dagre/board.exp.json @@ -61,10 +61,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 295 + "y": 248 }, "width": 932, - "height": 963, + "height": 847, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -102,7 +102,7 @@ "type": "image", "pos": { "x": 402, - "y": 324 + "y": 278 }, "width": 128, "height": 128, @@ -155,10 +155,10 @@ "type": "rectangle", "pos": { "x": 20, - "y": 635 + "y": 547 }, "width": 436, - "height": 593, + "height": 518, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -196,7 +196,7 @@ "type": "image", "pos": { "x": 174, - "y": 667 + "y": 577 }, "width": 128, "height": 128, @@ -248,11 +248,11 @@ "id": "container.left2.inner", "type": "rectangle", "pos": { - "x": 40, - "y": 973 + "x": 50, + "y": 846 }, - "width": 396, - "height": 223, + "width": 376, + "height": 189, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -290,7 +290,7 @@ "type": "image", "pos": { "x": 80, - "y": 1008 + "y": 876 }, "width": 128, "height": 128, @@ -343,7 +343,7 @@ "type": "image", "pos": { "x": 268, - "y": 1008 + "y": 876 }, "width": 128, "height": 128, @@ -396,10 +396,10 @@ "type": "rectangle", "pos": { "x": 476, - "y": 635 + "y": 547 }, "width": 436, - "height": 593, + "height": 518, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -437,7 +437,7 @@ "type": "image", "pos": { "x": 630, - "y": 667 + "y": 577 }, "width": 128, "height": 128, @@ -489,11 +489,11 @@ "id": "container.right.inner", "type": "rectangle", "pos": { - "x": 496, - "y": 973 + "x": 506, + "y": 846 }, - "width": 396, - "height": 223, + "width": 376, + "height": 189, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -531,7 +531,7 @@ "type": "image", "pos": { "x": 536, - "y": 1008 + "y": 876 }, "width": 128, "height": 128, @@ -584,7 +584,7 @@ "type": "image", "pos": { "x": 724, - "y": 1008 + "y": 876 }, "width": 128, "height": 128, @@ -664,15 +664,15 @@ }, { "x": 466, - "y": 194 + "y": 173.1999969482422 }, { "x": 466, - "y": 268.1000061035156 + "y": 238 }, { "x": 466, - "y": 324.5 + "y": 278 } ], "isCurve": true, @@ -706,20 +706,20 @@ "labelPercentage": 0, "route": [ { - "x": 185.36000061035156, - "y": 821.5 + "x": 190, + "y": 704.5 }, { - "x": 152.27200317382812, - "y": 869.9000244140625 + "x": 153.1999969482422, + "y": 753.2999877929688 }, { "x": 144, - "y": 955.5999755859375 + "y": 836 }, { "x": 144, - "y": 1008 + "y": 876 } ], "isCurve": true, @@ -753,20 +753,20 @@ "labelPercentage": 0, "route": [ { - "x": 290.6400146484375, - "y": 821.5 + "x": 286, + "y": 704.5 }, { - "x": 323.7279968261719, - "y": 869.9000244140625 + "x": 322.79998779296875, + "y": 753.2999877929688 }, { "x": 332, - "y": 955.5999755859375 + "y": 836 }, { "x": 332, - "y": 1008 + "y": 876 } ], "isCurve": true, @@ -800,20 +800,20 @@ "labelPercentage": 0, "route": [ { - "x": 641.3599853515625, - "y": 821.5 + "x": 646, + "y": 704.5 }, { - "x": 608.27197265625, - "y": 869.9000244140625 + "x": 609.2000122070312, + "y": 753.2999877929688 }, { "x": 600, - "y": 955.5999755859375 + "y": 836 }, { "x": 600, - "y": 1008 + "y": 876 } ], "isCurve": true, @@ -847,20 +847,20 @@ "labelPercentage": 0, "route": [ { - "x": 746.6400146484375, - "y": 821.5 + "x": 742, + "y": 704.5 }, { - "x": 779.72802734375, - "y": 869.9000244140625 + "x": 778.7999877929688, + "y": 753.2999877929688 }, { "x": 788, - "y": 955.5999755859375 + "y": 836 }, { "x": 788, - "y": 1008 + "y": 876 } ], "isCurve": true, @@ -895,19 +895,19 @@ "route": [ { "x": 402, - "y": 440.09600830078125 + "y": 376.5 }, { "x": 270.79901123046875, - "y": 519.218994140625 + "y": 448.5 }, { "x": 238, - "y": 613.0999755859375 + "y": 537 }, { "x": 238, - "y": 667.5 + "y": 577 } ], "isCurve": true, @@ -942,19 +942,19 @@ "route": [ { "x": 530, - "y": 440.09600830078125 + "y": 376.5 }, { "x": 661.2000122070312, - "y": 519.218994140625 + "y": 448.5 }, { "x": 694, - "y": 613.0999755859375 + "y": 537 }, { "x": 694, - "y": 667.5 + "y": 577 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/overlapping_image_container_labels/dagre/sketch.exp.svg b/e2etests/testdata/stable/overlapping_image_container_labels/dagre/sketch.exp.svg index 3bf1bc2fc..06faeb033 100644 --- a/e2etests/testdata/stable/overlapping_image_container_labels/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/overlapping_image_container_labels/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -rootcontainerrootleft2rightrootinnerrootinnerleft2rightleft2right to inner left2to inner rightto inner left2to inner rightto left2 container rootto right container root - + .d2-824629014 .fill-N1{fill:#0A0F25;} + .d2-824629014 .fill-N2{fill:#676C7E;} + .d2-824629014 .fill-N3{fill:#9499AB;} + .d2-824629014 .fill-N4{fill:#CFD2DD;} + .d2-824629014 .fill-N5{fill:#DEE1EB;} + .d2-824629014 .fill-N6{fill:#EEF1F8;} + .d2-824629014 .fill-N7{fill:#FFFFFF;} + .d2-824629014 .fill-B1{fill:#0D32B2;} + .d2-824629014 .fill-B2{fill:#0D32B2;} + .d2-824629014 .fill-B3{fill:#E3E9FD;} + .d2-824629014 .fill-B4{fill:#E3E9FD;} + .d2-824629014 .fill-B5{fill:#EDF0FD;} + .d2-824629014 .fill-B6{fill:#F7F8FE;} + .d2-824629014 .fill-AA2{fill:#4A6FF3;} + .d2-824629014 .fill-AA4{fill:#EDF0FD;} + .d2-824629014 .fill-AA5{fill:#F7F8FE;} + .d2-824629014 .fill-AB4{fill:#EDF0FD;} + .d2-824629014 .fill-AB5{fill:#F7F8FE;} + .d2-824629014 .stroke-N1{stroke:#0A0F25;} + .d2-824629014 .stroke-N2{stroke:#676C7E;} + .d2-824629014 .stroke-N3{stroke:#9499AB;} + .d2-824629014 .stroke-N4{stroke:#CFD2DD;} + .d2-824629014 .stroke-N5{stroke:#DEE1EB;} + .d2-824629014 .stroke-N6{stroke:#EEF1F8;} + .d2-824629014 .stroke-N7{stroke:#FFFFFF;} + .d2-824629014 .stroke-B1{stroke:#0D32B2;} + .d2-824629014 .stroke-B2{stroke:#0D32B2;} + .d2-824629014 .stroke-B3{stroke:#E3E9FD;} + .d2-824629014 .stroke-B4{stroke:#E3E9FD;} + .d2-824629014 .stroke-B5{stroke:#EDF0FD;} + .d2-824629014 .stroke-B6{stroke:#F7F8FE;} + .d2-824629014 .stroke-AA2{stroke:#4A6FF3;} + .d2-824629014 .stroke-AA4{stroke:#EDF0FD;} + .d2-824629014 .stroke-AA5{stroke:#F7F8FE;} + .d2-824629014 .stroke-AB4{stroke:#EDF0FD;} + .d2-824629014 .stroke-AB5{stroke:#F7F8FE;} + .d2-824629014 .background-color-N1{background-color:#0A0F25;} + .d2-824629014 .background-color-N2{background-color:#676C7E;} + .d2-824629014 .background-color-N3{background-color:#9499AB;} + .d2-824629014 .background-color-N4{background-color:#CFD2DD;} + .d2-824629014 .background-color-N5{background-color:#DEE1EB;} + .d2-824629014 .background-color-N6{background-color:#EEF1F8;} + .d2-824629014 .background-color-N7{background-color:#FFFFFF;} + .d2-824629014 .background-color-B1{background-color:#0D32B2;} + .d2-824629014 .background-color-B2{background-color:#0D32B2;} + .d2-824629014 .background-color-B3{background-color:#E3E9FD;} + .d2-824629014 .background-color-B4{background-color:#E3E9FD;} + .d2-824629014 .background-color-B5{background-color:#EDF0FD;} + .d2-824629014 .background-color-B6{background-color:#F7F8FE;} + .d2-824629014 .background-color-AA2{background-color:#4A6FF3;} + .d2-824629014 .background-color-AA4{background-color:#EDF0FD;} + .d2-824629014 .background-color-AA5{background-color:#F7F8FE;} + .d2-824629014 .background-color-AB4{background-color:#EDF0FD;} + .d2-824629014 .background-color-AB5{background-color:#F7F8FE;} + .d2-824629014 .color-N1{color:#0A0F25;} + .d2-824629014 .color-N2{color:#676C7E;} + .d2-824629014 .color-N3{color:#9499AB;} + .d2-824629014 .color-N4{color:#CFD2DD;} + .d2-824629014 .color-N5{color:#DEE1EB;} + .d2-824629014 .color-N6{color:#EEF1F8;} + .d2-824629014 .color-N7{color:#FFFFFF;} + .d2-824629014 .color-B1{color:#0D32B2;} + .d2-824629014 .color-B2{color:#0D32B2;} + .d2-824629014 .color-B3{color:#E3E9FD;} + .d2-824629014 .color-B4{color:#E3E9FD;} + .d2-824629014 .color-B5{color:#EDF0FD;} + .d2-824629014 .color-B6{color:#F7F8FE;} + .d2-824629014 .color-AA2{color:#4A6FF3;} + .d2-824629014 .color-AA4{color:#EDF0FD;} + .d2-824629014 .color-AA5{color:#F7F8FE;} + .d2-824629014 .color-AB4{color:#EDF0FD;} + .d2-824629014 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rootcontainerrootleft2rightrootinnerrootinnerleft2rightleft2right to inner left2to inner rightto inner left2to inner rightto left2 container rootto right container root + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/overlapping_image_container_labels/elk/sketch.exp.svg b/e2etests/testdata/stable/overlapping_image_container_labels/elk/sketch.exp.svg index 6e9c94a61..524a23854 100644 --- a/e2etests/testdata/stable/overlapping_image_container_labels/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/overlapping_image_container_labels/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -rootcontainerrootleft2rightrootinnerrootinnerleft2rightleft2right to inner left2to inner rightto inner left2to inner rightto left2 container rootto right container root + .d2-3062410854 .fill-N1{fill:#0A0F25;} + .d2-3062410854 .fill-N2{fill:#676C7E;} + .d2-3062410854 .fill-N3{fill:#9499AB;} + .d2-3062410854 .fill-N4{fill:#CFD2DD;} + .d2-3062410854 .fill-N5{fill:#DEE1EB;} + .d2-3062410854 .fill-N6{fill:#EEF1F8;} + .d2-3062410854 .fill-N7{fill:#FFFFFF;} + .d2-3062410854 .fill-B1{fill:#0D32B2;} + .d2-3062410854 .fill-B2{fill:#0D32B2;} + .d2-3062410854 .fill-B3{fill:#E3E9FD;} + .d2-3062410854 .fill-B4{fill:#E3E9FD;} + .d2-3062410854 .fill-B5{fill:#EDF0FD;} + .d2-3062410854 .fill-B6{fill:#F7F8FE;} + .d2-3062410854 .fill-AA2{fill:#4A6FF3;} + .d2-3062410854 .fill-AA4{fill:#EDF0FD;} + .d2-3062410854 .fill-AA5{fill:#F7F8FE;} + .d2-3062410854 .fill-AB4{fill:#EDF0FD;} + .d2-3062410854 .fill-AB5{fill:#F7F8FE;} + .d2-3062410854 .stroke-N1{stroke:#0A0F25;} + .d2-3062410854 .stroke-N2{stroke:#676C7E;} + .d2-3062410854 .stroke-N3{stroke:#9499AB;} + .d2-3062410854 .stroke-N4{stroke:#CFD2DD;} + .d2-3062410854 .stroke-N5{stroke:#DEE1EB;} + .d2-3062410854 .stroke-N6{stroke:#EEF1F8;} + .d2-3062410854 .stroke-N7{stroke:#FFFFFF;} + .d2-3062410854 .stroke-B1{stroke:#0D32B2;} + .d2-3062410854 .stroke-B2{stroke:#0D32B2;} + .d2-3062410854 .stroke-B3{stroke:#E3E9FD;} + .d2-3062410854 .stroke-B4{stroke:#E3E9FD;} + .d2-3062410854 .stroke-B5{stroke:#EDF0FD;} + .d2-3062410854 .stroke-B6{stroke:#F7F8FE;} + .d2-3062410854 .stroke-AA2{stroke:#4A6FF3;} + .d2-3062410854 .stroke-AA4{stroke:#EDF0FD;} + .d2-3062410854 .stroke-AA5{stroke:#F7F8FE;} + .d2-3062410854 .stroke-AB4{stroke:#EDF0FD;} + .d2-3062410854 .stroke-AB5{stroke:#F7F8FE;} + .d2-3062410854 .background-color-N1{background-color:#0A0F25;} + .d2-3062410854 .background-color-N2{background-color:#676C7E;} + .d2-3062410854 .background-color-N3{background-color:#9499AB;} + .d2-3062410854 .background-color-N4{background-color:#CFD2DD;} + .d2-3062410854 .background-color-N5{background-color:#DEE1EB;} + .d2-3062410854 .background-color-N6{background-color:#EEF1F8;} + .d2-3062410854 .background-color-N7{background-color:#FFFFFF;} + .d2-3062410854 .background-color-B1{background-color:#0D32B2;} + .d2-3062410854 .background-color-B2{background-color:#0D32B2;} + .d2-3062410854 .background-color-B3{background-color:#E3E9FD;} + .d2-3062410854 .background-color-B4{background-color:#E3E9FD;} + .d2-3062410854 .background-color-B5{background-color:#EDF0FD;} + .d2-3062410854 .background-color-B6{background-color:#F7F8FE;} + .d2-3062410854 .background-color-AA2{background-color:#4A6FF3;} + .d2-3062410854 .background-color-AA4{background-color:#EDF0FD;} + .d2-3062410854 .background-color-AA5{background-color:#F7F8FE;} + .d2-3062410854 .background-color-AB4{background-color:#EDF0FD;} + .d2-3062410854 .background-color-AB5{background-color:#F7F8FE;} + .d2-3062410854 .color-N1{color:#0A0F25;} + .d2-3062410854 .color-N2{color:#676C7E;} + .d2-3062410854 .color-N3{color:#9499AB;} + .d2-3062410854 .color-N4{color:#CFD2DD;} + .d2-3062410854 .color-N5{color:#DEE1EB;} + .d2-3062410854 .color-N6{color:#EEF1F8;} + .d2-3062410854 .color-N7{color:#FFFFFF;} + .d2-3062410854 .color-B1{color:#0D32B2;} + .d2-3062410854 .color-B2{color:#0D32B2;} + .d2-3062410854 .color-B3{color:#E3E9FD;} + .d2-3062410854 .color-B4{color:#E3E9FD;} + .d2-3062410854 .color-B5{color:#EDF0FD;} + .d2-3062410854 .color-B6{color:#F7F8FE;} + .d2-3062410854 .color-AA2{color:#4A6FF3;} + .d2-3062410854 .color-AA4{color:#EDF0FD;} + .d2-3062410854 .color-AA5{color:#F7F8FE;} + .d2-3062410854 .color-AB4{color:#EDF0FD;} + .d2-3062410854 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rootcontainerrootleft2rightrootinnerrootinnerleft2rightleft2right to inner left2to inner rightto inner left2to inner rightto left2 container rootto right container root diff --git a/e2etests/testdata/stable/p/dagre/sketch.exp.svg b/e2etests/testdata/stable/p/dagre/sketch.exp.svg index 70dde9fbb..1696d2af0 100644 --- a/e2etests/testdata/stable/p/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/p/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -

    A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines. (A blank line is any line that looks like a blank line -- a line containing nothing but spaces or tabs is considered blank.) Normal paragraphs should not be indented with spaces or tabs.

    -
    ab +ab diff --git a/e2etests/testdata/stable/p/elk/sketch.exp.svg b/e2etests/testdata/stable/p/elk/sketch.exp.svg index 353d47595..9ecd07f59 100644 --- a/e2etests/testdata/stable/p/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/p/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -

    A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines. (A blank line is any line that looks like a blank line -- a line containing nothing but spaces or tabs is considered blank.) Normal paragraphs should not be indented with spaces or tabs.

    -
    ab +ab diff --git a/e2etests/testdata/stable/people/dagre/sketch.exp.svg b/e2etests/testdata/stable/people/dagre/sketch.exp.svg index 9897f81b9..d36be5bb3 100644 --- a/e2etests/testdata/stable/people/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/people/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ --------------------------------------------------------------------------------------------------------------------------------12345 + .d2-2582981398 .fill-N1{fill:#0A0F25;} + .d2-2582981398 .fill-N2{fill:#676C7E;} + .d2-2582981398 .fill-N3{fill:#9499AB;} + .d2-2582981398 .fill-N4{fill:#CFD2DD;} + .d2-2582981398 .fill-N5{fill:#DEE1EB;} + .d2-2582981398 .fill-N6{fill:#EEF1F8;} + .d2-2582981398 .fill-N7{fill:#FFFFFF;} + .d2-2582981398 .fill-B1{fill:#0D32B2;} + .d2-2582981398 .fill-B2{fill:#0D32B2;} + .d2-2582981398 .fill-B3{fill:#E3E9FD;} + .d2-2582981398 .fill-B4{fill:#E3E9FD;} + .d2-2582981398 .fill-B5{fill:#EDF0FD;} + .d2-2582981398 .fill-B6{fill:#F7F8FE;} + .d2-2582981398 .fill-AA2{fill:#4A6FF3;} + .d2-2582981398 .fill-AA4{fill:#EDF0FD;} + .d2-2582981398 .fill-AA5{fill:#F7F8FE;} + .d2-2582981398 .fill-AB4{fill:#EDF0FD;} + .d2-2582981398 .fill-AB5{fill:#F7F8FE;} + .d2-2582981398 .stroke-N1{stroke:#0A0F25;} + .d2-2582981398 .stroke-N2{stroke:#676C7E;} + .d2-2582981398 .stroke-N3{stroke:#9499AB;} + .d2-2582981398 .stroke-N4{stroke:#CFD2DD;} + .d2-2582981398 .stroke-N5{stroke:#DEE1EB;} + .d2-2582981398 .stroke-N6{stroke:#EEF1F8;} + .d2-2582981398 .stroke-N7{stroke:#FFFFFF;} + .d2-2582981398 .stroke-B1{stroke:#0D32B2;} + .d2-2582981398 .stroke-B2{stroke:#0D32B2;} + .d2-2582981398 .stroke-B3{stroke:#E3E9FD;} + .d2-2582981398 .stroke-B4{stroke:#E3E9FD;} + .d2-2582981398 .stroke-B5{stroke:#EDF0FD;} + .d2-2582981398 .stroke-B6{stroke:#F7F8FE;} + .d2-2582981398 .stroke-AA2{stroke:#4A6FF3;} + .d2-2582981398 .stroke-AA4{stroke:#EDF0FD;} + .d2-2582981398 .stroke-AA5{stroke:#F7F8FE;} + .d2-2582981398 .stroke-AB4{stroke:#EDF0FD;} + .d2-2582981398 .stroke-AB5{stroke:#F7F8FE;} + .d2-2582981398 .background-color-N1{background-color:#0A0F25;} + .d2-2582981398 .background-color-N2{background-color:#676C7E;} + .d2-2582981398 .background-color-N3{background-color:#9499AB;} + .d2-2582981398 .background-color-N4{background-color:#CFD2DD;} + .d2-2582981398 .background-color-N5{background-color:#DEE1EB;} + .d2-2582981398 .background-color-N6{background-color:#EEF1F8;} + .d2-2582981398 .background-color-N7{background-color:#FFFFFF;} + .d2-2582981398 .background-color-B1{background-color:#0D32B2;} + .d2-2582981398 .background-color-B2{background-color:#0D32B2;} + .d2-2582981398 .background-color-B3{background-color:#E3E9FD;} + .d2-2582981398 .background-color-B4{background-color:#E3E9FD;} + .d2-2582981398 .background-color-B5{background-color:#EDF0FD;} + .d2-2582981398 .background-color-B6{background-color:#F7F8FE;} + .d2-2582981398 .background-color-AA2{background-color:#4A6FF3;} + .d2-2582981398 .background-color-AA4{background-color:#EDF0FD;} + .d2-2582981398 .background-color-AA5{background-color:#F7F8FE;} + .d2-2582981398 .background-color-AB4{background-color:#EDF0FD;} + .d2-2582981398 .background-color-AB5{background-color:#F7F8FE;} + .d2-2582981398 .color-N1{color:#0A0F25;} + .d2-2582981398 .color-N2{color:#676C7E;} + .d2-2582981398 .color-N3{color:#9499AB;} + .d2-2582981398 .color-N4{color:#CFD2DD;} + .d2-2582981398 .color-N5{color:#DEE1EB;} + .d2-2582981398 .color-N6{color:#EEF1F8;} + .d2-2582981398 .color-N7{color:#FFFFFF;} + .d2-2582981398 .color-B1{color:#0D32B2;} + .d2-2582981398 .color-B2{color:#0D32B2;} + .d2-2582981398 .color-B3{color:#E3E9FD;} + .d2-2582981398 .color-B4{color:#E3E9FD;} + .d2-2582981398 .color-B5{color:#EDF0FD;} + .d2-2582981398 .color-B6{color:#F7F8FE;} + .d2-2582981398 .color-AA2{color:#4A6FF3;} + .d2-2582981398 .color-AA4{color:#EDF0FD;} + .d2-2582981398 .color-AA5{color:#F7F8FE;} + .d2-2582981398 .color-AB4{color:#EDF0FD;} + .d2-2582981398 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-------------------------------------------------------------------------------------------------------------------------------12345 diff --git a/e2etests/testdata/stable/people/elk/sketch.exp.svg b/e2etests/testdata/stable/people/elk/sketch.exp.svg index 5401f84c8..47affd2cc 100644 --- a/e2etests/testdata/stable/people/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/people/elk/sketch.exp.svg @@ -1,9 +1,9 @@ --------------------------------------------------------------------------------------------------------------------------------12345 + .d2-2535413882 .fill-N1{fill:#0A0F25;} + .d2-2535413882 .fill-N2{fill:#676C7E;} + .d2-2535413882 .fill-N3{fill:#9499AB;} + .d2-2535413882 .fill-N4{fill:#CFD2DD;} + .d2-2535413882 .fill-N5{fill:#DEE1EB;} + .d2-2535413882 .fill-N6{fill:#EEF1F8;} + .d2-2535413882 .fill-N7{fill:#FFFFFF;} + .d2-2535413882 .fill-B1{fill:#0D32B2;} + .d2-2535413882 .fill-B2{fill:#0D32B2;} + .d2-2535413882 .fill-B3{fill:#E3E9FD;} + .d2-2535413882 .fill-B4{fill:#E3E9FD;} + .d2-2535413882 .fill-B5{fill:#EDF0FD;} + .d2-2535413882 .fill-B6{fill:#F7F8FE;} + .d2-2535413882 .fill-AA2{fill:#4A6FF3;} + .d2-2535413882 .fill-AA4{fill:#EDF0FD;} + .d2-2535413882 .fill-AA5{fill:#F7F8FE;} + .d2-2535413882 .fill-AB4{fill:#EDF0FD;} + .d2-2535413882 .fill-AB5{fill:#F7F8FE;} + .d2-2535413882 .stroke-N1{stroke:#0A0F25;} + .d2-2535413882 .stroke-N2{stroke:#676C7E;} + .d2-2535413882 .stroke-N3{stroke:#9499AB;} + .d2-2535413882 .stroke-N4{stroke:#CFD2DD;} + .d2-2535413882 .stroke-N5{stroke:#DEE1EB;} + .d2-2535413882 .stroke-N6{stroke:#EEF1F8;} + .d2-2535413882 .stroke-N7{stroke:#FFFFFF;} + .d2-2535413882 .stroke-B1{stroke:#0D32B2;} + .d2-2535413882 .stroke-B2{stroke:#0D32B2;} + .d2-2535413882 .stroke-B3{stroke:#E3E9FD;} + .d2-2535413882 .stroke-B4{stroke:#E3E9FD;} + .d2-2535413882 .stroke-B5{stroke:#EDF0FD;} + .d2-2535413882 .stroke-B6{stroke:#F7F8FE;} + .d2-2535413882 .stroke-AA2{stroke:#4A6FF3;} + .d2-2535413882 .stroke-AA4{stroke:#EDF0FD;} + .d2-2535413882 .stroke-AA5{stroke:#F7F8FE;} + .d2-2535413882 .stroke-AB4{stroke:#EDF0FD;} + .d2-2535413882 .stroke-AB5{stroke:#F7F8FE;} + .d2-2535413882 .background-color-N1{background-color:#0A0F25;} + .d2-2535413882 .background-color-N2{background-color:#676C7E;} + .d2-2535413882 .background-color-N3{background-color:#9499AB;} + .d2-2535413882 .background-color-N4{background-color:#CFD2DD;} + .d2-2535413882 .background-color-N5{background-color:#DEE1EB;} + .d2-2535413882 .background-color-N6{background-color:#EEF1F8;} + .d2-2535413882 .background-color-N7{background-color:#FFFFFF;} + .d2-2535413882 .background-color-B1{background-color:#0D32B2;} + .d2-2535413882 .background-color-B2{background-color:#0D32B2;} + .d2-2535413882 .background-color-B3{background-color:#E3E9FD;} + .d2-2535413882 .background-color-B4{background-color:#E3E9FD;} + .d2-2535413882 .background-color-B5{background-color:#EDF0FD;} + .d2-2535413882 .background-color-B6{background-color:#F7F8FE;} + .d2-2535413882 .background-color-AA2{background-color:#4A6FF3;} + .d2-2535413882 .background-color-AA4{background-color:#EDF0FD;} + .d2-2535413882 .background-color-AA5{background-color:#F7F8FE;} + .d2-2535413882 .background-color-AB4{background-color:#EDF0FD;} + .d2-2535413882 .background-color-AB5{background-color:#F7F8FE;} + .d2-2535413882 .color-N1{color:#0A0F25;} + .d2-2535413882 .color-N2{color:#676C7E;} + .d2-2535413882 .color-N3{color:#9499AB;} + .d2-2535413882 .color-N4{color:#CFD2DD;} + .d2-2535413882 .color-N5{color:#DEE1EB;} + .d2-2535413882 .color-N6{color:#EEF1F8;} + .d2-2535413882 .color-N7{color:#FFFFFF;} + .d2-2535413882 .color-B1{color:#0D32B2;} + .d2-2535413882 .color-B2{color:#0D32B2;} + .d2-2535413882 .color-B3{color:#E3E9FD;} + .d2-2535413882 .color-B4{color:#E3E9FD;} + .d2-2535413882 .color-B5{color:#EDF0FD;} + .d2-2535413882 .color-B6{color:#F7F8FE;} + .d2-2535413882 .color-AA2{color:#4A6FF3;} + .d2-2535413882 .color-AA4{color:#EDF0FD;} + .d2-2535413882 .color-AA5{color:#F7F8FE;} + .d2-2535413882 .color-AB4{color:#EDF0FD;} + .d2-2535413882 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-------------------------------------------------------------------------------------------------------------------------------12345 diff --git a/e2etests/testdata/stable/pre/dagre/sketch.exp.svg b/e2etests/testdata/stable/pre/dagre/sketch.exp.svg index 279681f60..c6c8c6617 100644 --- a/e2etests/testdata/stable/pre/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/pre/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -

    Here is an example of AppleScript:

    @@ -850,7 +850,7 @@ end tell

    A code block continues until it reaches a line that is not indented (or the end of the article).

    -
    ab +ab diff --git a/e2etests/testdata/stable/pre/elk/sketch.exp.svg b/e2etests/testdata/stable/pre/elk/sketch.exp.svg index 236a3dac0..842018046 100644 --- a/e2etests/testdata/stable/pre/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/pre/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -

    Here is an example of AppleScript:

    @@ -850,7 +850,7 @@ end tell

    A code block continues until it reaches a line that is not indented (or the end of the article).

    -
    ab +ab diff --git a/e2etests/testdata/stable/self-referencing/dagre/board.exp.json b/e2etests/testdata/stable/self-referencing/dagre/board.exp.json index b6cff33a9..504fa726a 100644 --- a/e2etests/testdata/stable/self-referencing/dagre/board.exp.json +++ b/e2etests/testdata/stable/self-referencing/dagre/board.exp.json @@ -153,12 +153,12 @@ "labelPercentage": 0, "route": [ { - "x": 53, - "y": 18.384000778198242 + "x": 53.33300018310547, + "y": 18 }, { - "x": 79.66600036621094, - "y": 3.6760001182556152 + "x": 79.73300170898438, + "y": 3.5989999771118164 }, { "x": 88, @@ -197,12 +197,12 @@ "y": 59.400001525878906 }, { - "x": 79.66600036621094, - "y": 62.323001861572266 + "x": 79.73300170898438, + "y": 62.400001525878906 }, { - "x": 53, - "y": 47.6150016784668 + "x": 53.33300018310547, + "y": 48 } ], "isCurve": true, @@ -237,11 +237,11 @@ "route": [ { "x": 53, - "y": 22.889999389648438 + "y": 23 }, { "x": 101, - "y": 4.578000068664551 + "y": 4.598999977111816 }, { "x": 116, @@ -281,11 +281,11 @@ }, { "x": 101, - "y": 61.42100143432617 + "y": 61.400001525878906 }, { "x": 53, - "y": 43.10900115966797 + "y": 43 } ], "isCurve": true, @@ -413,12 +413,12 @@ "labelPercentage": 0, "route": [ { - "x": 245, - "y": 19.523000717163086 + "x": 244.66600036621094, + "y": 20 }, { - "x": 275.13299560546875, - "y": 3.9040000438690186 + "x": 275.0660095214844, + "y": 4 }, { "x": 284.54998779296875, @@ -457,12 +457,12 @@ "y": 59.400001525878906 }, { - "x": 275.13299560546875, - "y": 62.095001220703125 + "x": 275.0660095214844, + "y": 62 }, { - "x": 245, - "y": 46.47600173950195 + "x": 244.66600036621094, + "y": 46 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/self-referencing/dagre/sketch.exp.svg b/e2etests/testdata/stable/self-referencing/dagre/sketch.exp.svg index b2cb11f9b..36a0763a7 100644 --- a/e2etests/testdata/stable/self-referencing/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/self-referencing/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -xyz hello + .d2-1241499041 .fill-N1{fill:#0A0F25;} + .d2-1241499041 .fill-N2{fill:#676C7E;} + .d2-1241499041 .fill-N3{fill:#9499AB;} + .d2-1241499041 .fill-N4{fill:#CFD2DD;} + .d2-1241499041 .fill-N5{fill:#DEE1EB;} + .d2-1241499041 .fill-N6{fill:#EEF1F8;} + .d2-1241499041 .fill-N7{fill:#FFFFFF;} + .d2-1241499041 .fill-B1{fill:#0D32B2;} + .d2-1241499041 .fill-B2{fill:#0D32B2;} + .d2-1241499041 .fill-B3{fill:#E3E9FD;} + .d2-1241499041 .fill-B4{fill:#E3E9FD;} + .d2-1241499041 .fill-B5{fill:#EDF0FD;} + .d2-1241499041 .fill-B6{fill:#F7F8FE;} + .d2-1241499041 .fill-AA2{fill:#4A6FF3;} + .d2-1241499041 .fill-AA4{fill:#EDF0FD;} + .d2-1241499041 .fill-AA5{fill:#F7F8FE;} + .d2-1241499041 .fill-AB4{fill:#EDF0FD;} + .d2-1241499041 .fill-AB5{fill:#F7F8FE;} + .d2-1241499041 .stroke-N1{stroke:#0A0F25;} + .d2-1241499041 .stroke-N2{stroke:#676C7E;} + .d2-1241499041 .stroke-N3{stroke:#9499AB;} + .d2-1241499041 .stroke-N4{stroke:#CFD2DD;} + .d2-1241499041 .stroke-N5{stroke:#DEE1EB;} + .d2-1241499041 .stroke-N6{stroke:#EEF1F8;} + .d2-1241499041 .stroke-N7{stroke:#FFFFFF;} + .d2-1241499041 .stroke-B1{stroke:#0D32B2;} + .d2-1241499041 .stroke-B2{stroke:#0D32B2;} + .d2-1241499041 .stroke-B3{stroke:#E3E9FD;} + .d2-1241499041 .stroke-B4{stroke:#E3E9FD;} + .d2-1241499041 .stroke-B5{stroke:#EDF0FD;} + .d2-1241499041 .stroke-B6{stroke:#F7F8FE;} + .d2-1241499041 .stroke-AA2{stroke:#4A6FF3;} + .d2-1241499041 .stroke-AA4{stroke:#EDF0FD;} + .d2-1241499041 .stroke-AA5{stroke:#F7F8FE;} + .d2-1241499041 .stroke-AB4{stroke:#EDF0FD;} + .d2-1241499041 .stroke-AB5{stroke:#F7F8FE;} + .d2-1241499041 .background-color-N1{background-color:#0A0F25;} + .d2-1241499041 .background-color-N2{background-color:#676C7E;} + .d2-1241499041 .background-color-N3{background-color:#9499AB;} + .d2-1241499041 .background-color-N4{background-color:#CFD2DD;} + .d2-1241499041 .background-color-N5{background-color:#DEE1EB;} + .d2-1241499041 .background-color-N6{background-color:#EEF1F8;} + .d2-1241499041 .background-color-N7{background-color:#FFFFFF;} + .d2-1241499041 .background-color-B1{background-color:#0D32B2;} + .d2-1241499041 .background-color-B2{background-color:#0D32B2;} + .d2-1241499041 .background-color-B3{background-color:#E3E9FD;} + .d2-1241499041 .background-color-B4{background-color:#E3E9FD;} + .d2-1241499041 .background-color-B5{background-color:#EDF0FD;} + .d2-1241499041 .background-color-B6{background-color:#F7F8FE;} + .d2-1241499041 .background-color-AA2{background-color:#4A6FF3;} + .d2-1241499041 .background-color-AA4{background-color:#EDF0FD;} + .d2-1241499041 .background-color-AA5{background-color:#F7F8FE;} + .d2-1241499041 .background-color-AB4{background-color:#EDF0FD;} + .d2-1241499041 .background-color-AB5{background-color:#F7F8FE;} + .d2-1241499041 .color-N1{color:#0A0F25;} + .d2-1241499041 .color-N2{color:#676C7E;} + .d2-1241499041 .color-N3{color:#9499AB;} + .d2-1241499041 .color-N4{color:#CFD2DD;} + .d2-1241499041 .color-N5{color:#DEE1EB;} + .d2-1241499041 .color-N6{color:#EEF1F8;} + .d2-1241499041 .color-N7{color:#FFFFFF;} + .d2-1241499041 .color-B1{color:#0D32B2;} + .d2-1241499041 .color-B2{color:#0D32B2;} + .d2-1241499041 .color-B3{color:#E3E9FD;} + .d2-1241499041 .color-B4{color:#E3E9FD;} + .d2-1241499041 .color-B5{color:#EDF0FD;} + .d2-1241499041 .color-B6{color:#F7F8FE;} + .d2-1241499041 .color-AA2{color:#4A6FF3;} + .d2-1241499041 .color-AA4{color:#EDF0FD;} + .d2-1241499041 .color-AA5{color:#F7F8FE;} + .d2-1241499041 .color-AB4{color:#EDF0FD;} + .d2-1241499041 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyz hello diff --git a/e2etests/testdata/stable/self-referencing/elk/sketch.exp.svg b/e2etests/testdata/stable/self-referencing/elk/sketch.exp.svg index 0b41c7c7c..ada419fad 100644 --- a/e2etests/testdata/stable/self-referencing/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/self-referencing/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -xyz hello + .d2-2878633398 .fill-N1{fill:#0A0F25;} + .d2-2878633398 .fill-N2{fill:#676C7E;} + .d2-2878633398 .fill-N3{fill:#9499AB;} + .d2-2878633398 .fill-N4{fill:#CFD2DD;} + .d2-2878633398 .fill-N5{fill:#DEE1EB;} + .d2-2878633398 .fill-N6{fill:#EEF1F8;} + .d2-2878633398 .fill-N7{fill:#FFFFFF;} + .d2-2878633398 .fill-B1{fill:#0D32B2;} + .d2-2878633398 .fill-B2{fill:#0D32B2;} + .d2-2878633398 .fill-B3{fill:#E3E9FD;} + .d2-2878633398 .fill-B4{fill:#E3E9FD;} + .d2-2878633398 .fill-B5{fill:#EDF0FD;} + .d2-2878633398 .fill-B6{fill:#F7F8FE;} + .d2-2878633398 .fill-AA2{fill:#4A6FF3;} + .d2-2878633398 .fill-AA4{fill:#EDF0FD;} + .d2-2878633398 .fill-AA5{fill:#F7F8FE;} + .d2-2878633398 .fill-AB4{fill:#EDF0FD;} + .d2-2878633398 .fill-AB5{fill:#F7F8FE;} + .d2-2878633398 .stroke-N1{stroke:#0A0F25;} + .d2-2878633398 .stroke-N2{stroke:#676C7E;} + .d2-2878633398 .stroke-N3{stroke:#9499AB;} + .d2-2878633398 .stroke-N4{stroke:#CFD2DD;} + .d2-2878633398 .stroke-N5{stroke:#DEE1EB;} + .d2-2878633398 .stroke-N6{stroke:#EEF1F8;} + .d2-2878633398 .stroke-N7{stroke:#FFFFFF;} + .d2-2878633398 .stroke-B1{stroke:#0D32B2;} + .d2-2878633398 .stroke-B2{stroke:#0D32B2;} + .d2-2878633398 .stroke-B3{stroke:#E3E9FD;} + .d2-2878633398 .stroke-B4{stroke:#E3E9FD;} + .d2-2878633398 .stroke-B5{stroke:#EDF0FD;} + .d2-2878633398 .stroke-B6{stroke:#F7F8FE;} + .d2-2878633398 .stroke-AA2{stroke:#4A6FF3;} + .d2-2878633398 .stroke-AA4{stroke:#EDF0FD;} + .d2-2878633398 .stroke-AA5{stroke:#F7F8FE;} + .d2-2878633398 .stroke-AB4{stroke:#EDF0FD;} + .d2-2878633398 .stroke-AB5{stroke:#F7F8FE;} + .d2-2878633398 .background-color-N1{background-color:#0A0F25;} + .d2-2878633398 .background-color-N2{background-color:#676C7E;} + .d2-2878633398 .background-color-N3{background-color:#9499AB;} + .d2-2878633398 .background-color-N4{background-color:#CFD2DD;} + .d2-2878633398 .background-color-N5{background-color:#DEE1EB;} + .d2-2878633398 .background-color-N6{background-color:#EEF1F8;} + .d2-2878633398 .background-color-N7{background-color:#FFFFFF;} + .d2-2878633398 .background-color-B1{background-color:#0D32B2;} + .d2-2878633398 .background-color-B2{background-color:#0D32B2;} + .d2-2878633398 .background-color-B3{background-color:#E3E9FD;} + .d2-2878633398 .background-color-B4{background-color:#E3E9FD;} + .d2-2878633398 .background-color-B5{background-color:#EDF0FD;} + .d2-2878633398 .background-color-B6{background-color:#F7F8FE;} + .d2-2878633398 .background-color-AA2{background-color:#4A6FF3;} + .d2-2878633398 .background-color-AA4{background-color:#EDF0FD;} + .d2-2878633398 .background-color-AA5{background-color:#F7F8FE;} + .d2-2878633398 .background-color-AB4{background-color:#EDF0FD;} + .d2-2878633398 .background-color-AB5{background-color:#F7F8FE;} + .d2-2878633398 .color-N1{color:#0A0F25;} + .d2-2878633398 .color-N2{color:#676C7E;} + .d2-2878633398 .color-N3{color:#9499AB;} + .d2-2878633398 .color-N4{color:#CFD2DD;} + .d2-2878633398 .color-N5{color:#DEE1EB;} + .d2-2878633398 .color-N6{color:#EEF1F8;} + .d2-2878633398 .color-N7{color:#FFFFFF;} + .d2-2878633398 .color-B1{color:#0D32B2;} + .d2-2878633398 .color-B2{color:#0D32B2;} + .d2-2878633398 .color-B3{color:#E3E9FD;} + .d2-2878633398 .color-B4{color:#E3E9FD;} + .d2-2878633398 .color-B5{color:#EDF0FD;} + .d2-2878633398 .color-B6{color:#F7F8FE;} + .d2-2878633398 .color-AA2{color:#4A6FF3;} + .d2-2878633398 .color-AA4{color:#EDF0FD;} + .d2-2878633398 .color-AA5{color:#F7F8FE;} + .d2-2878633398 .color-AB4{color:#EDF0FD;} + .d2-2878633398 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyz hello diff --git a/e2etests/testdata/stable/sequence-inter-span-self/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence-inter-span-self/dagre/sketch.exp.svg index c742e427c..d06a3b0aa 100644 --- a/e2etests/testdata/stable/sequence-inter-span-self/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence-inter-span-self/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -AB fooredirectbar + .d2-168883344 .fill-N1{fill:#0A0F25;} + .d2-168883344 .fill-N2{fill:#676C7E;} + .d2-168883344 .fill-N3{fill:#9499AB;} + .d2-168883344 .fill-N4{fill:#CFD2DD;} + .d2-168883344 .fill-N5{fill:#DEE1EB;} + .d2-168883344 .fill-N6{fill:#EEF1F8;} + .d2-168883344 .fill-N7{fill:#FFFFFF;} + .d2-168883344 .fill-B1{fill:#0D32B2;} + .d2-168883344 .fill-B2{fill:#0D32B2;} + .d2-168883344 .fill-B3{fill:#E3E9FD;} + .d2-168883344 .fill-B4{fill:#E3E9FD;} + .d2-168883344 .fill-B5{fill:#EDF0FD;} + .d2-168883344 .fill-B6{fill:#F7F8FE;} + .d2-168883344 .fill-AA2{fill:#4A6FF3;} + .d2-168883344 .fill-AA4{fill:#EDF0FD;} + .d2-168883344 .fill-AA5{fill:#F7F8FE;} + .d2-168883344 .fill-AB4{fill:#EDF0FD;} + .d2-168883344 .fill-AB5{fill:#F7F8FE;} + .d2-168883344 .stroke-N1{stroke:#0A0F25;} + .d2-168883344 .stroke-N2{stroke:#676C7E;} + .d2-168883344 .stroke-N3{stroke:#9499AB;} + .d2-168883344 .stroke-N4{stroke:#CFD2DD;} + .d2-168883344 .stroke-N5{stroke:#DEE1EB;} + .d2-168883344 .stroke-N6{stroke:#EEF1F8;} + .d2-168883344 .stroke-N7{stroke:#FFFFFF;} + .d2-168883344 .stroke-B1{stroke:#0D32B2;} + .d2-168883344 .stroke-B2{stroke:#0D32B2;} + .d2-168883344 .stroke-B3{stroke:#E3E9FD;} + .d2-168883344 .stroke-B4{stroke:#E3E9FD;} + .d2-168883344 .stroke-B5{stroke:#EDF0FD;} + .d2-168883344 .stroke-B6{stroke:#F7F8FE;} + .d2-168883344 .stroke-AA2{stroke:#4A6FF3;} + .d2-168883344 .stroke-AA4{stroke:#EDF0FD;} + .d2-168883344 .stroke-AA5{stroke:#F7F8FE;} + .d2-168883344 .stroke-AB4{stroke:#EDF0FD;} + .d2-168883344 .stroke-AB5{stroke:#F7F8FE;} + .d2-168883344 .background-color-N1{background-color:#0A0F25;} + .d2-168883344 .background-color-N2{background-color:#676C7E;} + .d2-168883344 .background-color-N3{background-color:#9499AB;} + .d2-168883344 .background-color-N4{background-color:#CFD2DD;} + .d2-168883344 .background-color-N5{background-color:#DEE1EB;} + .d2-168883344 .background-color-N6{background-color:#EEF1F8;} + .d2-168883344 .background-color-N7{background-color:#FFFFFF;} + .d2-168883344 .background-color-B1{background-color:#0D32B2;} + .d2-168883344 .background-color-B2{background-color:#0D32B2;} + .d2-168883344 .background-color-B3{background-color:#E3E9FD;} + .d2-168883344 .background-color-B4{background-color:#E3E9FD;} + .d2-168883344 .background-color-B5{background-color:#EDF0FD;} + .d2-168883344 .background-color-B6{background-color:#F7F8FE;} + .d2-168883344 .background-color-AA2{background-color:#4A6FF3;} + .d2-168883344 .background-color-AA4{background-color:#EDF0FD;} + .d2-168883344 .background-color-AA5{background-color:#F7F8FE;} + .d2-168883344 .background-color-AB4{background-color:#EDF0FD;} + .d2-168883344 .background-color-AB5{background-color:#F7F8FE;} + .d2-168883344 .color-N1{color:#0A0F25;} + .d2-168883344 .color-N2{color:#676C7E;} + .d2-168883344 .color-N3{color:#9499AB;} + .d2-168883344 .color-N4{color:#CFD2DD;} + .d2-168883344 .color-N5{color:#DEE1EB;} + .d2-168883344 .color-N6{color:#EEF1F8;} + .d2-168883344 .color-N7{color:#FFFFFF;} + .d2-168883344 .color-B1{color:#0D32B2;} + .d2-168883344 .color-B2{color:#0D32B2;} + .d2-168883344 .color-B3{color:#E3E9FD;} + .d2-168883344 .color-B4{color:#E3E9FD;} + .d2-168883344 .color-B5{color:#EDF0FD;} + .d2-168883344 .color-B6{color:#F7F8FE;} + .d2-168883344 .color-AA2{color:#4A6FF3;} + .d2-168883344 .color-AA4{color:#EDF0FD;} + .d2-168883344 .color-AA5{color:#F7F8FE;} + .d2-168883344 .color-AB4{color:#EDF0FD;} + .d2-168883344 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>AB fooredirectbar diff --git a/e2etests/testdata/stable/sequence-inter-span-self/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence-inter-span-self/elk/sketch.exp.svg index c742e427c..d06a3b0aa 100644 --- a/e2etests/testdata/stable/sequence-inter-span-self/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence-inter-span-self/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -AB fooredirectbar + .d2-168883344 .fill-N1{fill:#0A0F25;} + .d2-168883344 .fill-N2{fill:#676C7E;} + .d2-168883344 .fill-N3{fill:#9499AB;} + .d2-168883344 .fill-N4{fill:#CFD2DD;} + .d2-168883344 .fill-N5{fill:#DEE1EB;} + .d2-168883344 .fill-N6{fill:#EEF1F8;} + .d2-168883344 .fill-N7{fill:#FFFFFF;} + .d2-168883344 .fill-B1{fill:#0D32B2;} + .d2-168883344 .fill-B2{fill:#0D32B2;} + .d2-168883344 .fill-B3{fill:#E3E9FD;} + .d2-168883344 .fill-B4{fill:#E3E9FD;} + .d2-168883344 .fill-B5{fill:#EDF0FD;} + .d2-168883344 .fill-B6{fill:#F7F8FE;} + .d2-168883344 .fill-AA2{fill:#4A6FF3;} + .d2-168883344 .fill-AA4{fill:#EDF0FD;} + .d2-168883344 .fill-AA5{fill:#F7F8FE;} + .d2-168883344 .fill-AB4{fill:#EDF0FD;} + .d2-168883344 .fill-AB5{fill:#F7F8FE;} + .d2-168883344 .stroke-N1{stroke:#0A0F25;} + .d2-168883344 .stroke-N2{stroke:#676C7E;} + .d2-168883344 .stroke-N3{stroke:#9499AB;} + .d2-168883344 .stroke-N4{stroke:#CFD2DD;} + .d2-168883344 .stroke-N5{stroke:#DEE1EB;} + .d2-168883344 .stroke-N6{stroke:#EEF1F8;} + .d2-168883344 .stroke-N7{stroke:#FFFFFF;} + .d2-168883344 .stroke-B1{stroke:#0D32B2;} + .d2-168883344 .stroke-B2{stroke:#0D32B2;} + .d2-168883344 .stroke-B3{stroke:#E3E9FD;} + .d2-168883344 .stroke-B4{stroke:#E3E9FD;} + .d2-168883344 .stroke-B5{stroke:#EDF0FD;} + .d2-168883344 .stroke-B6{stroke:#F7F8FE;} + .d2-168883344 .stroke-AA2{stroke:#4A6FF3;} + .d2-168883344 .stroke-AA4{stroke:#EDF0FD;} + .d2-168883344 .stroke-AA5{stroke:#F7F8FE;} + .d2-168883344 .stroke-AB4{stroke:#EDF0FD;} + .d2-168883344 .stroke-AB5{stroke:#F7F8FE;} + .d2-168883344 .background-color-N1{background-color:#0A0F25;} + .d2-168883344 .background-color-N2{background-color:#676C7E;} + .d2-168883344 .background-color-N3{background-color:#9499AB;} + .d2-168883344 .background-color-N4{background-color:#CFD2DD;} + .d2-168883344 .background-color-N5{background-color:#DEE1EB;} + .d2-168883344 .background-color-N6{background-color:#EEF1F8;} + .d2-168883344 .background-color-N7{background-color:#FFFFFF;} + .d2-168883344 .background-color-B1{background-color:#0D32B2;} + .d2-168883344 .background-color-B2{background-color:#0D32B2;} + .d2-168883344 .background-color-B3{background-color:#E3E9FD;} + .d2-168883344 .background-color-B4{background-color:#E3E9FD;} + .d2-168883344 .background-color-B5{background-color:#EDF0FD;} + .d2-168883344 .background-color-B6{background-color:#F7F8FE;} + .d2-168883344 .background-color-AA2{background-color:#4A6FF3;} + .d2-168883344 .background-color-AA4{background-color:#EDF0FD;} + .d2-168883344 .background-color-AA5{background-color:#F7F8FE;} + .d2-168883344 .background-color-AB4{background-color:#EDF0FD;} + .d2-168883344 .background-color-AB5{background-color:#F7F8FE;} + .d2-168883344 .color-N1{color:#0A0F25;} + .d2-168883344 .color-N2{color:#676C7E;} + .d2-168883344 .color-N3{color:#9499AB;} + .d2-168883344 .color-N4{color:#CFD2DD;} + .d2-168883344 .color-N5{color:#DEE1EB;} + .d2-168883344 .color-N6{color:#EEF1F8;} + .d2-168883344 .color-N7{color:#FFFFFF;} + .d2-168883344 .color-B1{color:#0D32B2;} + .d2-168883344 .color-B2{color:#0D32B2;} + .d2-168883344 .color-B3{color:#E3E9FD;} + .d2-168883344 .color-B4{color:#E3E9FD;} + .d2-168883344 .color-B5{color:#EDF0FD;} + .d2-168883344 .color-B6{color:#F7F8FE;} + .d2-168883344 .color-AA2{color:#4A6FF3;} + .d2-168883344 .color-AA4{color:#EDF0FD;} + .d2-168883344 .color-AA5{color:#F7F8FE;} + .d2-168883344 .color-AB4{color:#EDF0FD;} + .d2-168883344 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>AB fooredirectbar diff --git a/e2etests/testdata/stable/sequence_diagram_actor_distance/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_actor_distance/dagre/sketch.exp.svg index 554f645f2..8a85bf824 100644 --- a/e2etests/testdata/stable/sequence_diagram_actor_distance/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_actor_distance/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -an actor with a really long label that will break everythinganactorwithareallylonglabelthatwillbreakeverythingsimplea short onefar awaywhat if there were no labels between this actor and the previous one shortlong label for testing purposes and it must be really, really longshortthis should span many actors lifelines so we know how it will look like when redering a long label over many actorslong label for testing purposes and it must be really, really long + .d2-3454773836 .fill-N1{fill:#0A0F25;} + .d2-3454773836 .fill-N2{fill:#676C7E;} + .d2-3454773836 .fill-N3{fill:#9499AB;} + .d2-3454773836 .fill-N4{fill:#CFD2DD;} + .d2-3454773836 .fill-N5{fill:#DEE1EB;} + .d2-3454773836 .fill-N6{fill:#EEF1F8;} + .d2-3454773836 .fill-N7{fill:#FFFFFF;} + .d2-3454773836 .fill-B1{fill:#0D32B2;} + .d2-3454773836 .fill-B2{fill:#0D32B2;} + .d2-3454773836 .fill-B3{fill:#E3E9FD;} + .d2-3454773836 .fill-B4{fill:#E3E9FD;} + .d2-3454773836 .fill-B5{fill:#EDF0FD;} + .d2-3454773836 .fill-B6{fill:#F7F8FE;} + .d2-3454773836 .fill-AA2{fill:#4A6FF3;} + .d2-3454773836 .fill-AA4{fill:#EDF0FD;} + .d2-3454773836 .fill-AA5{fill:#F7F8FE;} + .d2-3454773836 .fill-AB4{fill:#EDF0FD;} + .d2-3454773836 .fill-AB5{fill:#F7F8FE;} + .d2-3454773836 .stroke-N1{stroke:#0A0F25;} + .d2-3454773836 .stroke-N2{stroke:#676C7E;} + .d2-3454773836 .stroke-N3{stroke:#9499AB;} + .d2-3454773836 .stroke-N4{stroke:#CFD2DD;} + .d2-3454773836 .stroke-N5{stroke:#DEE1EB;} + .d2-3454773836 .stroke-N6{stroke:#EEF1F8;} + .d2-3454773836 .stroke-N7{stroke:#FFFFFF;} + .d2-3454773836 .stroke-B1{stroke:#0D32B2;} + .d2-3454773836 .stroke-B2{stroke:#0D32B2;} + .d2-3454773836 .stroke-B3{stroke:#E3E9FD;} + .d2-3454773836 .stroke-B4{stroke:#E3E9FD;} + .d2-3454773836 .stroke-B5{stroke:#EDF0FD;} + .d2-3454773836 .stroke-B6{stroke:#F7F8FE;} + .d2-3454773836 .stroke-AA2{stroke:#4A6FF3;} + .d2-3454773836 .stroke-AA4{stroke:#EDF0FD;} + .d2-3454773836 .stroke-AA5{stroke:#F7F8FE;} + .d2-3454773836 .stroke-AB4{stroke:#EDF0FD;} + .d2-3454773836 .stroke-AB5{stroke:#F7F8FE;} + .d2-3454773836 .background-color-N1{background-color:#0A0F25;} + .d2-3454773836 .background-color-N2{background-color:#676C7E;} + .d2-3454773836 .background-color-N3{background-color:#9499AB;} + .d2-3454773836 .background-color-N4{background-color:#CFD2DD;} + .d2-3454773836 .background-color-N5{background-color:#DEE1EB;} + .d2-3454773836 .background-color-N6{background-color:#EEF1F8;} + .d2-3454773836 .background-color-N7{background-color:#FFFFFF;} + .d2-3454773836 .background-color-B1{background-color:#0D32B2;} + .d2-3454773836 .background-color-B2{background-color:#0D32B2;} + .d2-3454773836 .background-color-B3{background-color:#E3E9FD;} + .d2-3454773836 .background-color-B4{background-color:#E3E9FD;} + .d2-3454773836 .background-color-B5{background-color:#EDF0FD;} + .d2-3454773836 .background-color-B6{background-color:#F7F8FE;} + .d2-3454773836 .background-color-AA2{background-color:#4A6FF3;} + .d2-3454773836 .background-color-AA4{background-color:#EDF0FD;} + .d2-3454773836 .background-color-AA5{background-color:#F7F8FE;} + .d2-3454773836 .background-color-AB4{background-color:#EDF0FD;} + .d2-3454773836 .background-color-AB5{background-color:#F7F8FE;} + .d2-3454773836 .color-N1{color:#0A0F25;} + .d2-3454773836 .color-N2{color:#676C7E;} + .d2-3454773836 .color-N3{color:#9499AB;} + .d2-3454773836 .color-N4{color:#CFD2DD;} + .d2-3454773836 .color-N5{color:#DEE1EB;} + .d2-3454773836 .color-N6{color:#EEF1F8;} + .d2-3454773836 .color-N7{color:#FFFFFF;} + .d2-3454773836 .color-B1{color:#0D32B2;} + .d2-3454773836 .color-B2{color:#0D32B2;} + .d2-3454773836 .color-B3{color:#E3E9FD;} + .d2-3454773836 .color-B4{color:#E3E9FD;} + .d2-3454773836 .color-B5{color:#EDF0FD;} + .d2-3454773836 .color-B6{color:#F7F8FE;} + .d2-3454773836 .color-AA2{color:#4A6FF3;} + .d2-3454773836 .color-AA4{color:#EDF0FD;} + .d2-3454773836 .color-AA5{color:#F7F8FE;} + .d2-3454773836 .color-AB4{color:#EDF0FD;} + .d2-3454773836 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>an actor with a really long label that will break everythinganactorwithareallylonglabelthatwillbreakeverythingsimplea short onefar awaywhat if there were no labels between this actor and the previous one shortlong label for testing purposes and it must be really, really longshortthis should span many actors lifelines so we know how it will look like when redering a long label over many actorslong label for testing purposes and it must be really, really long diff --git a/e2etests/testdata/stable/sequence_diagram_actor_distance/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_actor_distance/elk/sketch.exp.svg index 554f645f2..8a85bf824 100644 --- a/e2etests/testdata/stable/sequence_diagram_actor_distance/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_actor_distance/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -an actor with a really long label that will break everythinganactorwithareallylonglabelthatwillbreakeverythingsimplea short onefar awaywhat if there were no labels between this actor and the previous one shortlong label for testing purposes and it must be really, really longshortthis should span many actors lifelines so we know how it will look like when redering a long label over many actorslong label for testing purposes and it must be really, really long + .d2-3454773836 .fill-N1{fill:#0A0F25;} + .d2-3454773836 .fill-N2{fill:#676C7E;} + .d2-3454773836 .fill-N3{fill:#9499AB;} + .d2-3454773836 .fill-N4{fill:#CFD2DD;} + .d2-3454773836 .fill-N5{fill:#DEE1EB;} + .d2-3454773836 .fill-N6{fill:#EEF1F8;} + .d2-3454773836 .fill-N7{fill:#FFFFFF;} + .d2-3454773836 .fill-B1{fill:#0D32B2;} + .d2-3454773836 .fill-B2{fill:#0D32B2;} + .d2-3454773836 .fill-B3{fill:#E3E9FD;} + .d2-3454773836 .fill-B4{fill:#E3E9FD;} + .d2-3454773836 .fill-B5{fill:#EDF0FD;} + .d2-3454773836 .fill-B6{fill:#F7F8FE;} + .d2-3454773836 .fill-AA2{fill:#4A6FF3;} + .d2-3454773836 .fill-AA4{fill:#EDF0FD;} + .d2-3454773836 .fill-AA5{fill:#F7F8FE;} + .d2-3454773836 .fill-AB4{fill:#EDF0FD;} + .d2-3454773836 .fill-AB5{fill:#F7F8FE;} + .d2-3454773836 .stroke-N1{stroke:#0A0F25;} + .d2-3454773836 .stroke-N2{stroke:#676C7E;} + .d2-3454773836 .stroke-N3{stroke:#9499AB;} + .d2-3454773836 .stroke-N4{stroke:#CFD2DD;} + .d2-3454773836 .stroke-N5{stroke:#DEE1EB;} + .d2-3454773836 .stroke-N6{stroke:#EEF1F8;} + .d2-3454773836 .stroke-N7{stroke:#FFFFFF;} + .d2-3454773836 .stroke-B1{stroke:#0D32B2;} + .d2-3454773836 .stroke-B2{stroke:#0D32B2;} + .d2-3454773836 .stroke-B3{stroke:#E3E9FD;} + .d2-3454773836 .stroke-B4{stroke:#E3E9FD;} + .d2-3454773836 .stroke-B5{stroke:#EDF0FD;} + .d2-3454773836 .stroke-B6{stroke:#F7F8FE;} + .d2-3454773836 .stroke-AA2{stroke:#4A6FF3;} + .d2-3454773836 .stroke-AA4{stroke:#EDF0FD;} + .d2-3454773836 .stroke-AA5{stroke:#F7F8FE;} + .d2-3454773836 .stroke-AB4{stroke:#EDF0FD;} + .d2-3454773836 .stroke-AB5{stroke:#F7F8FE;} + .d2-3454773836 .background-color-N1{background-color:#0A0F25;} + .d2-3454773836 .background-color-N2{background-color:#676C7E;} + .d2-3454773836 .background-color-N3{background-color:#9499AB;} + .d2-3454773836 .background-color-N4{background-color:#CFD2DD;} + .d2-3454773836 .background-color-N5{background-color:#DEE1EB;} + .d2-3454773836 .background-color-N6{background-color:#EEF1F8;} + .d2-3454773836 .background-color-N7{background-color:#FFFFFF;} + .d2-3454773836 .background-color-B1{background-color:#0D32B2;} + .d2-3454773836 .background-color-B2{background-color:#0D32B2;} + .d2-3454773836 .background-color-B3{background-color:#E3E9FD;} + .d2-3454773836 .background-color-B4{background-color:#E3E9FD;} + .d2-3454773836 .background-color-B5{background-color:#EDF0FD;} + .d2-3454773836 .background-color-B6{background-color:#F7F8FE;} + .d2-3454773836 .background-color-AA2{background-color:#4A6FF3;} + .d2-3454773836 .background-color-AA4{background-color:#EDF0FD;} + .d2-3454773836 .background-color-AA5{background-color:#F7F8FE;} + .d2-3454773836 .background-color-AB4{background-color:#EDF0FD;} + .d2-3454773836 .background-color-AB5{background-color:#F7F8FE;} + .d2-3454773836 .color-N1{color:#0A0F25;} + .d2-3454773836 .color-N2{color:#676C7E;} + .d2-3454773836 .color-N3{color:#9499AB;} + .d2-3454773836 .color-N4{color:#CFD2DD;} + .d2-3454773836 .color-N5{color:#DEE1EB;} + .d2-3454773836 .color-N6{color:#EEF1F8;} + .d2-3454773836 .color-N7{color:#FFFFFF;} + .d2-3454773836 .color-B1{color:#0D32B2;} + .d2-3454773836 .color-B2{color:#0D32B2;} + .d2-3454773836 .color-B3{color:#E3E9FD;} + .d2-3454773836 .color-B4{color:#E3E9FD;} + .d2-3454773836 .color-B5{color:#EDF0FD;} + .d2-3454773836 .color-B6{color:#F7F8FE;} + .d2-3454773836 .color-AA2{color:#4A6FF3;} + .d2-3454773836 .color-AA4{color:#EDF0FD;} + .d2-3454773836 .color-AA5{color:#F7F8FE;} + .d2-3454773836 .color-AB4{color:#EDF0FD;} + .d2-3454773836 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>an actor with a really long label that will break everythinganactorwithareallylonglabelthatwillbreakeverythingsimplea short onefar awaywhat if there were no labels between this actor and the previous one shortlong label for testing purposes and it must be really, really longshortthis should span many actors lifelines so we know how it will look like when redering a long label over many actorslong label for testing purposes and it must be really, really long diff --git a/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg index 04f7138a4..dc0ad63e8 100644 --- a/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg @@ -1,30 +1,30 @@ -a labelblabelsa class+public() boolvoid-private() intvoidcloudyyyy:= 5 + .d2-1508069385 .fill-N1{fill:#0A0F25;} + .d2-1508069385 .fill-N2{fill:#676C7E;} + .d2-1508069385 .fill-N3{fill:#9499AB;} + .d2-1508069385 .fill-N4{fill:#CFD2DD;} + .d2-1508069385 .fill-N5{fill:#DEE1EB;} + .d2-1508069385 .fill-N6{fill:#EEF1F8;} + .d2-1508069385 .fill-N7{fill:#FFFFFF;} + .d2-1508069385 .fill-B1{fill:#0D32B2;} + .d2-1508069385 .fill-B2{fill:#0D32B2;} + .d2-1508069385 .fill-B3{fill:#E3E9FD;} + .d2-1508069385 .fill-B4{fill:#E3E9FD;} + .d2-1508069385 .fill-B5{fill:#EDF0FD;} + .d2-1508069385 .fill-B6{fill:#F7F8FE;} + .d2-1508069385 .fill-AA2{fill:#4A6FF3;} + .d2-1508069385 .fill-AA4{fill:#EDF0FD;} + .d2-1508069385 .fill-AA5{fill:#F7F8FE;} + .d2-1508069385 .fill-AB4{fill:#EDF0FD;} + .d2-1508069385 .fill-AB5{fill:#F7F8FE;} + .d2-1508069385 .stroke-N1{stroke:#0A0F25;} + .d2-1508069385 .stroke-N2{stroke:#676C7E;} + .d2-1508069385 .stroke-N3{stroke:#9499AB;} + .d2-1508069385 .stroke-N4{stroke:#CFD2DD;} + .d2-1508069385 .stroke-N5{stroke:#DEE1EB;} + .d2-1508069385 .stroke-N6{stroke:#EEF1F8;} + .d2-1508069385 .stroke-N7{stroke:#FFFFFF;} + .d2-1508069385 .stroke-B1{stroke:#0D32B2;} + .d2-1508069385 .stroke-B2{stroke:#0D32B2;} + .d2-1508069385 .stroke-B3{stroke:#E3E9FD;} + .d2-1508069385 .stroke-B4{stroke:#E3E9FD;} + .d2-1508069385 .stroke-B5{stroke:#EDF0FD;} + .d2-1508069385 .stroke-B6{stroke:#F7F8FE;} + .d2-1508069385 .stroke-AA2{stroke:#4A6FF3;} + .d2-1508069385 .stroke-AA4{stroke:#EDF0FD;} + .d2-1508069385 .stroke-AA5{stroke:#F7F8FE;} + .d2-1508069385 .stroke-AB4{stroke:#EDF0FD;} + .d2-1508069385 .stroke-AB5{stroke:#F7F8FE;} + .d2-1508069385 .background-color-N1{background-color:#0A0F25;} + .d2-1508069385 .background-color-N2{background-color:#676C7E;} + .d2-1508069385 .background-color-N3{background-color:#9499AB;} + .d2-1508069385 .background-color-N4{background-color:#CFD2DD;} + .d2-1508069385 .background-color-N5{background-color:#DEE1EB;} + .d2-1508069385 .background-color-N6{background-color:#EEF1F8;} + .d2-1508069385 .background-color-N7{background-color:#FFFFFF;} + .d2-1508069385 .background-color-B1{background-color:#0D32B2;} + .d2-1508069385 .background-color-B2{background-color:#0D32B2;} + .d2-1508069385 .background-color-B3{background-color:#E3E9FD;} + .d2-1508069385 .background-color-B4{background-color:#E3E9FD;} + .d2-1508069385 .background-color-B5{background-color:#EDF0FD;} + .d2-1508069385 .background-color-B6{background-color:#F7F8FE;} + .d2-1508069385 .background-color-AA2{background-color:#4A6FF3;} + .d2-1508069385 .background-color-AA4{background-color:#EDF0FD;} + .d2-1508069385 .background-color-AA5{background-color:#F7F8FE;} + .d2-1508069385 .background-color-AB4{background-color:#EDF0FD;} + .d2-1508069385 .background-color-AB5{background-color:#F7F8FE;} + .d2-1508069385 .color-N1{color:#0A0F25;} + .d2-1508069385 .color-N2{color:#676C7E;} + .d2-1508069385 .color-N3{color:#9499AB;} + .d2-1508069385 .color-N4{color:#CFD2DD;} + .d2-1508069385 .color-N5{color:#DEE1EB;} + .d2-1508069385 .color-N6{color:#EEF1F8;} + .d2-1508069385 .color-N7{color:#FFFFFF;} + .d2-1508069385 .color-B1{color:#0D32B2;} + .d2-1508069385 .color-B2{color:#0D32B2;} + .d2-1508069385 .color-B3{color:#E3E9FD;} + .d2-1508069385 .color-B4{color:#E3E9FD;} + .d2-1508069385 .color-B5{color:#EDF0FD;} + .d2-1508069385 .color-B6{color:#F7F8FE;} + .d2-1508069385 .color-AA2{color:#4A6FF3;} + .d2-1508069385 .color-AA4{color:#EDF0FD;} + .d2-1508069385 .color-AA5{color:#F7F8FE;} + .d2-1508069385 .color-AB4{color:#EDF0FD;} + .d2-1508069385 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a labelblabelsa class+public() boolvoid-private() intvoidcloudyyyy:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side +fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side diff --git a/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg index 04f7138a4..dc0ad63e8 100644 --- a/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg @@ -1,30 +1,30 @@ -a labelblabelsa class+public() boolvoid-private() intvoidcloudyyyy:= 5 + .d2-1508069385 .fill-N1{fill:#0A0F25;} + .d2-1508069385 .fill-N2{fill:#676C7E;} + .d2-1508069385 .fill-N3{fill:#9499AB;} + .d2-1508069385 .fill-N4{fill:#CFD2DD;} + .d2-1508069385 .fill-N5{fill:#DEE1EB;} + .d2-1508069385 .fill-N6{fill:#EEF1F8;} + .d2-1508069385 .fill-N7{fill:#FFFFFF;} + .d2-1508069385 .fill-B1{fill:#0D32B2;} + .d2-1508069385 .fill-B2{fill:#0D32B2;} + .d2-1508069385 .fill-B3{fill:#E3E9FD;} + .d2-1508069385 .fill-B4{fill:#E3E9FD;} + .d2-1508069385 .fill-B5{fill:#EDF0FD;} + .d2-1508069385 .fill-B6{fill:#F7F8FE;} + .d2-1508069385 .fill-AA2{fill:#4A6FF3;} + .d2-1508069385 .fill-AA4{fill:#EDF0FD;} + .d2-1508069385 .fill-AA5{fill:#F7F8FE;} + .d2-1508069385 .fill-AB4{fill:#EDF0FD;} + .d2-1508069385 .fill-AB5{fill:#F7F8FE;} + .d2-1508069385 .stroke-N1{stroke:#0A0F25;} + .d2-1508069385 .stroke-N2{stroke:#676C7E;} + .d2-1508069385 .stroke-N3{stroke:#9499AB;} + .d2-1508069385 .stroke-N4{stroke:#CFD2DD;} + .d2-1508069385 .stroke-N5{stroke:#DEE1EB;} + .d2-1508069385 .stroke-N6{stroke:#EEF1F8;} + .d2-1508069385 .stroke-N7{stroke:#FFFFFF;} + .d2-1508069385 .stroke-B1{stroke:#0D32B2;} + .d2-1508069385 .stroke-B2{stroke:#0D32B2;} + .d2-1508069385 .stroke-B3{stroke:#E3E9FD;} + .d2-1508069385 .stroke-B4{stroke:#E3E9FD;} + .d2-1508069385 .stroke-B5{stroke:#EDF0FD;} + .d2-1508069385 .stroke-B6{stroke:#F7F8FE;} + .d2-1508069385 .stroke-AA2{stroke:#4A6FF3;} + .d2-1508069385 .stroke-AA4{stroke:#EDF0FD;} + .d2-1508069385 .stroke-AA5{stroke:#F7F8FE;} + .d2-1508069385 .stroke-AB4{stroke:#EDF0FD;} + .d2-1508069385 .stroke-AB5{stroke:#F7F8FE;} + .d2-1508069385 .background-color-N1{background-color:#0A0F25;} + .d2-1508069385 .background-color-N2{background-color:#676C7E;} + .d2-1508069385 .background-color-N3{background-color:#9499AB;} + .d2-1508069385 .background-color-N4{background-color:#CFD2DD;} + .d2-1508069385 .background-color-N5{background-color:#DEE1EB;} + .d2-1508069385 .background-color-N6{background-color:#EEF1F8;} + .d2-1508069385 .background-color-N7{background-color:#FFFFFF;} + .d2-1508069385 .background-color-B1{background-color:#0D32B2;} + .d2-1508069385 .background-color-B2{background-color:#0D32B2;} + .d2-1508069385 .background-color-B3{background-color:#E3E9FD;} + .d2-1508069385 .background-color-B4{background-color:#E3E9FD;} + .d2-1508069385 .background-color-B5{background-color:#EDF0FD;} + .d2-1508069385 .background-color-B6{background-color:#F7F8FE;} + .d2-1508069385 .background-color-AA2{background-color:#4A6FF3;} + .d2-1508069385 .background-color-AA4{background-color:#EDF0FD;} + .d2-1508069385 .background-color-AA5{background-color:#F7F8FE;} + .d2-1508069385 .background-color-AB4{background-color:#EDF0FD;} + .d2-1508069385 .background-color-AB5{background-color:#F7F8FE;} + .d2-1508069385 .color-N1{color:#0A0F25;} + .d2-1508069385 .color-N2{color:#676C7E;} + .d2-1508069385 .color-N3{color:#9499AB;} + .d2-1508069385 .color-N4{color:#CFD2DD;} + .d2-1508069385 .color-N5{color:#DEE1EB;} + .d2-1508069385 .color-N6{color:#EEF1F8;} + .d2-1508069385 .color-N7{color:#FFFFFF;} + .d2-1508069385 .color-B1{color:#0D32B2;} + .d2-1508069385 .color-B2{color:#0D32B2;} + .d2-1508069385 .color-B3{color:#E3E9FD;} + .d2-1508069385 .color-B4{color:#E3E9FD;} + .d2-1508069385 .color-B5{color:#EDF0FD;} + .d2-1508069385 .color-B6{color:#F7F8FE;} + .d2-1508069385 .color-AA2{color:#4A6FF3;} + .d2-1508069385 .color-AA4{color:#EDF0FD;} + .d2-1508069385 .color-AA5{color:#F7F8FE;} + .d2-1508069385 .color-AB4{color:#EDF0FD;} + .d2-1508069385 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a labelblabelsa class+public() boolvoid-private() intvoidcloudyyyy:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side +fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side diff --git a/e2etests/testdata/stable/sequence_diagram_distance/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_distance/dagre/sketch.exp.svg index 6c5587319..36440c7d6 100644 --- a/e2etests/testdata/stable/sequence_diagram_distance/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_distance/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -alicebob what does it mean to be well-adjustedThe ability to play bridge or golf as if they were games + .d2-1518781560 .fill-N1{fill:#0A0F25;} + .d2-1518781560 .fill-N2{fill:#676C7E;} + .d2-1518781560 .fill-N3{fill:#9499AB;} + .d2-1518781560 .fill-N4{fill:#CFD2DD;} + .d2-1518781560 .fill-N5{fill:#DEE1EB;} + .d2-1518781560 .fill-N6{fill:#EEF1F8;} + .d2-1518781560 .fill-N7{fill:#FFFFFF;} + .d2-1518781560 .fill-B1{fill:#0D32B2;} + .d2-1518781560 .fill-B2{fill:#0D32B2;} + .d2-1518781560 .fill-B3{fill:#E3E9FD;} + .d2-1518781560 .fill-B4{fill:#E3E9FD;} + .d2-1518781560 .fill-B5{fill:#EDF0FD;} + .d2-1518781560 .fill-B6{fill:#F7F8FE;} + .d2-1518781560 .fill-AA2{fill:#4A6FF3;} + .d2-1518781560 .fill-AA4{fill:#EDF0FD;} + .d2-1518781560 .fill-AA5{fill:#F7F8FE;} + .d2-1518781560 .fill-AB4{fill:#EDF0FD;} + .d2-1518781560 .fill-AB5{fill:#F7F8FE;} + .d2-1518781560 .stroke-N1{stroke:#0A0F25;} + .d2-1518781560 .stroke-N2{stroke:#676C7E;} + .d2-1518781560 .stroke-N3{stroke:#9499AB;} + .d2-1518781560 .stroke-N4{stroke:#CFD2DD;} + .d2-1518781560 .stroke-N5{stroke:#DEE1EB;} + .d2-1518781560 .stroke-N6{stroke:#EEF1F8;} + .d2-1518781560 .stroke-N7{stroke:#FFFFFF;} + .d2-1518781560 .stroke-B1{stroke:#0D32B2;} + .d2-1518781560 .stroke-B2{stroke:#0D32B2;} + .d2-1518781560 .stroke-B3{stroke:#E3E9FD;} + .d2-1518781560 .stroke-B4{stroke:#E3E9FD;} + .d2-1518781560 .stroke-B5{stroke:#EDF0FD;} + .d2-1518781560 .stroke-B6{stroke:#F7F8FE;} + .d2-1518781560 .stroke-AA2{stroke:#4A6FF3;} + .d2-1518781560 .stroke-AA4{stroke:#EDF0FD;} + .d2-1518781560 .stroke-AA5{stroke:#F7F8FE;} + .d2-1518781560 .stroke-AB4{stroke:#EDF0FD;} + .d2-1518781560 .stroke-AB5{stroke:#F7F8FE;} + .d2-1518781560 .background-color-N1{background-color:#0A0F25;} + .d2-1518781560 .background-color-N2{background-color:#676C7E;} + .d2-1518781560 .background-color-N3{background-color:#9499AB;} + .d2-1518781560 .background-color-N4{background-color:#CFD2DD;} + .d2-1518781560 .background-color-N5{background-color:#DEE1EB;} + .d2-1518781560 .background-color-N6{background-color:#EEF1F8;} + .d2-1518781560 .background-color-N7{background-color:#FFFFFF;} + .d2-1518781560 .background-color-B1{background-color:#0D32B2;} + .d2-1518781560 .background-color-B2{background-color:#0D32B2;} + .d2-1518781560 .background-color-B3{background-color:#E3E9FD;} + .d2-1518781560 .background-color-B4{background-color:#E3E9FD;} + .d2-1518781560 .background-color-B5{background-color:#EDF0FD;} + .d2-1518781560 .background-color-B6{background-color:#F7F8FE;} + .d2-1518781560 .background-color-AA2{background-color:#4A6FF3;} + .d2-1518781560 .background-color-AA4{background-color:#EDF0FD;} + .d2-1518781560 .background-color-AA5{background-color:#F7F8FE;} + .d2-1518781560 .background-color-AB4{background-color:#EDF0FD;} + .d2-1518781560 .background-color-AB5{background-color:#F7F8FE;} + .d2-1518781560 .color-N1{color:#0A0F25;} + .d2-1518781560 .color-N2{color:#676C7E;} + .d2-1518781560 .color-N3{color:#9499AB;} + .d2-1518781560 .color-N4{color:#CFD2DD;} + .d2-1518781560 .color-N5{color:#DEE1EB;} + .d2-1518781560 .color-N6{color:#EEF1F8;} + .d2-1518781560 .color-N7{color:#FFFFFF;} + .d2-1518781560 .color-B1{color:#0D32B2;} + .d2-1518781560 .color-B2{color:#0D32B2;} + .d2-1518781560 .color-B3{color:#E3E9FD;} + .d2-1518781560 .color-B4{color:#E3E9FD;} + .d2-1518781560 .color-B5{color:#EDF0FD;} + .d2-1518781560 .color-B6{color:#F7F8FE;} + .d2-1518781560 .color-AA2{color:#4A6FF3;} + .d2-1518781560 .color-AA4{color:#EDF0FD;} + .d2-1518781560 .color-AA5{color:#F7F8FE;} + .d2-1518781560 .color-AB4{color:#EDF0FD;} + .d2-1518781560 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>alicebob what does it mean to be well-adjustedThe ability to play bridge or golf as if they were games diff --git a/e2etests/testdata/stable/sequence_diagram_distance/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_distance/elk/sketch.exp.svg index 6c5587319..36440c7d6 100644 --- a/e2etests/testdata/stable/sequence_diagram_distance/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_distance/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -alicebob what does it mean to be well-adjustedThe ability to play bridge or golf as if they were games + .d2-1518781560 .fill-N1{fill:#0A0F25;} + .d2-1518781560 .fill-N2{fill:#676C7E;} + .d2-1518781560 .fill-N3{fill:#9499AB;} + .d2-1518781560 .fill-N4{fill:#CFD2DD;} + .d2-1518781560 .fill-N5{fill:#DEE1EB;} + .d2-1518781560 .fill-N6{fill:#EEF1F8;} + .d2-1518781560 .fill-N7{fill:#FFFFFF;} + .d2-1518781560 .fill-B1{fill:#0D32B2;} + .d2-1518781560 .fill-B2{fill:#0D32B2;} + .d2-1518781560 .fill-B3{fill:#E3E9FD;} + .d2-1518781560 .fill-B4{fill:#E3E9FD;} + .d2-1518781560 .fill-B5{fill:#EDF0FD;} + .d2-1518781560 .fill-B6{fill:#F7F8FE;} + .d2-1518781560 .fill-AA2{fill:#4A6FF3;} + .d2-1518781560 .fill-AA4{fill:#EDF0FD;} + .d2-1518781560 .fill-AA5{fill:#F7F8FE;} + .d2-1518781560 .fill-AB4{fill:#EDF0FD;} + .d2-1518781560 .fill-AB5{fill:#F7F8FE;} + .d2-1518781560 .stroke-N1{stroke:#0A0F25;} + .d2-1518781560 .stroke-N2{stroke:#676C7E;} + .d2-1518781560 .stroke-N3{stroke:#9499AB;} + .d2-1518781560 .stroke-N4{stroke:#CFD2DD;} + .d2-1518781560 .stroke-N5{stroke:#DEE1EB;} + .d2-1518781560 .stroke-N6{stroke:#EEF1F8;} + .d2-1518781560 .stroke-N7{stroke:#FFFFFF;} + .d2-1518781560 .stroke-B1{stroke:#0D32B2;} + .d2-1518781560 .stroke-B2{stroke:#0D32B2;} + .d2-1518781560 .stroke-B3{stroke:#E3E9FD;} + .d2-1518781560 .stroke-B4{stroke:#E3E9FD;} + .d2-1518781560 .stroke-B5{stroke:#EDF0FD;} + .d2-1518781560 .stroke-B6{stroke:#F7F8FE;} + .d2-1518781560 .stroke-AA2{stroke:#4A6FF3;} + .d2-1518781560 .stroke-AA4{stroke:#EDF0FD;} + .d2-1518781560 .stroke-AA5{stroke:#F7F8FE;} + .d2-1518781560 .stroke-AB4{stroke:#EDF0FD;} + .d2-1518781560 .stroke-AB5{stroke:#F7F8FE;} + .d2-1518781560 .background-color-N1{background-color:#0A0F25;} + .d2-1518781560 .background-color-N2{background-color:#676C7E;} + .d2-1518781560 .background-color-N3{background-color:#9499AB;} + .d2-1518781560 .background-color-N4{background-color:#CFD2DD;} + .d2-1518781560 .background-color-N5{background-color:#DEE1EB;} + .d2-1518781560 .background-color-N6{background-color:#EEF1F8;} + .d2-1518781560 .background-color-N7{background-color:#FFFFFF;} + .d2-1518781560 .background-color-B1{background-color:#0D32B2;} + .d2-1518781560 .background-color-B2{background-color:#0D32B2;} + .d2-1518781560 .background-color-B3{background-color:#E3E9FD;} + .d2-1518781560 .background-color-B4{background-color:#E3E9FD;} + .d2-1518781560 .background-color-B5{background-color:#EDF0FD;} + .d2-1518781560 .background-color-B6{background-color:#F7F8FE;} + .d2-1518781560 .background-color-AA2{background-color:#4A6FF3;} + .d2-1518781560 .background-color-AA4{background-color:#EDF0FD;} + .d2-1518781560 .background-color-AA5{background-color:#F7F8FE;} + .d2-1518781560 .background-color-AB4{background-color:#EDF0FD;} + .d2-1518781560 .background-color-AB5{background-color:#F7F8FE;} + .d2-1518781560 .color-N1{color:#0A0F25;} + .d2-1518781560 .color-N2{color:#676C7E;} + .d2-1518781560 .color-N3{color:#9499AB;} + .d2-1518781560 .color-N4{color:#CFD2DD;} + .d2-1518781560 .color-N5{color:#DEE1EB;} + .d2-1518781560 .color-N6{color:#EEF1F8;} + .d2-1518781560 .color-N7{color:#FFFFFF;} + .d2-1518781560 .color-B1{color:#0D32B2;} + .d2-1518781560 .color-B2{color:#0D32B2;} + .d2-1518781560 .color-B3{color:#E3E9FD;} + .d2-1518781560 .color-B4{color:#E3E9FD;} + .d2-1518781560 .color-B5{color:#EDF0FD;} + .d2-1518781560 .color-B6{color:#F7F8FE;} + .d2-1518781560 .color-AA2{color:#4A6FF3;} + .d2-1518781560 .color-AA4{color:#EDF0FD;} + .d2-1518781560 .color-AA5{color:#F7F8FE;} + .d2-1518781560 .color-AB4{color:#EDF0FD;} + .d2-1518781560 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>alicebob what does it mean to be well-adjustedThe ability to play bridge or golf as if they were games diff --git a/e2etests/testdata/stable/sequence_diagram_groups/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_groups/dagre/sketch.exp.svg index 99799803c..d19b57172 100644 --- a/e2etests/testdata/stable/sequence_diagram_groups/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_groups/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abcdggggroup 1group bchoonested guy lalaeyokayokaywhat would arnold saythis note + .d2-1702258218 .fill-N1{fill:#0A0F25;} + .d2-1702258218 .fill-N2{fill:#676C7E;} + .d2-1702258218 .fill-N3{fill:#9499AB;} + .d2-1702258218 .fill-N4{fill:#CFD2DD;} + .d2-1702258218 .fill-N5{fill:#DEE1EB;} + .d2-1702258218 .fill-N6{fill:#EEF1F8;} + .d2-1702258218 .fill-N7{fill:#FFFFFF;} + .d2-1702258218 .fill-B1{fill:#0D32B2;} + .d2-1702258218 .fill-B2{fill:#0D32B2;} + .d2-1702258218 .fill-B3{fill:#E3E9FD;} + .d2-1702258218 .fill-B4{fill:#E3E9FD;} + .d2-1702258218 .fill-B5{fill:#EDF0FD;} + .d2-1702258218 .fill-B6{fill:#F7F8FE;} + .d2-1702258218 .fill-AA2{fill:#4A6FF3;} + .d2-1702258218 .fill-AA4{fill:#EDF0FD;} + .d2-1702258218 .fill-AA5{fill:#F7F8FE;} + .d2-1702258218 .fill-AB4{fill:#EDF0FD;} + .d2-1702258218 .fill-AB5{fill:#F7F8FE;} + .d2-1702258218 .stroke-N1{stroke:#0A0F25;} + .d2-1702258218 .stroke-N2{stroke:#676C7E;} + .d2-1702258218 .stroke-N3{stroke:#9499AB;} + .d2-1702258218 .stroke-N4{stroke:#CFD2DD;} + .d2-1702258218 .stroke-N5{stroke:#DEE1EB;} + .d2-1702258218 .stroke-N6{stroke:#EEF1F8;} + .d2-1702258218 .stroke-N7{stroke:#FFFFFF;} + .d2-1702258218 .stroke-B1{stroke:#0D32B2;} + .d2-1702258218 .stroke-B2{stroke:#0D32B2;} + .d2-1702258218 .stroke-B3{stroke:#E3E9FD;} + .d2-1702258218 .stroke-B4{stroke:#E3E9FD;} + .d2-1702258218 .stroke-B5{stroke:#EDF0FD;} + .d2-1702258218 .stroke-B6{stroke:#F7F8FE;} + .d2-1702258218 .stroke-AA2{stroke:#4A6FF3;} + .d2-1702258218 .stroke-AA4{stroke:#EDF0FD;} + .d2-1702258218 .stroke-AA5{stroke:#F7F8FE;} + .d2-1702258218 .stroke-AB4{stroke:#EDF0FD;} + .d2-1702258218 .stroke-AB5{stroke:#F7F8FE;} + .d2-1702258218 .background-color-N1{background-color:#0A0F25;} + .d2-1702258218 .background-color-N2{background-color:#676C7E;} + .d2-1702258218 .background-color-N3{background-color:#9499AB;} + .d2-1702258218 .background-color-N4{background-color:#CFD2DD;} + .d2-1702258218 .background-color-N5{background-color:#DEE1EB;} + .d2-1702258218 .background-color-N6{background-color:#EEF1F8;} + .d2-1702258218 .background-color-N7{background-color:#FFFFFF;} + .d2-1702258218 .background-color-B1{background-color:#0D32B2;} + .d2-1702258218 .background-color-B2{background-color:#0D32B2;} + .d2-1702258218 .background-color-B3{background-color:#E3E9FD;} + .d2-1702258218 .background-color-B4{background-color:#E3E9FD;} + .d2-1702258218 .background-color-B5{background-color:#EDF0FD;} + .d2-1702258218 .background-color-B6{background-color:#F7F8FE;} + .d2-1702258218 .background-color-AA2{background-color:#4A6FF3;} + .d2-1702258218 .background-color-AA4{background-color:#EDF0FD;} + .d2-1702258218 .background-color-AA5{background-color:#F7F8FE;} + .d2-1702258218 .background-color-AB4{background-color:#EDF0FD;} + .d2-1702258218 .background-color-AB5{background-color:#F7F8FE;} + .d2-1702258218 .color-N1{color:#0A0F25;} + .d2-1702258218 .color-N2{color:#676C7E;} + .d2-1702258218 .color-N3{color:#9499AB;} + .d2-1702258218 .color-N4{color:#CFD2DD;} + .d2-1702258218 .color-N5{color:#DEE1EB;} + .d2-1702258218 .color-N6{color:#EEF1F8;} + .d2-1702258218 .color-N7{color:#FFFFFF;} + .d2-1702258218 .color-B1{color:#0D32B2;} + .d2-1702258218 .color-B2{color:#0D32B2;} + .d2-1702258218 .color-B3{color:#E3E9FD;} + .d2-1702258218 .color-B4{color:#E3E9FD;} + .d2-1702258218 .color-B5{color:#EDF0FD;} + .d2-1702258218 .color-B6{color:#F7F8FE;} + .d2-1702258218 .color-AA2{color:#4A6FF3;} + .d2-1702258218 .color-AA4{color:#EDF0FD;} + .d2-1702258218 .color-AA5{color:#F7F8FE;} + .d2-1702258218 .color-AB4{color:#EDF0FD;} + .d2-1702258218 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdggggroup 1group bchoonested guy lalaeyokayokaywhat would arnold saythis note diff --git a/e2etests/testdata/stable/sequence_diagram_groups/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_groups/elk/sketch.exp.svg index 99799803c..d19b57172 100644 --- a/e2etests/testdata/stable/sequence_diagram_groups/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_groups/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abcdggggroup 1group bchoonested guy lalaeyokayokaywhat would arnold saythis note + .d2-1702258218 .fill-N1{fill:#0A0F25;} + .d2-1702258218 .fill-N2{fill:#676C7E;} + .d2-1702258218 .fill-N3{fill:#9499AB;} + .d2-1702258218 .fill-N4{fill:#CFD2DD;} + .d2-1702258218 .fill-N5{fill:#DEE1EB;} + .d2-1702258218 .fill-N6{fill:#EEF1F8;} + .d2-1702258218 .fill-N7{fill:#FFFFFF;} + .d2-1702258218 .fill-B1{fill:#0D32B2;} + .d2-1702258218 .fill-B2{fill:#0D32B2;} + .d2-1702258218 .fill-B3{fill:#E3E9FD;} + .d2-1702258218 .fill-B4{fill:#E3E9FD;} + .d2-1702258218 .fill-B5{fill:#EDF0FD;} + .d2-1702258218 .fill-B6{fill:#F7F8FE;} + .d2-1702258218 .fill-AA2{fill:#4A6FF3;} + .d2-1702258218 .fill-AA4{fill:#EDF0FD;} + .d2-1702258218 .fill-AA5{fill:#F7F8FE;} + .d2-1702258218 .fill-AB4{fill:#EDF0FD;} + .d2-1702258218 .fill-AB5{fill:#F7F8FE;} + .d2-1702258218 .stroke-N1{stroke:#0A0F25;} + .d2-1702258218 .stroke-N2{stroke:#676C7E;} + .d2-1702258218 .stroke-N3{stroke:#9499AB;} + .d2-1702258218 .stroke-N4{stroke:#CFD2DD;} + .d2-1702258218 .stroke-N5{stroke:#DEE1EB;} + .d2-1702258218 .stroke-N6{stroke:#EEF1F8;} + .d2-1702258218 .stroke-N7{stroke:#FFFFFF;} + .d2-1702258218 .stroke-B1{stroke:#0D32B2;} + .d2-1702258218 .stroke-B2{stroke:#0D32B2;} + .d2-1702258218 .stroke-B3{stroke:#E3E9FD;} + .d2-1702258218 .stroke-B4{stroke:#E3E9FD;} + .d2-1702258218 .stroke-B5{stroke:#EDF0FD;} + .d2-1702258218 .stroke-B6{stroke:#F7F8FE;} + .d2-1702258218 .stroke-AA2{stroke:#4A6FF3;} + .d2-1702258218 .stroke-AA4{stroke:#EDF0FD;} + .d2-1702258218 .stroke-AA5{stroke:#F7F8FE;} + .d2-1702258218 .stroke-AB4{stroke:#EDF0FD;} + .d2-1702258218 .stroke-AB5{stroke:#F7F8FE;} + .d2-1702258218 .background-color-N1{background-color:#0A0F25;} + .d2-1702258218 .background-color-N2{background-color:#676C7E;} + .d2-1702258218 .background-color-N3{background-color:#9499AB;} + .d2-1702258218 .background-color-N4{background-color:#CFD2DD;} + .d2-1702258218 .background-color-N5{background-color:#DEE1EB;} + .d2-1702258218 .background-color-N6{background-color:#EEF1F8;} + .d2-1702258218 .background-color-N7{background-color:#FFFFFF;} + .d2-1702258218 .background-color-B1{background-color:#0D32B2;} + .d2-1702258218 .background-color-B2{background-color:#0D32B2;} + .d2-1702258218 .background-color-B3{background-color:#E3E9FD;} + .d2-1702258218 .background-color-B4{background-color:#E3E9FD;} + .d2-1702258218 .background-color-B5{background-color:#EDF0FD;} + .d2-1702258218 .background-color-B6{background-color:#F7F8FE;} + .d2-1702258218 .background-color-AA2{background-color:#4A6FF3;} + .d2-1702258218 .background-color-AA4{background-color:#EDF0FD;} + .d2-1702258218 .background-color-AA5{background-color:#F7F8FE;} + .d2-1702258218 .background-color-AB4{background-color:#EDF0FD;} + .d2-1702258218 .background-color-AB5{background-color:#F7F8FE;} + .d2-1702258218 .color-N1{color:#0A0F25;} + .d2-1702258218 .color-N2{color:#676C7E;} + .d2-1702258218 .color-N3{color:#9499AB;} + .d2-1702258218 .color-N4{color:#CFD2DD;} + .d2-1702258218 .color-N5{color:#DEE1EB;} + .d2-1702258218 .color-N6{color:#EEF1F8;} + .d2-1702258218 .color-N7{color:#FFFFFF;} + .d2-1702258218 .color-B1{color:#0D32B2;} + .d2-1702258218 .color-B2{color:#0D32B2;} + .d2-1702258218 .color-B3{color:#E3E9FD;} + .d2-1702258218 .color-B4{color:#E3E9FD;} + .d2-1702258218 .color-B5{color:#EDF0FD;} + .d2-1702258218 .color-B6{color:#F7F8FE;} + .d2-1702258218 .color-AA2{color:#4A6FF3;} + .d2-1702258218 .color-AA4{color:#EDF0FD;} + .d2-1702258218 .color-AA5{color:#F7F8FE;} + .d2-1702258218 .color-AB4{color:#EDF0FD;} + .d2-1702258218 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcdggggroup 1group bchoonested guy lalaeyokayokaywhat would arnold saythis note diff --git a/e2etests/testdata/stable/sequence_diagram_long_note/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_long_note/dagre/sketch.exp.svg index 53e13d9db..18ec0ffea 100644 --- a/e2etests/testdata/stable/sequence_diagram_long_note/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_long_note/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ab a note here to remember that padding must consider notes toojustalongnotehere + .d2-1523442205 .fill-N1{fill:#0A0F25;} + .d2-1523442205 .fill-N2{fill:#676C7E;} + .d2-1523442205 .fill-N3{fill:#9499AB;} + .d2-1523442205 .fill-N4{fill:#CFD2DD;} + .d2-1523442205 .fill-N5{fill:#DEE1EB;} + .d2-1523442205 .fill-N6{fill:#EEF1F8;} + .d2-1523442205 .fill-N7{fill:#FFFFFF;} + .d2-1523442205 .fill-B1{fill:#0D32B2;} + .d2-1523442205 .fill-B2{fill:#0D32B2;} + .d2-1523442205 .fill-B3{fill:#E3E9FD;} + .d2-1523442205 .fill-B4{fill:#E3E9FD;} + .d2-1523442205 .fill-B5{fill:#EDF0FD;} + .d2-1523442205 .fill-B6{fill:#F7F8FE;} + .d2-1523442205 .fill-AA2{fill:#4A6FF3;} + .d2-1523442205 .fill-AA4{fill:#EDF0FD;} + .d2-1523442205 .fill-AA5{fill:#F7F8FE;} + .d2-1523442205 .fill-AB4{fill:#EDF0FD;} + .d2-1523442205 .fill-AB5{fill:#F7F8FE;} + .d2-1523442205 .stroke-N1{stroke:#0A0F25;} + .d2-1523442205 .stroke-N2{stroke:#676C7E;} + .d2-1523442205 .stroke-N3{stroke:#9499AB;} + .d2-1523442205 .stroke-N4{stroke:#CFD2DD;} + .d2-1523442205 .stroke-N5{stroke:#DEE1EB;} + .d2-1523442205 .stroke-N6{stroke:#EEF1F8;} + .d2-1523442205 .stroke-N7{stroke:#FFFFFF;} + .d2-1523442205 .stroke-B1{stroke:#0D32B2;} + .d2-1523442205 .stroke-B2{stroke:#0D32B2;} + .d2-1523442205 .stroke-B3{stroke:#E3E9FD;} + .d2-1523442205 .stroke-B4{stroke:#E3E9FD;} + .d2-1523442205 .stroke-B5{stroke:#EDF0FD;} + .d2-1523442205 .stroke-B6{stroke:#F7F8FE;} + .d2-1523442205 .stroke-AA2{stroke:#4A6FF3;} + .d2-1523442205 .stroke-AA4{stroke:#EDF0FD;} + .d2-1523442205 .stroke-AA5{stroke:#F7F8FE;} + .d2-1523442205 .stroke-AB4{stroke:#EDF0FD;} + .d2-1523442205 .stroke-AB5{stroke:#F7F8FE;} + .d2-1523442205 .background-color-N1{background-color:#0A0F25;} + .d2-1523442205 .background-color-N2{background-color:#676C7E;} + .d2-1523442205 .background-color-N3{background-color:#9499AB;} + .d2-1523442205 .background-color-N4{background-color:#CFD2DD;} + .d2-1523442205 .background-color-N5{background-color:#DEE1EB;} + .d2-1523442205 .background-color-N6{background-color:#EEF1F8;} + .d2-1523442205 .background-color-N7{background-color:#FFFFFF;} + .d2-1523442205 .background-color-B1{background-color:#0D32B2;} + .d2-1523442205 .background-color-B2{background-color:#0D32B2;} + .d2-1523442205 .background-color-B3{background-color:#E3E9FD;} + .d2-1523442205 .background-color-B4{background-color:#E3E9FD;} + .d2-1523442205 .background-color-B5{background-color:#EDF0FD;} + .d2-1523442205 .background-color-B6{background-color:#F7F8FE;} + .d2-1523442205 .background-color-AA2{background-color:#4A6FF3;} + .d2-1523442205 .background-color-AA4{background-color:#EDF0FD;} + .d2-1523442205 .background-color-AA5{background-color:#F7F8FE;} + .d2-1523442205 .background-color-AB4{background-color:#EDF0FD;} + .d2-1523442205 .background-color-AB5{background-color:#F7F8FE;} + .d2-1523442205 .color-N1{color:#0A0F25;} + .d2-1523442205 .color-N2{color:#676C7E;} + .d2-1523442205 .color-N3{color:#9499AB;} + .d2-1523442205 .color-N4{color:#CFD2DD;} + .d2-1523442205 .color-N5{color:#DEE1EB;} + .d2-1523442205 .color-N6{color:#EEF1F8;} + .d2-1523442205 .color-N7{color:#FFFFFF;} + .d2-1523442205 .color-B1{color:#0D32B2;} + .d2-1523442205 .color-B2{color:#0D32B2;} + .d2-1523442205 .color-B3{color:#E3E9FD;} + .d2-1523442205 .color-B4{color:#E3E9FD;} + .d2-1523442205 .color-B5{color:#EDF0FD;} + .d2-1523442205 .color-B6{color:#F7F8FE;} + .d2-1523442205 .color-AA2{color:#4A6FF3;} + .d2-1523442205 .color-AA4{color:#EDF0FD;} + .d2-1523442205 .color-AA5{color:#F7F8FE;} + .d2-1523442205 .color-AB4{color:#EDF0FD;} + .d2-1523442205 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab a note here to remember that padding must consider notes toojustalongnotehere diff --git a/e2etests/testdata/stable/sequence_diagram_long_note/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_long_note/elk/sketch.exp.svg index 53e13d9db..18ec0ffea 100644 --- a/e2etests/testdata/stable/sequence_diagram_long_note/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_long_note/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ab a note here to remember that padding must consider notes toojustalongnotehere + .d2-1523442205 .fill-N1{fill:#0A0F25;} + .d2-1523442205 .fill-N2{fill:#676C7E;} + .d2-1523442205 .fill-N3{fill:#9499AB;} + .d2-1523442205 .fill-N4{fill:#CFD2DD;} + .d2-1523442205 .fill-N5{fill:#DEE1EB;} + .d2-1523442205 .fill-N6{fill:#EEF1F8;} + .d2-1523442205 .fill-N7{fill:#FFFFFF;} + .d2-1523442205 .fill-B1{fill:#0D32B2;} + .d2-1523442205 .fill-B2{fill:#0D32B2;} + .d2-1523442205 .fill-B3{fill:#E3E9FD;} + .d2-1523442205 .fill-B4{fill:#E3E9FD;} + .d2-1523442205 .fill-B5{fill:#EDF0FD;} + .d2-1523442205 .fill-B6{fill:#F7F8FE;} + .d2-1523442205 .fill-AA2{fill:#4A6FF3;} + .d2-1523442205 .fill-AA4{fill:#EDF0FD;} + .d2-1523442205 .fill-AA5{fill:#F7F8FE;} + .d2-1523442205 .fill-AB4{fill:#EDF0FD;} + .d2-1523442205 .fill-AB5{fill:#F7F8FE;} + .d2-1523442205 .stroke-N1{stroke:#0A0F25;} + .d2-1523442205 .stroke-N2{stroke:#676C7E;} + .d2-1523442205 .stroke-N3{stroke:#9499AB;} + .d2-1523442205 .stroke-N4{stroke:#CFD2DD;} + .d2-1523442205 .stroke-N5{stroke:#DEE1EB;} + .d2-1523442205 .stroke-N6{stroke:#EEF1F8;} + .d2-1523442205 .stroke-N7{stroke:#FFFFFF;} + .d2-1523442205 .stroke-B1{stroke:#0D32B2;} + .d2-1523442205 .stroke-B2{stroke:#0D32B2;} + .d2-1523442205 .stroke-B3{stroke:#E3E9FD;} + .d2-1523442205 .stroke-B4{stroke:#E3E9FD;} + .d2-1523442205 .stroke-B5{stroke:#EDF0FD;} + .d2-1523442205 .stroke-B6{stroke:#F7F8FE;} + .d2-1523442205 .stroke-AA2{stroke:#4A6FF3;} + .d2-1523442205 .stroke-AA4{stroke:#EDF0FD;} + .d2-1523442205 .stroke-AA5{stroke:#F7F8FE;} + .d2-1523442205 .stroke-AB4{stroke:#EDF0FD;} + .d2-1523442205 .stroke-AB5{stroke:#F7F8FE;} + .d2-1523442205 .background-color-N1{background-color:#0A0F25;} + .d2-1523442205 .background-color-N2{background-color:#676C7E;} + .d2-1523442205 .background-color-N3{background-color:#9499AB;} + .d2-1523442205 .background-color-N4{background-color:#CFD2DD;} + .d2-1523442205 .background-color-N5{background-color:#DEE1EB;} + .d2-1523442205 .background-color-N6{background-color:#EEF1F8;} + .d2-1523442205 .background-color-N7{background-color:#FFFFFF;} + .d2-1523442205 .background-color-B1{background-color:#0D32B2;} + .d2-1523442205 .background-color-B2{background-color:#0D32B2;} + .d2-1523442205 .background-color-B3{background-color:#E3E9FD;} + .d2-1523442205 .background-color-B4{background-color:#E3E9FD;} + .d2-1523442205 .background-color-B5{background-color:#EDF0FD;} + .d2-1523442205 .background-color-B6{background-color:#F7F8FE;} + .d2-1523442205 .background-color-AA2{background-color:#4A6FF3;} + .d2-1523442205 .background-color-AA4{background-color:#EDF0FD;} + .d2-1523442205 .background-color-AA5{background-color:#F7F8FE;} + .d2-1523442205 .background-color-AB4{background-color:#EDF0FD;} + .d2-1523442205 .background-color-AB5{background-color:#F7F8FE;} + .d2-1523442205 .color-N1{color:#0A0F25;} + .d2-1523442205 .color-N2{color:#676C7E;} + .d2-1523442205 .color-N3{color:#9499AB;} + .d2-1523442205 .color-N4{color:#CFD2DD;} + .d2-1523442205 .color-N5{color:#DEE1EB;} + .d2-1523442205 .color-N6{color:#EEF1F8;} + .d2-1523442205 .color-N7{color:#FFFFFF;} + .d2-1523442205 .color-B1{color:#0D32B2;} + .d2-1523442205 .color-B2{color:#0D32B2;} + .d2-1523442205 .color-B3{color:#E3E9FD;} + .d2-1523442205 .color-B4{color:#E3E9FD;} + .d2-1523442205 .color-B5{color:#EDF0FD;} + .d2-1523442205 .color-B6{color:#F7F8FE;} + .d2-1523442205 .color-AA2{color:#4A6FF3;} + .d2-1523442205 .color-AA4{color:#EDF0FD;} + .d2-1523442205 .color-AA5{color:#F7F8FE;} + .d2-1523442205 .color-AB4{color:#EDF0FD;} + .d2-1523442205 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab a note here to remember that padding must consider notes toojustalongnotehere diff --git a/e2etests/testdata/stable/sequence_diagram_nested_groups/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_nested_groups/dagre/sketch.exp.svg index ced7d260c..c0ebb045c 100644 --- a/e2etests/testdata/stable/sequence_diagram_nested_groups/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_nested_groups/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -abjust an actorthis is a message groupaltand this is a nested message groupcase 1case 2case 3case 4what about more nestingcrazy townwhoa a notea note here to remember that padding must consider notes toojustalongnotehere + .d2-1282632491 .fill-N1{fill:#0A0F25;} + .d2-1282632491 .fill-N2{fill:#676C7E;} + .d2-1282632491 .fill-N3{fill:#9499AB;} + .d2-1282632491 .fill-N4{fill:#CFD2DD;} + .d2-1282632491 .fill-N5{fill:#DEE1EB;} + .d2-1282632491 .fill-N6{fill:#EEF1F8;} + .d2-1282632491 .fill-N7{fill:#FFFFFF;} + .d2-1282632491 .fill-B1{fill:#0D32B2;} + .d2-1282632491 .fill-B2{fill:#0D32B2;} + .d2-1282632491 .fill-B3{fill:#E3E9FD;} + .d2-1282632491 .fill-B4{fill:#E3E9FD;} + .d2-1282632491 .fill-B5{fill:#EDF0FD;} + .d2-1282632491 .fill-B6{fill:#F7F8FE;} + .d2-1282632491 .fill-AA2{fill:#4A6FF3;} + .d2-1282632491 .fill-AA4{fill:#EDF0FD;} + .d2-1282632491 .fill-AA5{fill:#F7F8FE;} + .d2-1282632491 .fill-AB4{fill:#EDF0FD;} + .d2-1282632491 .fill-AB5{fill:#F7F8FE;} + .d2-1282632491 .stroke-N1{stroke:#0A0F25;} + .d2-1282632491 .stroke-N2{stroke:#676C7E;} + .d2-1282632491 .stroke-N3{stroke:#9499AB;} + .d2-1282632491 .stroke-N4{stroke:#CFD2DD;} + .d2-1282632491 .stroke-N5{stroke:#DEE1EB;} + .d2-1282632491 .stroke-N6{stroke:#EEF1F8;} + .d2-1282632491 .stroke-N7{stroke:#FFFFFF;} + .d2-1282632491 .stroke-B1{stroke:#0D32B2;} + .d2-1282632491 .stroke-B2{stroke:#0D32B2;} + .d2-1282632491 .stroke-B3{stroke:#E3E9FD;} + .d2-1282632491 .stroke-B4{stroke:#E3E9FD;} + .d2-1282632491 .stroke-B5{stroke:#EDF0FD;} + .d2-1282632491 .stroke-B6{stroke:#F7F8FE;} + .d2-1282632491 .stroke-AA2{stroke:#4A6FF3;} + .d2-1282632491 .stroke-AA4{stroke:#EDF0FD;} + .d2-1282632491 .stroke-AA5{stroke:#F7F8FE;} + .d2-1282632491 .stroke-AB4{stroke:#EDF0FD;} + .d2-1282632491 .stroke-AB5{stroke:#F7F8FE;} + .d2-1282632491 .background-color-N1{background-color:#0A0F25;} + .d2-1282632491 .background-color-N2{background-color:#676C7E;} + .d2-1282632491 .background-color-N3{background-color:#9499AB;} + .d2-1282632491 .background-color-N4{background-color:#CFD2DD;} + .d2-1282632491 .background-color-N5{background-color:#DEE1EB;} + .d2-1282632491 .background-color-N6{background-color:#EEF1F8;} + .d2-1282632491 .background-color-N7{background-color:#FFFFFF;} + .d2-1282632491 .background-color-B1{background-color:#0D32B2;} + .d2-1282632491 .background-color-B2{background-color:#0D32B2;} + .d2-1282632491 .background-color-B3{background-color:#E3E9FD;} + .d2-1282632491 .background-color-B4{background-color:#E3E9FD;} + .d2-1282632491 .background-color-B5{background-color:#EDF0FD;} + .d2-1282632491 .background-color-B6{background-color:#F7F8FE;} + .d2-1282632491 .background-color-AA2{background-color:#4A6FF3;} + .d2-1282632491 .background-color-AA4{background-color:#EDF0FD;} + .d2-1282632491 .background-color-AA5{background-color:#F7F8FE;} + .d2-1282632491 .background-color-AB4{background-color:#EDF0FD;} + .d2-1282632491 .background-color-AB5{background-color:#F7F8FE;} + .d2-1282632491 .color-N1{color:#0A0F25;} + .d2-1282632491 .color-N2{color:#676C7E;} + .d2-1282632491 .color-N3{color:#9499AB;} + .d2-1282632491 .color-N4{color:#CFD2DD;} + .d2-1282632491 .color-N5{color:#DEE1EB;} + .d2-1282632491 .color-N6{color:#EEF1F8;} + .d2-1282632491 .color-N7{color:#FFFFFF;} + .d2-1282632491 .color-B1{color:#0D32B2;} + .d2-1282632491 .color-B2{color:#0D32B2;} + .d2-1282632491 .color-B3{color:#E3E9FD;} + .d2-1282632491 .color-B4{color:#E3E9FD;} + .d2-1282632491 .color-B5{color:#EDF0FD;} + .d2-1282632491 .color-B6{color:#F7F8FE;} + .d2-1282632491 .color-AA2{color:#4A6FF3;} + .d2-1282632491 .color-AA4{color:#EDF0FD;} + .d2-1282632491 .color-AA5{color:#F7F8FE;} + .d2-1282632491 .color-AB4{color:#EDF0FD;} + .d2-1282632491 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abjust an actorthis is a message groupaltand this is a nested message groupcase 1case 2case 3case 4what about more nestingcrazy townwhoa a notea note here to remember that padding must consider notes toojustalongnotehere diff --git a/e2etests/testdata/stable/sequence_diagram_nested_groups/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_nested_groups/elk/sketch.exp.svg index ced7d260c..c0ebb045c 100644 --- a/e2etests/testdata/stable/sequence_diagram_nested_groups/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_nested_groups/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -abjust an actorthis is a message groupaltand this is a nested message groupcase 1case 2case 3case 4what about more nestingcrazy townwhoa a notea note here to remember that padding must consider notes toojustalongnotehere + .d2-1282632491 .fill-N1{fill:#0A0F25;} + .d2-1282632491 .fill-N2{fill:#676C7E;} + .d2-1282632491 .fill-N3{fill:#9499AB;} + .d2-1282632491 .fill-N4{fill:#CFD2DD;} + .d2-1282632491 .fill-N5{fill:#DEE1EB;} + .d2-1282632491 .fill-N6{fill:#EEF1F8;} + .d2-1282632491 .fill-N7{fill:#FFFFFF;} + .d2-1282632491 .fill-B1{fill:#0D32B2;} + .d2-1282632491 .fill-B2{fill:#0D32B2;} + .d2-1282632491 .fill-B3{fill:#E3E9FD;} + .d2-1282632491 .fill-B4{fill:#E3E9FD;} + .d2-1282632491 .fill-B5{fill:#EDF0FD;} + .d2-1282632491 .fill-B6{fill:#F7F8FE;} + .d2-1282632491 .fill-AA2{fill:#4A6FF3;} + .d2-1282632491 .fill-AA4{fill:#EDF0FD;} + .d2-1282632491 .fill-AA5{fill:#F7F8FE;} + .d2-1282632491 .fill-AB4{fill:#EDF0FD;} + .d2-1282632491 .fill-AB5{fill:#F7F8FE;} + .d2-1282632491 .stroke-N1{stroke:#0A0F25;} + .d2-1282632491 .stroke-N2{stroke:#676C7E;} + .d2-1282632491 .stroke-N3{stroke:#9499AB;} + .d2-1282632491 .stroke-N4{stroke:#CFD2DD;} + .d2-1282632491 .stroke-N5{stroke:#DEE1EB;} + .d2-1282632491 .stroke-N6{stroke:#EEF1F8;} + .d2-1282632491 .stroke-N7{stroke:#FFFFFF;} + .d2-1282632491 .stroke-B1{stroke:#0D32B2;} + .d2-1282632491 .stroke-B2{stroke:#0D32B2;} + .d2-1282632491 .stroke-B3{stroke:#E3E9FD;} + .d2-1282632491 .stroke-B4{stroke:#E3E9FD;} + .d2-1282632491 .stroke-B5{stroke:#EDF0FD;} + .d2-1282632491 .stroke-B6{stroke:#F7F8FE;} + .d2-1282632491 .stroke-AA2{stroke:#4A6FF3;} + .d2-1282632491 .stroke-AA4{stroke:#EDF0FD;} + .d2-1282632491 .stroke-AA5{stroke:#F7F8FE;} + .d2-1282632491 .stroke-AB4{stroke:#EDF0FD;} + .d2-1282632491 .stroke-AB5{stroke:#F7F8FE;} + .d2-1282632491 .background-color-N1{background-color:#0A0F25;} + .d2-1282632491 .background-color-N2{background-color:#676C7E;} + .d2-1282632491 .background-color-N3{background-color:#9499AB;} + .d2-1282632491 .background-color-N4{background-color:#CFD2DD;} + .d2-1282632491 .background-color-N5{background-color:#DEE1EB;} + .d2-1282632491 .background-color-N6{background-color:#EEF1F8;} + .d2-1282632491 .background-color-N7{background-color:#FFFFFF;} + .d2-1282632491 .background-color-B1{background-color:#0D32B2;} + .d2-1282632491 .background-color-B2{background-color:#0D32B2;} + .d2-1282632491 .background-color-B3{background-color:#E3E9FD;} + .d2-1282632491 .background-color-B4{background-color:#E3E9FD;} + .d2-1282632491 .background-color-B5{background-color:#EDF0FD;} + .d2-1282632491 .background-color-B6{background-color:#F7F8FE;} + .d2-1282632491 .background-color-AA2{background-color:#4A6FF3;} + .d2-1282632491 .background-color-AA4{background-color:#EDF0FD;} + .d2-1282632491 .background-color-AA5{background-color:#F7F8FE;} + .d2-1282632491 .background-color-AB4{background-color:#EDF0FD;} + .d2-1282632491 .background-color-AB5{background-color:#F7F8FE;} + .d2-1282632491 .color-N1{color:#0A0F25;} + .d2-1282632491 .color-N2{color:#676C7E;} + .d2-1282632491 .color-N3{color:#9499AB;} + .d2-1282632491 .color-N4{color:#CFD2DD;} + .d2-1282632491 .color-N5{color:#DEE1EB;} + .d2-1282632491 .color-N6{color:#EEF1F8;} + .d2-1282632491 .color-N7{color:#FFFFFF;} + .d2-1282632491 .color-B1{color:#0D32B2;} + .d2-1282632491 .color-B2{color:#0D32B2;} + .d2-1282632491 .color-B3{color:#E3E9FD;} + .d2-1282632491 .color-B4{color:#E3E9FD;} + .d2-1282632491 .color-B5{color:#EDF0FD;} + .d2-1282632491 .color-B6{color:#F7F8FE;} + .d2-1282632491 .color-AA2{color:#4A6FF3;} + .d2-1282632491 .color-AA4{color:#EDF0FD;} + .d2-1282632491 .color-AA5{color:#F7F8FE;} + .d2-1282632491 .color-AB4{color:#EDF0FD;} + .d2-1282632491 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abjust an actorthis is a message groupaltand this is a nested message groupcase 1case 2case 3case 4what about more nestingcrazy townwhoa a notea note here to remember that padding must consider notes toojustalongnotehere diff --git a/e2etests/testdata/stable/sequence_diagram_nested_span/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_nested_span/dagre/sketch.exp.svg index b569ac1e7..f8dd82a2f 100644 --- a/e2etests/testdata/stable/sequence_diagram_nested_span/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_nested_span/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -scoreritemResponseitemessayRubricconceptitemOutcome + .d2-1182885304 .fill-N1{fill:#0A0F25;} + .d2-1182885304 .fill-N2{fill:#676C7E;} + .d2-1182885304 .fill-N3{fill:#9499AB;} + .d2-1182885304 .fill-N4{fill:#CFD2DD;} + .d2-1182885304 .fill-N5{fill:#DEE1EB;} + .d2-1182885304 .fill-N6{fill:#EEF1F8;} + .d2-1182885304 .fill-N7{fill:#FFFFFF;} + .d2-1182885304 .fill-B1{fill:#0D32B2;} + .d2-1182885304 .fill-B2{fill:#0D32B2;} + .d2-1182885304 .fill-B3{fill:#E3E9FD;} + .d2-1182885304 .fill-B4{fill:#E3E9FD;} + .d2-1182885304 .fill-B5{fill:#EDF0FD;} + .d2-1182885304 .fill-B6{fill:#F7F8FE;} + .d2-1182885304 .fill-AA2{fill:#4A6FF3;} + .d2-1182885304 .fill-AA4{fill:#EDF0FD;} + .d2-1182885304 .fill-AA5{fill:#F7F8FE;} + .d2-1182885304 .fill-AB4{fill:#EDF0FD;} + .d2-1182885304 .fill-AB5{fill:#F7F8FE;} + .d2-1182885304 .stroke-N1{stroke:#0A0F25;} + .d2-1182885304 .stroke-N2{stroke:#676C7E;} + .d2-1182885304 .stroke-N3{stroke:#9499AB;} + .d2-1182885304 .stroke-N4{stroke:#CFD2DD;} + .d2-1182885304 .stroke-N5{stroke:#DEE1EB;} + .d2-1182885304 .stroke-N6{stroke:#EEF1F8;} + .d2-1182885304 .stroke-N7{stroke:#FFFFFF;} + .d2-1182885304 .stroke-B1{stroke:#0D32B2;} + .d2-1182885304 .stroke-B2{stroke:#0D32B2;} + .d2-1182885304 .stroke-B3{stroke:#E3E9FD;} + .d2-1182885304 .stroke-B4{stroke:#E3E9FD;} + .d2-1182885304 .stroke-B5{stroke:#EDF0FD;} + .d2-1182885304 .stroke-B6{stroke:#F7F8FE;} + .d2-1182885304 .stroke-AA2{stroke:#4A6FF3;} + .d2-1182885304 .stroke-AA4{stroke:#EDF0FD;} + .d2-1182885304 .stroke-AA5{stroke:#F7F8FE;} + .d2-1182885304 .stroke-AB4{stroke:#EDF0FD;} + .d2-1182885304 .stroke-AB5{stroke:#F7F8FE;} + .d2-1182885304 .background-color-N1{background-color:#0A0F25;} + .d2-1182885304 .background-color-N2{background-color:#676C7E;} + .d2-1182885304 .background-color-N3{background-color:#9499AB;} + .d2-1182885304 .background-color-N4{background-color:#CFD2DD;} + .d2-1182885304 .background-color-N5{background-color:#DEE1EB;} + .d2-1182885304 .background-color-N6{background-color:#EEF1F8;} + .d2-1182885304 .background-color-N7{background-color:#FFFFFF;} + .d2-1182885304 .background-color-B1{background-color:#0D32B2;} + .d2-1182885304 .background-color-B2{background-color:#0D32B2;} + .d2-1182885304 .background-color-B3{background-color:#E3E9FD;} + .d2-1182885304 .background-color-B4{background-color:#E3E9FD;} + .d2-1182885304 .background-color-B5{background-color:#EDF0FD;} + .d2-1182885304 .background-color-B6{background-color:#F7F8FE;} + .d2-1182885304 .background-color-AA2{background-color:#4A6FF3;} + .d2-1182885304 .background-color-AA4{background-color:#EDF0FD;} + .d2-1182885304 .background-color-AA5{background-color:#F7F8FE;} + .d2-1182885304 .background-color-AB4{background-color:#EDF0FD;} + .d2-1182885304 .background-color-AB5{background-color:#F7F8FE;} + .d2-1182885304 .color-N1{color:#0A0F25;} + .d2-1182885304 .color-N2{color:#676C7E;} + .d2-1182885304 .color-N3{color:#9499AB;} + .d2-1182885304 .color-N4{color:#CFD2DD;} + .d2-1182885304 .color-N5{color:#DEE1EB;} + .d2-1182885304 .color-N6{color:#EEF1F8;} + .d2-1182885304 .color-N7{color:#FFFFFF;} + .d2-1182885304 .color-B1{color:#0D32B2;} + .d2-1182885304 .color-B2{color:#0D32B2;} + .d2-1182885304 .color-B3{color:#E3E9FD;} + .d2-1182885304 .color-B4{color:#E3E9FD;} + .d2-1182885304 .color-B5{color:#EDF0FD;} + .d2-1182885304 .color-B6{color:#F7F8FE;} + .d2-1182885304 .color-AA2{color:#4A6FF3;} + .d2-1182885304 .color-AA4{color:#EDF0FD;} + .d2-1182885304 .color-AA5{color:#F7F8FE;} + .d2-1182885304 .color-AB4{color:#EDF0FD;} + .d2-1182885304 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>scoreritemResponseitemessayRubricconceptitemOutcome diff --git a/e2etests/testdata/stable/sequence_diagram_nested_span/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_nested_span/elk/sketch.exp.svg index b569ac1e7..f8dd82a2f 100644 --- a/e2etests/testdata/stable/sequence_diagram_nested_span/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_nested_span/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -scoreritemResponseitemessayRubricconceptitemOutcome + .d2-1182885304 .fill-N1{fill:#0A0F25;} + .d2-1182885304 .fill-N2{fill:#676C7E;} + .d2-1182885304 .fill-N3{fill:#9499AB;} + .d2-1182885304 .fill-N4{fill:#CFD2DD;} + .d2-1182885304 .fill-N5{fill:#DEE1EB;} + .d2-1182885304 .fill-N6{fill:#EEF1F8;} + .d2-1182885304 .fill-N7{fill:#FFFFFF;} + .d2-1182885304 .fill-B1{fill:#0D32B2;} + .d2-1182885304 .fill-B2{fill:#0D32B2;} + .d2-1182885304 .fill-B3{fill:#E3E9FD;} + .d2-1182885304 .fill-B4{fill:#E3E9FD;} + .d2-1182885304 .fill-B5{fill:#EDF0FD;} + .d2-1182885304 .fill-B6{fill:#F7F8FE;} + .d2-1182885304 .fill-AA2{fill:#4A6FF3;} + .d2-1182885304 .fill-AA4{fill:#EDF0FD;} + .d2-1182885304 .fill-AA5{fill:#F7F8FE;} + .d2-1182885304 .fill-AB4{fill:#EDF0FD;} + .d2-1182885304 .fill-AB5{fill:#F7F8FE;} + .d2-1182885304 .stroke-N1{stroke:#0A0F25;} + .d2-1182885304 .stroke-N2{stroke:#676C7E;} + .d2-1182885304 .stroke-N3{stroke:#9499AB;} + .d2-1182885304 .stroke-N4{stroke:#CFD2DD;} + .d2-1182885304 .stroke-N5{stroke:#DEE1EB;} + .d2-1182885304 .stroke-N6{stroke:#EEF1F8;} + .d2-1182885304 .stroke-N7{stroke:#FFFFFF;} + .d2-1182885304 .stroke-B1{stroke:#0D32B2;} + .d2-1182885304 .stroke-B2{stroke:#0D32B2;} + .d2-1182885304 .stroke-B3{stroke:#E3E9FD;} + .d2-1182885304 .stroke-B4{stroke:#E3E9FD;} + .d2-1182885304 .stroke-B5{stroke:#EDF0FD;} + .d2-1182885304 .stroke-B6{stroke:#F7F8FE;} + .d2-1182885304 .stroke-AA2{stroke:#4A6FF3;} + .d2-1182885304 .stroke-AA4{stroke:#EDF0FD;} + .d2-1182885304 .stroke-AA5{stroke:#F7F8FE;} + .d2-1182885304 .stroke-AB4{stroke:#EDF0FD;} + .d2-1182885304 .stroke-AB5{stroke:#F7F8FE;} + .d2-1182885304 .background-color-N1{background-color:#0A0F25;} + .d2-1182885304 .background-color-N2{background-color:#676C7E;} + .d2-1182885304 .background-color-N3{background-color:#9499AB;} + .d2-1182885304 .background-color-N4{background-color:#CFD2DD;} + .d2-1182885304 .background-color-N5{background-color:#DEE1EB;} + .d2-1182885304 .background-color-N6{background-color:#EEF1F8;} + .d2-1182885304 .background-color-N7{background-color:#FFFFFF;} + .d2-1182885304 .background-color-B1{background-color:#0D32B2;} + .d2-1182885304 .background-color-B2{background-color:#0D32B2;} + .d2-1182885304 .background-color-B3{background-color:#E3E9FD;} + .d2-1182885304 .background-color-B4{background-color:#E3E9FD;} + .d2-1182885304 .background-color-B5{background-color:#EDF0FD;} + .d2-1182885304 .background-color-B6{background-color:#F7F8FE;} + .d2-1182885304 .background-color-AA2{background-color:#4A6FF3;} + .d2-1182885304 .background-color-AA4{background-color:#EDF0FD;} + .d2-1182885304 .background-color-AA5{background-color:#F7F8FE;} + .d2-1182885304 .background-color-AB4{background-color:#EDF0FD;} + .d2-1182885304 .background-color-AB5{background-color:#F7F8FE;} + .d2-1182885304 .color-N1{color:#0A0F25;} + .d2-1182885304 .color-N2{color:#676C7E;} + .d2-1182885304 .color-N3{color:#9499AB;} + .d2-1182885304 .color-N4{color:#CFD2DD;} + .d2-1182885304 .color-N5{color:#DEE1EB;} + .d2-1182885304 .color-N6{color:#EEF1F8;} + .d2-1182885304 .color-N7{color:#FFFFFF;} + .d2-1182885304 .color-B1{color:#0D32B2;} + .d2-1182885304 .color-B2{color:#0D32B2;} + .d2-1182885304 .color-B3{color:#E3E9FD;} + .d2-1182885304 .color-B4{color:#E3E9FD;} + .d2-1182885304 .color-B5{color:#EDF0FD;} + .d2-1182885304 .color-B6{color:#F7F8FE;} + .d2-1182885304 .color-AA2{color:#4A6FF3;} + .d2-1182885304 .color-AA4{color:#EDF0FD;} + .d2-1182885304 .color-AA5{color:#F7F8FE;} + .d2-1182885304 .color-AB4{color:#EDF0FD;} + .d2-1182885304 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>scoreritemResponseitemessayRubricconceptitemOutcome diff --git a/e2etests/testdata/stable/sequence_diagram_note/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_note/dagre/sketch.exp.svg index ce7f78b4a..9f622a404 100644 --- a/e2etests/testdata/stable/sequence_diagram_note/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_note/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -abcd okayexplanationanother explanationSome one who believes imaginary things appear right before your i's.The earth is like a tiny grain of sand, only much, much heavier + .d2-2067493331 .fill-N1{fill:#0A0F25;} + .d2-2067493331 .fill-N2{fill:#676C7E;} + .d2-2067493331 .fill-N3{fill:#9499AB;} + .d2-2067493331 .fill-N4{fill:#CFD2DD;} + .d2-2067493331 .fill-N5{fill:#DEE1EB;} + .d2-2067493331 .fill-N6{fill:#EEF1F8;} + .d2-2067493331 .fill-N7{fill:#FFFFFF;} + .d2-2067493331 .fill-B1{fill:#0D32B2;} + .d2-2067493331 .fill-B2{fill:#0D32B2;} + .d2-2067493331 .fill-B3{fill:#E3E9FD;} + .d2-2067493331 .fill-B4{fill:#E3E9FD;} + .d2-2067493331 .fill-B5{fill:#EDF0FD;} + .d2-2067493331 .fill-B6{fill:#F7F8FE;} + .d2-2067493331 .fill-AA2{fill:#4A6FF3;} + .d2-2067493331 .fill-AA4{fill:#EDF0FD;} + .d2-2067493331 .fill-AA5{fill:#F7F8FE;} + .d2-2067493331 .fill-AB4{fill:#EDF0FD;} + .d2-2067493331 .fill-AB5{fill:#F7F8FE;} + .d2-2067493331 .stroke-N1{stroke:#0A0F25;} + .d2-2067493331 .stroke-N2{stroke:#676C7E;} + .d2-2067493331 .stroke-N3{stroke:#9499AB;} + .d2-2067493331 .stroke-N4{stroke:#CFD2DD;} + .d2-2067493331 .stroke-N5{stroke:#DEE1EB;} + .d2-2067493331 .stroke-N6{stroke:#EEF1F8;} + .d2-2067493331 .stroke-N7{stroke:#FFFFFF;} + .d2-2067493331 .stroke-B1{stroke:#0D32B2;} + .d2-2067493331 .stroke-B2{stroke:#0D32B2;} + .d2-2067493331 .stroke-B3{stroke:#E3E9FD;} + .d2-2067493331 .stroke-B4{stroke:#E3E9FD;} + .d2-2067493331 .stroke-B5{stroke:#EDF0FD;} + .d2-2067493331 .stroke-B6{stroke:#F7F8FE;} + .d2-2067493331 .stroke-AA2{stroke:#4A6FF3;} + .d2-2067493331 .stroke-AA4{stroke:#EDF0FD;} + .d2-2067493331 .stroke-AA5{stroke:#F7F8FE;} + .d2-2067493331 .stroke-AB4{stroke:#EDF0FD;} + .d2-2067493331 .stroke-AB5{stroke:#F7F8FE;} + .d2-2067493331 .background-color-N1{background-color:#0A0F25;} + .d2-2067493331 .background-color-N2{background-color:#676C7E;} + .d2-2067493331 .background-color-N3{background-color:#9499AB;} + .d2-2067493331 .background-color-N4{background-color:#CFD2DD;} + .d2-2067493331 .background-color-N5{background-color:#DEE1EB;} + .d2-2067493331 .background-color-N6{background-color:#EEF1F8;} + .d2-2067493331 .background-color-N7{background-color:#FFFFFF;} + .d2-2067493331 .background-color-B1{background-color:#0D32B2;} + .d2-2067493331 .background-color-B2{background-color:#0D32B2;} + .d2-2067493331 .background-color-B3{background-color:#E3E9FD;} + .d2-2067493331 .background-color-B4{background-color:#E3E9FD;} + .d2-2067493331 .background-color-B5{background-color:#EDF0FD;} + .d2-2067493331 .background-color-B6{background-color:#F7F8FE;} + .d2-2067493331 .background-color-AA2{background-color:#4A6FF3;} + .d2-2067493331 .background-color-AA4{background-color:#EDF0FD;} + .d2-2067493331 .background-color-AA5{background-color:#F7F8FE;} + .d2-2067493331 .background-color-AB4{background-color:#EDF0FD;} + .d2-2067493331 .background-color-AB5{background-color:#F7F8FE;} + .d2-2067493331 .color-N1{color:#0A0F25;} + .d2-2067493331 .color-N2{color:#676C7E;} + .d2-2067493331 .color-N3{color:#9499AB;} + .d2-2067493331 .color-N4{color:#CFD2DD;} + .d2-2067493331 .color-N5{color:#DEE1EB;} + .d2-2067493331 .color-N6{color:#EEF1F8;} + .d2-2067493331 .color-N7{color:#FFFFFF;} + .d2-2067493331 .color-B1{color:#0D32B2;} + .d2-2067493331 .color-B2{color:#0D32B2;} + .d2-2067493331 .color-B3{color:#E3E9FD;} + .d2-2067493331 .color-B4{color:#E3E9FD;} + .d2-2067493331 .color-B5{color:#EDF0FD;} + .d2-2067493331 .color-B6{color:#F7F8FE;} + .d2-2067493331 .color-AA2{color:#4A6FF3;} + .d2-2067493331 .color-AA4{color:#EDF0FD;} + .d2-2067493331 .color-AA5{color:#F7F8FE;} + .d2-2067493331 .color-AB4{color:#EDF0FD;} + .d2-2067493331 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcd okayexplanationanother explanationSome one who believes imaginary things appear right before your i's.The earth is like a tiny grain of sand, only much, much heavier diff --git a/e2etests/testdata/stable/sequence_diagram_note/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_note/elk/sketch.exp.svg index ce7f78b4a..9f622a404 100644 --- a/e2etests/testdata/stable/sequence_diagram_note/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_note/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -abcd okayexplanationanother explanationSome one who believes imaginary things appear right before your i's.The earth is like a tiny grain of sand, only much, much heavier + .d2-2067493331 .fill-N1{fill:#0A0F25;} + .d2-2067493331 .fill-N2{fill:#676C7E;} + .d2-2067493331 .fill-N3{fill:#9499AB;} + .d2-2067493331 .fill-N4{fill:#CFD2DD;} + .d2-2067493331 .fill-N5{fill:#DEE1EB;} + .d2-2067493331 .fill-N6{fill:#EEF1F8;} + .d2-2067493331 .fill-N7{fill:#FFFFFF;} + .d2-2067493331 .fill-B1{fill:#0D32B2;} + .d2-2067493331 .fill-B2{fill:#0D32B2;} + .d2-2067493331 .fill-B3{fill:#E3E9FD;} + .d2-2067493331 .fill-B4{fill:#E3E9FD;} + .d2-2067493331 .fill-B5{fill:#EDF0FD;} + .d2-2067493331 .fill-B6{fill:#F7F8FE;} + .d2-2067493331 .fill-AA2{fill:#4A6FF3;} + .d2-2067493331 .fill-AA4{fill:#EDF0FD;} + .d2-2067493331 .fill-AA5{fill:#F7F8FE;} + .d2-2067493331 .fill-AB4{fill:#EDF0FD;} + .d2-2067493331 .fill-AB5{fill:#F7F8FE;} + .d2-2067493331 .stroke-N1{stroke:#0A0F25;} + .d2-2067493331 .stroke-N2{stroke:#676C7E;} + .d2-2067493331 .stroke-N3{stroke:#9499AB;} + .d2-2067493331 .stroke-N4{stroke:#CFD2DD;} + .d2-2067493331 .stroke-N5{stroke:#DEE1EB;} + .d2-2067493331 .stroke-N6{stroke:#EEF1F8;} + .d2-2067493331 .stroke-N7{stroke:#FFFFFF;} + .d2-2067493331 .stroke-B1{stroke:#0D32B2;} + .d2-2067493331 .stroke-B2{stroke:#0D32B2;} + .d2-2067493331 .stroke-B3{stroke:#E3E9FD;} + .d2-2067493331 .stroke-B4{stroke:#E3E9FD;} + .d2-2067493331 .stroke-B5{stroke:#EDF0FD;} + .d2-2067493331 .stroke-B6{stroke:#F7F8FE;} + .d2-2067493331 .stroke-AA2{stroke:#4A6FF3;} + .d2-2067493331 .stroke-AA4{stroke:#EDF0FD;} + .d2-2067493331 .stroke-AA5{stroke:#F7F8FE;} + .d2-2067493331 .stroke-AB4{stroke:#EDF0FD;} + .d2-2067493331 .stroke-AB5{stroke:#F7F8FE;} + .d2-2067493331 .background-color-N1{background-color:#0A0F25;} + .d2-2067493331 .background-color-N2{background-color:#676C7E;} + .d2-2067493331 .background-color-N3{background-color:#9499AB;} + .d2-2067493331 .background-color-N4{background-color:#CFD2DD;} + .d2-2067493331 .background-color-N5{background-color:#DEE1EB;} + .d2-2067493331 .background-color-N6{background-color:#EEF1F8;} + .d2-2067493331 .background-color-N7{background-color:#FFFFFF;} + .d2-2067493331 .background-color-B1{background-color:#0D32B2;} + .d2-2067493331 .background-color-B2{background-color:#0D32B2;} + .d2-2067493331 .background-color-B3{background-color:#E3E9FD;} + .d2-2067493331 .background-color-B4{background-color:#E3E9FD;} + .d2-2067493331 .background-color-B5{background-color:#EDF0FD;} + .d2-2067493331 .background-color-B6{background-color:#F7F8FE;} + .d2-2067493331 .background-color-AA2{background-color:#4A6FF3;} + .d2-2067493331 .background-color-AA4{background-color:#EDF0FD;} + .d2-2067493331 .background-color-AA5{background-color:#F7F8FE;} + .d2-2067493331 .background-color-AB4{background-color:#EDF0FD;} + .d2-2067493331 .background-color-AB5{background-color:#F7F8FE;} + .d2-2067493331 .color-N1{color:#0A0F25;} + .d2-2067493331 .color-N2{color:#676C7E;} + .d2-2067493331 .color-N3{color:#9499AB;} + .d2-2067493331 .color-N4{color:#CFD2DD;} + .d2-2067493331 .color-N5{color:#DEE1EB;} + .d2-2067493331 .color-N6{color:#EEF1F8;} + .d2-2067493331 .color-N7{color:#FFFFFF;} + .d2-2067493331 .color-B1{color:#0D32B2;} + .d2-2067493331 .color-B2{color:#0D32B2;} + .d2-2067493331 .color-B3{color:#E3E9FD;} + .d2-2067493331 .color-B4{color:#E3E9FD;} + .d2-2067493331 .color-B5{color:#EDF0FD;} + .d2-2067493331 .color-B6{color:#F7F8FE;} + .d2-2067493331 .color-AA2{color:#4A6FF3;} + .d2-2067493331 .color-AA4{color:#EDF0FD;} + .d2-2067493331 .color-AA5{color:#F7F8FE;} + .d2-2067493331 .color-AB4{color:#EDF0FD;} + .d2-2067493331 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>abcd okayexplanationanother explanationSome one who believes imaginary things appear right before your i's.The earth is like a tiny grain of sand, only much, much heavier diff --git a/e2etests/testdata/stable/sequence_diagram_real/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_real/dagre/sketch.exp.svg index b8d65f647..259383a72 100644 --- a/e2etests/testdata/stable/sequence_diagram_real/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_real/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -How this is renderedCLId2astd2compilerd2layoutd2exporterd2themesd2rendererd2sequencelayoutd2dagrelayoutonly if root is not sequence 'How this is rendered: {...}'tokenized ASTcompile ASTobjects and edgesrun layout enginesrun engine on shape: sequence_diagram, temporarily removerun core engine on rest add back in sequence diagramsdiagram with correct positions and dimensionsexport diagram with chosen theme and rendererget theme stylesrender to SVGresulting SVGmeasurements also take place + .d2-4062681535 .fill-N1{fill:#0A0F25;} + .d2-4062681535 .fill-N2{fill:#676C7E;} + .d2-4062681535 .fill-N3{fill:#9499AB;} + .d2-4062681535 .fill-N4{fill:#CFD2DD;} + .d2-4062681535 .fill-N5{fill:#DEE1EB;} + .d2-4062681535 .fill-N6{fill:#EEF1F8;} + .d2-4062681535 .fill-N7{fill:#FFFFFF;} + .d2-4062681535 .fill-B1{fill:#0D32B2;} + .d2-4062681535 .fill-B2{fill:#0D32B2;} + .d2-4062681535 .fill-B3{fill:#E3E9FD;} + .d2-4062681535 .fill-B4{fill:#E3E9FD;} + .d2-4062681535 .fill-B5{fill:#EDF0FD;} + .d2-4062681535 .fill-B6{fill:#F7F8FE;} + .d2-4062681535 .fill-AA2{fill:#4A6FF3;} + .d2-4062681535 .fill-AA4{fill:#EDF0FD;} + .d2-4062681535 .fill-AA5{fill:#F7F8FE;} + .d2-4062681535 .fill-AB4{fill:#EDF0FD;} + .d2-4062681535 .fill-AB5{fill:#F7F8FE;} + .d2-4062681535 .stroke-N1{stroke:#0A0F25;} + .d2-4062681535 .stroke-N2{stroke:#676C7E;} + .d2-4062681535 .stroke-N3{stroke:#9499AB;} + .d2-4062681535 .stroke-N4{stroke:#CFD2DD;} + .d2-4062681535 .stroke-N5{stroke:#DEE1EB;} + .d2-4062681535 .stroke-N6{stroke:#EEF1F8;} + .d2-4062681535 .stroke-N7{stroke:#FFFFFF;} + .d2-4062681535 .stroke-B1{stroke:#0D32B2;} + .d2-4062681535 .stroke-B2{stroke:#0D32B2;} + .d2-4062681535 .stroke-B3{stroke:#E3E9FD;} + .d2-4062681535 .stroke-B4{stroke:#E3E9FD;} + .d2-4062681535 .stroke-B5{stroke:#EDF0FD;} + .d2-4062681535 .stroke-B6{stroke:#F7F8FE;} + .d2-4062681535 .stroke-AA2{stroke:#4A6FF3;} + .d2-4062681535 .stroke-AA4{stroke:#EDF0FD;} + .d2-4062681535 .stroke-AA5{stroke:#F7F8FE;} + .d2-4062681535 .stroke-AB4{stroke:#EDF0FD;} + .d2-4062681535 .stroke-AB5{stroke:#F7F8FE;} + .d2-4062681535 .background-color-N1{background-color:#0A0F25;} + .d2-4062681535 .background-color-N2{background-color:#676C7E;} + .d2-4062681535 .background-color-N3{background-color:#9499AB;} + .d2-4062681535 .background-color-N4{background-color:#CFD2DD;} + .d2-4062681535 .background-color-N5{background-color:#DEE1EB;} + .d2-4062681535 .background-color-N6{background-color:#EEF1F8;} + .d2-4062681535 .background-color-N7{background-color:#FFFFFF;} + .d2-4062681535 .background-color-B1{background-color:#0D32B2;} + .d2-4062681535 .background-color-B2{background-color:#0D32B2;} + .d2-4062681535 .background-color-B3{background-color:#E3E9FD;} + .d2-4062681535 .background-color-B4{background-color:#E3E9FD;} + .d2-4062681535 .background-color-B5{background-color:#EDF0FD;} + .d2-4062681535 .background-color-B6{background-color:#F7F8FE;} + .d2-4062681535 .background-color-AA2{background-color:#4A6FF3;} + .d2-4062681535 .background-color-AA4{background-color:#EDF0FD;} + .d2-4062681535 .background-color-AA5{background-color:#F7F8FE;} + .d2-4062681535 .background-color-AB4{background-color:#EDF0FD;} + .d2-4062681535 .background-color-AB5{background-color:#F7F8FE;} + .d2-4062681535 .color-N1{color:#0A0F25;} + .d2-4062681535 .color-N2{color:#676C7E;} + .d2-4062681535 .color-N3{color:#9499AB;} + .d2-4062681535 .color-N4{color:#CFD2DD;} + .d2-4062681535 .color-N5{color:#DEE1EB;} + .d2-4062681535 .color-N6{color:#EEF1F8;} + .d2-4062681535 .color-N7{color:#FFFFFF;} + .d2-4062681535 .color-B1{color:#0D32B2;} + .d2-4062681535 .color-B2{color:#0D32B2;} + .d2-4062681535 .color-B3{color:#E3E9FD;} + .d2-4062681535 .color-B4{color:#E3E9FD;} + .d2-4062681535 .color-B5{color:#EDF0FD;} + .d2-4062681535 .color-B6{color:#F7F8FE;} + .d2-4062681535 .color-AA2{color:#4A6FF3;} + .d2-4062681535 .color-AA4{color:#EDF0FD;} + .d2-4062681535 .color-AA5{color:#F7F8FE;} + .d2-4062681535 .color-AB4{color:#EDF0FD;} + .d2-4062681535 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>How this is renderedCLId2astd2compilerd2layoutd2exporterd2themesd2rendererd2sequencelayoutd2dagrelayoutonly if root is not sequence 'How this is rendered: {...}'tokenized ASTcompile ASTobjects and edgesrun layout enginesrun engine on shape: sequence_diagram, temporarily removerun core engine on rest add back in sequence diagramsdiagram with correct positions and dimensionsexport diagram with chosen theme and rendererget theme stylesrender to SVGresulting SVGmeasurements also take place diff --git a/e2etests/testdata/stable/sequence_diagram_real/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_real/elk/sketch.exp.svg index 63a35b099..8aa080cb4 100644 --- a/e2etests/testdata/stable/sequence_diagram_real/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_real/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -How this is renderedCLId2astd2compilerd2layoutd2exporterd2themesd2rendererd2sequencelayoutd2dagrelayoutonly if root is not sequence 'How this is rendered: {...}'tokenized ASTcompile ASTobjects and edgesrun layout enginesrun engine on shape: sequence_diagram, temporarily removerun core engine on rest add back in sequence diagramsdiagram with correct positions and dimensionsexport diagram with chosen theme and rendererget theme stylesrender to SVGresulting SVGmeasurements also take place + .d2-2885730879 .fill-N1{fill:#0A0F25;} + .d2-2885730879 .fill-N2{fill:#676C7E;} + .d2-2885730879 .fill-N3{fill:#9499AB;} + .d2-2885730879 .fill-N4{fill:#CFD2DD;} + .d2-2885730879 .fill-N5{fill:#DEE1EB;} + .d2-2885730879 .fill-N6{fill:#EEF1F8;} + .d2-2885730879 .fill-N7{fill:#FFFFFF;} + .d2-2885730879 .fill-B1{fill:#0D32B2;} + .d2-2885730879 .fill-B2{fill:#0D32B2;} + .d2-2885730879 .fill-B3{fill:#E3E9FD;} + .d2-2885730879 .fill-B4{fill:#E3E9FD;} + .d2-2885730879 .fill-B5{fill:#EDF0FD;} + .d2-2885730879 .fill-B6{fill:#F7F8FE;} + .d2-2885730879 .fill-AA2{fill:#4A6FF3;} + .d2-2885730879 .fill-AA4{fill:#EDF0FD;} + .d2-2885730879 .fill-AA5{fill:#F7F8FE;} + .d2-2885730879 .fill-AB4{fill:#EDF0FD;} + .d2-2885730879 .fill-AB5{fill:#F7F8FE;} + .d2-2885730879 .stroke-N1{stroke:#0A0F25;} + .d2-2885730879 .stroke-N2{stroke:#676C7E;} + .d2-2885730879 .stroke-N3{stroke:#9499AB;} + .d2-2885730879 .stroke-N4{stroke:#CFD2DD;} + .d2-2885730879 .stroke-N5{stroke:#DEE1EB;} + .d2-2885730879 .stroke-N6{stroke:#EEF1F8;} + .d2-2885730879 .stroke-N7{stroke:#FFFFFF;} + .d2-2885730879 .stroke-B1{stroke:#0D32B2;} + .d2-2885730879 .stroke-B2{stroke:#0D32B2;} + .d2-2885730879 .stroke-B3{stroke:#E3E9FD;} + .d2-2885730879 .stroke-B4{stroke:#E3E9FD;} + .d2-2885730879 .stroke-B5{stroke:#EDF0FD;} + .d2-2885730879 .stroke-B6{stroke:#F7F8FE;} + .d2-2885730879 .stroke-AA2{stroke:#4A6FF3;} + .d2-2885730879 .stroke-AA4{stroke:#EDF0FD;} + .d2-2885730879 .stroke-AA5{stroke:#F7F8FE;} + .d2-2885730879 .stroke-AB4{stroke:#EDF0FD;} + .d2-2885730879 .stroke-AB5{stroke:#F7F8FE;} + .d2-2885730879 .background-color-N1{background-color:#0A0F25;} + .d2-2885730879 .background-color-N2{background-color:#676C7E;} + .d2-2885730879 .background-color-N3{background-color:#9499AB;} + .d2-2885730879 .background-color-N4{background-color:#CFD2DD;} + .d2-2885730879 .background-color-N5{background-color:#DEE1EB;} + .d2-2885730879 .background-color-N6{background-color:#EEF1F8;} + .d2-2885730879 .background-color-N7{background-color:#FFFFFF;} + .d2-2885730879 .background-color-B1{background-color:#0D32B2;} + .d2-2885730879 .background-color-B2{background-color:#0D32B2;} + .d2-2885730879 .background-color-B3{background-color:#E3E9FD;} + .d2-2885730879 .background-color-B4{background-color:#E3E9FD;} + .d2-2885730879 .background-color-B5{background-color:#EDF0FD;} + .d2-2885730879 .background-color-B6{background-color:#F7F8FE;} + .d2-2885730879 .background-color-AA2{background-color:#4A6FF3;} + .d2-2885730879 .background-color-AA4{background-color:#EDF0FD;} + .d2-2885730879 .background-color-AA5{background-color:#F7F8FE;} + .d2-2885730879 .background-color-AB4{background-color:#EDF0FD;} + .d2-2885730879 .background-color-AB5{background-color:#F7F8FE;} + .d2-2885730879 .color-N1{color:#0A0F25;} + .d2-2885730879 .color-N2{color:#676C7E;} + .d2-2885730879 .color-N3{color:#9499AB;} + .d2-2885730879 .color-N4{color:#CFD2DD;} + .d2-2885730879 .color-N5{color:#DEE1EB;} + .d2-2885730879 .color-N6{color:#EEF1F8;} + .d2-2885730879 .color-N7{color:#FFFFFF;} + .d2-2885730879 .color-B1{color:#0D32B2;} + .d2-2885730879 .color-B2{color:#0D32B2;} + .d2-2885730879 .color-B3{color:#E3E9FD;} + .d2-2885730879 .color-B4{color:#E3E9FD;} + .d2-2885730879 .color-B5{color:#EDF0FD;} + .d2-2885730879 .color-B6{color:#F7F8FE;} + .d2-2885730879 .color-AA2{color:#4A6FF3;} + .d2-2885730879 .color-AA4{color:#EDF0FD;} + .d2-2885730879 .color-AA5{color:#F7F8FE;} + .d2-2885730879 .color-AB4{color:#EDF0FD;} + .d2-2885730879 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>How this is renderedCLId2astd2compilerd2layoutd2exporterd2themesd2rendererd2sequencelayoutd2dagrelayoutonly if root is not sequence 'How this is rendered: {...}'tokenized ASTcompile ASTobjects and edgesrun layout enginesrun engine on shape: sequence_diagram, temporarily removerun core engine on rest add back in sequence diagramsdiagram with correct positions and dimensionsexport diagram with chosen theme and rendererget theme stylesrender to SVGresulting SVGmeasurements also take place diff --git a/e2etests/testdata/stable/sequence_diagram_self_edges/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_self_edges/dagre/sketch.exp.svg index dff65325d..3152be0ef 100644 --- a/e2etests/testdata/stable/sequence_diagram_self_edges/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_self_edges/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ab a self edge herebetween actorsto descendantto deeper descendantto parentactor + .d2-1407769275 .fill-N1{fill:#0A0F25;} + .d2-1407769275 .fill-N2{fill:#676C7E;} + .d2-1407769275 .fill-N3{fill:#9499AB;} + .d2-1407769275 .fill-N4{fill:#CFD2DD;} + .d2-1407769275 .fill-N5{fill:#DEE1EB;} + .d2-1407769275 .fill-N6{fill:#EEF1F8;} + .d2-1407769275 .fill-N7{fill:#FFFFFF;} + .d2-1407769275 .fill-B1{fill:#0D32B2;} + .d2-1407769275 .fill-B2{fill:#0D32B2;} + .d2-1407769275 .fill-B3{fill:#E3E9FD;} + .d2-1407769275 .fill-B4{fill:#E3E9FD;} + .d2-1407769275 .fill-B5{fill:#EDF0FD;} + .d2-1407769275 .fill-B6{fill:#F7F8FE;} + .d2-1407769275 .fill-AA2{fill:#4A6FF3;} + .d2-1407769275 .fill-AA4{fill:#EDF0FD;} + .d2-1407769275 .fill-AA5{fill:#F7F8FE;} + .d2-1407769275 .fill-AB4{fill:#EDF0FD;} + .d2-1407769275 .fill-AB5{fill:#F7F8FE;} + .d2-1407769275 .stroke-N1{stroke:#0A0F25;} + .d2-1407769275 .stroke-N2{stroke:#676C7E;} + .d2-1407769275 .stroke-N3{stroke:#9499AB;} + .d2-1407769275 .stroke-N4{stroke:#CFD2DD;} + .d2-1407769275 .stroke-N5{stroke:#DEE1EB;} + .d2-1407769275 .stroke-N6{stroke:#EEF1F8;} + .d2-1407769275 .stroke-N7{stroke:#FFFFFF;} + .d2-1407769275 .stroke-B1{stroke:#0D32B2;} + .d2-1407769275 .stroke-B2{stroke:#0D32B2;} + .d2-1407769275 .stroke-B3{stroke:#E3E9FD;} + .d2-1407769275 .stroke-B4{stroke:#E3E9FD;} + .d2-1407769275 .stroke-B5{stroke:#EDF0FD;} + .d2-1407769275 .stroke-B6{stroke:#F7F8FE;} + .d2-1407769275 .stroke-AA2{stroke:#4A6FF3;} + .d2-1407769275 .stroke-AA4{stroke:#EDF0FD;} + .d2-1407769275 .stroke-AA5{stroke:#F7F8FE;} + .d2-1407769275 .stroke-AB4{stroke:#EDF0FD;} + .d2-1407769275 .stroke-AB5{stroke:#F7F8FE;} + .d2-1407769275 .background-color-N1{background-color:#0A0F25;} + .d2-1407769275 .background-color-N2{background-color:#676C7E;} + .d2-1407769275 .background-color-N3{background-color:#9499AB;} + .d2-1407769275 .background-color-N4{background-color:#CFD2DD;} + .d2-1407769275 .background-color-N5{background-color:#DEE1EB;} + .d2-1407769275 .background-color-N6{background-color:#EEF1F8;} + .d2-1407769275 .background-color-N7{background-color:#FFFFFF;} + .d2-1407769275 .background-color-B1{background-color:#0D32B2;} + .d2-1407769275 .background-color-B2{background-color:#0D32B2;} + .d2-1407769275 .background-color-B3{background-color:#E3E9FD;} + .d2-1407769275 .background-color-B4{background-color:#E3E9FD;} + .d2-1407769275 .background-color-B5{background-color:#EDF0FD;} + .d2-1407769275 .background-color-B6{background-color:#F7F8FE;} + .d2-1407769275 .background-color-AA2{background-color:#4A6FF3;} + .d2-1407769275 .background-color-AA4{background-color:#EDF0FD;} + .d2-1407769275 .background-color-AA5{background-color:#F7F8FE;} + .d2-1407769275 .background-color-AB4{background-color:#EDF0FD;} + .d2-1407769275 .background-color-AB5{background-color:#F7F8FE;} + .d2-1407769275 .color-N1{color:#0A0F25;} + .d2-1407769275 .color-N2{color:#676C7E;} + .d2-1407769275 .color-N3{color:#9499AB;} + .d2-1407769275 .color-N4{color:#CFD2DD;} + .d2-1407769275 .color-N5{color:#DEE1EB;} + .d2-1407769275 .color-N6{color:#EEF1F8;} + .d2-1407769275 .color-N7{color:#FFFFFF;} + .d2-1407769275 .color-B1{color:#0D32B2;} + .d2-1407769275 .color-B2{color:#0D32B2;} + .d2-1407769275 .color-B3{color:#E3E9FD;} + .d2-1407769275 .color-B4{color:#E3E9FD;} + .d2-1407769275 .color-B5{color:#EDF0FD;} + .d2-1407769275 .color-B6{color:#F7F8FE;} + .d2-1407769275 .color-AA2{color:#4A6FF3;} + .d2-1407769275 .color-AA4{color:#EDF0FD;} + .d2-1407769275 .color-AA5{color:#F7F8FE;} + .d2-1407769275 .color-AB4{color:#EDF0FD;} + .d2-1407769275 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab a self edge herebetween actorsto descendantto deeper descendantto parentactor diff --git a/e2etests/testdata/stable/sequence_diagram_self_edges/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_self_edges/elk/sketch.exp.svg index dff65325d..3152be0ef 100644 --- a/e2etests/testdata/stable/sequence_diagram_self_edges/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_self_edges/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ab a self edge herebetween actorsto descendantto deeper descendantto parentactor + .d2-1407769275 .fill-N1{fill:#0A0F25;} + .d2-1407769275 .fill-N2{fill:#676C7E;} + .d2-1407769275 .fill-N3{fill:#9499AB;} + .d2-1407769275 .fill-N4{fill:#CFD2DD;} + .d2-1407769275 .fill-N5{fill:#DEE1EB;} + .d2-1407769275 .fill-N6{fill:#EEF1F8;} + .d2-1407769275 .fill-N7{fill:#FFFFFF;} + .d2-1407769275 .fill-B1{fill:#0D32B2;} + .d2-1407769275 .fill-B2{fill:#0D32B2;} + .d2-1407769275 .fill-B3{fill:#E3E9FD;} + .d2-1407769275 .fill-B4{fill:#E3E9FD;} + .d2-1407769275 .fill-B5{fill:#EDF0FD;} + .d2-1407769275 .fill-B6{fill:#F7F8FE;} + .d2-1407769275 .fill-AA2{fill:#4A6FF3;} + .d2-1407769275 .fill-AA4{fill:#EDF0FD;} + .d2-1407769275 .fill-AA5{fill:#F7F8FE;} + .d2-1407769275 .fill-AB4{fill:#EDF0FD;} + .d2-1407769275 .fill-AB5{fill:#F7F8FE;} + .d2-1407769275 .stroke-N1{stroke:#0A0F25;} + .d2-1407769275 .stroke-N2{stroke:#676C7E;} + .d2-1407769275 .stroke-N3{stroke:#9499AB;} + .d2-1407769275 .stroke-N4{stroke:#CFD2DD;} + .d2-1407769275 .stroke-N5{stroke:#DEE1EB;} + .d2-1407769275 .stroke-N6{stroke:#EEF1F8;} + .d2-1407769275 .stroke-N7{stroke:#FFFFFF;} + .d2-1407769275 .stroke-B1{stroke:#0D32B2;} + .d2-1407769275 .stroke-B2{stroke:#0D32B2;} + .d2-1407769275 .stroke-B3{stroke:#E3E9FD;} + .d2-1407769275 .stroke-B4{stroke:#E3E9FD;} + .d2-1407769275 .stroke-B5{stroke:#EDF0FD;} + .d2-1407769275 .stroke-B6{stroke:#F7F8FE;} + .d2-1407769275 .stroke-AA2{stroke:#4A6FF3;} + .d2-1407769275 .stroke-AA4{stroke:#EDF0FD;} + .d2-1407769275 .stroke-AA5{stroke:#F7F8FE;} + .d2-1407769275 .stroke-AB4{stroke:#EDF0FD;} + .d2-1407769275 .stroke-AB5{stroke:#F7F8FE;} + .d2-1407769275 .background-color-N1{background-color:#0A0F25;} + .d2-1407769275 .background-color-N2{background-color:#676C7E;} + .d2-1407769275 .background-color-N3{background-color:#9499AB;} + .d2-1407769275 .background-color-N4{background-color:#CFD2DD;} + .d2-1407769275 .background-color-N5{background-color:#DEE1EB;} + .d2-1407769275 .background-color-N6{background-color:#EEF1F8;} + .d2-1407769275 .background-color-N7{background-color:#FFFFFF;} + .d2-1407769275 .background-color-B1{background-color:#0D32B2;} + .d2-1407769275 .background-color-B2{background-color:#0D32B2;} + .d2-1407769275 .background-color-B3{background-color:#E3E9FD;} + .d2-1407769275 .background-color-B4{background-color:#E3E9FD;} + .d2-1407769275 .background-color-B5{background-color:#EDF0FD;} + .d2-1407769275 .background-color-B6{background-color:#F7F8FE;} + .d2-1407769275 .background-color-AA2{background-color:#4A6FF3;} + .d2-1407769275 .background-color-AA4{background-color:#EDF0FD;} + .d2-1407769275 .background-color-AA5{background-color:#F7F8FE;} + .d2-1407769275 .background-color-AB4{background-color:#EDF0FD;} + .d2-1407769275 .background-color-AB5{background-color:#F7F8FE;} + .d2-1407769275 .color-N1{color:#0A0F25;} + .d2-1407769275 .color-N2{color:#676C7E;} + .d2-1407769275 .color-N3{color:#9499AB;} + .d2-1407769275 .color-N4{color:#CFD2DD;} + .d2-1407769275 .color-N5{color:#DEE1EB;} + .d2-1407769275 .color-N6{color:#EEF1F8;} + .d2-1407769275 .color-N7{color:#FFFFFF;} + .d2-1407769275 .color-B1{color:#0D32B2;} + .d2-1407769275 .color-B2{color:#0D32B2;} + .d2-1407769275 .color-B3{color:#E3E9FD;} + .d2-1407769275 .color-B4{color:#E3E9FD;} + .d2-1407769275 .color-B5{color:#EDF0FD;} + .d2-1407769275 .color-B6{color:#F7F8FE;} + .d2-1407769275 .color-AA2{color:#4A6FF3;} + .d2-1407769275 .color-AA4{color:#EDF0FD;} + .d2-1407769275 .color-AA5{color:#F7F8FE;} + .d2-1407769275 .color-AB4{color:#EDF0FD;} + .d2-1407769275 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ab a self edge herebetween actorsto descendantto deeper descendantto parentactor diff --git a/e2etests/testdata/stable/sequence_diagram_simple/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_simple/dagre/sketch.exp.svg index 5c18da243..11d6008da 100644 --- a/e2etests/testdata/stable/sequence_diagram_simple/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_simple/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -AlicelinebreakerBobdbqueueanoddservicewithanameinmultiple lines Authentication Requestmake request for something that is quite far away and requires a really long label to take all the space between the objectsvalidate credentials Authentication ResponseAnother authentication Requestdo it later storedAnother authentication Response + .d2-4273132218 .fill-N1{fill:#0A0F25;} + .d2-4273132218 .fill-N2{fill:#676C7E;} + .d2-4273132218 .fill-N3{fill:#9499AB;} + .d2-4273132218 .fill-N4{fill:#CFD2DD;} + .d2-4273132218 .fill-N5{fill:#DEE1EB;} + .d2-4273132218 .fill-N6{fill:#EEF1F8;} + .d2-4273132218 .fill-N7{fill:#FFFFFF;} + .d2-4273132218 .fill-B1{fill:#0D32B2;} + .d2-4273132218 .fill-B2{fill:#0D32B2;} + .d2-4273132218 .fill-B3{fill:#E3E9FD;} + .d2-4273132218 .fill-B4{fill:#E3E9FD;} + .d2-4273132218 .fill-B5{fill:#EDF0FD;} + .d2-4273132218 .fill-B6{fill:#F7F8FE;} + .d2-4273132218 .fill-AA2{fill:#4A6FF3;} + .d2-4273132218 .fill-AA4{fill:#EDF0FD;} + .d2-4273132218 .fill-AA5{fill:#F7F8FE;} + .d2-4273132218 .fill-AB4{fill:#EDF0FD;} + .d2-4273132218 .fill-AB5{fill:#F7F8FE;} + .d2-4273132218 .stroke-N1{stroke:#0A0F25;} + .d2-4273132218 .stroke-N2{stroke:#676C7E;} + .d2-4273132218 .stroke-N3{stroke:#9499AB;} + .d2-4273132218 .stroke-N4{stroke:#CFD2DD;} + .d2-4273132218 .stroke-N5{stroke:#DEE1EB;} + .d2-4273132218 .stroke-N6{stroke:#EEF1F8;} + .d2-4273132218 .stroke-N7{stroke:#FFFFFF;} + .d2-4273132218 .stroke-B1{stroke:#0D32B2;} + .d2-4273132218 .stroke-B2{stroke:#0D32B2;} + .d2-4273132218 .stroke-B3{stroke:#E3E9FD;} + .d2-4273132218 .stroke-B4{stroke:#E3E9FD;} + .d2-4273132218 .stroke-B5{stroke:#EDF0FD;} + .d2-4273132218 .stroke-B6{stroke:#F7F8FE;} + .d2-4273132218 .stroke-AA2{stroke:#4A6FF3;} + .d2-4273132218 .stroke-AA4{stroke:#EDF0FD;} + .d2-4273132218 .stroke-AA5{stroke:#F7F8FE;} + .d2-4273132218 .stroke-AB4{stroke:#EDF0FD;} + .d2-4273132218 .stroke-AB5{stroke:#F7F8FE;} + .d2-4273132218 .background-color-N1{background-color:#0A0F25;} + .d2-4273132218 .background-color-N2{background-color:#676C7E;} + .d2-4273132218 .background-color-N3{background-color:#9499AB;} + .d2-4273132218 .background-color-N4{background-color:#CFD2DD;} + .d2-4273132218 .background-color-N5{background-color:#DEE1EB;} + .d2-4273132218 .background-color-N6{background-color:#EEF1F8;} + .d2-4273132218 .background-color-N7{background-color:#FFFFFF;} + .d2-4273132218 .background-color-B1{background-color:#0D32B2;} + .d2-4273132218 .background-color-B2{background-color:#0D32B2;} + .d2-4273132218 .background-color-B3{background-color:#E3E9FD;} + .d2-4273132218 .background-color-B4{background-color:#E3E9FD;} + .d2-4273132218 .background-color-B5{background-color:#EDF0FD;} + .d2-4273132218 .background-color-B6{background-color:#F7F8FE;} + .d2-4273132218 .background-color-AA2{background-color:#4A6FF3;} + .d2-4273132218 .background-color-AA4{background-color:#EDF0FD;} + .d2-4273132218 .background-color-AA5{background-color:#F7F8FE;} + .d2-4273132218 .background-color-AB4{background-color:#EDF0FD;} + .d2-4273132218 .background-color-AB5{background-color:#F7F8FE;} + .d2-4273132218 .color-N1{color:#0A0F25;} + .d2-4273132218 .color-N2{color:#676C7E;} + .d2-4273132218 .color-N3{color:#9499AB;} + .d2-4273132218 .color-N4{color:#CFD2DD;} + .d2-4273132218 .color-N5{color:#DEE1EB;} + .d2-4273132218 .color-N6{color:#EEF1F8;} + .d2-4273132218 .color-N7{color:#FFFFFF;} + .d2-4273132218 .color-B1{color:#0D32B2;} + .d2-4273132218 .color-B2{color:#0D32B2;} + .d2-4273132218 .color-B3{color:#E3E9FD;} + .d2-4273132218 .color-B4{color:#E3E9FD;} + .d2-4273132218 .color-B5{color:#EDF0FD;} + .d2-4273132218 .color-B6{color:#F7F8FE;} + .d2-4273132218 .color-AA2{color:#4A6FF3;} + .d2-4273132218 .color-AA4{color:#EDF0FD;} + .d2-4273132218 .color-AA5{color:#F7F8FE;} + .d2-4273132218 .color-AB4{color:#EDF0FD;} + .d2-4273132218 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>AlicelinebreakerBobdbqueueanoddservicewithanameinmultiple lines Authentication Requestmake request for something that is quite far away and requires a really long label to take all the space between the objectsvalidate credentials Authentication ResponseAnother authentication Requestdo it later storedAnother authentication Response diff --git a/e2etests/testdata/stable/sequence_diagram_simple/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_simple/elk/sketch.exp.svg index 5c18da243..11d6008da 100644 --- a/e2etests/testdata/stable/sequence_diagram_simple/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_simple/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -AlicelinebreakerBobdbqueueanoddservicewithanameinmultiple lines Authentication Requestmake request for something that is quite far away and requires a really long label to take all the space between the objectsvalidate credentials Authentication ResponseAnother authentication Requestdo it later storedAnother authentication Response + .d2-4273132218 .fill-N1{fill:#0A0F25;} + .d2-4273132218 .fill-N2{fill:#676C7E;} + .d2-4273132218 .fill-N3{fill:#9499AB;} + .d2-4273132218 .fill-N4{fill:#CFD2DD;} + .d2-4273132218 .fill-N5{fill:#DEE1EB;} + .d2-4273132218 .fill-N6{fill:#EEF1F8;} + .d2-4273132218 .fill-N7{fill:#FFFFFF;} + .d2-4273132218 .fill-B1{fill:#0D32B2;} + .d2-4273132218 .fill-B2{fill:#0D32B2;} + .d2-4273132218 .fill-B3{fill:#E3E9FD;} + .d2-4273132218 .fill-B4{fill:#E3E9FD;} + .d2-4273132218 .fill-B5{fill:#EDF0FD;} + .d2-4273132218 .fill-B6{fill:#F7F8FE;} + .d2-4273132218 .fill-AA2{fill:#4A6FF3;} + .d2-4273132218 .fill-AA4{fill:#EDF0FD;} + .d2-4273132218 .fill-AA5{fill:#F7F8FE;} + .d2-4273132218 .fill-AB4{fill:#EDF0FD;} + .d2-4273132218 .fill-AB5{fill:#F7F8FE;} + .d2-4273132218 .stroke-N1{stroke:#0A0F25;} + .d2-4273132218 .stroke-N2{stroke:#676C7E;} + .d2-4273132218 .stroke-N3{stroke:#9499AB;} + .d2-4273132218 .stroke-N4{stroke:#CFD2DD;} + .d2-4273132218 .stroke-N5{stroke:#DEE1EB;} + .d2-4273132218 .stroke-N6{stroke:#EEF1F8;} + .d2-4273132218 .stroke-N7{stroke:#FFFFFF;} + .d2-4273132218 .stroke-B1{stroke:#0D32B2;} + .d2-4273132218 .stroke-B2{stroke:#0D32B2;} + .d2-4273132218 .stroke-B3{stroke:#E3E9FD;} + .d2-4273132218 .stroke-B4{stroke:#E3E9FD;} + .d2-4273132218 .stroke-B5{stroke:#EDF0FD;} + .d2-4273132218 .stroke-B6{stroke:#F7F8FE;} + .d2-4273132218 .stroke-AA2{stroke:#4A6FF3;} + .d2-4273132218 .stroke-AA4{stroke:#EDF0FD;} + .d2-4273132218 .stroke-AA5{stroke:#F7F8FE;} + .d2-4273132218 .stroke-AB4{stroke:#EDF0FD;} + .d2-4273132218 .stroke-AB5{stroke:#F7F8FE;} + .d2-4273132218 .background-color-N1{background-color:#0A0F25;} + .d2-4273132218 .background-color-N2{background-color:#676C7E;} + .d2-4273132218 .background-color-N3{background-color:#9499AB;} + .d2-4273132218 .background-color-N4{background-color:#CFD2DD;} + .d2-4273132218 .background-color-N5{background-color:#DEE1EB;} + .d2-4273132218 .background-color-N6{background-color:#EEF1F8;} + .d2-4273132218 .background-color-N7{background-color:#FFFFFF;} + .d2-4273132218 .background-color-B1{background-color:#0D32B2;} + .d2-4273132218 .background-color-B2{background-color:#0D32B2;} + .d2-4273132218 .background-color-B3{background-color:#E3E9FD;} + .d2-4273132218 .background-color-B4{background-color:#E3E9FD;} + .d2-4273132218 .background-color-B5{background-color:#EDF0FD;} + .d2-4273132218 .background-color-B6{background-color:#F7F8FE;} + .d2-4273132218 .background-color-AA2{background-color:#4A6FF3;} + .d2-4273132218 .background-color-AA4{background-color:#EDF0FD;} + .d2-4273132218 .background-color-AA5{background-color:#F7F8FE;} + .d2-4273132218 .background-color-AB4{background-color:#EDF0FD;} + .d2-4273132218 .background-color-AB5{background-color:#F7F8FE;} + .d2-4273132218 .color-N1{color:#0A0F25;} + .d2-4273132218 .color-N2{color:#676C7E;} + .d2-4273132218 .color-N3{color:#9499AB;} + .d2-4273132218 .color-N4{color:#CFD2DD;} + .d2-4273132218 .color-N5{color:#DEE1EB;} + .d2-4273132218 .color-N6{color:#EEF1F8;} + .d2-4273132218 .color-N7{color:#FFFFFF;} + .d2-4273132218 .color-B1{color:#0D32B2;} + .d2-4273132218 .color-B2{color:#0D32B2;} + .d2-4273132218 .color-B3{color:#E3E9FD;} + .d2-4273132218 .color-B4{color:#E3E9FD;} + .d2-4273132218 .color-B5{color:#EDF0FD;} + .d2-4273132218 .color-B6{color:#F7F8FE;} + .d2-4273132218 .color-AA2{color:#4A6FF3;} + .d2-4273132218 .color-AA4{color:#EDF0FD;} + .d2-4273132218 .color-AA5{color:#F7F8FE;} + .d2-4273132218 .color-AB4{color:#EDF0FD;} + .d2-4273132218 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>AlicelinebreakerBobdbqueueanoddservicewithanameinmultiple lines Authentication Requestmake request for something that is quite far away and requires a really long label to take all the space between the objectsvalidate credentials Authentication ResponseAnother authentication Requestdo it later storedAnother authentication Response diff --git a/e2etests/testdata/stable/sequence_diagram_span/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_span/dagre/sketch.exp.svg index 3bb8937b0..dcc7306ef 100644 --- a/e2etests/testdata/stable/sequence_diagram_span/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_span/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -scoreritemResponseitemessayRubricconceptitemOutcome getItem() itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) + .d2-1774904488 .fill-N1{fill:#0A0F25;} + .d2-1774904488 .fill-N2{fill:#676C7E;} + .d2-1774904488 .fill-N3{fill:#9499AB;} + .d2-1774904488 .fill-N4{fill:#CFD2DD;} + .d2-1774904488 .fill-N5{fill:#DEE1EB;} + .d2-1774904488 .fill-N6{fill:#EEF1F8;} + .d2-1774904488 .fill-N7{fill:#FFFFFF;} + .d2-1774904488 .fill-B1{fill:#0D32B2;} + .d2-1774904488 .fill-B2{fill:#0D32B2;} + .d2-1774904488 .fill-B3{fill:#E3E9FD;} + .d2-1774904488 .fill-B4{fill:#E3E9FD;} + .d2-1774904488 .fill-B5{fill:#EDF0FD;} + .d2-1774904488 .fill-B6{fill:#F7F8FE;} + .d2-1774904488 .fill-AA2{fill:#4A6FF3;} + .d2-1774904488 .fill-AA4{fill:#EDF0FD;} + .d2-1774904488 .fill-AA5{fill:#F7F8FE;} + .d2-1774904488 .fill-AB4{fill:#EDF0FD;} + .d2-1774904488 .fill-AB5{fill:#F7F8FE;} + .d2-1774904488 .stroke-N1{stroke:#0A0F25;} + .d2-1774904488 .stroke-N2{stroke:#676C7E;} + .d2-1774904488 .stroke-N3{stroke:#9499AB;} + .d2-1774904488 .stroke-N4{stroke:#CFD2DD;} + .d2-1774904488 .stroke-N5{stroke:#DEE1EB;} + .d2-1774904488 .stroke-N6{stroke:#EEF1F8;} + .d2-1774904488 .stroke-N7{stroke:#FFFFFF;} + .d2-1774904488 .stroke-B1{stroke:#0D32B2;} + .d2-1774904488 .stroke-B2{stroke:#0D32B2;} + .d2-1774904488 .stroke-B3{stroke:#E3E9FD;} + .d2-1774904488 .stroke-B4{stroke:#E3E9FD;} + .d2-1774904488 .stroke-B5{stroke:#EDF0FD;} + .d2-1774904488 .stroke-B6{stroke:#F7F8FE;} + .d2-1774904488 .stroke-AA2{stroke:#4A6FF3;} + .d2-1774904488 .stroke-AA4{stroke:#EDF0FD;} + .d2-1774904488 .stroke-AA5{stroke:#F7F8FE;} + .d2-1774904488 .stroke-AB4{stroke:#EDF0FD;} + .d2-1774904488 .stroke-AB5{stroke:#F7F8FE;} + .d2-1774904488 .background-color-N1{background-color:#0A0F25;} + .d2-1774904488 .background-color-N2{background-color:#676C7E;} + .d2-1774904488 .background-color-N3{background-color:#9499AB;} + .d2-1774904488 .background-color-N4{background-color:#CFD2DD;} + .d2-1774904488 .background-color-N5{background-color:#DEE1EB;} + .d2-1774904488 .background-color-N6{background-color:#EEF1F8;} + .d2-1774904488 .background-color-N7{background-color:#FFFFFF;} + .d2-1774904488 .background-color-B1{background-color:#0D32B2;} + .d2-1774904488 .background-color-B2{background-color:#0D32B2;} + .d2-1774904488 .background-color-B3{background-color:#E3E9FD;} + .d2-1774904488 .background-color-B4{background-color:#E3E9FD;} + .d2-1774904488 .background-color-B5{background-color:#EDF0FD;} + .d2-1774904488 .background-color-B6{background-color:#F7F8FE;} + .d2-1774904488 .background-color-AA2{background-color:#4A6FF3;} + .d2-1774904488 .background-color-AA4{background-color:#EDF0FD;} + .d2-1774904488 .background-color-AA5{background-color:#F7F8FE;} + .d2-1774904488 .background-color-AB4{background-color:#EDF0FD;} + .d2-1774904488 .background-color-AB5{background-color:#F7F8FE;} + .d2-1774904488 .color-N1{color:#0A0F25;} + .d2-1774904488 .color-N2{color:#676C7E;} + .d2-1774904488 .color-N3{color:#9499AB;} + .d2-1774904488 .color-N4{color:#CFD2DD;} + .d2-1774904488 .color-N5{color:#DEE1EB;} + .d2-1774904488 .color-N6{color:#EEF1F8;} + .d2-1774904488 .color-N7{color:#FFFFFF;} + .d2-1774904488 .color-B1{color:#0D32B2;} + .d2-1774904488 .color-B2{color:#0D32B2;} + .d2-1774904488 .color-B3{color:#E3E9FD;} + .d2-1774904488 .color-B4{color:#E3E9FD;} + .d2-1774904488 .color-B5{color:#EDF0FD;} + .d2-1774904488 .color-B6{color:#F7F8FE;} + .d2-1774904488 .color-AA2{color:#4A6FF3;} + .d2-1774904488 .color-AA4{color:#EDF0FD;} + .d2-1774904488 .color-AA5{color:#F7F8FE;} + .d2-1774904488 .color-AB4{color:#EDF0FD;} + .d2-1774904488 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>scoreritemResponseitemessayRubricconceptitemOutcome getItem() itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) diff --git a/e2etests/testdata/stable/sequence_diagram_span/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_span/elk/sketch.exp.svg index 3bb8937b0..dcc7306ef 100644 --- a/e2etests/testdata/stable/sequence_diagram_span/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_span/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -scoreritemResponseitemessayRubricconceptitemOutcome getItem() itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) + .d2-1774904488 .fill-N1{fill:#0A0F25;} + .d2-1774904488 .fill-N2{fill:#676C7E;} + .d2-1774904488 .fill-N3{fill:#9499AB;} + .d2-1774904488 .fill-N4{fill:#CFD2DD;} + .d2-1774904488 .fill-N5{fill:#DEE1EB;} + .d2-1774904488 .fill-N6{fill:#EEF1F8;} + .d2-1774904488 .fill-N7{fill:#FFFFFF;} + .d2-1774904488 .fill-B1{fill:#0D32B2;} + .d2-1774904488 .fill-B2{fill:#0D32B2;} + .d2-1774904488 .fill-B3{fill:#E3E9FD;} + .d2-1774904488 .fill-B4{fill:#E3E9FD;} + .d2-1774904488 .fill-B5{fill:#EDF0FD;} + .d2-1774904488 .fill-B6{fill:#F7F8FE;} + .d2-1774904488 .fill-AA2{fill:#4A6FF3;} + .d2-1774904488 .fill-AA4{fill:#EDF0FD;} + .d2-1774904488 .fill-AA5{fill:#F7F8FE;} + .d2-1774904488 .fill-AB4{fill:#EDF0FD;} + .d2-1774904488 .fill-AB5{fill:#F7F8FE;} + .d2-1774904488 .stroke-N1{stroke:#0A0F25;} + .d2-1774904488 .stroke-N2{stroke:#676C7E;} + .d2-1774904488 .stroke-N3{stroke:#9499AB;} + .d2-1774904488 .stroke-N4{stroke:#CFD2DD;} + .d2-1774904488 .stroke-N5{stroke:#DEE1EB;} + .d2-1774904488 .stroke-N6{stroke:#EEF1F8;} + .d2-1774904488 .stroke-N7{stroke:#FFFFFF;} + .d2-1774904488 .stroke-B1{stroke:#0D32B2;} + .d2-1774904488 .stroke-B2{stroke:#0D32B2;} + .d2-1774904488 .stroke-B3{stroke:#E3E9FD;} + .d2-1774904488 .stroke-B4{stroke:#E3E9FD;} + .d2-1774904488 .stroke-B5{stroke:#EDF0FD;} + .d2-1774904488 .stroke-B6{stroke:#F7F8FE;} + .d2-1774904488 .stroke-AA2{stroke:#4A6FF3;} + .d2-1774904488 .stroke-AA4{stroke:#EDF0FD;} + .d2-1774904488 .stroke-AA5{stroke:#F7F8FE;} + .d2-1774904488 .stroke-AB4{stroke:#EDF0FD;} + .d2-1774904488 .stroke-AB5{stroke:#F7F8FE;} + .d2-1774904488 .background-color-N1{background-color:#0A0F25;} + .d2-1774904488 .background-color-N2{background-color:#676C7E;} + .d2-1774904488 .background-color-N3{background-color:#9499AB;} + .d2-1774904488 .background-color-N4{background-color:#CFD2DD;} + .d2-1774904488 .background-color-N5{background-color:#DEE1EB;} + .d2-1774904488 .background-color-N6{background-color:#EEF1F8;} + .d2-1774904488 .background-color-N7{background-color:#FFFFFF;} + .d2-1774904488 .background-color-B1{background-color:#0D32B2;} + .d2-1774904488 .background-color-B2{background-color:#0D32B2;} + .d2-1774904488 .background-color-B3{background-color:#E3E9FD;} + .d2-1774904488 .background-color-B4{background-color:#E3E9FD;} + .d2-1774904488 .background-color-B5{background-color:#EDF0FD;} + .d2-1774904488 .background-color-B6{background-color:#F7F8FE;} + .d2-1774904488 .background-color-AA2{background-color:#4A6FF3;} + .d2-1774904488 .background-color-AA4{background-color:#EDF0FD;} + .d2-1774904488 .background-color-AA5{background-color:#F7F8FE;} + .d2-1774904488 .background-color-AB4{background-color:#EDF0FD;} + .d2-1774904488 .background-color-AB5{background-color:#F7F8FE;} + .d2-1774904488 .color-N1{color:#0A0F25;} + .d2-1774904488 .color-N2{color:#676C7E;} + .d2-1774904488 .color-N3{color:#9499AB;} + .d2-1774904488 .color-N4{color:#CFD2DD;} + .d2-1774904488 .color-N5{color:#DEE1EB;} + .d2-1774904488 .color-N6{color:#EEF1F8;} + .d2-1774904488 .color-N7{color:#FFFFFF;} + .d2-1774904488 .color-B1{color:#0D32B2;} + .d2-1774904488 .color-B2{color:#0D32B2;} + .d2-1774904488 .color-B3{color:#E3E9FD;} + .d2-1774904488 .color-B4{color:#E3E9FD;} + .d2-1774904488 .color-B5{color:#EDF0FD;} + .d2-1774904488 .color-B6{color:#F7F8FE;} + .d2-1774904488 .color-AA2{color:#4A6FF3;} + .d2-1774904488 .color-AA4{color:#EDF0FD;} + .d2-1774904488 .color-AA5{color:#F7F8FE;} + .d2-1774904488 .color-AB4{color:#EDF0FD;} + .d2-1774904488 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>scoreritemResponseitemessayRubricconceptitemOutcome getItem() itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) diff --git a/e2etests/testdata/stable/sequence_diagrams/dagre/board.exp.json b/e2etests/testdata/stable/sequence_diagrams/dagre/board.exp.json index 4cf556290..baa755aa5 100644 --- a/e2etests/testdata/stable/sequence_diagrams/dagre/board.exp.json +++ b/e2etests/testdata/stable/sequence_diagrams/dagre/board.exp.json @@ -775,11 +775,11 @@ "id": "another", "type": "rectangle", "pos": { - "x": 994, - "y": 249 + "x": 1004, + "y": 231 }, - "width": 1034, - "height": 1205, + "width": 1014, + "height": 1201, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -817,7 +817,7 @@ "type": "sequence_diagram", "pos": { "x": 1034, - "y": 281 + "y": 261 }, "width": 954, "height": 1141, @@ -858,7 +858,7 @@ "type": "rectangle", "pos": { "x": 1046, - "y": 364 + "y": 344 }, "width": 100, "height": 66, @@ -899,7 +899,7 @@ "type": "rectangle", "pos": { "x": 1090, - "y": 490 + "y": 470 }, "width": 12, "height": 860, @@ -939,7 +939,7 @@ "type": "rectangle", "pos": { "x": 1186, - "y": 364 + "y": 344 }, "width": 140, "height": 66, @@ -980,7 +980,7 @@ "type": "rectangle", "pos": { "x": 1250, - "y": 490 + "y": 470 }, "width": 12, "height": 90, @@ -1020,7 +1020,7 @@ "type": "rectangle", "pos": { "x": 1356, - "y": 364 + "y": 344 }, "width": 100, "height": 66, @@ -1061,7 +1061,7 @@ "type": "rectangle", "pos": { "x": 1400, - "y": 630 + "y": 610 }, "width": 12, "height": 90, @@ -1101,7 +1101,7 @@ "type": "rectangle", "pos": { "x": 1496, - "y": 364 + "y": 344 }, "width": 126, "height": 66, @@ -1142,7 +1142,7 @@ "type": "rectangle", "pos": { "x": 1553, - "y": 770 + "y": 750 }, "width": 12, "height": 230, @@ -1182,7 +1182,7 @@ "type": "rectangle", "pos": { "x": 1549, - "y": 840 + "y": 820 }, "width": 20, "height": 90, @@ -1222,7 +1222,7 @@ "type": "rectangle", "pos": { "x": 1699, - "y": 364 + "y": 344 }, "width": 100, "height": 66, @@ -1263,7 +1263,7 @@ "type": "rectangle", "pos": { "x": 1743, - "y": 910 + "y": 890 }, "width": 12, "height": 30, @@ -1303,7 +1303,7 @@ "type": "rectangle", "pos": { "x": 1839, - "y": 364 + "y": 344 }, "width": 137, "height": 66, @@ -1344,7 +1344,7 @@ "type": "rectangle", "pos": { "x": 1901, - "y": 1050 + "y": 1030 }, "width": 12, "height": 30, @@ -1384,7 +1384,7 @@ "type": "rectangle", "pos": { "x": 1400, - "y": 1120 + "y": 1100 }, "width": 12, "height": 30, @@ -1424,7 +1424,7 @@ "type": "rectangle", "pos": { "x": 1400, - "y": 1190 + "y": 1170 }, "width": 12, "height": 30, @@ -1464,7 +1464,7 @@ "type": "rectangle", "pos": { "x": 1901, - "y": 1260 + "y": 1240 }, "width": 12, "height": 30, @@ -1504,7 +1504,7 @@ "type": "rectangle", "pos": { "x": 1901, - "y": 1330 + "y": 1310 }, "width": 12, "height": 30, @@ -1585,10 +1585,10 @@ "type": "queue", "pos": { "x": 1238, - "y": 1595 + "y": 1554 }, "width": 1074, - "height": 850, + "height": 891, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -1626,7 +1626,7 @@ "type": "sequence_diagram", "pos": { "x": 1313, - "y": 1624 + "y": 1604 }, "width": 934, "height": 791, @@ -1667,7 +1667,7 @@ "type": "rectangle", "pos": { "x": 1325, - "y": 1707 + "y": 1687 }, "width": 100, "height": 66, @@ -1708,7 +1708,7 @@ "type": "rectangle", "pos": { "x": 1475, - "y": 1707 + "y": 1687 }, "width": 100, "height": 66, @@ -1749,7 +1749,7 @@ "type": "rectangle", "pos": { "x": 1615, - "y": 1707 + "y": 1687 }, "width": 126, "height": 66, @@ -1790,7 +1790,7 @@ "type": "rectangle", "pos": { "x": 1778, - "y": 1707 + "y": 1687 }, "width": 100, "height": 66, @@ -1831,7 +1831,7 @@ "type": "rectangle", "pos": { "x": 1918, - "y": 1707 + "y": 1687 }, "width": 137, "height": 66, @@ -1872,7 +1872,7 @@ "type": "rectangle", "pos": { "x": 2095, - "y": 1707 + "y": 1687 }, "width": 140, "height": 66, @@ -1913,7 +1913,7 @@ "type": "rectangle", "pos": { "x": 2159, - "y": 1833 + "y": 1813 }, "width": 12, "height": 30, @@ -1953,7 +1953,7 @@ "type": "rectangle", "pos": { "x": 1822, - "y": 1823 + "y": 1803 }, "width": 12, "height": 380, @@ -1993,7 +1993,7 @@ "type": "rectangle", "pos": { "x": 1818, - "y": 1833 + "y": 1813 }, "width": 20, "height": 90, @@ -2033,7 +2033,7 @@ "type": "rectangle", "pos": { "x": 1672, - "y": 1883 + "y": 1863 }, "width": 12, "height": 190, @@ -2073,7 +2073,7 @@ "type": "rectangle", "pos": { "x": 1668, - "y": 1893 + "y": 1873 }, "width": 20, "height": 170, @@ -2113,7 +2113,7 @@ "type": "rectangle", "pos": { "x": 1664, - "y": 1903 + "y": 1883 }, "width": 28, "height": 90, @@ -2153,7 +2153,7 @@ "type": "rectangle", "pos": { "x": 1519, - "y": 1943 + "y": 1923 }, "width": 12, "height": 220, @@ -2193,7 +2193,7 @@ "type": "rectangle", "pos": { "x": 1515, - "y": 1953 + "y": 1933 }, "width": 20, "height": 200, @@ -2233,7 +2233,7 @@ "type": "rectangle", "pos": { "x": 1511, - "y": 1963 + "y": 1943 }, "width": 28, "height": 180, @@ -2273,7 +2273,7 @@ "type": "rectangle", "pos": { "x": 1507, - "y": 1973 + "y": 1953 }, "width": 36, "height": 160, @@ -2313,7 +2313,7 @@ "type": "rectangle", "pos": { "x": 1980, - "y": 2073 + "y": 2053 }, "width": 12, "height": 240, @@ -2353,7 +2353,7 @@ "type": "rectangle", "pos": { "x": 1976, - "y": 2083 + "y": 2063 }, "width": 20, "height": 220, @@ -2393,7 +2393,7 @@ "type": "rectangle", "pos": { "x": 1972, - "y": 2093 + "y": 2073 }, "width": 28, "height": 200, @@ -2433,7 +2433,7 @@ "type": "rectangle", "pos": { "x": 1968, - "y": 2103 + "y": 2083 }, "width": 36, "height": 180, @@ -2473,7 +2473,7 @@ "type": "rectangle", "pos": { "x": 1964, - "y": 2113 + "y": 2093 }, "width": 44, "height": 160, @@ -2513,7 +2513,7 @@ "type": "rectangle", "pos": { "x": 1369, - "y": 2183 + "y": 2163 }, "width": 12, "height": 30, @@ -2553,7 +2553,7 @@ "type": "rectangle", "pos": { "x": 2159, - "y": 2323 + "y": 2303 }, "width": 12, "height": 30, @@ -3110,11 +3110,11 @@ "route": [ { "x": 1102, - "y": 500.5 + "y": 480 }, { "x": 1250, - "y": 500.5 + "y": 480 } ], "animated": false, @@ -3148,11 +3148,11 @@ "route": [ { "x": 1102, - "y": 570.5 + "y": 550 }, { "x": 1250, - "y": 570.5 + "y": 550 } ], "animated": false, @@ -3186,11 +3186,11 @@ "route": [ { "x": 1102, - "y": 640.5 + "y": 620 }, { "x": 1400, - "y": 640.5 + "y": 620 } ], "animated": false, @@ -3224,11 +3224,11 @@ "route": [ { "x": 1102, - "y": 710.5 + "y": 690 }, { "x": 1400, - "y": 710.5 + "y": 690 } ], "animated": false, @@ -3262,11 +3262,11 @@ "route": [ { "x": 1102, - "y": 780.5 + "y": 760 }, { "x": 1553, - "y": 780.5 + "y": 760 } ], "animated": false, @@ -3300,11 +3300,11 @@ "route": [ { "x": 1256, - "y": 850.5 + "y": 830 }, { "x": 1549, - "y": 850.5 + "y": 830 } ], "animated": false, @@ -3338,11 +3338,11 @@ "route": [ { "x": 1569, - "y": 920.5 + "y": 900 }, { "x": 1743, - "y": 920.5 + "y": 900 } ], "animated": false, @@ -3376,11 +3376,11 @@ "route": [ { "x": 1096, - "y": 990.5 + "y": 970 }, { "x": 1553, - "y": 990.5 + "y": 970 } ], "animated": false, @@ -3414,11 +3414,11 @@ "route": [ { "x": 1102, - "y": 1060.5 + "y": 1040 }, { "x": 1901.5, - "y": 1060.5 + "y": 1040 } ], "animated": false, @@ -3452,11 +3452,11 @@ "route": [ { "x": 1102, - "y": 1130.5 + "y": 1110 }, { "x": 1400, - "y": 1130.5 + "y": 1110 } ], "animated": false, @@ -3490,11 +3490,11 @@ "route": [ { "x": 1102, - "y": 1200.5 + "y": 1180 }, { "x": 1400, - "y": 1200.5 + "y": 1180 } ], "animated": false, @@ -3528,11 +3528,11 @@ "route": [ { "x": 1102, - "y": 1270.5 + "y": 1250 }, { "x": 1901.5, - "y": 1270.5 + "y": 1250 } ], "animated": false, @@ -3566,11 +3566,11 @@ "route": [ { "x": 1102, - "y": 1340.5 + "y": 1320 }, { "x": 1901.5, - "y": 1340.5 + "y": 1320 } ], "animated": false, @@ -3659,11 +3659,11 @@ }, { "x": 1511, - "y": 222.60000610351562 + "y": 218.5 }, { "x": 1511, - "y": 281 + "y": 260.5 } ], "isCurve": true, @@ -3757,11 +3757,11 @@ "route": [ { "x": 1511, - "y": 1423 + "y": 1402.5 }, { "x": 1511, - "y": 1447.800048828125 + "y": 1443.699951171875 }, { "x": 1511, @@ -3777,11 +3777,11 @@ }, { "x": 1517, - "y": 1568.0999755859375 + "y": 1564 }, { "x": 1541, - "y": 1624.5 + "y": 1604 } ], "isCurve": true, @@ -3860,11 +3860,11 @@ }, { "x": 2048, - "y": 1522.199951171875 + "y": 1514 }, { "x": 2048, - "y": 1595 + "y": 1554 } ], "isCurve": true, @@ -3899,11 +3899,11 @@ "route": [ { "x": 2159, - "y": 1843.5 + "y": 1823 }, { "x": 1838, - "y": 1843.5 + "y": 1823 } ], "animated": false, @@ -3937,11 +3937,11 @@ "route": [ { "x": 1818, - "y": 1913.5 + "y": 1893 }, { "x": 1692, - "y": 1913.5 + "y": 1893 } ], "animated": false, @@ -3975,11 +3975,11 @@ "route": [ { "x": 1664, - "y": 1983.5 + "y": 1963 }, { "x": 1543, - "y": 1983.5 + "y": 1963 } ], "animated": false, @@ -4013,11 +4013,11 @@ "route": [ { "x": 1822, - "y": 2053.5 + "y": 2033 }, { "x": 1688, - "y": 2053.5 + "y": 2033 } ], "animated": false, @@ -4051,11 +4051,11 @@ "route": [ { "x": 1543, - "y": 2123.5 + "y": 2103 }, { "x": 1964.5, - "y": 2123.5 + "y": 2103 } ], "animated": false, @@ -4089,11 +4089,11 @@ "route": [ { "x": 1381, - "y": 2193.5 + "y": 2173 }, { "x": 1822, - "y": 2193.5 + "y": 2173 } ], "animated": false, @@ -4127,11 +4127,11 @@ "route": [ { "x": 1964.5, - "y": 2263.5 + "y": 2243 }, { "x": 1375, - "y": 2263.5 + "y": 2243 } ], "animated": false, @@ -4165,11 +4165,11 @@ "route": [ { "x": 1375, - "y": 2333.5 + "y": 2313 }, { "x": 2159, - "y": 2333.5 + "y": 2313 } ], "animated": false, @@ -4431,11 +4431,11 @@ "route": [ { "x": 1096, - "y": 430.5 + "y": 410 }, { "x": 1096, - "y": 1410.5 + "y": 1390 } ], "animated": false, @@ -4469,11 +4469,11 @@ "route": [ { "x": 1256, - "y": 430.5 + "y": 410 }, { "x": 1256, - "y": 1410.5 + "y": 1390 } ], "animated": false, @@ -4507,11 +4507,11 @@ "route": [ { "x": 1406, - "y": 430.5 + "y": 410 }, { "x": 1406, - "y": 1410.5 + "y": 1390 } ], "animated": false, @@ -4545,11 +4545,11 @@ "route": [ { "x": 1559, - "y": 430.5 + "y": 410 }, { "x": 1559, - "y": 1410.5 + "y": 1390 } ], "animated": false, @@ -4583,11 +4583,11 @@ "route": [ { "x": 1749, - "y": 430.5 + "y": 410 }, { "x": 1749, - "y": 1410.5 + "y": 1390 } ], "animated": false, @@ -4621,11 +4621,11 @@ "route": [ { "x": 1907.5, - "y": 430.5 + "y": 410 }, { "x": 1907.5, - "y": 1410.5 + "y": 1390 } ], "animated": false, @@ -4659,11 +4659,11 @@ "route": [ { "x": 1375, - "y": 1773.5 + "y": 1753 }, { "x": 1375, - "y": 2403.5 + "y": 2383 } ], "animated": false, @@ -4697,11 +4697,11 @@ "route": [ { "x": 1525, - "y": 1773.5 + "y": 1753 }, { "x": 1525, - "y": 2403.5 + "y": 2383 } ], "animated": false, @@ -4735,11 +4735,11 @@ "route": [ { "x": 1678, - "y": 1773.5 + "y": 1753 }, { "x": 1678, - "y": 2403.5 + "y": 2383 } ], "animated": false, @@ -4773,11 +4773,11 @@ "route": [ { "x": 1828, - "y": 1773.5 + "y": 1753 }, { "x": 1828, - "y": 2403.5 + "y": 2383 } ], "animated": false, @@ -4811,11 +4811,11 @@ "route": [ { "x": 1986.5, - "y": 1773.5 + "y": 1753 }, { "x": 1986.5, - "y": 2403.5 + "y": 2383 } ], "animated": false, @@ -4849,11 +4849,11 @@ "route": [ { "x": 2165, - "y": 1773.5 + "y": 1753 }, { "x": 2165, - "y": 2403.5 + "y": 2383 } ], "animated": false, diff --git a/e2etests/testdata/stable/sequence_diagrams/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagrams/dagre/sketch.exp.svg index d079a9325..8e3ca9acb 100644 --- a/e2etests/testdata/stable/sequence_diagrams/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagrams/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -a_shapea_sequenceanothersequencefinallyscoreritemResponseitemessayRubricconceptitemOutcomesequencesequencescoreritemResponseitemessayRubricconceptitemOutcomescorerconceptessayRubricitemitemOutcomeitemResponse getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts)getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) + .d2-1184307366 .fill-N1{fill:#0A0F25;} + .d2-1184307366 .fill-N2{fill:#676C7E;} + .d2-1184307366 .fill-N3{fill:#9499AB;} + .d2-1184307366 .fill-N4{fill:#CFD2DD;} + .d2-1184307366 .fill-N5{fill:#DEE1EB;} + .d2-1184307366 .fill-N6{fill:#EEF1F8;} + .d2-1184307366 .fill-N7{fill:#FFFFFF;} + .d2-1184307366 .fill-B1{fill:#0D32B2;} + .d2-1184307366 .fill-B2{fill:#0D32B2;} + .d2-1184307366 .fill-B3{fill:#E3E9FD;} + .d2-1184307366 .fill-B4{fill:#E3E9FD;} + .d2-1184307366 .fill-B5{fill:#EDF0FD;} + .d2-1184307366 .fill-B6{fill:#F7F8FE;} + .d2-1184307366 .fill-AA2{fill:#4A6FF3;} + .d2-1184307366 .fill-AA4{fill:#EDF0FD;} + .d2-1184307366 .fill-AA5{fill:#F7F8FE;} + .d2-1184307366 .fill-AB4{fill:#EDF0FD;} + .d2-1184307366 .fill-AB5{fill:#F7F8FE;} + .d2-1184307366 .stroke-N1{stroke:#0A0F25;} + .d2-1184307366 .stroke-N2{stroke:#676C7E;} + .d2-1184307366 .stroke-N3{stroke:#9499AB;} + .d2-1184307366 .stroke-N4{stroke:#CFD2DD;} + .d2-1184307366 .stroke-N5{stroke:#DEE1EB;} + .d2-1184307366 .stroke-N6{stroke:#EEF1F8;} + .d2-1184307366 .stroke-N7{stroke:#FFFFFF;} + .d2-1184307366 .stroke-B1{stroke:#0D32B2;} + .d2-1184307366 .stroke-B2{stroke:#0D32B2;} + .d2-1184307366 .stroke-B3{stroke:#E3E9FD;} + .d2-1184307366 .stroke-B4{stroke:#E3E9FD;} + .d2-1184307366 .stroke-B5{stroke:#EDF0FD;} + .d2-1184307366 .stroke-B6{stroke:#F7F8FE;} + .d2-1184307366 .stroke-AA2{stroke:#4A6FF3;} + .d2-1184307366 .stroke-AA4{stroke:#EDF0FD;} + .d2-1184307366 .stroke-AA5{stroke:#F7F8FE;} + .d2-1184307366 .stroke-AB4{stroke:#EDF0FD;} + .d2-1184307366 .stroke-AB5{stroke:#F7F8FE;} + .d2-1184307366 .background-color-N1{background-color:#0A0F25;} + .d2-1184307366 .background-color-N2{background-color:#676C7E;} + .d2-1184307366 .background-color-N3{background-color:#9499AB;} + .d2-1184307366 .background-color-N4{background-color:#CFD2DD;} + .d2-1184307366 .background-color-N5{background-color:#DEE1EB;} + .d2-1184307366 .background-color-N6{background-color:#EEF1F8;} + .d2-1184307366 .background-color-N7{background-color:#FFFFFF;} + .d2-1184307366 .background-color-B1{background-color:#0D32B2;} + .d2-1184307366 .background-color-B2{background-color:#0D32B2;} + .d2-1184307366 .background-color-B3{background-color:#E3E9FD;} + .d2-1184307366 .background-color-B4{background-color:#E3E9FD;} + .d2-1184307366 .background-color-B5{background-color:#EDF0FD;} + .d2-1184307366 .background-color-B6{background-color:#F7F8FE;} + .d2-1184307366 .background-color-AA2{background-color:#4A6FF3;} + .d2-1184307366 .background-color-AA4{background-color:#EDF0FD;} + .d2-1184307366 .background-color-AA5{background-color:#F7F8FE;} + .d2-1184307366 .background-color-AB4{background-color:#EDF0FD;} + .d2-1184307366 .background-color-AB5{background-color:#F7F8FE;} + .d2-1184307366 .color-N1{color:#0A0F25;} + .d2-1184307366 .color-N2{color:#676C7E;} + .d2-1184307366 .color-N3{color:#9499AB;} + .d2-1184307366 .color-N4{color:#CFD2DD;} + .d2-1184307366 .color-N5{color:#DEE1EB;} + .d2-1184307366 .color-N6{color:#EEF1F8;} + .d2-1184307366 .color-N7{color:#FFFFFF;} + .d2-1184307366 .color-B1{color:#0D32B2;} + .d2-1184307366 .color-B2{color:#0D32B2;} + .d2-1184307366 .color-B3{color:#E3E9FD;} + .d2-1184307366 .color-B4{color:#E3E9FD;} + .d2-1184307366 .color-B5{color:#EDF0FD;} + .d2-1184307366 .color-B6{color:#F7F8FE;} + .d2-1184307366 .color-AA2{color:#4A6FF3;} + .d2-1184307366 .color-AA4{color:#EDF0FD;} + .d2-1184307366 .color-AA5{color:#F7F8FE;} + .d2-1184307366 .color-AB4{color:#EDF0FD;} + .d2-1184307366 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a_shapea_sequenceanothersequencefinallyscoreritemResponseitemessayRubricconceptitemOutcomesequencesequencescoreritemResponseitemessayRubricconceptitemOutcomescorerconceptessayRubricitemitemOutcomeitemResponse getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts)getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) - + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -142,16 +142,16 @@ - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/sequence_diagrams/elk/board.exp.json b/e2etests/testdata/stable/sequence_diagrams/elk/board.exp.json index 12b8ca096..f9b1fbdbc 100644 --- a/e2etests/testdata/stable/sequence_diagrams/elk/board.exp.json +++ b/e2etests/testdata/stable/sequence_diagrams/elk/board.exp.json @@ -3616,7 +3616,7 @@ }, { "x": 489, - "y": 252.5 + "y": 253 } ], "animated": false, @@ -3688,7 +3688,7 @@ "route": [ { "x": 489, - "y": 1398.5 + "y": 1398 }, { "x": 489, diff --git a/e2etests/testdata/stable/sequence_diagrams/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagrams/elk/sketch.exp.svg index 62057a24d..1e55e6cb1 100644 --- a/e2etests/testdata/stable/sequence_diagrams/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagrams/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -a_shapea_sequenceanothersequencefinallyscoreritemResponseitemessayRubricconceptitemOutcomesequencesequencescoreritemResponseitemessayRubricconceptitemOutcomescorerconceptessayRubricitemitemOutcomeitemResponse getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts)getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) + .d2-1337594695 .fill-N1{fill:#0A0F25;} + .d2-1337594695 .fill-N2{fill:#676C7E;} + .d2-1337594695 .fill-N3{fill:#9499AB;} + .d2-1337594695 .fill-N4{fill:#CFD2DD;} + .d2-1337594695 .fill-N5{fill:#DEE1EB;} + .d2-1337594695 .fill-N6{fill:#EEF1F8;} + .d2-1337594695 .fill-N7{fill:#FFFFFF;} + .d2-1337594695 .fill-B1{fill:#0D32B2;} + .d2-1337594695 .fill-B2{fill:#0D32B2;} + .d2-1337594695 .fill-B3{fill:#E3E9FD;} + .d2-1337594695 .fill-B4{fill:#E3E9FD;} + .d2-1337594695 .fill-B5{fill:#EDF0FD;} + .d2-1337594695 .fill-B6{fill:#F7F8FE;} + .d2-1337594695 .fill-AA2{fill:#4A6FF3;} + .d2-1337594695 .fill-AA4{fill:#EDF0FD;} + .d2-1337594695 .fill-AA5{fill:#F7F8FE;} + .d2-1337594695 .fill-AB4{fill:#EDF0FD;} + .d2-1337594695 .fill-AB5{fill:#F7F8FE;} + .d2-1337594695 .stroke-N1{stroke:#0A0F25;} + .d2-1337594695 .stroke-N2{stroke:#676C7E;} + .d2-1337594695 .stroke-N3{stroke:#9499AB;} + .d2-1337594695 .stroke-N4{stroke:#CFD2DD;} + .d2-1337594695 .stroke-N5{stroke:#DEE1EB;} + .d2-1337594695 .stroke-N6{stroke:#EEF1F8;} + .d2-1337594695 .stroke-N7{stroke:#FFFFFF;} + .d2-1337594695 .stroke-B1{stroke:#0D32B2;} + .d2-1337594695 .stroke-B2{stroke:#0D32B2;} + .d2-1337594695 .stroke-B3{stroke:#E3E9FD;} + .d2-1337594695 .stroke-B4{stroke:#E3E9FD;} + .d2-1337594695 .stroke-B5{stroke:#EDF0FD;} + .d2-1337594695 .stroke-B6{stroke:#F7F8FE;} + .d2-1337594695 .stroke-AA2{stroke:#4A6FF3;} + .d2-1337594695 .stroke-AA4{stroke:#EDF0FD;} + .d2-1337594695 .stroke-AA5{stroke:#F7F8FE;} + .d2-1337594695 .stroke-AB4{stroke:#EDF0FD;} + .d2-1337594695 .stroke-AB5{stroke:#F7F8FE;} + .d2-1337594695 .background-color-N1{background-color:#0A0F25;} + .d2-1337594695 .background-color-N2{background-color:#676C7E;} + .d2-1337594695 .background-color-N3{background-color:#9499AB;} + .d2-1337594695 .background-color-N4{background-color:#CFD2DD;} + .d2-1337594695 .background-color-N5{background-color:#DEE1EB;} + .d2-1337594695 .background-color-N6{background-color:#EEF1F8;} + .d2-1337594695 .background-color-N7{background-color:#FFFFFF;} + .d2-1337594695 .background-color-B1{background-color:#0D32B2;} + .d2-1337594695 .background-color-B2{background-color:#0D32B2;} + .d2-1337594695 .background-color-B3{background-color:#E3E9FD;} + .d2-1337594695 .background-color-B4{background-color:#E3E9FD;} + .d2-1337594695 .background-color-B5{background-color:#EDF0FD;} + .d2-1337594695 .background-color-B6{background-color:#F7F8FE;} + .d2-1337594695 .background-color-AA2{background-color:#4A6FF3;} + .d2-1337594695 .background-color-AA4{background-color:#EDF0FD;} + .d2-1337594695 .background-color-AA5{background-color:#F7F8FE;} + .d2-1337594695 .background-color-AB4{background-color:#EDF0FD;} + .d2-1337594695 .background-color-AB5{background-color:#F7F8FE;} + .d2-1337594695 .color-N1{color:#0A0F25;} + .d2-1337594695 .color-N2{color:#676C7E;} + .d2-1337594695 .color-N3{color:#9499AB;} + .d2-1337594695 .color-N4{color:#CFD2DD;} + .d2-1337594695 .color-N5{color:#DEE1EB;} + .d2-1337594695 .color-N6{color:#EEF1F8;} + .d2-1337594695 .color-N7{color:#FFFFFF;} + .d2-1337594695 .color-B1{color:#0D32B2;} + .d2-1337594695 .color-B2{color:#0D32B2;} + .d2-1337594695 .color-B3{color:#E3E9FD;} + .d2-1337594695 .color-B4{color:#E3E9FD;} + .d2-1337594695 .color-B5{color:#EDF0FD;} + .d2-1337594695 .color-B6{color:#F7F8FE;} + .d2-1337594695 .color-AA2{color:#4A6FF3;} + .d2-1337594695 .color-AA4{color:#EDF0FD;} + .d2-1337594695 .color-AA5{color:#F7F8FE;} + .d2-1337594695 .color-AB4{color:#EDF0FD;} + .d2-1337594695 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>a_shapea_sequenceanothersequencefinallyscoreritemResponseitemessayRubricconceptitemOutcomesequencesequencescoreritemResponseitemessayRubricconceptitemOutcomescorerconceptessayRubricitemitemOutcomeitemResponse getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts)getItem()itemgetRubric()rubricapplyTo(essayResp)match(essayResponse)scorenewgetNormalMinimum()getNormalMaximum()setScore(score)setFeedback(missingConcepts) diff --git a/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg index b91f8f523..0470cc3d3 100644 --- a/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-832122773 .fill-N1{fill:#0A0F25;} + .d2-832122773 .fill-N2{fill:#676C7E;} + .d2-832122773 .fill-N3{fill:#9499AB;} + .d2-832122773 .fill-N4{fill:#CFD2DD;} + .d2-832122773 .fill-N5{fill:#DEE1EB;} + .d2-832122773 .fill-N6{fill:#EEF1F8;} + .d2-832122773 .fill-N7{fill:#FFFFFF;} + .d2-832122773 .fill-B1{fill:#0D32B2;} + .d2-832122773 .fill-B2{fill:#0D32B2;} + .d2-832122773 .fill-B3{fill:#E3E9FD;} + .d2-832122773 .fill-B4{fill:#E3E9FD;} + .d2-832122773 .fill-B5{fill:#EDF0FD;} + .d2-832122773 .fill-B6{fill:#F7F8FE;} + .d2-832122773 .fill-AA2{fill:#4A6FF3;} + .d2-832122773 .fill-AA4{fill:#EDF0FD;} + .d2-832122773 .fill-AA5{fill:#F7F8FE;} + .d2-832122773 .fill-AB4{fill:#EDF0FD;} + .d2-832122773 .fill-AB5{fill:#F7F8FE;} + .d2-832122773 .stroke-N1{stroke:#0A0F25;} + .d2-832122773 .stroke-N2{stroke:#676C7E;} + .d2-832122773 .stroke-N3{stroke:#9499AB;} + .d2-832122773 .stroke-N4{stroke:#CFD2DD;} + .d2-832122773 .stroke-N5{stroke:#DEE1EB;} + .d2-832122773 .stroke-N6{stroke:#EEF1F8;} + .d2-832122773 .stroke-N7{stroke:#FFFFFF;} + .d2-832122773 .stroke-B1{stroke:#0D32B2;} + .d2-832122773 .stroke-B2{stroke:#0D32B2;} + .d2-832122773 .stroke-B3{stroke:#E3E9FD;} + .d2-832122773 .stroke-B4{stroke:#E3E9FD;} + .d2-832122773 .stroke-B5{stroke:#EDF0FD;} + .d2-832122773 .stroke-B6{stroke:#F7F8FE;} + .d2-832122773 .stroke-AA2{stroke:#4A6FF3;} + .d2-832122773 .stroke-AA4{stroke:#EDF0FD;} + .d2-832122773 .stroke-AA5{stroke:#F7F8FE;} + .d2-832122773 .stroke-AB4{stroke:#EDF0FD;} + .d2-832122773 .stroke-AB5{stroke:#F7F8FE;} + .d2-832122773 .background-color-N1{background-color:#0A0F25;} + .d2-832122773 .background-color-N2{background-color:#676C7E;} + .d2-832122773 .background-color-N3{background-color:#9499AB;} + .d2-832122773 .background-color-N4{background-color:#CFD2DD;} + .d2-832122773 .background-color-N5{background-color:#DEE1EB;} + .d2-832122773 .background-color-N6{background-color:#EEF1F8;} + .d2-832122773 .background-color-N7{background-color:#FFFFFF;} + .d2-832122773 .background-color-B1{background-color:#0D32B2;} + .d2-832122773 .background-color-B2{background-color:#0D32B2;} + .d2-832122773 .background-color-B3{background-color:#E3E9FD;} + .d2-832122773 .background-color-B4{background-color:#E3E9FD;} + .d2-832122773 .background-color-B5{background-color:#EDF0FD;} + .d2-832122773 .background-color-B6{background-color:#F7F8FE;} + .d2-832122773 .background-color-AA2{background-color:#4A6FF3;} + .d2-832122773 .background-color-AA4{background-color:#EDF0FD;} + .d2-832122773 .background-color-AA5{background-color:#F7F8FE;} + .d2-832122773 .background-color-AB4{background-color:#EDF0FD;} + .d2-832122773 .background-color-AB5{background-color:#F7F8FE;} + .d2-832122773 .color-N1{color:#0A0F25;} + .d2-832122773 .color-N2{color:#676C7E;} + .d2-832122773 .color-N3{color:#9499AB;} + .d2-832122773 .color-N4{color:#CFD2DD;} + .d2-832122773 .color-N5{color:#DEE1EB;} + .d2-832122773 .color-N6{color:#EEF1F8;} + .d2-832122773 .color-N7{color:#FFFFFF;} + .d2-832122773 .color-B1{color:#0D32B2;} + .d2-832122773 .color-B2{color:#0D32B2;} + .d2-832122773 .color-B3{color:#E3E9FD;} + .d2-832122773 .color-B4{color:#E3E9FD;} + .d2-832122773 .color-B5{color:#EDF0FD;} + .d2-832122773 .color-B6{color:#F7F8FE;} + .d2-832122773 .color-AA2{color:#4A6FF3;} + .d2-832122773 .color-AA4{color:#EDF0FD;} + .d2-832122773 .color-AA5{color:#F7F8FE;} + .d2-832122773 .color-AB4{color:#EDF0FD;} + .d2-832122773 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg index 3a423554d..102155a32 100644 --- a/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-1454861019 .fill-N1{fill:#0A0F25;} + .d2-1454861019 .fill-N2{fill:#676C7E;} + .d2-1454861019 .fill-N3{fill:#9499AB;} + .d2-1454861019 .fill-N4{fill:#CFD2DD;} + .d2-1454861019 .fill-N5{fill:#DEE1EB;} + .d2-1454861019 .fill-N6{fill:#EEF1F8;} + .d2-1454861019 .fill-N7{fill:#FFFFFF;} + .d2-1454861019 .fill-B1{fill:#0D32B2;} + .d2-1454861019 .fill-B2{fill:#0D32B2;} + .d2-1454861019 .fill-B3{fill:#E3E9FD;} + .d2-1454861019 .fill-B4{fill:#E3E9FD;} + .d2-1454861019 .fill-B5{fill:#EDF0FD;} + .d2-1454861019 .fill-B6{fill:#F7F8FE;} + .d2-1454861019 .fill-AA2{fill:#4A6FF3;} + .d2-1454861019 .fill-AA4{fill:#EDF0FD;} + .d2-1454861019 .fill-AA5{fill:#F7F8FE;} + .d2-1454861019 .fill-AB4{fill:#EDF0FD;} + .d2-1454861019 .fill-AB5{fill:#F7F8FE;} + .d2-1454861019 .stroke-N1{stroke:#0A0F25;} + .d2-1454861019 .stroke-N2{stroke:#676C7E;} + .d2-1454861019 .stroke-N3{stroke:#9499AB;} + .d2-1454861019 .stroke-N4{stroke:#CFD2DD;} + .d2-1454861019 .stroke-N5{stroke:#DEE1EB;} + .d2-1454861019 .stroke-N6{stroke:#EEF1F8;} + .d2-1454861019 .stroke-N7{stroke:#FFFFFF;} + .d2-1454861019 .stroke-B1{stroke:#0D32B2;} + .d2-1454861019 .stroke-B2{stroke:#0D32B2;} + .d2-1454861019 .stroke-B3{stroke:#E3E9FD;} + .d2-1454861019 .stroke-B4{stroke:#E3E9FD;} + .d2-1454861019 .stroke-B5{stroke:#EDF0FD;} + .d2-1454861019 .stroke-B6{stroke:#F7F8FE;} + .d2-1454861019 .stroke-AA2{stroke:#4A6FF3;} + .d2-1454861019 .stroke-AA4{stroke:#EDF0FD;} + .d2-1454861019 .stroke-AA5{stroke:#F7F8FE;} + .d2-1454861019 .stroke-AB4{stroke:#EDF0FD;} + .d2-1454861019 .stroke-AB5{stroke:#F7F8FE;} + .d2-1454861019 .background-color-N1{background-color:#0A0F25;} + .d2-1454861019 .background-color-N2{background-color:#676C7E;} + .d2-1454861019 .background-color-N3{background-color:#9499AB;} + .d2-1454861019 .background-color-N4{background-color:#CFD2DD;} + .d2-1454861019 .background-color-N5{background-color:#DEE1EB;} + .d2-1454861019 .background-color-N6{background-color:#EEF1F8;} + .d2-1454861019 .background-color-N7{background-color:#FFFFFF;} + .d2-1454861019 .background-color-B1{background-color:#0D32B2;} + .d2-1454861019 .background-color-B2{background-color:#0D32B2;} + .d2-1454861019 .background-color-B3{background-color:#E3E9FD;} + .d2-1454861019 .background-color-B4{background-color:#E3E9FD;} + .d2-1454861019 .background-color-B5{background-color:#EDF0FD;} + .d2-1454861019 .background-color-B6{background-color:#F7F8FE;} + .d2-1454861019 .background-color-AA2{background-color:#4A6FF3;} + .d2-1454861019 .background-color-AA4{background-color:#EDF0FD;} + .d2-1454861019 .background-color-AA5{background-color:#F7F8FE;} + .d2-1454861019 .background-color-AB4{background-color:#EDF0FD;} + .d2-1454861019 .background-color-AB5{background-color:#F7F8FE;} + .d2-1454861019 .color-N1{color:#0A0F25;} + .d2-1454861019 .color-N2{color:#676C7E;} + .d2-1454861019 .color-N3{color:#9499AB;} + .d2-1454861019 .color-N4{color:#CFD2DD;} + .d2-1454861019 .color-N5{color:#DEE1EB;} + .d2-1454861019 .color-N6{color:#EEF1F8;} + .d2-1454861019 .color-N7{color:#FFFFFF;} + .d2-1454861019 .color-B1{color:#0D32B2;} + .d2-1454861019 .color-B2{color:#0D32B2;} + .d2-1454861019 .color-B3{color:#E3E9FD;} + .d2-1454861019 .color-B4{color:#E3E9FD;} + .d2-1454861019 .color-B5{color:#EDF0FD;} + .d2-1454861019 .color-B6{color:#F7F8FE;} + .d2-1454861019 .color-AA2{color:#4A6FF3;} + .d2-1454861019 .color-AA4{color:#EDF0FD;} + .d2-1454861019 .color-AA5{color:#F7F8FE;} + .d2-1454861019 .color-AB4{color:#EDF0FD;} + .d2-1454861019 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg index a39806fd9..dc16009bd 100644 --- a/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQexINTno_abbrev, FK, helloystringzSTRINGyofxINT + .d2-2736169546 .fill-N1{fill:#0A0F25;} + .d2-2736169546 .fill-N2{fill:#676C7E;} + .d2-2736169546 .fill-N3{fill:#9499AB;} + .d2-2736169546 .fill-N4{fill:#CFD2DD;} + .d2-2736169546 .fill-N5{fill:#DEE1EB;} + .d2-2736169546 .fill-N6{fill:#EEF1F8;} + .d2-2736169546 .fill-N7{fill:#FFFFFF;} + .d2-2736169546 .fill-B1{fill:#0D32B2;} + .d2-2736169546 .fill-B2{fill:#0D32B2;} + .d2-2736169546 .fill-B3{fill:#E3E9FD;} + .d2-2736169546 .fill-B4{fill:#E3E9FD;} + .d2-2736169546 .fill-B5{fill:#EDF0FD;} + .d2-2736169546 .fill-B6{fill:#F7F8FE;} + .d2-2736169546 .fill-AA2{fill:#4A6FF3;} + .d2-2736169546 .fill-AA4{fill:#EDF0FD;} + .d2-2736169546 .fill-AA5{fill:#F7F8FE;} + .d2-2736169546 .fill-AB4{fill:#EDF0FD;} + .d2-2736169546 .fill-AB5{fill:#F7F8FE;} + .d2-2736169546 .stroke-N1{stroke:#0A0F25;} + .d2-2736169546 .stroke-N2{stroke:#676C7E;} + .d2-2736169546 .stroke-N3{stroke:#9499AB;} + .d2-2736169546 .stroke-N4{stroke:#CFD2DD;} + .d2-2736169546 .stroke-N5{stroke:#DEE1EB;} + .d2-2736169546 .stroke-N6{stroke:#EEF1F8;} + .d2-2736169546 .stroke-N7{stroke:#FFFFFF;} + .d2-2736169546 .stroke-B1{stroke:#0D32B2;} + .d2-2736169546 .stroke-B2{stroke:#0D32B2;} + .d2-2736169546 .stroke-B3{stroke:#E3E9FD;} + .d2-2736169546 .stroke-B4{stroke:#E3E9FD;} + .d2-2736169546 .stroke-B5{stroke:#EDF0FD;} + .d2-2736169546 .stroke-B6{stroke:#F7F8FE;} + .d2-2736169546 .stroke-AA2{stroke:#4A6FF3;} + .d2-2736169546 .stroke-AA4{stroke:#EDF0FD;} + .d2-2736169546 .stroke-AA5{stroke:#F7F8FE;} + .d2-2736169546 .stroke-AB4{stroke:#EDF0FD;} + .d2-2736169546 .stroke-AB5{stroke:#F7F8FE;} + .d2-2736169546 .background-color-N1{background-color:#0A0F25;} + .d2-2736169546 .background-color-N2{background-color:#676C7E;} + .d2-2736169546 .background-color-N3{background-color:#9499AB;} + .d2-2736169546 .background-color-N4{background-color:#CFD2DD;} + .d2-2736169546 .background-color-N5{background-color:#DEE1EB;} + .d2-2736169546 .background-color-N6{background-color:#EEF1F8;} + .d2-2736169546 .background-color-N7{background-color:#FFFFFF;} + .d2-2736169546 .background-color-B1{background-color:#0D32B2;} + .d2-2736169546 .background-color-B2{background-color:#0D32B2;} + .d2-2736169546 .background-color-B3{background-color:#E3E9FD;} + .d2-2736169546 .background-color-B4{background-color:#E3E9FD;} + .d2-2736169546 .background-color-B5{background-color:#EDF0FD;} + .d2-2736169546 .background-color-B6{background-color:#F7F8FE;} + .d2-2736169546 .background-color-AA2{background-color:#4A6FF3;} + .d2-2736169546 .background-color-AA4{background-color:#EDF0FD;} + .d2-2736169546 .background-color-AA5{background-color:#F7F8FE;} + .d2-2736169546 .background-color-AB4{background-color:#EDF0FD;} + .d2-2736169546 .background-color-AB5{background-color:#F7F8FE;} + .d2-2736169546 .color-N1{color:#0A0F25;} + .d2-2736169546 .color-N2{color:#676C7E;} + .d2-2736169546 .color-N3{color:#9499AB;} + .d2-2736169546 .color-N4{color:#CFD2DD;} + .d2-2736169546 .color-N5{color:#DEE1EB;} + .d2-2736169546 .color-N6{color:#EEF1F8;} + .d2-2736169546 .color-N7{color:#FFFFFF;} + .d2-2736169546 .color-B1{color:#0D32B2;} + .d2-2736169546 .color-B2{color:#0D32B2;} + .d2-2736169546 .color-B3{color:#E3E9FD;} + .d2-2736169546 .color-B4{color:#E3E9FD;} + .d2-2736169546 .color-B5{color:#EDF0FD;} + .d2-2736169546 .color-B6{color:#F7F8FE;} + .d2-2736169546 .color-AA2{color:#4A6FF3;} + .d2-2736169546 .color-AA4{color:#EDF0FD;} + .d2-2736169546 .color-AA5{color:#F7F8FE;} + .d2-2736169546 .color-AB4{color:#EDF0FD;} + .d2-2736169546 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQexINTno_abbrev, FK, helloystringzSTRINGyofxINT \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg index 9bf391076..ba839738a 100644 --- a/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQexINTno_abbrev, FK, helloystringzSTRINGyofxINT + .d2-2874260775 .fill-N1{fill:#0A0F25;} + .d2-2874260775 .fill-N2{fill:#676C7E;} + .d2-2874260775 .fill-N3{fill:#9499AB;} + .d2-2874260775 .fill-N4{fill:#CFD2DD;} + .d2-2874260775 .fill-N5{fill:#DEE1EB;} + .d2-2874260775 .fill-N6{fill:#EEF1F8;} + .d2-2874260775 .fill-N7{fill:#FFFFFF;} + .d2-2874260775 .fill-B1{fill:#0D32B2;} + .d2-2874260775 .fill-B2{fill:#0D32B2;} + .d2-2874260775 .fill-B3{fill:#E3E9FD;} + .d2-2874260775 .fill-B4{fill:#E3E9FD;} + .d2-2874260775 .fill-B5{fill:#EDF0FD;} + .d2-2874260775 .fill-B6{fill:#F7F8FE;} + .d2-2874260775 .fill-AA2{fill:#4A6FF3;} + .d2-2874260775 .fill-AA4{fill:#EDF0FD;} + .d2-2874260775 .fill-AA5{fill:#F7F8FE;} + .d2-2874260775 .fill-AB4{fill:#EDF0FD;} + .d2-2874260775 .fill-AB5{fill:#F7F8FE;} + .d2-2874260775 .stroke-N1{stroke:#0A0F25;} + .d2-2874260775 .stroke-N2{stroke:#676C7E;} + .d2-2874260775 .stroke-N3{stroke:#9499AB;} + .d2-2874260775 .stroke-N4{stroke:#CFD2DD;} + .d2-2874260775 .stroke-N5{stroke:#DEE1EB;} + .d2-2874260775 .stroke-N6{stroke:#EEF1F8;} + .d2-2874260775 .stroke-N7{stroke:#FFFFFF;} + .d2-2874260775 .stroke-B1{stroke:#0D32B2;} + .d2-2874260775 .stroke-B2{stroke:#0D32B2;} + .d2-2874260775 .stroke-B3{stroke:#E3E9FD;} + .d2-2874260775 .stroke-B4{stroke:#E3E9FD;} + .d2-2874260775 .stroke-B5{stroke:#EDF0FD;} + .d2-2874260775 .stroke-B6{stroke:#F7F8FE;} + .d2-2874260775 .stroke-AA2{stroke:#4A6FF3;} + .d2-2874260775 .stroke-AA4{stroke:#EDF0FD;} + .d2-2874260775 .stroke-AA5{stroke:#F7F8FE;} + .d2-2874260775 .stroke-AB4{stroke:#EDF0FD;} + .d2-2874260775 .stroke-AB5{stroke:#F7F8FE;} + .d2-2874260775 .background-color-N1{background-color:#0A0F25;} + .d2-2874260775 .background-color-N2{background-color:#676C7E;} + .d2-2874260775 .background-color-N3{background-color:#9499AB;} + .d2-2874260775 .background-color-N4{background-color:#CFD2DD;} + .d2-2874260775 .background-color-N5{background-color:#DEE1EB;} + .d2-2874260775 .background-color-N6{background-color:#EEF1F8;} + .d2-2874260775 .background-color-N7{background-color:#FFFFFF;} + .d2-2874260775 .background-color-B1{background-color:#0D32B2;} + .d2-2874260775 .background-color-B2{background-color:#0D32B2;} + .d2-2874260775 .background-color-B3{background-color:#E3E9FD;} + .d2-2874260775 .background-color-B4{background-color:#E3E9FD;} + .d2-2874260775 .background-color-B5{background-color:#EDF0FD;} + .d2-2874260775 .background-color-B6{background-color:#F7F8FE;} + .d2-2874260775 .background-color-AA2{background-color:#4A6FF3;} + .d2-2874260775 .background-color-AA4{background-color:#EDF0FD;} + .d2-2874260775 .background-color-AA5{background-color:#F7F8FE;} + .d2-2874260775 .background-color-AB4{background-color:#EDF0FD;} + .d2-2874260775 .background-color-AB5{background-color:#F7F8FE;} + .d2-2874260775 .color-N1{color:#0A0F25;} + .d2-2874260775 .color-N2{color:#676C7E;} + .d2-2874260775 .color-N3{color:#9499AB;} + .d2-2874260775 .color-N4{color:#CFD2DD;} + .d2-2874260775 .color-N5{color:#DEE1EB;} + .d2-2874260775 .color-N6{color:#EEF1F8;} + .d2-2874260775 .color-N7{color:#FFFFFF;} + .d2-2874260775 .color-B1{color:#0D32B2;} + .d2-2874260775 .color-B2{color:#0D32B2;} + .d2-2874260775 .color-B3{color:#E3E9FD;} + .d2-2874260775 .color-B4{color:#E3E9FD;} + .d2-2874260775 .color-B5{color:#EDF0FD;} + .d2-2874260775 .color-B6{color:#F7F8FE;} + .d2-2874260775 .color-AA2{color:#4A6FF3;} + .d2-2874260775 .color-AA4{color:#EDF0FD;} + .d2-2874260775 .color-AA5{color:#F7F8FE;} + .d2-2874260775 .color-AB4{color:#EDF0FD;} + .d2-2874260775 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQexINTno_abbrev, FK, helloystringzSTRINGyofxINT \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg index cf9125a12..9e9859a6b 100644 --- a/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -xyab + .d2-1756795631 .fill-N1{fill:#0A0F25;} + .d2-1756795631 .fill-N2{fill:#676C7E;} + .d2-1756795631 .fill-N3{fill:#9499AB;} + .d2-1756795631 .fill-N4{fill:#CFD2DD;} + .d2-1756795631 .fill-N5{fill:#DEE1EB;} + .d2-1756795631 .fill-N6{fill:#EEF1F8;} + .d2-1756795631 .fill-N7{fill:#FFFFFF;} + .d2-1756795631 .fill-B1{fill:#0D32B2;} + .d2-1756795631 .fill-B2{fill:#0D32B2;} + .d2-1756795631 .fill-B3{fill:#E3E9FD;} + .d2-1756795631 .fill-B4{fill:#E3E9FD;} + .d2-1756795631 .fill-B5{fill:#EDF0FD;} + .d2-1756795631 .fill-B6{fill:#F7F8FE;} + .d2-1756795631 .fill-AA2{fill:#4A6FF3;} + .d2-1756795631 .fill-AA4{fill:#EDF0FD;} + .d2-1756795631 .fill-AA5{fill:#F7F8FE;} + .d2-1756795631 .fill-AB4{fill:#EDF0FD;} + .d2-1756795631 .fill-AB5{fill:#F7F8FE;} + .d2-1756795631 .stroke-N1{stroke:#0A0F25;} + .d2-1756795631 .stroke-N2{stroke:#676C7E;} + .d2-1756795631 .stroke-N3{stroke:#9499AB;} + .d2-1756795631 .stroke-N4{stroke:#CFD2DD;} + .d2-1756795631 .stroke-N5{stroke:#DEE1EB;} + .d2-1756795631 .stroke-N6{stroke:#EEF1F8;} + .d2-1756795631 .stroke-N7{stroke:#FFFFFF;} + .d2-1756795631 .stroke-B1{stroke:#0D32B2;} + .d2-1756795631 .stroke-B2{stroke:#0D32B2;} + .d2-1756795631 .stroke-B3{stroke:#E3E9FD;} + .d2-1756795631 .stroke-B4{stroke:#E3E9FD;} + .d2-1756795631 .stroke-B5{stroke:#EDF0FD;} + .d2-1756795631 .stroke-B6{stroke:#F7F8FE;} + .d2-1756795631 .stroke-AA2{stroke:#4A6FF3;} + .d2-1756795631 .stroke-AA4{stroke:#EDF0FD;} + .d2-1756795631 .stroke-AA5{stroke:#F7F8FE;} + .d2-1756795631 .stroke-AB4{stroke:#EDF0FD;} + .d2-1756795631 .stroke-AB5{stroke:#F7F8FE;} + .d2-1756795631 .background-color-N1{background-color:#0A0F25;} + .d2-1756795631 .background-color-N2{background-color:#676C7E;} + .d2-1756795631 .background-color-N3{background-color:#9499AB;} + .d2-1756795631 .background-color-N4{background-color:#CFD2DD;} + .d2-1756795631 .background-color-N5{background-color:#DEE1EB;} + .d2-1756795631 .background-color-N6{background-color:#EEF1F8;} + .d2-1756795631 .background-color-N7{background-color:#FFFFFF;} + .d2-1756795631 .background-color-B1{background-color:#0D32B2;} + .d2-1756795631 .background-color-B2{background-color:#0D32B2;} + .d2-1756795631 .background-color-B3{background-color:#E3E9FD;} + .d2-1756795631 .background-color-B4{background-color:#E3E9FD;} + .d2-1756795631 .background-color-B5{background-color:#EDF0FD;} + .d2-1756795631 .background-color-B6{background-color:#F7F8FE;} + .d2-1756795631 .background-color-AA2{background-color:#4A6FF3;} + .d2-1756795631 .background-color-AA4{background-color:#EDF0FD;} + .d2-1756795631 .background-color-AA5{background-color:#F7F8FE;} + .d2-1756795631 .background-color-AB4{background-color:#EDF0FD;} + .d2-1756795631 .background-color-AB5{background-color:#F7F8FE;} + .d2-1756795631 .color-N1{color:#0A0F25;} + .d2-1756795631 .color-N2{color:#676C7E;} + .d2-1756795631 .color-N3{color:#9499AB;} + .d2-1756795631 .color-N4{color:#CFD2DD;} + .d2-1756795631 .color-N5{color:#DEE1EB;} + .d2-1756795631 .color-N6{color:#EEF1F8;} + .d2-1756795631 .color-N7{color:#FFFFFF;} + .d2-1756795631 .color-B1{color:#0D32B2;} + .d2-1756795631 .color-B2{color:#0D32B2;} + .d2-1756795631 .color-B3{color:#E3E9FD;} + .d2-1756795631 .color-B4{color:#E3E9FD;} + .d2-1756795631 .color-B5{color:#EDF0FD;} + .d2-1756795631 .color-B6{color:#F7F8FE;} + .d2-1756795631 .color-AA2{color:#4A6FF3;} + .d2-1756795631 .color-AA4{color:#EDF0FD;} + .d2-1756795631 .color-AA5{color:#F7F8FE;} + .d2-1756795631 .color-AB4{color:#EDF0FD;} + .d2-1756795631 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyab I like turtles @@ -111,7 +111,7 @@ -I like turtles + \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg index e18c8ec1e..edf830e63 100644 --- a/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -xyab + .d2-1870435628 .fill-N1{fill:#0A0F25;} + .d2-1870435628 .fill-N2{fill:#676C7E;} + .d2-1870435628 .fill-N3{fill:#9499AB;} + .d2-1870435628 .fill-N4{fill:#CFD2DD;} + .d2-1870435628 .fill-N5{fill:#DEE1EB;} + .d2-1870435628 .fill-N6{fill:#EEF1F8;} + .d2-1870435628 .fill-N7{fill:#FFFFFF;} + .d2-1870435628 .fill-B1{fill:#0D32B2;} + .d2-1870435628 .fill-B2{fill:#0D32B2;} + .d2-1870435628 .fill-B3{fill:#E3E9FD;} + .d2-1870435628 .fill-B4{fill:#E3E9FD;} + .d2-1870435628 .fill-B5{fill:#EDF0FD;} + .d2-1870435628 .fill-B6{fill:#F7F8FE;} + .d2-1870435628 .fill-AA2{fill:#4A6FF3;} + .d2-1870435628 .fill-AA4{fill:#EDF0FD;} + .d2-1870435628 .fill-AA5{fill:#F7F8FE;} + .d2-1870435628 .fill-AB4{fill:#EDF0FD;} + .d2-1870435628 .fill-AB5{fill:#F7F8FE;} + .d2-1870435628 .stroke-N1{stroke:#0A0F25;} + .d2-1870435628 .stroke-N2{stroke:#676C7E;} + .d2-1870435628 .stroke-N3{stroke:#9499AB;} + .d2-1870435628 .stroke-N4{stroke:#CFD2DD;} + .d2-1870435628 .stroke-N5{stroke:#DEE1EB;} + .d2-1870435628 .stroke-N6{stroke:#EEF1F8;} + .d2-1870435628 .stroke-N7{stroke:#FFFFFF;} + .d2-1870435628 .stroke-B1{stroke:#0D32B2;} + .d2-1870435628 .stroke-B2{stroke:#0D32B2;} + .d2-1870435628 .stroke-B3{stroke:#E3E9FD;} + .d2-1870435628 .stroke-B4{stroke:#E3E9FD;} + .d2-1870435628 .stroke-B5{stroke:#EDF0FD;} + .d2-1870435628 .stroke-B6{stroke:#F7F8FE;} + .d2-1870435628 .stroke-AA2{stroke:#4A6FF3;} + .d2-1870435628 .stroke-AA4{stroke:#EDF0FD;} + .d2-1870435628 .stroke-AA5{stroke:#F7F8FE;} + .d2-1870435628 .stroke-AB4{stroke:#EDF0FD;} + .d2-1870435628 .stroke-AB5{stroke:#F7F8FE;} + .d2-1870435628 .background-color-N1{background-color:#0A0F25;} + .d2-1870435628 .background-color-N2{background-color:#676C7E;} + .d2-1870435628 .background-color-N3{background-color:#9499AB;} + .d2-1870435628 .background-color-N4{background-color:#CFD2DD;} + .d2-1870435628 .background-color-N5{background-color:#DEE1EB;} + .d2-1870435628 .background-color-N6{background-color:#EEF1F8;} + .d2-1870435628 .background-color-N7{background-color:#FFFFFF;} + .d2-1870435628 .background-color-B1{background-color:#0D32B2;} + .d2-1870435628 .background-color-B2{background-color:#0D32B2;} + .d2-1870435628 .background-color-B3{background-color:#E3E9FD;} + .d2-1870435628 .background-color-B4{background-color:#E3E9FD;} + .d2-1870435628 .background-color-B5{background-color:#EDF0FD;} + .d2-1870435628 .background-color-B6{background-color:#F7F8FE;} + .d2-1870435628 .background-color-AA2{background-color:#4A6FF3;} + .d2-1870435628 .background-color-AA4{background-color:#EDF0FD;} + .d2-1870435628 .background-color-AA5{background-color:#F7F8FE;} + .d2-1870435628 .background-color-AB4{background-color:#EDF0FD;} + .d2-1870435628 .background-color-AB5{background-color:#F7F8FE;} + .d2-1870435628 .color-N1{color:#0A0F25;} + .d2-1870435628 .color-N2{color:#676C7E;} + .d2-1870435628 .color-N3{color:#9499AB;} + .d2-1870435628 .color-N4{color:#CFD2DD;} + .d2-1870435628 .color-N5{color:#DEE1EB;} + .d2-1870435628 .color-N6{color:#EEF1F8;} + .d2-1870435628 .color-N7{color:#FFFFFF;} + .d2-1870435628 .color-B1{color:#0D32B2;} + .d2-1870435628 .color-B2{color:#0D32B2;} + .d2-1870435628 .color-B3{color:#E3E9FD;} + .d2-1870435628 .color-B4{color:#E3E9FD;} + .d2-1870435628 .color-B5{color:#EDF0FD;} + .d2-1870435628 .color-B6{color:#F7F8FE;} + .d2-1870435628 .color-AA2{color:#4A6FF3;} + .d2-1870435628 .color-AA4{color:#EDF0FD;} + .d2-1870435628 .color-AA5{color:#F7F8FE;} + .d2-1870435628 .color-AB4{color:#EDF0FD;} + .d2-1870435628 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xyab I like turtles @@ -111,7 +111,7 @@ -I like turtles + \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg index 0e9fd0177..dd0014e49 100644 --- a/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring + .d2-690706478 .fill-N1{fill:#0A0F25;} + .d2-690706478 .fill-N2{fill:#676C7E;} + .d2-690706478 .fill-N3{fill:#9499AB;} + .d2-690706478 .fill-N4{fill:#CFD2DD;} + .d2-690706478 .fill-N5{fill:#DEE1EB;} + .d2-690706478 .fill-N6{fill:#EEF1F8;} + .d2-690706478 .fill-N7{fill:#FFFFFF;} + .d2-690706478 .fill-B1{fill:#0D32B2;} + .d2-690706478 .fill-B2{fill:#0D32B2;} + .d2-690706478 .fill-B3{fill:#E3E9FD;} + .d2-690706478 .fill-B4{fill:#E3E9FD;} + .d2-690706478 .fill-B5{fill:#EDF0FD;} + .d2-690706478 .fill-B6{fill:#F7F8FE;} + .d2-690706478 .fill-AA2{fill:#4A6FF3;} + .d2-690706478 .fill-AA4{fill:#EDF0FD;} + .d2-690706478 .fill-AA5{fill:#F7F8FE;} + .d2-690706478 .fill-AB4{fill:#EDF0FD;} + .d2-690706478 .fill-AB5{fill:#F7F8FE;} + .d2-690706478 .stroke-N1{stroke:#0A0F25;} + .d2-690706478 .stroke-N2{stroke:#676C7E;} + .d2-690706478 .stroke-N3{stroke:#9499AB;} + .d2-690706478 .stroke-N4{stroke:#CFD2DD;} + .d2-690706478 .stroke-N5{stroke:#DEE1EB;} + .d2-690706478 .stroke-N6{stroke:#EEF1F8;} + .d2-690706478 .stroke-N7{stroke:#FFFFFF;} + .d2-690706478 .stroke-B1{stroke:#0D32B2;} + .d2-690706478 .stroke-B2{stroke:#0D32B2;} + .d2-690706478 .stroke-B3{stroke:#E3E9FD;} + .d2-690706478 .stroke-B4{stroke:#E3E9FD;} + .d2-690706478 .stroke-B5{stroke:#EDF0FD;} + .d2-690706478 .stroke-B6{stroke:#F7F8FE;} + .d2-690706478 .stroke-AA2{stroke:#4A6FF3;} + .d2-690706478 .stroke-AA4{stroke:#EDF0FD;} + .d2-690706478 .stroke-AA5{stroke:#F7F8FE;} + .d2-690706478 .stroke-AB4{stroke:#EDF0FD;} + .d2-690706478 .stroke-AB5{stroke:#F7F8FE;} + .d2-690706478 .background-color-N1{background-color:#0A0F25;} + .d2-690706478 .background-color-N2{background-color:#676C7E;} + .d2-690706478 .background-color-N3{background-color:#9499AB;} + .d2-690706478 .background-color-N4{background-color:#CFD2DD;} + .d2-690706478 .background-color-N5{background-color:#DEE1EB;} + .d2-690706478 .background-color-N6{background-color:#EEF1F8;} + .d2-690706478 .background-color-N7{background-color:#FFFFFF;} + .d2-690706478 .background-color-B1{background-color:#0D32B2;} + .d2-690706478 .background-color-B2{background-color:#0D32B2;} + .d2-690706478 .background-color-B3{background-color:#E3E9FD;} + .d2-690706478 .background-color-B4{background-color:#E3E9FD;} + .d2-690706478 .background-color-B5{background-color:#EDF0FD;} + .d2-690706478 .background-color-B6{background-color:#F7F8FE;} + .d2-690706478 .background-color-AA2{background-color:#4A6FF3;} + .d2-690706478 .background-color-AA4{background-color:#EDF0FD;} + .d2-690706478 .background-color-AA5{background-color:#F7F8FE;} + .d2-690706478 .background-color-AB4{background-color:#EDF0FD;} + .d2-690706478 .background-color-AB5{background-color:#F7F8FE;} + .d2-690706478 .color-N1{color:#0A0F25;} + .d2-690706478 .color-N2{color:#676C7E;} + .d2-690706478 .color-N3{color:#9499AB;} + .d2-690706478 .color-N4{color:#CFD2DD;} + .d2-690706478 .color-N5{color:#DEE1EB;} + .d2-690706478 .color-N6{color:#EEF1F8;} + .d2-690706478 .color-N7{color:#FFFFFF;} + .d2-690706478 .color-B1{color:#0D32B2;} + .d2-690706478 .color-B2{color:#0D32B2;} + .d2-690706478 .color-B3{color:#E3E9FD;} + .d2-690706478 .color-B4{color:#E3E9FD;} + .d2-690706478 .color-B5{color:#EDF0FD;} + .d2-690706478 .color-B6{color:#F7F8FE;} + .d2-690706478 .color-AA2{color:#4A6FF3;} + .d2-690706478 .color-AA4{color:#EDF0FD;} + .d2-690706478 .color-AA5{color:#F7F8FE;} + .d2-690706478 .color-AB4{color:#EDF0FD;} + .d2-690706478 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg index fc4ea01de..5925b5488 100644 --- a/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring + .d2-344759968 .fill-N1{fill:#0A0F25;} + .d2-344759968 .fill-N2{fill:#676C7E;} + .d2-344759968 .fill-N3{fill:#9499AB;} + .d2-344759968 .fill-N4{fill:#CFD2DD;} + .d2-344759968 .fill-N5{fill:#DEE1EB;} + .d2-344759968 .fill-N6{fill:#EEF1F8;} + .d2-344759968 .fill-N7{fill:#FFFFFF;} + .d2-344759968 .fill-B1{fill:#0D32B2;} + .d2-344759968 .fill-B2{fill:#0D32B2;} + .d2-344759968 .fill-B3{fill:#E3E9FD;} + .d2-344759968 .fill-B4{fill:#E3E9FD;} + .d2-344759968 .fill-B5{fill:#EDF0FD;} + .d2-344759968 .fill-B6{fill:#F7F8FE;} + .d2-344759968 .fill-AA2{fill:#4A6FF3;} + .d2-344759968 .fill-AA4{fill:#EDF0FD;} + .d2-344759968 .fill-AA5{fill:#F7F8FE;} + .d2-344759968 .fill-AB4{fill:#EDF0FD;} + .d2-344759968 .fill-AB5{fill:#F7F8FE;} + .d2-344759968 .stroke-N1{stroke:#0A0F25;} + .d2-344759968 .stroke-N2{stroke:#676C7E;} + .d2-344759968 .stroke-N3{stroke:#9499AB;} + .d2-344759968 .stroke-N4{stroke:#CFD2DD;} + .d2-344759968 .stroke-N5{stroke:#DEE1EB;} + .d2-344759968 .stroke-N6{stroke:#EEF1F8;} + .d2-344759968 .stroke-N7{stroke:#FFFFFF;} + .d2-344759968 .stroke-B1{stroke:#0D32B2;} + .d2-344759968 .stroke-B2{stroke:#0D32B2;} + .d2-344759968 .stroke-B3{stroke:#E3E9FD;} + .d2-344759968 .stroke-B4{stroke:#E3E9FD;} + .d2-344759968 .stroke-B5{stroke:#EDF0FD;} + .d2-344759968 .stroke-B6{stroke:#F7F8FE;} + .d2-344759968 .stroke-AA2{stroke:#4A6FF3;} + .d2-344759968 .stroke-AA4{stroke:#EDF0FD;} + .d2-344759968 .stroke-AA5{stroke:#F7F8FE;} + .d2-344759968 .stroke-AB4{stroke:#EDF0FD;} + .d2-344759968 .stroke-AB5{stroke:#F7F8FE;} + .d2-344759968 .background-color-N1{background-color:#0A0F25;} + .d2-344759968 .background-color-N2{background-color:#676C7E;} + .d2-344759968 .background-color-N3{background-color:#9499AB;} + .d2-344759968 .background-color-N4{background-color:#CFD2DD;} + .d2-344759968 .background-color-N5{background-color:#DEE1EB;} + .d2-344759968 .background-color-N6{background-color:#EEF1F8;} + .d2-344759968 .background-color-N7{background-color:#FFFFFF;} + .d2-344759968 .background-color-B1{background-color:#0D32B2;} + .d2-344759968 .background-color-B2{background-color:#0D32B2;} + .d2-344759968 .background-color-B3{background-color:#E3E9FD;} + .d2-344759968 .background-color-B4{background-color:#E3E9FD;} + .d2-344759968 .background-color-B5{background-color:#EDF0FD;} + .d2-344759968 .background-color-B6{background-color:#F7F8FE;} + .d2-344759968 .background-color-AA2{background-color:#4A6FF3;} + .d2-344759968 .background-color-AA4{background-color:#EDF0FD;} + .d2-344759968 .background-color-AA5{background-color:#F7F8FE;} + .d2-344759968 .background-color-AB4{background-color:#EDF0FD;} + .d2-344759968 .background-color-AB5{background-color:#F7F8FE;} + .d2-344759968 .color-N1{color:#0A0F25;} + .d2-344759968 .color-N2{color:#676C7E;} + .d2-344759968 .color-N3{color:#9499AB;} + .d2-344759968 .color-N4{color:#CFD2DD;} + .d2-344759968 .color-N5{color:#DEE1EB;} + .d2-344759968 .color-N6{color:#EEF1F8;} + .d2-344759968 .color-N7{color:#FFFFFF;} + .d2-344759968 .color-B1{color:#0D32B2;} + .d2-344759968 .color-B2{color:#0D32B2;} + .d2-344759968 .color-B3{color:#E3E9FD;} + .d2-344759968 .color-B4{color:#E3E9FD;} + .d2-344759968 .color-B5{color:#EDF0FD;} + .d2-344759968 .color-B6{color:#F7F8FE;} + .d2-344759968 .color-AA2{color:#4A6FF3;} + .d2-344759968 .color-AA4{color:#EDF0FD;} + .d2-344759968 .color-AA5{color:#F7F8FE;} + .d2-344759968 .color-AB4{color:#EDF0FD;} + .d2-344759968 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring \ No newline at end of file diff --git a/e2etests/testdata/stable/square_3d/dagre/board.exp.json b/e2etests/testdata/stable/square_3d/dagre/board.exp.json index 97b6ad726..d5c0c9def 100644 --- a/e2etests/testdata/stable/square_3d/dagre/board.exp.json +++ b/e2etests/testdata/stable/square_3d/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 15 + "y": 0 }, "width": 111, "height": 66, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 9, - "y": 196 + "y": 166 }, "width": 94, "height": 94, @@ -112,20 +112,20 @@ "labelPercentage": 0, "route": [ { - "x": 63, - "y": 81 + "x": 55.5, + "y": 66 }, { - "x": 63, - "y": 121 + "x": 55.5, + "y": 106 }, { - "x": 63, - "y": 141 + "x": 55.5, + "y": 123 }, { - "x": 63, - "y": 181 + "x": 55.5, + "y": 151 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/square_3d/dagre/sketch.exp.svg b/e2etests/testdata/stable/square_3d/dagre/sketch.exp.svg index 2a6778bd9..a7b7c0418 100644 --- a/e2etests/testdata/stable/square_3d/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/square_3d/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ - - -rectangle - -square - - - + .d2-1793282847 .fill-N1{fill:#0A0F25;} + .d2-1793282847 .fill-N2{fill:#676C7E;} + .d2-1793282847 .fill-N3{fill:#9499AB;} + .d2-1793282847 .fill-N4{fill:#CFD2DD;} + .d2-1793282847 .fill-N5{fill:#DEE1EB;} + .d2-1793282847 .fill-N6{fill:#EEF1F8;} + .d2-1793282847 .fill-N7{fill:#FFFFFF;} + .d2-1793282847 .fill-B1{fill:#0D32B2;} + .d2-1793282847 .fill-B2{fill:#0D32B2;} + .d2-1793282847 .fill-B3{fill:#E3E9FD;} + .d2-1793282847 .fill-B4{fill:#E3E9FD;} + .d2-1793282847 .fill-B5{fill:#EDF0FD;} + .d2-1793282847 .fill-B6{fill:#F7F8FE;} + .d2-1793282847 .fill-AA2{fill:#4A6FF3;} + .d2-1793282847 .fill-AA4{fill:#EDF0FD;} + .d2-1793282847 .fill-AA5{fill:#F7F8FE;} + .d2-1793282847 .fill-AB4{fill:#EDF0FD;} + .d2-1793282847 .fill-AB5{fill:#F7F8FE;} + .d2-1793282847 .stroke-N1{stroke:#0A0F25;} + .d2-1793282847 .stroke-N2{stroke:#676C7E;} + .d2-1793282847 .stroke-N3{stroke:#9499AB;} + .d2-1793282847 .stroke-N4{stroke:#CFD2DD;} + .d2-1793282847 .stroke-N5{stroke:#DEE1EB;} + .d2-1793282847 .stroke-N6{stroke:#EEF1F8;} + .d2-1793282847 .stroke-N7{stroke:#FFFFFF;} + .d2-1793282847 .stroke-B1{stroke:#0D32B2;} + .d2-1793282847 .stroke-B2{stroke:#0D32B2;} + .d2-1793282847 .stroke-B3{stroke:#E3E9FD;} + .d2-1793282847 .stroke-B4{stroke:#E3E9FD;} + .d2-1793282847 .stroke-B5{stroke:#EDF0FD;} + .d2-1793282847 .stroke-B6{stroke:#F7F8FE;} + .d2-1793282847 .stroke-AA2{stroke:#4A6FF3;} + .d2-1793282847 .stroke-AA4{stroke:#EDF0FD;} + .d2-1793282847 .stroke-AA5{stroke:#F7F8FE;} + .d2-1793282847 .stroke-AB4{stroke:#EDF0FD;} + .d2-1793282847 .stroke-AB5{stroke:#F7F8FE;} + .d2-1793282847 .background-color-N1{background-color:#0A0F25;} + .d2-1793282847 .background-color-N2{background-color:#676C7E;} + .d2-1793282847 .background-color-N3{background-color:#9499AB;} + .d2-1793282847 .background-color-N4{background-color:#CFD2DD;} + .d2-1793282847 .background-color-N5{background-color:#DEE1EB;} + .d2-1793282847 .background-color-N6{background-color:#EEF1F8;} + .d2-1793282847 .background-color-N7{background-color:#FFFFFF;} + .d2-1793282847 .background-color-B1{background-color:#0D32B2;} + .d2-1793282847 .background-color-B2{background-color:#0D32B2;} + .d2-1793282847 .background-color-B3{background-color:#E3E9FD;} + .d2-1793282847 .background-color-B4{background-color:#E3E9FD;} + .d2-1793282847 .background-color-B5{background-color:#EDF0FD;} + .d2-1793282847 .background-color-B6{background-color:#F7F8FE;} + .d2-1793282847 .background-color-AA2{background-color:#4A6FF3;} + .d2-1793282847 .background-color-AA4{background-color:#EDF0FD;} + .d2-1793282847 .background-color-AA5{background-color:#F7F8FE;} + .d2-1793282847 .background-color-AB4{background-color:#EDF0FD;} + .d2-1793282847 .background-color-AB5{background-color:#F7F8FE;} + .d2-1793282847 .color-N1{color:#0A0F25;} + .d2-1793282847 .color-N2{color:#676C7E;} + .d2-1793282847 .color-N3{color:#9499AB;} + .d2-1793282847 .color-N4{color:#CFD2DD;} + .d2-1793282847 .color-N5{color:#DEE1EB;} + .d2-1793282847 .color-N6{color:#EEF1F8;} + .d2-1793282847 .color-N7{color:#FFFFFF;} + .d2-1793282847 .color-B1{color:#0D32B2;} + .d2-1793282847 .color-B2{color:#0D32B2;} + .d2-1793282847 .color-B3{color:#E3E9FD;} + .d2-1793282847 .color-B4{color:#E3E9FD;} + .d2-1793282847 .color-B5{color:#EDF0FD;} + .d2-1793282847 .color-B6{color:#F7F8FE;} + .d2-1793282847 .color-AA2{color:#4A6FF3;} + .d2-1793282847 .color-AA4{color:#EDF0FD;} + .d2-1793282847 .color-AA5{color:#F7F8FE;} + .d2-1793282847 .color-AB4{color:#EDF0FD;} + .d2-1793282847 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> + +rectangle + +square + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/square_3d/elk/sketch.exp.svg b/e2etests/testdata/stable/square_3d/elk/sketch.exp.svg index 05713e922..ed48dc76a 100644 --- a/e2etests/testdata/stable/square_3d/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/square_3d/elk/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-1830000542 .fill-N1{fill:#0A0F25;} + .d2-1830000542 .fill-N2{fill:#676C7E;} + .d2-1830000542 .fill-N3{fill:#9499AB;} + .d2-1830000542 .fill-N4{fill:#CFD2DD;} + .d2-1830000542 .fill-N5{fill:#DEE1EB;} + .d2-1830000542 .fill-N6{fill:#EEF1F8;} + .d2-1830000542 .fill-N7{fill:#FFFFFF;} + .d2-1830000542 .fill-B1{fill:#0D32B2;} + .d2-1830000542 .fill-B2{fill:#0D32B2;} + .d2-1830000542 .fill-B3{fill:#E3E9FD;} + .d2-1830000542 .fill-B4{fill:#E3E9FD;} + .d2-1830000542 .fill-B5{fill:#EDF0FD;} + .d2-1830000542 .fill-B6{fill:#F7F8FE;} + .d2-1830000542 .fill-AA2{fill:#4A6FF3;} + .d2-1830000542 .fill-AA4{fill:#EDF0FD;} + .d2-1830000542 .fill-AA5{fill:#F7F8FE;} + .d2-1830000542 .fill-AB4{fill:#EDF0FD;} + .d2-1830000542 .fill-AB5{fill:#F7F8FE;} + .d2-1830000542 .stroke-N1{stroke:#0A0F25;} + .d2-1830000542 .stroke-N2{stroke:#676C7E;} + .d2-1830000542 .stroke-N3{stroke:#9499AB;} + .d2-1830000542 .stroke-N4{stroke:#CFD2DD;} + .d2-1830000542 .stroke-N5{stroke:#DEE1EB;} + .d2-1830000542 .stroke-N6{stroke:#EEF1F8;} + .d2-1830000542 .stroke-N7{stroke:#FFFFFF;} + .d2-1830000542 .stroke-B1{stroke:#0D32B2;} + .d2-1830000542 .stroke-B2{stroke:#0D32B2;} + .d2-1830000542 .stroke-B3{stroke:#E3E9FD;} + .d2-1830000542 .stroke-B4{stroke:#E3E9FD;} + .d2-1830000542 .stroke-B5{stroke:#EDF0FD;} + .d2-1830000542 .stroke-B6{stroke:#F7F8FE;} + .d2-1830000542 .stroke-AA2{stroke:#4A6FF3;} + .d2-1830000542 .stroke-AA4{stroke:#EDF0FD;} + .d2-1830000542 .stroke-AA5{stroke:#F7F8FE;} + .d2-1830000542 .stroke-AB4{stroke:#EDF0FD;} + .d2-1830000542 .stroke-AB5{stroke:#F7F8FE;} + .d2-1830000542 .background-color-N1{background-color:#0A0F25;} + .d2-1830000542 .background-color-N2{background-color:#676C7E;} + .d2-1830000542 .background-color-N3{background-color:#9499AB;} + .d2-1830000542 .background-color-N4{background-color:#CFD2DD;} + .d2-1830000542 .background-color-N5{background-color:#DEE1EB;} + .d2-1830000542 .background-color-N6{background-color:#EEF1F8;} + .d2-1830000542 .background-color-N7{background-color:#FFFFFF;} + .d2-1830000542 .background-color-B1{background-color:#0D32B2;} + .d2-1830000542 .background-color-B2{background-color:#0D32B2;} + .d2-1830000542 .background-color-B3{background-color:#E3E9FD;} + .d2-1830000542 .background-color-B4{background-color:#E3E9FD;} + .d2-1830000542 .background-color-B5{background-color:#EDF0FD;} + .d2-1830000542 .background-color-B6{background-color:#F7F8FE;} + .d2-1830000542 .background-color-AA2{background-color:#4A6FF3;} + .d2-1830000542 .background-color-AA4{background-color:#EDF0FD;} + .d2-1830000542 .background-color-AA5{background-color:#F7F8FE;} + .d2-1830000542 .background-color-AB4{background-color:#EDF0FD;} + .d2-1830000542 .background-color-AB5{background-color:#F7F8FE;} + .d2-1830000542 .color-N1{color:#0A0F25;} + .d2-1830000542 .color-N2{color:#676C7E;} + .d2-1830000542 .color-N3{color:#9499AB;} + .d2-1830000542 .color-N4{color:#CFD2DD;} + .d2-1830000542 .color-N5{color:#DEE1EB;} + .d2-1830000542 .color-N6{color:#EEF1F8;} + .d2-1830000542 .color-N7{color:#FFFFFF;} + .d2-1830000542 .color-B1{color:#0D32B2;} + .d2-1830000542 .color-B2{color:#0D32B2;} + .d2-1830000542 .color-B3{color:#E3E9FD;} + .d2-1830000542 .color-B4{color:#E3E9FD;} + .d2-1830000542 .color-B5{color:#EDF0FD;} + .d2-1830000542 .color-B6{color:#F7F8FE;} + .d2-1830000542 .color-AA2{color:#4A6FF3;} + .d2-1830000542 .color-AA4{color:#EDF0FD;} + .d2-1830000542 .color-AA5{color:#F7F8FE;} + .d2-1830000542 .color-AB4{color:#EDF0FD;} + .d2-1830000542 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> rectangle -square +square diff --git a/e2etests/testdata/stable/straight_hierarchy_container/dagre/board.exp.json b/e2etests/testdata/stable/straight_hierarchy_container/dagre/board.exp.json index 69a24f07e..2589ae801 100644 --- a/e2etests/testdata/stable/straight_hierarchy_container/dagre/board.exp.json +++ b/e2etests/testdata/stable/straight_hierarchy_container/dagre/board.exp.json @@ -130,11 +130,11 @@ "id": "l1", "type": "rectangle", "pos": { - "x": 20, - "y": 207 + "x": 30, + "y": 186 }, - "width": 439, - "height": 125, + "width": 419, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 213, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -213,7 +213,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -254,7 +254,7 @@ "type": "rectangle", "pos": { "x": 366, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -294,11 +294,11 @@ "id": "l2c1", "type": "rectangle", "pos": { - "x": 20, - "y": 473 + "x": 30, + "y": 452 }, - "width": 133, - "height": 125, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -336,7 +336,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 502 + "y": 482 }, "width": 53, "height": 66, @@ -376,11 +376,11 @@ "id": "l2c3", "type": "rectangle", "pos": { - "x": 326, - "y": 473 + "x": 336, + "y": 452 }, - "width": 133, - "height": 125, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -418,7 +418,7 @@ "type": "rectangle", "pos": { "x": 366, - "y": 502 + "y": 482 }, "width": 53, "height": 66, @@ -458,11 +458,11 @@ "id": "l2c2", "type": "rectangle", "pos": { - "x": 173, - "y": 473 + "x": 183, + "y": 452 }, - "width": 133, - "height": 125, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -500,7 +500,7 @@ "type": "rectangle", "pos": { "x": 213, - "y": 502 + "y": 482 }, "width": 53, "height": 66, @@ -540,11 +540,11 @@ "id": "l3c1", "type": "rectangle", "pos": { - "x": 20, - "y": 739 + "x": 30, + "y": 718 }, - "width": 286, - "height": 125, + "width": 266, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -582,7 +582,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 768 + "y": 748 }, "width": 53, "height": 66, @@ -623,7 +623,7 @@ "type": "rectangle", "pos": { "x": 213, - "y": 768 + "y": 748 }, "width": 53, "height": 66, @@ -663,11 +663,11 @@ "id": "l3c2", "type": "rectangle", "pos": { - "x": 326, - "y": 739 + "x": 336, + "y": 718 }, - "width": 133, - "height": 125, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -705,7 +705,7 @@ "type": "rectangle", "pos": { "x": 366, - "y": 768 + "y": 748 }, "width": 53, "height": 66, @@ -746,10 +746,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 1005 + "y": 993 }, "width": 479, - "height": 225, + "height": 197, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -786,11 +786,11 @@ "id": "l4.c1", "type": "rectangle", "pos": { - "x": 20, - "y": 1070 + "x": 30, + "y": 1034 }, - "width": 133, - "height": 130, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -828,7 +828,7 @@ "type": "rectangle", "pos": { "x": 60, - "y": 1102 + "y": 1064 }, "width": 53, "height": 66, @@ -868,11 +868,11 @@ "id": "l4.c2", "type": "rectangle", "pos": { - "x": 173, - "y": 1070 + "x": 183, + "y": 1034 }, - "width": 133, - "height": 130, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -910,7 +910,7 @@ "type": "rectangle", "pos": { "x": 213, - "y": 1102 + "y": 1064 }, "width": 53, "height": 66, @@ -950,11 +950,11 @@ "id": "l4.c3", "type": "rectangle", "pos": { - "x": 326, - "y": 1070 + "x": 336, + "y": 1034 }, - "width": 133, - "height": 130, + "width": 113, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -992,7 +992,7 @@ "type": "rectangle", "pos": { "x": 366, - "y": 1102 + "y": 1064 }, "width": 53, "height": 66, @@ -1064,11 +1064,11 @@ }, { "x": 239.5, - "y": 180.10000610351562 + "y": 176 }, { "x": 239.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -1111,11 +1111,11 @@ }, { "x": 86.5, - "y": 180.10000610351562 + "y": 176 }, { "x": 86.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -1158,11 +1158,11 @@ }, { "x": 392.5, - "y": 180.10000610351562 + "y": 176 }, { "x": 392.5, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -1197,11 +1197,11 @@ "route": [ { "x": 86.5, - "y": 302.5 + "y": 282 }, { "x": 86.5, - "y": 326.1000061035156 + "y": 322 }, { "x": 86.5, @@ -1217,11 +1217,11 @@ }, { "x": 86.5, - "y": 446.1000061035156 + "y": 442 }, { "x": 86.5, - "y": 502.5 + "y": 482 } ], "isCurve": true, @@ -1256,11 +1256,11 @@ "route": [ { "x": 392.5, - "y": 302.5 + "y": 282 }, { "x": 392.5, - "y": 326.1000061035156 + "y": 322 }, { "x": 392.5, @@ -1276,11 +1276,11 @@ }, { "x": 392.5, - "y": 446.1000061035156 + "y": 442 }, { "x": 392.5, - "y": 502.5 + "y": 482 } ], "isCurve": true, @@ -1315,11 +1315,11 @@ "route": [ { "x": 239.5, - "y": 302.5 + "y": 282 }, { "x": 239.5, - "y": 326.1000061035156 + "y": 322 }, { "x": 239.5, @@ -1335,11 +1335,11 @@ }, { "x": 239.5, - "y": 446.1000061035156 + "y": 442 }, { "x": 239.5, - "y": 502.5 + "y": 482 } ], "isCurve": true, @@ -1374,11 +1374,11 @@ "route": [ { "x": 86.5, - "y": 568.5 + "y": 548 }, { "x": 86.5, - "y": 592.0999755859375 + "y": 588 }, { "x": 86.5, @@ -1394,11 +1394,11 @@ }, { "x": 86.5, - "y": 712.0999755859375 + "y": 708 }, { "x": 86.5, - "y": 768.5 + "y": 748 } ], "isCurve": true, @@ -1433,11 +1433,11 @@ "route": [ { "x": 239.5, - "y": 568.5 + "y": 548 }, { "x": 239.5, - "y": 592.0999755859375 + "y": 588 }, { "x": 239.5, @@ -1453,11 +1453,11 @@ }, { "x": 239.5, - "y": 712.0999755859375 + "y": 708 }, { "x": 239.5, - "y": 768.5 + "y": 748 } ], "isCurve": true, @@ -1492,11 +1492,11 @@ "route": [ { "x": 392.5, - "y": 568.5 + "y": 548 }, { "x": 392.5, - "y": 592.0999755859375 + "y": 588 }, { "x": 392.5, @@ -1512,11 +1512,11 @@ }, { "x": 392.5, - "y": 712.0999755859375 + "y": 708 }, { "x": 392.5, - "y": 768.5 + "y": 748 } ], "isCurve": true, @@ -1551,11 +1551,11 @@ "route": [ { "x": 86.5, - "y": 834.5 + "y": 814 }, { "x": 86.5, - "y": 858.0999755859375 + "y": 854 }, { "x": 86.5, @@ -1583,11 +1583,11 @@ }, { "x": 86.5, - "y": 1031.699951171875 + "y": 1024 }, { "x": 86.5, - "y": 1102.5 + "y": 1064 } ], "isCurve": true, @@ -1622,11 +1622,11 @@ "route": [ { "x": 239.5, - "y": 834.5 + "y": 814 }, { "x": 239.5, - "y": 858.0999755859375 + "y": 854 }, { "x": 239.5, @@ -1654,11 +1654,11 @@ }, { "x": 239.5, - "y": 1031.699951171875 + "y": 1024 }, { "x": 239.5, - "y": 1102.5 + "y": 1064 } ], "isCurve": true, @@ -1693,11 +1693,11 @@ "route": [ { "x": 392.5, - "y": 834.5 + "y": 814 }, { "x": 392.5, - "y": 858.0999755859375 + "y": 854 }, { "x": 392.5, @@ -1725,11 +1725,11 @@ }, { "x": 392.5, - "y": 1031.699951171875 + "y": 1024 }, { "x": 392.5, - "y": 1102.5 + "y": 1064 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/straight_hierarchy_container/dagre/sketch.exp.svg b/e2etests/testdata/stable/straight_hierarchy_container/dagre/sketch.exp.svg index f8688891d..5986936b0 100644 --- a/e2etests/testdata/stable/straight_hierarchy_container/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/straight_hierarchy_container/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc - + .d2-1367388716 .fill-N1{fill:#0A0F25;} + .d2-1367388716 .fill-N2{fill:#676C7E;} + .d2-1367388716 .fill-N3{fill:#9499AB;} + .d2-1367388716 .fill-N4{fill:#CFD2DD;} + .d2-1367388716 .fill-N5{fill:#DEE1EB;} + .d2-1367388716 .fill-N6{fill:#EEF1F8;} + .d2-1367388716 .fill-N7{fill:#FFFFFF;} + .d2-1367388716 .fill-B1{fill:#0D32B2;} + .d2-1367388716 .fill-B2{fill:#0D32B2;} + .d2-1367388716 .fill-B3{fill:#E3E9FD;} + .d2-1367388716 .fill-B4{fill:#E3E9FD;} + .d2-1367388716 .fill-B5{fill:#EDF0FD;} + .d2-1367388716 .fill-B6{fill:#F7F8FE;} + .d2-1367388716 .fill-AA2{fill:#4A6FF3;} + .d2-1367388716 .fill-AA4{fill:#EDF0FD;} + .d2-1367388716 .fill-AA5{fill:#F7F8FE;} + .d2-1367388716 .fill-AB4{fill:#EDF0FD;} + .d2-1367388716 .fill-AB5{fill:#F7F8FE;} + .d2-1367388716 .stroke-N1{stroke:#0A0F25;} + .d2-1367388716 .stroke-N2{stroke:#676C7E;} + .d2-1367388716 .stroke-N3{stroke:#9499AB;} + .d2-1367388716 .stroke-N4{stroke:#CFD2DD;} + .d2-1367388716 .stroke-N5{stroke:#DEE1EB;} + .d2-1367388716 .stroke-N6{stroke:#EEF1F8;} + .d2-1367388716 .stroke-N7{stroke:#FFFFFF;} + .d2-1367388716 .stroke-B1{stroke:#0D32B2;} + .d2-1367388716 .stroke-B2{stroke:#0D32B2;} + .d2-1367388716 .stroke-B3{stroke:#E3E9FD;} + .d2-1367388716 .stroke-B4{stroke:#E3E9FD;} + .d2-1367388716 .stroke-B5{stroke:#EDF0FD;} + .d2-1367388716 .stroke-B6{stroke:#F7F8FE;} + .d2-1367388716 .stroke-AA2{stroke:#4A6FF3;} + .d2-1367388716 .stroke-AA4{stroke:#EDF0FD;} + .d2-1367388716 .stroke-AA5{stroke:#F7F8FE;} + .d2-1367388716 .stroke-AB4{stroke:#EDF0FD;} + .d2-1367388716 .stroke-AB5{stroke:#F7F8FE;} + .d2-1367388716 .background-color-N1{background-color:#0A0F25;} + .d2-1367388716 .background-color-N2{background-color:#676C7E;} + .d2-1367388716 .background-color-N3{background-color:#9499AB;} + .d2-1367388716 .background-color-N4{background-color:#CFD2DD;} + .d2-1367388716 .background-color-N5{background-color:#DEE1EB;} + .d2-1367388716 .background-color-N6{background-color:#EEF1F8;} + .d2-1367388716 .background-color-N7{background-color:#FFFFFF;} + .d2-1367388716 .background-color-B1{background-color:#0D32B2;} + .d2-1367388716 .background-color-B2{background-color:#0D32B2;} + .d2-1367388716 .background-color-B3{background-color:#E3E9FD;} + .d2-1367388716 .background-color-B4{background-color:#E3E9FD;} + .d2-1367388716 .background-color-B5{background-color:#EDF0FD;} + .d2-1367388716 .background-color-B6{background-color:#F7F8FE;} + .d2-1367388716 .background-color-AA2{background-color:#4A6FF3;} + .d2-1367388716 .background-color-AA4{background-color:#EDF0FD;} + .d2-1367388716 .background-color-AA5{background-color:#F7F8FE;} + .d2-1367388716 .background-color-AB4{background-color:#EDF0FD;} + .d2-1367388716 .background-color-AB5{background-color:#F7F8FE;} + .d2-1367388716 .color-N1{color:#0A0F25;} + .d2-1367388716 .color-N2{color:#676C7E;} + .d2-1367388716 .color-N3{color:#9499AB;} + .d2-1367388716 .color-N4{color:#CFD2DD;} + .d2-1367388716 .color-N5{color:#DEE1EB;} + .d2-1367388716 .color-N6{color:#EEF1F8;} + .d2-1367388716 .color-N7{color:#FFFFFF;} + .d2-1367388716 .color-B1{color:#0D32B2;} + .d2-1367388716 .color-B2{color:#0D32B2;} + .d2-1367388716 .color-B3{color:#E3E9FD;} + .d2-1367388716 .color-B4{color:#E3E9FD;} + .d2-1367388716 .color-B5{color:#EDF0FD;} + .d2-1367388716 .color-B6{color:#F7F8FE;} + .d2-1367388716 .color-AA2{color:#4A6FF3;} + .d2-1367388716 .color-AA4{color:#EDF0FD;} + .d2-1367388716 .color-AA5{color:#F7F8FE;} + .d2-1367388716 .color-AB4{color:#EDF0FD;} + .d2-1367388716 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/straight_hierarchy_container/elk/sketch.exp.svg b/e2etests/testdata/stable/straight_hierarchy_container/elk/sketch.exp.svg index 4994c5aca..595452aaf 100644 --- a/e2etests/testdata/stable/straight_hierarchy_container/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/straight_hierarchy_container/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc + .d2-2088457274 .fill-N1{fill:#0A0F25;} + .d2-2088457274 .fill-N2{fill:#676C7E;} + .d2-2088457274 .fill-N3{fill:#9499AB;} + .d2-2088457274 .fill-N4{fill:#CFD2DD;} + .d2-2088457274 .fill-N5{fill:#DEE1EB;} + .d2-2088457274 .fill-N6{fill:#EEF1F8;} + .d2-2088457274 .fill-N7{fill:#FFFFFF;} + .d2-2088457274 .fill-B1{fill:#0D32B2;} + .d2-2088457274 .fill-B2{fill:#0D32B2;} + .d2-2088457274 .fill-B3{fill:#E3E9FD;} + .d2-2088457274 .fill-B4{fill:#E3E9FD;} + .d2-2088457274 .fill-B5{fill:#EDF0FD;} + .d2-2088457274 .fill-B6{fill:#F7F8FE;} + .d2-2088457274 .fill-AA2{fill:#4A6FF3;} + .d2-2088457274 .fill-AA4{fill:#EDF0FD;} + .d2-2088457274 .fill-AA5{fill:#F7F8FE;} + .d2-2088457274 .fill-AB4{fill:#EDF0FD;} + .d2-2088457274 .fill-AB5{fill:#F7F8FE;} + .d2-2088457274 .stroke-N1{stroke:#0A0F25;} + .d2-2088457274 .stroke-N2{stroke:#676C7E;} + .d2-2088457274 .stroke-N3{stroke:#9499AB;} + .d2-2088457274 .stroke-N4{stroke:#CFD2DD;} + .d2-2088457274 .stroke-N5{stroke:#DEE1EB;} + .d2-2088457274 .stroke-N6{stroke:#EEF1F8;} + .d2-2088457274 .stroke-N7{stroke:#FFFFFF;} + .d2-2088457274 .stroke-B1{stroke:#0D32B2;} + .d2-2088457274 .stroke-B2{stroke:#0D32B2;} + .d2-2088457274 .stroke-B3{stroke:#E3E9FD;} + .d2-2088457274 .stroke-B4{stroke:#E3E9FD;} + .d2-2088457274 .stroke-B5{stroke:#EDF0FD;} + .d2-2088457274 .stroke-B6{stroke:#F7F8FE;} + .d2-2088457274 .stroke-AA2{stroke:#4A6FF3;} + .d2-2088457274 .stroke-AA4{stroke:#EDF0FD;} + .d2-2088457274 .stroke-AA5{stroke:#F7F8FE;} + .d2-2088457274 .stroke-AB4{stroke:#EDF0FD;} + .d2-2088457274 .stroke-AB5{stroke:#F7F8FE;} + .d2-2088457274 .background-color-N1{background-color:#0A0F25;} + .d2-2088457274 .background-color-N2{background-color:#676C7E;} + .d2-2088457274 .background-color-N3{background-color:#9499AB;} + .d2-2088457274 .background-color-N4{background-color:#CFD2DD;} + .d2-2088457274 .background-color-N5{background-color:#DEE1EB;} + .d2-2088457274 .background-color-N6{background-color:#EEF1F8;} + .d2-2088457274 .background-color-N7{background-color:#FFFFFF;} + .d2-2088457274 .background-color-B1{background-color:#0D32B2;} + .d2-2088457274 .background-color-B2{background-color:#0D32B2;} + .d2-2088457274 .background-color-B3{background-color:#E3E9FD;} + .d2-2088457274 .background-color-B4{background-color:#E3E9FD;} + .d2-2088457274 .background-color-B5{background-color:#EDF0FD;} + .d2-2088457274 .background-color-B6{background-color:#F7F8FE;} + .d2-2088457274 .background-color-AA2{background-color:#4A6FF3;} + .d2-2088457274 .background-color-AA4{background-color:#EDF0FD;} + .d2-2088457274 .background-color-AA5{background-color:#F7F8FE;} + .d2-2088457274 .background-color-AB4{background-color:#EDF0FD;} + .d2-2088457274 .background-color-AB5{background-color:#F7F8FE;} + .d2-2088457274 .color-N1{color:#0A0F25;} + .d2-2088457274 .color-N2{color:#676C7E;} + .d2-2088457274 .color-N3{color:#9499AB;} + .d2-2088457274 .color-N4{color:#CFD2DD;} + .d2-2088457274 .color-N5{color:#DEE1EB;} + .d2-2088457274 .color-N6{color:#EEF1F8;} + .d2-2088457274 .color-N7{color:#FFFFFF;} + .d2-2088457274 .color-B1{color:#0D32B2;} + .d2-2088457274 .color-B2{color:#0D32B2;} + .d2-2088457274 .color-B3{color:#E3E9FD;} + .d2-2088457274 .color-B4{color:#E3E9FD;} + .d2-2088457274 .color-B5{color:#EDF0FD;} + .d2-2088457274 .color-B6{color:#F7F8FE;} + .d2-2088457274 .color-AA2{color:#4A6FF3;} + .d2-2088457274 .color-AA4{color:#EDF0FD;} + .d2-2088457274 .color-AA5{color:#F7F8FE;} + .d2-2088457274 .color-AB4{color:#EDF0FD;} + .d2-2088457274 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>acbl1l2c1l2c3l2c2l3c1l3c2l4bacacbabcc1c2c3abc diff --git a/e2etests/testdata/stable/stylish/dagre/board.exp.json b/e2etests/testdata/stable/stylish/dagre/board.exp.json index c0df7856c..49405db61 100644 --- a/e2etests/testdata/stable/stylish/dagre/board.exp.json +++ b/e2etests/testdata/stable/stylish/dagre/board.exp.json @@ -7,7 +7,7 @@ "id": "x", "type": "rectangle", "pos": { - "x": 8, + "x": 1, "y": 0 }, "width": 53, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 202 + "y": 187 }, "width": 54, "height": 66, @@ -113,20 +113,20 @@ "labelPercentage": 0, "route": [ { - "x": 34.5, - "y": 66 + "x": 27, + "y": 65.5 }, { - "x": 34.5, - "y": 114.4000015258789 + "x": 27, + "y": 114.30000305175781 }, { - "x": 34.5, - "y": 138.6999969482422 + "x": 27, + "y": 135.6999969482422 }, { - "x": 34.5, - "y": 187.5 + "x": 27, + "y": 172.5 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/stylish/dagre/sketch.exp.svg b/e2etests/testdata/stable/stylish/dagre/sketch.exp.svg index 1d06a16d9..0acdedbe1 100644 --- a/e2etests/testdata/stable/stylish/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/stylish/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2923702954 .fill-N1{fill:#0A0F25;} + .d2-2923702954 .fill-N2{fill:#676C7E;} + .d2-2923702954 .fill-N3{fill:#9499AB;} + .d2-2923702954 .fill-N4{fill:#CFD2DD;} + .d2-2923702954 .fill-N5{fill:#DEE1EB;} + .d2-2923702954 .fill-N6{fill:#EEF1F8;} + .d2-2923702954 .fill-N7{fill:#FFFFFF;} + .d2-2923702954 .fill-B1{fill:#0D32B2;} + .d2-2923702954 .fill-B2{fill:#0D32B2;} + .d2-2923702954 .fill-B3{fill:#E3E9FD;} + .d2-2923702954 .fill-B4{fill:#E3E9FD;} + .d2-2923702954 .fill-B5{fill:#EDF0FD;} + .d2-2923702954 .fill-B6{fill:#F7F8FE;} + .d2-2923702954 .fill-AA2{fill:#4A6FF3;} + .d2-2923702954 .fill-AA4{fill:#EDF0FD;} + .d2-2923702954 .fill-AA5{fill:#F7F8FE;} + .d2-2923702954 .fill-AB4{fill:#EDF0FD;} + .d2-2923702954 .fill-AB5{fill:#F7F8FE;} + .d2-2923702954 .stroke-N1{stroke:#0A0F25;} + .d2-2923702954 .stroke-N2{stroke:#676C7E;} + .d2-2923702954 .stroke-N3{stroke:#9499AB;} + .d2-2923702954 .stroke-N4{stroke:#CFD2DD;} + .d2-2923702954 .stroke-N5{stroke:#DEE1EB;} + .d2-2923702954 .stroke-N6{stroke:#EEF1F8;} + .d2-2923702954 .stroke-N7{stroke:#FFFFFF;} + .d2-2923702954 .stroke-B1{stroke:#0D32B2;} + .d2-2923702954 .stroke-B2{stroke:#0D32B2;} + .d2-2923702954 .stroke-B3{stroke:#E3E9FD;} + .d2-2923702954 .stroke-B4{stroke:#E3E9FD;} + .d2-2923702954 .stroke-B5{stroke:#EDF0FD;} + .d2-2923702954 .stroke-B6{stroke:#F7F8FE;} + .d2-2923702954 .stroke-AA2{stroke:#4A6FF3;} + .d2-2923702954 .stroke-AA4{stroke:#EDF0FD;} + .d2-2923702954 .stroke-AA5{stroke:#F7F8FE;} + .d2-2923702954 .stroke-AB4{stroke:#EDF0FD;} + .d2-2923702954 .stroke-AB5{stroke:#F7F8FE;} + .d2-2923702954 .background-color-N1{background-color:#0A0F25;} + .d2-2923702954 .background-color-N2{background-color:#676C7E;} + .d2-2923702954 .background-color-N3{background-color:#9499AB;} + .d2-2923702954 .background-color-N4{background-color:#CFD2DD;} + .d2-2923702954 .background-color-N5{background-color:#DEE1EB;} + .d2-2923702954 .background-color-N6{background-color:#EEF1F8;} + .d2-2923702954 .background-color-N7{background-color:#FFFFFF;} + .d2-2923702954 .background-color-B1{background-color:#0D32B2;} + .d2-2923702954 .background-color-B2{background-color:#0D32B2;} + .d2-2923702954 .background-color-B3{background-color:#E3E9FD;} + .d2-2923702954 .background-color-B4{background-color:#E3E9FD;} + .d2-2923702954 .background-color-B5{background-color:#EDF0FD;} + .d2-2923702954 .background-color-B6{background-color:#F7F8FE;} + .d2-2923702954 .background-color-AA2{background-color:#4A6FF3;} + .d2-2923702954 .background-color-AA4{background-color:#EDF0FD;} + .d2-2923702954 .background-color-AA5{background-color:#F7F8FE;} + .d2-2923702954 .background-color-AB4{background-color:#EDF0FD;} + .d2-2923702954 .background-color-AB5{background-color:#F7F8FE;} + .d2-2923702954 .color-N1{color:#0A0F25;} + .d2-2923702954 .color-N2{color:#676C7E;} + .d2-2923702954 .color-N3{color:#9499AB;} + .d2-2923702954 .color-N4{color:#CFD2DD;} + .d2-2923702954 .color-N5{color:#DEE1EB;} + .d2-2923702954 .color-N6{color:#EEF1F8;} + .d2-2923702954 .color-N7{color:#FFFFFF;} + .d2-2923702954 .color-B1{color:#0D32B2;} + .d2-2923702954 .color-B2{color:#0D32B2;} + .d2-2923702954 .color-B3{color:#E3E9FD;} + .d2-2923702954 .color-B4{color:#E3E9FD;} + .d2-2923702954 .color-B5{color:#EDF0FD;} + .d2-2923702954 .color-B6{color:#F7F8FE;} + .d2-2923702954 .color-AA2{color:#4A6FF3;} + .d2-2923702954 .color-AA4{color:#EDF0FD;} + .d2-2923702954 .color-AA5{color:#F7F8FE;} + .d2-2923702954 .color-AB4{color:#EDF0FD;} + .d2-2923702954 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -104,11 +104,11 @@ -x - -y in style - - - - +x + +y in style + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/stylish/elk/sketch.exp.svg b/e2etests/testdata/stable/stylish/elk/sketch.exp.svg index efb6eb81f..6d96f3e82 100644 --- a/e2etests/testdata/stable/stylish/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/stylish/elk/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2497092455 .fill-N1{fill:#0A0F25;} + .d2-2497092455 .fill-N2{fill:#676C7E;} + .d2-2497092455 .fill-N3{fill:#9499AB;} + .d2-2497092455 .fill-N4{fill:#CFD2DD;} + .d2-2497092455 .fill-N5{fill:#DEE1EB;} + .d2-2497092455 .fill-N6{fill:#EEF1F8;} + .d2-2497092455 .fill-N7{fill:#FFFFFF;} + .d2-2497092455 .fill-B1{fill:#0D32B2;} + .d2-2497092455 .fill-B2{fill:#0D32B2;} + .d2-2497092455 .fill-B3{fill:#E3E9FD;} + .d2-2497092455 .fill-B4{fill:#E3E9FD;} + .d2-2497092455 .fill-B5{fill:#EDF0FD;} + .d2-2497092455 .fill-B6{fill:#F7F8FE;} + .d2-2497092455 .fill-AA2{fill:#4A6FF3;} + .d2-2497092455 .fill-AA4{fill:#EDF0FD;} + .d2-2497092455 .fill-AA5{fill:#F7F8FE;} + .d2-2497092455 .fill-AB4{fill:#EDF0FD;} + .d2-2497092455 .fill-AB5{fill:#F7F8FE;} + .d2-2497092455 .stroke-N1{stroke:#0A0F25;} + .d2-2497092455 .stroke-N2{stroke:#676C7E;} + .d2-2497092455 .stroke-N3{stroke:#9499AB;} + .d2-2497092455 .stroke-N4{stroke:#CFD2DD;} + .d2-2497092455 .stroke-N5{stroke:#DEE1EB;} + .d2-2497092455 .stroke-N6{stroke:#EEF1F8;} + .d2-2497092455 .stroke-N7{stroke:#FFFFFF;} + .d2-2497092455 .stroke-B1{stroke:#0D32B2;} + .d2-2497092455 .stroke-B2{stroke:#0D32B2;} + .d2-2497092455 .stroke-B3{stroke:#E3E9FD;} + .d2-2497092455 .stroke-B4{stroke:#E3E9FD;} + .d2-2497092455 .stroke-B5{stroke:#EDF0FD;} + .d2-2497092455 .stroke-B6{stroke:#F7F8FE;} + .d2-2497092455 .stroke-AA2{stroke:#4A6FF3;} + .d2-2497092455 .stroke-AA4{stroke:#EDF0FD;} + .d2-2497092455 .stroke-AA5{stroke:#F7F8FE;} + .d2-2497092455 .stroke-AB4{stroke:#EDF0FD;} + .d2-2497092455 .stroke-AB5{stroke:#F7F8FE;} + .d2-2497092455 .background-color-N1{background-color:#0A0F25;} + .d2-2497092455 .background-color-N2{background-color:#676C7E;} + .d2-2497092455 .background-color-N3{background-color:#9499AB;} + .d2-2497092455 .background-color-N4{background-color:#CFD2DD;} + .d2-2497092455 .background-color-N5{background-color:#DEE1EB;} + .d2-2497092455 .background-color-N6{background-color:#EEF1F8;} + .d2-2497092455 .background-color-N7{background-color:#FFFFFF;} + .d2-2497092455 .background-color-B1{background-color:#0D32B2;} + .d2-2497092455 .background-color-B2{background-color:#0D32B2;} + .d2-2497092455 .background-color-B3{background-color:#E3E9FD;} + .d2-2497092455 .background-color-B4{background-color:#E3E9FD;} + .d2-2497092455 .background-color-B5{background-color:#EDF0FD;} + .d2-2497092455 .background-color-B6{background-color:#F7F8FE;} + .d2-2497092455 .background-color-AA2{background-color:#4A6FF3;} + .d2-2497092455 .background-color-AA4{background-color:#EDF0FD;} + .d2-2497092455 .background-color-AA5{background-color:#F7F8FE;} + .d2-2497092455 .background-color-AB4{background-color:#EDF0FD;} + .d2-2497092455 .background-color-AB5{background-color:#F7F8FE;} + .d2-2497092455 .color-N1{color:#0A0F25;} + .d2-2497092455 .color-N2{color:#676C7E;} + .d2-2497092455 .color-N3{color:#9499AB;} + .d2-2497092455 .color-N4{color:#CFD2DD;} + .d2-2497092455 .color-N5{color:#DEE1EB;} + .d2-2497092455 .color-N6{color:#EEF1F8;} + .d2-2497092455 .color-N7{color:#FFFFFF;} + .d2-2497092455 .color-B1{color:#0D32B2;} + .d2-2497092455 .color-B2{color:#0D32B2;} + .d2-2497092455 .color-B3{color:#E3E9FD;} + .d2-2497092455 .color-B4{color:#E3E9FD;} + .d2-2497092455 .color-B5{color:#EDF0FD;} + .d2-2497092455 .color-B6{color:#F7F8FE;} + .d2-2497092455 .color-AA2{color:#4A6FF3;} + .d2-2497092455 .color-AA4{color:#EDF0FD;} + .d2-2497092455 .color-AA5{color:#F7F8FE;} + .d2-2497092455 .color-AB4{color:#EDF0FD;} + .d2-2497092455 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -106,7 +106,7 @@ x -y in style +y in style diff --git a/e2etests/testdata/stable/teleport_grid/dagre/board.exp.json b/e2etests/testdata/stable/teleport_grid/dagre/board.exp.json index aef37e591..49dd731ac 100644 --- a/e2etests/testdata/stable/teleport_grid/dagre/board.exp.json +++ b/e2etests/testdata/stable/teleport_grid/dagre/board.exp.json @@ -8,7 +8,7 @@ "type": "rectangle", "pos": { "x": 0, - "y": 204 + "y": 224 }, "width": 272, "height": 461, @@ -49,7 +49,7 @@ "type": "rectangle", "pos": { "x": 543, - "y": 130 + "y": 149 }, "width": 236, "height": 610, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 1050, - "y": 283 + "y": 303 }, "width": 473, "height": 303, @@ -172,7 +172,7 @@ "type": "rectangle", "pos": { "x": 2144, - "y": 232 + "y": 272 }, "width": 582, "height": 344, @@ -213,10 +213,10 @@ "type": "rectangle", "pos": { "x": 2335, - "y": 596 + "y": 676 }, "width": 201, - "height": 118, + "height": 123, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -266,7 +266,7 @@ "type": "oval", "pos": { "x": 60, - "y": 264 + "y": 284 }, "width": 152, "height": 152, @@ -319,7 +319,7 @@ "type": "oval", "pos": { "x": 60, - "y": 456 + "y": 476 }, "width": 152, "height": 149, @@ -372,7 +372,7 @@ "type": "rectangle", "pos": { "x": 603, - "y": 190 + "y": 209 }, "width": 116, "height": 66, @@ -413,7 +413,7 @@ "type": "rectangle", "pos": { "x": 603, - "y": 296 + "y": 315 }, "width": 116, "height": 66, @@ -454,7 +454,7 @@ "type": "rectangle", "pos": { "x": 603, - "y": 402 + "y": 421 }, "width": 116, "height": 66, @@ -495,7 +495,7 @@ "type": "rectangle", "pos": { "x": 603, - "y": 508 + "y": 527 }, "width": 116, "height": 66, @@ -536,7 +536,7 @@ "type": "rectangle", "pos": { "x": 603, - "y": 614 + "y": 633 }, "width": 116, "height": 66, @@ -577,7 +577,7 @@ "type": "text", "pos": { "x": 1110, - "y": 343 + "y": 363 }, "width": 353, "height": 51, @@ -618,7 +618,7 @@ "type": "rectangle", "pos": { "x": 1110, - "y": 434 + "y": 454 }, "width": 140, "height": 92, @@ -671,7 +671,7 @@ "type": "rectangle", "pos": { "x": 1290, - "y": 434 + "y": 454 }, "width": 173, "height": 92, @@ -953,7 +953,7 @@ "type": "rectangle", "pos": { "x": 2204, - "y": 292 + "y": 332 }, "width": 103, "height": 92, @@ -1006,7 +1006,7 @@ "type": "rectangle", "pos": { "x": 2347, - "y": 292 + "y": 332 }, "width": 152, "height": 92, @@ -1059,7 +1059,7 @@ "type": "rectangle", "pos": { "x": 2539, - "y": 292 + "y": 332 }, "width": 126, "height": 92, @@ -1112,7 +1112,7 @@ "type": "rectangle", "pos": { "x": 2204, - "y": 424 + "y": 464 }, "width": 138, "height": 92, @@ -1165,7 +1165,7 @@ "type": "rectangle", "pos": { "x": 2382, - "y": 424 + "y": 464 }, "width": 108, "height": 92, @@ -1218,7 +1218,7 @@ "type": "rectangle", "pos": { "x": 2530, - "y": 424 + "y": 464 }, "width": 136, "height": 92, @@ -1293,20 +1293,20 @@ "labelPercentage": 0, "route": [ { - "x": 272, - "y": 434.5 + "x": 271.5, + "y": 454 }, { - "x": 380.3999938964844, - "y": 434.5 + "x": 380.29998779296875, + "y": 454 }, { "x": 434.70001220703125, - "y": 434.5 + "y": 454 }, { "x": 543.5, - "y": 434.5 + "y": 454 } ], "isCurve": true, @@ -1340,20 +1340,20 @@ "labelPercentage": 0, "route": [ { - "x": 779, - "y": 434.5 + "x": 778.5, + "y": 454 }, { - "x": 887.4000244140625, - "y": 434.5 + "x": 887.2999877929688, + "y": 454 }, { "x": 941.7000122070312, - "y": 434.5 + "y": 454 }, { "x": 1050.5, - "y": 434.5 + "y": 454 } ], "isCurve": true, @@ -1387,12 +1387,12 @@ "labelPercentage": 0, "route": [ { - "x": 1511.3280029296875, - "y": 283 + "x": 1498.72998046875, + "y": 302.5 }, { - "x": 1721.4649658203125, - "y": 141.39999389648438 + "x": 1718.946044921875, + "y": 145.2989959716797 }, { "x": 1824.199951171875, @@ -1435,19 +1435,19 @@ "route": [ { "x": 1523, - "y": 419.7030029296875 + "y": 449 }, { "x": 1723.800048828125, - "y": 407.1400146484375 + "y": 445 }, { "x": 1848, - "y": 404 + "y": 444 }, { "x": 2144, - "y": 404 + "y": 444 } ], "isCurve": true, @@ -1482,19 +1482,19 @@ "route": [ { "x": 1523, - "y": 495.38299560546875 + "y": 521 }, { "x": 1723.800048828125, - "y": 547.0759887695312 + "y": 578.5999755859375 }, { "x": 1886.0999755859375, - "y": 576.1110229492188 + "y": 621.0770263671875 }, { "x": 2334.5, - "y": 640.5549926757812 + "y": 733.385986328125 } ], "isCurve": true, @@ -1529,19 +1529,19 @@ "route": [ { "x": 1523, - "y": 556.2670288085938 + "y": 589 }, { "x": 1723.800048828125, - "y": 659.6530151367188 + "y": 728.2000122070312 }, { "x": 1886.0999755859375, - "y": 680.3270263671875 + "y": 761.3040161132812 }, { "x": 2334.5, - "y": 659.6370239257812 + "y": 754.52001953125 } ], "isCurve": true, diff --git a/e2etests/testdata/stable/teleport_grid/dagre/sketch.exp.svg b/e2etests/testdata/stable/teleport_grid/dagre/sketch.exp.svg index 722085853..467f9def2 100644 --- a/e2etests/testdata/stable/teleport_grid/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/teleport_grid/dagre/sketch.exp.svg @@ -1,27 +1,27 @@ -TeleportJust-in-time Access viaInfrastructureIndentity ProviderEngineersMachinesHTTPS://> kubectl> tsh> apiDB Clients

    Identity Native Proxy

    -
    Audit LogCert AuthoritySlackMattermostJiraPagerdutyEmailsshKubernetesMy SQLMongoDBPSQLWindows all connections audited and logged - - +TeleportJust-in-time Access viaInfrastructureIndentity ProviderEngineersMachinesHTTPS://> kubectl> tsh> apiDB Clients

    Identity Native Proxy

    +
    Audit LogCert AuthoritySlackMattermostJiraPagerdutyEmailsshKubernetesMy SQLMongoDBPSQLWindows all connections audited and logged + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + + + +
    \ No newline at end of file diff --git a/e2etests/testdata/stable/teleport_grid/elk/sketch.exp.svg b/e2etests/testdata/stable/teleport_grid/elk/sketch.exp.svg index aadac9685..13e69c647 100644 --- a/e2etests/testdata/stable/teleport_grid/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/teleport_grid/elk/sketch.exp.svg @@ -1,27 +1,27 @@ -TeleportJust-in-time Access viaInfrastructureIndentity ProviderEngineersMachinesHTTPS://> kubectl> tsh> apiDB Clients

    Identity Native Proxy

    -
    Audit LogCert AuthoritySlackMattermostJiraPagerdutyEmailsshKubernetesMy SQLMongoDBPSQLWindows all connections audited and logged +Audit LogCert AuthoritySlackMattermostJiraPagerdutyEmailsshKubernetesMy SQLMongoDBPSQLWindows all connections audited and logged diff --git a/e2etests/testdata/stable/text_font_sizes/dagre/sketch.exp.svg b/e2etests/testdata/stable/text_font_sizes/dagre/sketch.exp.svg index fdf7dd94d..ee2121974 100644 --- a/e2etests/testdata/stable/text_font_sizes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/text_font_sizes/dagre/sketch.exp.svg @@ -1,26 +1,26 @@ -bearmama bearpapa bear +bearmama bearpapa bear diff --git a/e2etests/testdata/stable/text_font_sizes/elk/sketch.exp.svg b/e2etests/testdata/stable/text_font_sizes/elk/sketch.exp.svg index 2354b424f..163e6761d 100644 --- a/e2etests/testdata/stable/text_font_sizes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/text_font_sizes/elk/sketch.exp.svg @@ -1,26 +1,26 @@ -bearmama bearpapa bear +bearmama bearpapa bear diff --git a/e2etests/testdata/stable/tooltips/dagre/sketch.exp.svg b/e2etests/testdata/stable/tooltips/dagre/sketch.exp.svg index ececdc692..15bc67ee6 100644 --- a/e2etests/testdata/stable/tooltips/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/tooltips/dagre/sketch.exp.svg @@ -1,4 +1,4 @@ - - -cube - - + .d2-1269925474 .fill-N1{fill:#0A0F25;} + .d2-1269925474 .fill-N2{fill:#676C7E;} + .d2-1269925474 .fill-N3{fill:#9499AB;} + .d2-1269925474 .fill-N4{fill:#CFD2DD;} + .d2-1269925474 .fill-N5{fill:#DEE1EB;} + .d2-1269925474 .fill-N6{fill:#EEF1F8;} + .d2-1269925474 .fill-N7{fill:#FFFFFF;} + .d2-1269925474 .fill-B1{fill:#0D32B2;} + .d2-1269925474 .fill-B2{fill:#0D32B2;} + .d2-1269925474 .fill-B3{fill:#E3E9FD;} + .d2-1269925474 .fill-B4{fill:#E3E9FD;} + .d2-1269925474 .fill-B5{fill:#EDF0FD;} + .d2-1269925474 .fill-B6{fill:#F7F8FE;} + .d2-1269925474 .fill-AA2{fill:#4A6FF3;} + .d2-1269925474 .fill-AA4{fill:#EDF0FD;} + .d2-1269925474 .fill-AA5{fill:#F7F8FE;} + .d2-1269925474 .fill-AB4{fill:#EDF0FD;} + .d2-1269925474 .fill-AB5{fill:#F7F8FE;} + .d2-1269925474 .stroke-N1{stroke:#0A0F25;} + .d2-1269925474 .stroke-N2{stroke:#676C7E;} + .d2-1269925474 .stroke-N3{stroke:#9499AB;} + .d2-1269925474 .stroke-N4{stroke:#CFD2DD;} + .d2-1269925474 .stroke-N5{stroke:#DEE1EB;} + .d2-1269925474 .stroke-N6{stroke:#EEF1F8;} + .d2-1269925474 .stroke-N7{stroke:#FFFFFF;} + .d2-1269925474 .stroke-B1{stroke:#0D32B2;} + .d2-1269925474 .stroke-B2{stroke:#0D32B2;} + .d2-1269925474 .stroke-B3{stroke:#E3E9FD;} + .d2-1269925474 .stroke-B4{stroke:#E3E9FD;} + .d2-1269925474 .stroke-B5{stroke:#EDF0FD;} + .d2-1269925474 .stroke-B6{stroke:#F7F8FE;} + .d2-1269925474 .stroke-AA2{stroke:#4A6FF3;} + .d2-1269925474 .stroke-AA4{stroke:#EDF0FD;} + .d2-1269925474 .stroke-AA5{stroke:#F7F8FE;} + .d2-1269925474 .stroke-AB4{stroke:#EDF0FD;} + .d2-1269925474 .stroke-AB5{stroke:#F7F8FE;} + .d2-1269925474 .background-color-N1{background-color:#0A0F25;} + .d2-1269925474 .background-color-N2{background-color:#676C7E;} + .d2-1269925474 .background-color-N3{background-color:#9499AB;} + .d2-1269925474 .background-color-N4{background-color:#CFD2DD;} + .d2-1269925474 .background-color-N5{background-color:#DEE1EB;} + .d2-1269925474 .background-color-N6{background-color:#EEF1F8;} + .d2-1269925474 .background-color-N7{background-color:#FFFFFF;} + .d2-1269925474 .background-color-B1{background-color:#0D32B2;} + .d2-1269925474 .background-color-B2{background-color:#0D32B2;} + .d2-1269925474 .background-color-B3{background-color:#E3E9FD;} + .d2-1269925474 .background-color-B4{background-color:#E3E9FD;} + .d2-1269925474 .background-color-B5{background-color:#EDF0FD;} + .d2-1269925474 .background-color-B6{background-color:#F7F8FE;} + .d2-1269925474 .background-color-AA2{background-color:#4A6FF3;} + .d2-1269925474 .background-color-AA4{background-color:#EDF0FD;} + .d2-1269925474 .background-color-AA5{background-color:#F7F8FE;} + .d2-1269925474 .background-color-AB4{background-color:#EDF0FD;} + .d2-1269925474 .background-color-AB5{background-color:#F7F8FE;} + .d2-1269925474 .color-N1{color:#0A0F25;} + .d2-1269925474 .color-N2{color:#676C7E;} + .d2-1269925474 .color-N3{color:#9499AB;} + .d2-1269925474 .color-N4{color:#CFD2DD;} + .d2-1269925474 .color-N5{color:#DEE1EB;} + .d2-1269925474 .color-N6{color:#EEF1F8;} + .d2-1269925474 .color-N7{color:#FFFFFF;} + .d2-1269925474 .color-B1{color:#0D32B2;} + .d2-1269925474 .color-B2{color:#0D32B2;} + .d2-1269925474 .color-B3{color:#E3E9FD;} + .d2-1269925474 .color-B4{color:#E3E9FD;} + .d2-1269925474 .color-B5{color:#EDF0FD;} + .d2-1269925474 .color-B6{color:#F7F8FE;} + .d2-1269925474 .color-AA2{color:#4A6FF3;} + .d2-1269925474 .color-AA4{color:#EDF0FD;} + .d2-1269925474 .color-AA5{color:#F7F8FE;} + .d2-1269925474 .color-AB4{color:#EDF0FD;} + .d2-1269925474 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> + +cube + + \ No newline at end of file diff --git a/e2etests/testdata/stable/transparent_3d/elk/sketch.exp.svg b/e2etests/testdata/stable/transparent_3d/elk/sketch.exp.svg index 53423ee6a..599dd810f 100644 --- a/e2etests/testdata/stable/transparent_3d/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/transparent_3d/elk/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-3162970690 .fill-N1{fill:#0A0F25;} + .d2-3162970690 .fill-N2{fill:#676C7E;} + .d2-3162970690 .fill-N3{fill:#9499AB;} + .d2-3162970690 .fill-N4{fill:#CFD2DD;} + .d2-3162970690 .fill-N5{fill:#DEE1EB;} + .d2-3162970690 .fill-N6{fill:#EEF1F8;} + .d2-3162970690 .fill-N7{fill:#FFFFFF;} + .d2-3162970690 .fill-B1{fill:#0D32B2;} + .d2-3162970690 .fill-B2{fill:#0D32B2;} + .d2-3162970690 .fill-B3{fill:#E3E9FD;} + .d2-3162970690 .fill-B4{fill:#E3E9FD;} + .d2-3162970690 .fill-B5{fill:#EDF0FD;} + .d2-3162970690 .fill-B6{fill:#F7F8FE;} + .d2-3162970690 .fill-AA2{fill:#4A6FF3;} + .d2-3162970690 .fill-AA4{fill:#EDF0FD;} + .d2-3162970690 .fill-AA5{fill:#F7F8FE;} + .d2-3162970690 .fill-AB4{fill:#EDF0FD;} + .d2-3162970690 .fill-AB5{fill:#F7F8FE;} + .d2-3162970690 .stroke-N1{stroke:#0A0F25;} + .d2-3162970690 .stroke-N2{stroke:#676C7E;} + .d2-3162970690 .stroke-N3{stroke:#9499AB;} + .d2-3162970690 .stroke-N4{stroke:#CFD2DD;} + .d2-3162970690 .stroke-N5{stroke:#DEE1EB;} + .d2-3162970690 .stroke-N6{stroke:#EEF1F8;} + .d2-3162970690 .stroke-N7{stroke:#FFFFFF;} + .d2-3162970690 .stroke-B1{stroke:#0D32B2;} + .d2-3162970690 .stroke-B2{stroke:#0D32B2;} + .d2-3162970690 .stroke-B3{stroke:#E3E9FD;} + .d2-3162970690 .stroke-B4{stroke:#E3E9FD;} + .d2-3162970690 .stroke-B5{stroke:#EDF0FD;} + .d2-3162970690 .stroke-B6{stroke:#F7F8FE;} + .d2-3162970690 .stroke-AA2{stroke:#4A6FF3;} + .d2-3162970690 .stroke-AA4{stroke:#EDF0FD;} + .d2-3162970690 .stroke-AA5{stroke:#F7F8FE;} + .d2-3162970690 .stroke-AB4{stroke:#EDF0FD;} + .d2-3162970690 .stroke-AB5{stroke:#F7F8FE;} + .d2-3162970690 .background-color-N1{background-color:#0A0F25;} + .d2-3162970690 .background-color-N2{background-color:#676C7E;} + .d2-3162970690 .background-color-N3{background-color:#9499AB;} + .d2-3162970690 .background-color-N4{background-color:#CFD2DD;} + .d2-3162970690 .background-color-N5{background-color:#DEE1EB;} + .d2-3162970690 .background-color-N6{background-color:#EEF1F8;} + .d2-3162970690 .background-color-N7{background-color:#FFFFFF;} + .d2-3162970690 .background-color-B1{background-color:#0D32B2;} + .d2-3162970690 .background-color-B2{background-color:#0D32B2;} + .d2-3162970690 .background-color-B3{background-color:#E3E9FD;} + .d2-3162970690 .background-color-B4{background-color:#E3E9FD;} + .d2-3162970690 .background-color-B5{background-color:#EDF0FD;} + .d2-3162970690 .background-color-B6{background-color:#F7F8FE;} + .d2-3162970690 .background-color-AA2{background-color:#4A6FF3;} + .d2-3162970690 .background-color-AA4{background-color:#EDF0FD;} + .d2-3162970690 .background-color-AA5{background-color:#F7F8FE;} + .d2-3162970690 .background-color-AB4{background-color:#EDF0FD;} + .d2-3162970690 .background-color-AB5{background-color:#F7F8FE;} + .d2-3162970690 .color-N1{color:#0A0F25;} + .d2-3162970690 .color-N2{color:#676C7E;} + .d2-3162970690 .color-N3{color:#9499AB;} + .d2-3162970690 .color-N4{color:#CFD2DD;} + .d2-3162970690 .color-N5{color:#DEE1EB;} + .d2-3162970690 .color-N6{color:#EEF1F8;} + .d2-3162970690 .color-N7{color:#FFFFFF;} + .d2-3162970690 .color-B1{color:#0D32B2;} + .d2-3162970690 .color-B2{color:#0D32B2;} + .d2-3162970690 .color-B3{color:#E3E9FD;} + .d2-3162970690 .color-B4{color:#E3E9FD;} + .d2-3162970690 .color-B5{color:#EDF0FD;} + .d2-3162970690 .color-B6{color:#F7F8FE;} + .d2-3162970690 .color-AA2{color:#4A6FF3;} + .d2-3162970690 .color-AA4{color:#EDF0FD;} + .d2-3162970690 .color-AA5{color:#F7F8FE;} + .d2-3162970690 .color-AB4{color:#EDF0FD;} + .d2-3162970690 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> -cube +cube \ No newline at end of file diff --git a/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg index 6ba54fa65..5eb8be596 100644 --- a/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ --numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 + .d2-4206423234 .fill-N1{fill:#0A0F25;} + .d2-4206423234 .fill-N2{fill:#676C7E;} + .d2-4206423234 .fill-N3{fill:#9499AB;} + .d2-4206423234 .fill-N4{fill:#CFD2DD;} + .d2-4206423234 .fill-N5{fill:#DEE1EB;} + .d2-4206423234 .fill-N6{fill:#EEF1F8;} + .d2-4206423234 .fill-N7{fill:#FFFFFF;} + .d2-4206423234 .fill-B1{fill:#0D32B2;} + .d2-4206423234 .fill-B2{fill:#0D32B2;} + .d2-4206423234 .fill-B3{fill:#E3E9FD;} + .d2-4206423234 .fill-B4{fill:#E3E9FD;} + .d2-4206423234 .fill-B5{fill:#EDF0FD;} + .d2-4206423234 .fill-B6{fill:#F7F8FE;} + .d2-4206423234 .fill-AA2{fill:#4A6FF3;} + .d2-4206423234 .fill-AA4{fill:#EDF0FD;} + .d2-4206423234 .fill-AA5{fill:#F7F8FE;} + .d2-4206423234 .fill-AB4{fill:#EDF0FD;} + .d2-4206423234 .fill-AB5{fill:#F7F8FE;} + .d2-4206423234 .stroke-N1{stroke:#0A0F25;} + .d2-4206423234 .stroke-N2{stroke:#676C7E;} + .d2-4206423234 .stroke-N3{stroke:#9499AB;} + .d2-4206423234 .stroke-N4{stroke:#CFD2DD;} + .d2-4206423234 .stroke-N5{stroke:#DEE1EB;} + .d2-4206423234 .stroke-N6{stroke:#EEF1F8;} + .d2-4206423234 .stroke-N7{stroke:#FFFFFF;} + .d2-4206423234 .stroke-B1{stroke:#0D32B2;} + .d2-4206423234 .stroke-B2{stroke:#0D32B2;} + .d2-4206423234 .stroke-B3{stroke:#E3E9FD;} + .d2-4206423234 .stroke-B4{stroke:#E3E9FD;} + .d2-4206423234 .stroke-B5{stroke:#EDF0FD;} + .d2-4206423234 .stroke-B6{stroke:#F7F8FE;} + .d2-4206423234 .stroke-AA2{stroke:#4A6FF3;} + .d2-4206423234 .stroke-AA4{stroke:#EDF0FD;} + .d2-4206423234 .stroke-AA5{stroke:#F7F8FE;} + .d2-4206423234 .stroke-AB4{stroke:#EDF0FD;} + .d2-4206423234 .stroke-AB5{stroke:#F7F8FE;} + .d2-4206423234 .background-color-N1{background-color:#0A0F25;} + .d2-4206423234 .background-color-N2{background-color:#676C7E;} + .d2-4206423234 .background-color-N3{background-color:#9499AB;} + .d2-4206423234 .background-color-N4{background-color:#CFD2DD;} + .d2-4206423234 .background-color-N5{background-color:#DEE1EB;} + .d2-4206423234 .background-color-N6{background-color:#EEF1F8;} + .d2-4206423234 .background-color-N7{background-color:#FFFFFF;} + .d2-4206423234 .background-color-B1{background-color:#0D32B2;} + .d2-4206423234 .background-color-B2{background-color:#0D32B2;} + .d2-4206423234 .background-color-B3{background-color:#E3E9FD;} + .d2-4206423234 .background-color-B4{background-color:#E3E9FD;} + .d2-4206423234 .background-color-B5{background-color:#EDF0FD;} + .d2-4206423234 .background-color-B6{background-color:#F7F8FE;} + .d2-4206423234 .background-color-AA2{background-color:#4A6FF3;} + .d2-4206423234 .background-color-AA4{background-color:#EDF0FD;} + .d2-4206423234 .background-color-AA5{background-color:#F7F8FE;} + .d2-4206423234 .background-color-AB4{background-color:#EDF0FD;} + .d2-4206423234 .background-color-AB5{background-color:#F7F8FE;} + .d2-4206423234 .color-N1{color:#0A0F25;} + .d2-4206423234 .color-N2{color:#676C7E;} + .d2-4206423234 .color-N3{color:#9499AB;} + .d2-4206423234 .color-N4{color:#CFD2DD;} + .d2-4206423234 .color-N5{color:#DEE1EB;} + .d2-4206423234 .color-N6{color:#EEF1F8;} + .d2-4206423234 .color-N7{color:#FFFFFF;} + .d2-4206423234 .color-B1{color:#0D32B2;} + .d2-4206423234 .color-B2{color:#0D32B2;} + .d2-4206423234 .color-B3{color:#E3E9FD;} + .d2-4206423234 .color-B4{color:#E3E9FD;} + .d2-4206423234 .color-B5{color:#EDF0FD;} + .d2-4206423234 .color-B6{color:#F7F8FE;} + .d2-4206423234 .color-AA2{color:#4A6FF3;} + .d2-4206423234 .color-AA4{color:#EDF0FD;} + .d2-4206423234 .color-AA5{color:#F7F8FE;} + .d2-4206423234 .color-AB4{color:#EDF0FD;} + .d2-4206423234 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b) +fmt.Printf("%d", b) \ No newline at end of file diff --git a/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg index 2d6a6d688..907eaebce 100644 --- a/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg @@ -1,23 +1,23 @@ --numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 + .d2-197062209 .fill-N1{fill:#0A0F25;} + .d2-197062209 .fill-N2{fill:#676C7E;} + .d2-197062209 .fill-N3{fill:#9499AB;} + .d2-197062209 .fill-N4{fill:#CFD2DD;} + .d2-197062209 .fill-N5{fill:#DEE1EB;} + .d2-197062209 .fill-N6{fill:#EEF1F8;} + .d2-197062209 .fill-N7{fill:#FFFFFF;} + .d2-197062209 .fill-B1{fill:#0D32B2;} + .d2-197062209 .fill-B2{fill:#0D32B2;} + .d2-197062209 .fill-B3{fill:#E3E9FD;} + .d2-197062209 .fill-B4{fill:#E3E9FD;} + .d2-197062209 .fill-B5{fill:#EDF0FD;} + .d2-197062209 .fill-B6{fill:#F7F8FE;} + .d2-197062209 .fill-AA2{fill:#4A6FF3;} + .d2-197062209 .fill-AA4{fill:#EDF0FD;} + .d2-197062209 .fill-AA5{fill:#F7F8FE;} + .d2-197062209 .fill-AB4{fill:#EDF0FD;} + .d2-197062209 .fill-AB5{fill:#F7F8FE;} + .d2-197062209 .stroke-N1{stroke:#0A0F25;} + .d2-197062209 .stroke-N2{stroke:#676C7E;} + .d2-197062209 .stroke-N3{stroke:#9499AB;} + .d2-197062209 .stroke-N4{stroke:#CFD2DD;} + .d2-197062209 .stroke-N5{stroke:#DEE1EB;} + .d2-197062209 .stroke-N6{stroke:#EEF1F8;} + .d2-197062209 .stroke-N7{stroke:#FFFFFF;} + .d2-197062209 .stroke-B1{stroke:#0D32B2;} + .d2-197062209 .stroke-B2{stroke:#0D32B2;} + .d2-197062209 .stroke-B3{stroke:#E3E9FD;} + .d2-197062209 .stroke-B4{stroke:#E3E9FD;} + .d2-197062209 .stroke-B5{stroke:#EDF0FD;} + .d2-197062209 .stroke-B6{stroke:#F7F8FE;} + .d2-197062209 .stroke-AA2{stroke:#4A6FF3;} + .d2-197062209 .stroke-AA4{stroke:#EDF0FD;} + .d2-197062209 .stroke-AA5{stroke:#F7F8FE;} + .d2-197062209 .stroke-AB4{stroke:#EDF0FD;} + .d2-197062209 .stroke-AB5{stroke:#F7F8FE;} + .d2-197062209 .background-color-N1{background-color:#0A0F25;} + .d2-197062209 .background-color-N2{background-color:#676C7E;} + .d2-197062209 .background-color-N3{background-color:#9499AB;} + .d2-197062209 .background-color-N4{background-color:#CFD2DD;} + .d2-197062209 .background-color-N5{background-color:#DEE1EB;} + .d2-197062209 .background-color-N6{background-color:#EEF1F8;} + .d2-197062209 .background-color-N7{background-color:#FFFFFF;} + .d2-197062209 .background-color-B1{background-color:#0D32B2;} + .d2-197062209 .background-color-B2{background-color:#0D32B2;} + .d2-197062209 .background-color-B3{background-color:#E3E9FD;} + .d2-197062209 .background-color-B4{background-color:#E3E9FD;} + .d2-197062209 .background-color-B5{background-color:#EDF0FD;} + .d2-197062209 .background-color-B6{background-color:#F7F8FE;} + .d2-197062209 .background-color-AA2{background-color:#4A6FF3;} + .d2-197062209 .background-color-AA4{background-color:#EDF0FD;} + .d2-197062209 .background-color-AA5{background-color:#F7F8FE;} + .d2-197062209 .background-color-AB4{background-color:#EDF0FD;} + .d2-197062209 .background-color-AB5{background-color:#F7F8FE;} + .d2-197062209 .color-N1{color:#0A0F25;} + .d2-197062209 .color-N2{color:#676C7E;} + .d2-197062209 .color-N3{color:#9499AB;} + .d2-197062209 .color-N4{color:#CFD2DD;} + .d2-197062209 .color-N5{color:#DEE1EB;} + .d2-197062209 .color-N6{color:#EEF1F8;} + .d2-197062209 .color-N7{color:#FFFFFF;} + .d2-197062209 .color-B1{color:#0D32B2;} + .d2-197062209 .color-B2{color:#0D32B2;} + .d2-197062209 .color-B3{color:#E3E9FD;} + .d2-197062209 .color-B4{color:#E3E9FD;} + .d2-197062209 .color-B5{color:#EDF0FD;} + .d2-197062209 .color-B6{color:#F7F8FE;} + .d2-197062209 .color-AA2{color:#4A6FF3;} + .d2-197062209 .color-AA4{color:#EDF0FD;} + .d2-197062209 .color-AA5{color:#F7F8FE;} + .d2-197062209 .color-AB4{color:#EDF0FD;} + .d2-197062209 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b) +fmt.Printf("%d", b) \ No newline at end of file diff --git a/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg index 04ccf3de6..92c38ae22 100644 --- a/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ --numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 + .d2-2056966260 .fill-N1{fill:#0A0F25;} + .d2-2056966260 .fill-N2{fill:#676C7E;} + .d2-2056966260 .fill-N3{fill:#9499AB;} + .d2-2056966260 .fill-N4{fill:#CFD2DD;} + .d2-2056966260 .fill-N5{fill:#DEE1EB;} + .d2-2056966260 .fill-N6{fill:#EEF1F8;} + .d2-2056966260 .fill-N7{fill:#FFFFFF;} + .d2-2056966260 .fill-B1{fill:#0D32B2;} + .d2-2056966260 .fill-B2{fill:#0D32B2;} + .d2-2056966260 .fill-B3{fill:#E3E9FD;} + .d2-2056966260 .fill-B4{fill:#E3E9FD;} + .d2-2056966260 .fill-B5{fill:#EDF0FD;} + .d2-2056966260 .fill-B6{fill:#F7F8FE;} + .d2-2056966260 .fill-AA2{fill:#4A6FF3;} + .d2-2056966260 .fill-AA4{fill:#EDF0FD;} + .d2-2056966260 .fill-AA5{fill:#F7F8FE;} + .d2-2056966260 .fill-AB4{fill:#EDF0FD;} + .d2-2056966260 .fill-AB5{fill:#F7F8FE;} + .d2-2056966260 .stroke-N1{stroke:#0A0F25;} + .d2-2056966260 .stroke-N2{stroke:#676C7E;} + .d2-2056966260 .stroke-N3{stroke:#9499AB;} + .d2-2056966260 .stroke-N4{stroke:#CFD2DD;} + .d2-2056966260 .stroke-N5{stroke:#DEE1EB;} + .d2-2056966260 .stroke-N6{stroke:#EEF1F8;} + .d2-2056966260 .stroke-N7{stroke:#FFFFFF;} + .d2-2056966260 .stroke-B1{stroke:#0D32B2;} + .d2-2056966260 .stroke-B2{stroke:#0D32B2;} + .d2-2056966260 .stroke-B3{stroke:#E3E9FD;} + .d2-2056966260 .stroke-B4{stroke:#E3E9FD;} + .d2-2056966260 .stroke-B5{stroke:#EDF0FD;} + .d2-2056966260 .stroke-B6{stroke:#F7F8FE;} + .d2-2056966260 .stroke-AA2{stroke:#4A6FF3;} + .d2-2056966260 .stroke-AA4{stroke:#EDF0FD;} + .d2-2056966260 .stroke-AA5{stroke:#F7F8FE;} + .d2-2056966260 .stroke-AB4{stroke:#EDF0FD;} + .d2-2056966260 .stroke-AB5{stroke:#F7F8FE;} + .d2-2056966260 .background-color-N1{background-color:#0A0F25;} + .d2-2056966260 .background-color-N2{background-color:#676C7E;} + .d2-2056966260 .background-color-N3{background-color:#9499AB;} + .d2-2056966260 .background-color-N4{background-color:#CFD2DD;} + .d2-2056966260 .background-color-N5{background-color:#DEE1EB;} + .d2-2056966260 .background-color-N6{background-color:#EEF1F8;} + .d2-2056966260 .background-color-N7{background-color:#FFFFFF;} + .d2-2056966260 .background-color-B1{background-color:#0D32B2;} + .d2-2056966260 .background-color-B2{background-color:#0D32B2;} + .d2-2056966260 .background-color-B3{background-color:#E3E9FD;} + .d2-2056966260 .background-color-B4{background-color:#E3E9FD;} + .d2-2056966260 .background-color-B5{background-color:#EDF0FD;} + .d2-2056966260 .background-color-B6{background-color:#F7F8FE;} + .d2-2056966260 .background-color-AA2{background-color:#4A6FF3;} + .d2-2056966260 .background-color-AA4{background-color:#EDF0FD;} + .d2-2056966260 .background-color-AA5{background-color:#F7F8FE;} + .d2-2056966260 .background-color-AB4{background-color:#EDF0FD;} + .d2-2056966260 .background-color-AB5{background-color:#F7F8FE;} + .d2-2056966260 .color-N1{color:#0A0F25;} + .d2-2056966260 .color-N2{color:#676C7E;} + .d2-2056966260 .color-N3{color:#9499AB;} + .d2-2056966260 .color-N4{color:#CFD2DD;} + .d2-2056966260 .color-N5{color:#DEE1EB;} + .d2-2056966260 .color-N6{color:#EEF1F8;} + .d2-2056966260 .color-N7{color:#FFFFFF;} + .d2-2056966260 .color-B1{color:#0D32B2;} + .d2-2056966260 .color-B2{color:#0D32B2;} + .d2-2056966260 .color-B3{color:#E3E9FD;} + .d2-2056966260 .color-B4{color:#E3E9FD;} + .d2-2056966260 .color-B5{color:#EDF0FD;} + .d2-2056966260 .color-B6{color:#F7F8FE;} + .d2-2056966260 .color-AA2{color:#4A6FF3;} + .d2-2056966260 .color-AA4{color:#EDF0FD;} + .d2-2056966260 .color-AA5{color:#F7F8FE;} + .d2-2056966260 .color-AB4{color:#EDF0FD;} + .d2-2056966260 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b) +fmt.Printf("%d", b) \ No newline at end of file diff --git a/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg index 39fe80c54..73b35255d 100644 --- a/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg @@ -1,23 +1,23 @@ --numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 + .d2-933844085 .fill-N1{fill:#0A0F25;} + .d2-933844085 .fill-N2{fill:#676C7E;} + .d2-933844085 .fill-N3{fill:#9499AB;} + .d2-933844085 .fill-N4{fill:#CFD2DD;} + .d2-933844085 .fill-N5{fill:#DEE1EB;} + .d2-933844085 .fill-N6{fill:#EEF1F8;} + .d2-933844085 .fill-N7{fill:#FFFFFF;} + .d2-933844085 .fill-B1{fill:#0D32B2;} + .d2-933844085 .fill-B2{fill:#0D32B2;} + .d2-933844085 .fill-B3{fill:#E3E9FD;} + .d2-933844085 .fill-B4{fill:#E3E9FD;} + .d2-933844085 .fill-B5{fill:#EDF0FD;} + .d2-933844085 .fill-B6{fill:#F7F8FE;} + .d2-933844085 .fill-AA2{fill:#4A6FF3;} + .d2-933844085 .fill-AA4{fill:#EDF0FD;} + .d2-933844085 .fill-AA5{fill:#F7F8FE;} + .d2-933844085 .fill-AB4{fill:#EDF0FD;} + .d2-933844085 .fill-AB5{fill:#F7F8FE;} + .d2-933844085 .stroke-N1{stroke:#0A0F25;} + .d2-933844085 .stroke-N2{stroke:#676C7E;} + .d2-933844085 .stroke-N3{stroke:#9499AB;} + .d2-933844085 .stroke-N4{stroke:#CFD2DD;} + .d2-933844085 .stroke-N5{stroke:#DEE1EB;} + .d2-933844085 .stroke-N6{stroke:#EEF1F8;} + .d2-933844085 .stroke-N7{stroke:#FFFFFF;} + .d2-933844085 .stroke-B1{stroke:#0D32B2;} + .d2-933844085 .stroke-B2{stroke:#0D32B2;} + .d2-933844085 .stroke-B3{stroke:#E3E9FD;} + .d2-933844085 .stroke-B4{stroke:#E3E9FD;} + .d2-933844085 .stroke-B5{stroke:#EDF0FD;} + .d2-933844085 .stroke-B6{stroke:#F7F8FE;} + .d2-933844085 .stroke-AA2{stroke:#4A6FF3;} + .d2-933844085 .stroke-AA4{stroke:#EDF0FD;} + .d2-933844085 .stroke-AA5{stroke:#F7F8FE;} + .d2-933844085 .stroke-AB4{stroke:#EDF0FD;} + .d2-933844085 .stroke-AB5{stroke:#F7F8FE;} + .d2-933844085 .background-color-N1{background-color:#0A0F25;} + .d2-933844085 .background-color-N2{background-color:#676C7E;} + .d2-933844085 .background-color-N3{background-color:#9499AB;} + .d2-933844085 .background-color-N4{background-color:#CFD2DD;} + .d2-933844085 .background-color-N5{background-color:#DEE1EB;} + .d2-933844085 .background-color-N6{background-color:#EEF1F8;} + .d2-933844085 .background-color-N7{background-color:#FFFFFF;} + .d2-933844085 .background-color-B1{background-color:#0D32B2;} + .d2-933844085 .background-color-B2{background-color:#0D32B2;} + .d2-933844085 .background-color-B3{background-color:#E3E9FD;} + .d2-933844085 .background-color-B4{background-color:#E3E9FD;} + .d2-933844085 .background-color-B5{background-color:#EDF0FD;} + .d2-933844085 .background-color-B6{background-color:#F7F8FE;} + .d2-933844085 .background-color-AA2{background-color:#4A6FF3;} + .d2-933844085 .background-color-AA4{background-color:#EDF0FD;} + .d2-933844085 .background-color-AA5{background-color:#F7F8FE;} + .d2-933844085 .background-color-AB4{background-color:#EDF0FD;} + .d2-933844085 .background-color-AB5{background-color:#F7F8FE;} + .d2-933844085 .color-N1{color:#0A0F25;} + .d2-933844085 .color-N2{color:#676C7E;} + .d2-933844085 .color-N3{color:#9499AB;} + .d2-933844085 .color-N4{color:#CFD2DD;} + .d2-933844085 .color-N5{color:#DEE1EB;} + .d2-933844085 .color-N6{color:#EEF1F8;} + .d2-933844085 .color-N7{color:#FFFFFF;} + .d2-933844085 .color-B1{color:#0D32B2;} + .d2-933844085 .color-B2{color:#0D32B2;} + .d2-933844085 .color-B3{color:#E3E9FD;} + .d2-933844085 .color-B4{color:#E3E9FD;} + .d2-933844085 .color-B5{color:#EDF0FD;} + .d2-933844085 .color-B6{color:#F7F8FE;} + .d2-933844085 .color-AA2{color:#4A6FF3;} + .d2-933844085 .color-AA4{color:#EDF0FD;} + .d2-933844085 .color-AA5{color:#F7F8FE;} + .d2-933844085 .color-AB4{color:#EDF0FD;} + .d2-933844085 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetime:= 5 := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b) +fmt.Printf("%d", b) \ No newline at end of file diff --git a/e2etests/testdata/stable/us_map/dagre/board.exp.json b/e2etests/testdata/stable/us_map/dagre/board.exp.json index 0be51c4cc..3526ab0f8 100644 --- a/e2etests/testdata/stable/us_map/dagre/board.exp.json +++ b/e2etests/testdata/stable/us_map/dagre/board.exp.json @@ -2127,11 +2127,11 @@ "labelPercentage": 0, "route": [ { - "x": 29.02400016784668, + "x": 29, "y": 398 }, { - "x": 24.20400047302246, + "x": 24.200000762939453, "y": 438 }, { @@ -2174,11 +2174,11 @@ "labelPercentage": 0, "route": [ { - "x": 29.02400016784668, + "x": 29, "y": 564 }, { - "x": 24.20400047302246, + "x": 24.200000762939453, "y": 604 }, { @@ -2221,11 +2221,11 @@ "labelPercentage": 0, "route": [ { - "x": 1025.009033203125, + "x": 1025.25, "y": 730 }, { - "x": 993.2009887695312, + "x": 993.25, "y": 770 }, { @@ -2399,12 +2399,12 @@ "labelPercentage": 0, "route": [ { - "x": 261, - "y": 876.2059936523438 + "x": 261.25, + "y": 876 }, { - "x": 123.5999984741211, - "y": 932.041015625 + "x": 123.6500015258789, + "y": 932 }, { "x": 148.64999389648438, @@ -2446,12 +2446,12 @@ "labelPercentage": 0, "route": [ { - "x": 386.25, - "y": 1054.508056640625 + "x": 386, + "y": 1055 }, { - "x": 327.6499938964844, - "y": 1100.5009765625 + "x": 327.6000061035156, + "y": 1100.5999755859375 }, { "x": 419.3999938964844, @@ -2493,11 +2493,11 @@ "labelPercentage": 0, "route": [ { - "x": 863.4869995117188, + "x": 863.5, "y": 1228 }, { - "x": 845.89697265625, + "x": 845.9000244140625, "y": 1268 }, { @@ -2599,11 +2599,11 @@ "labelPercentage": 0, "route": [ { - "x": 1040.3759765625, + "x": 1040.75, "y": 564 }, { - "x": 1015.0750122070312, + "x": 1015.1500244140625, "y": 604 }, { @@ -2646,11 +2646,11 @@ "labelPercentage": 0, "route": [ { - "x": 1034.2530517578125, + "x": 1034.5, "y": 730 }, { - "x": 1013.6500244140625, + "x": 1013.7000122070312, "y": 770 }, { @@ -2823,12 +2823,12 @@ "labelPercentage": 0, "route": [ { - "x": 945.25, - "y": 1556.759033203125 + "x": 945, + "y": 1557 }, { - "x": 899.4500122070312, - "y": 1599.3509521484375 + "x": 899.4000244140625, + "y": 1599.4000244140625 }, { "x": 939, @@ -2870,12 +2870,12 @@ "labelPercentage": 0, "route": [ { - "x": 326, - "y": 893.2239990234375 + "x": 325.75, + "y": 893 }, { - "x": 371.3999938964844, - "y": 935.4439697265625 + "x": 371.3500061035156, + "y": 935.4000244140625 }, { "x": 387.1499938964844, @@ -2917,12 +2917,12 @@ "labelPercentage": 0, "route": [ { - "x": 386.25, - "y": 1060.45703125 + "x": 386, + "y": 1061 }, { - "x": 343.6499938964844, - "y": 1101.6910400390625 + "x": 343.6000061035156, + "y": 1101.800048828125 }, { "x": 333, @@ -3023,11 +3023,11 @@ "labelPercentage": 0, "route": [ { - "x": 1297.6739501953125, + "x": 1298, "y": 730 }, { - "x": 1262.7340087890625, + "x": 1262.800048828125, "y": 770 }, { @@ -3082,11 +3082,11 @@ "labelPercentage": 0, "route": [ { - "x": 1399.56005859375, + "x": 1400, "y": 1062 }, { - "x": 1377.511962890625, + "x": 1377.5999755859375, "y": 1102 }, { @@ -3223,11 +3223,11 @@ "labelPercentage": 0, "route": [ { - "x": 476.197998046875, + "x": 476, "y": 1560 }, { - "x": 446.4389953613281, + "x": 446.3999938964844, "y": 1600 }, { @@ -3329,11 +3329,11 @@ "labelPercentage": 0, "route": [ { - "x": 215.14999389648438, + "x": 215.5, "y": 1062 }, { - "x": 185.02999877929688, + "x": 185.10000610351562, "y": 1102 }, { @@ -3388,11 +3388,11 @@ "labelPercentage": 0, "route": [ { - "x": 370.8760070800781, + "x": 371.25, "y": 1394 }, { - "x": 345.57501220703125, + "x": 345.6499938964844, "y": 1434 }, { @@ -3494,11 +3494,11 @@ "labelPercentage": 0, "route": [ { - "x": 757.9240112304688, + "x": 758.25, "y": 1062 }, { - "x": 722.9840087890625, + "x": 723.0499877929688, "y": 1102 }, { @@ -3541,11 +3541,11 @@ "labelPercentage": 0, "route": [ { - "x": 704.1110229492188, + "x": 703.75, "y": 1228 }, { - "x": 691.822021484375, + "x": 691.75, "y": 1268 }, { @@ -3647,11 +3647,11 @@ "labelPercentage": 0, "route": [ { - "x": 36.974998474121094, + "x": 37, "y": 564 }, { - "x": 41.79499816894531, + "x": 41.79999923706055, "y": 604 }, { @@ -3754,11 +3754,11 @@ "labelPercentage": 0, "route": [ { - "x": 39.02399826049805, + "x": 39, "y": 1228 }, { - "x": 34.20399856567383, + "x": 34.20000076293945, "y": 1268 }, { @@ -3801,11 +3801,11 @@ "labelPercentage": 0, "route": [ { - "x": 39.02399826049805, + "x": 39, "y": 1394 }, { - "x": 34.20399856567383, + "x": 34.20000076293945, "y": 1434 }, { @@ -3895,11 +3895,11 @@ "labelPercentage": 0, "route": [ { - "x": 1150.68896484375, + "x": 1150.75, "y": 896 }, { - "x": 1122.737060546875, + "x": 1122.75, "y": 936 }, { @@ -3942,11 +3942,11 @@ "labelPercentage": 0, "route": [ { - "x": 405.7279968261719, + "x": 406, "y": 1062 }, { - "x": 389.94500732421875, + "x": 390, "y": 1102 }, { @@ -4189,11 +4189,11 @@ "labelPercentage": 0, "route": [ { - "x": 1829.4329833984375, + "x": 1829.5, "y": 232 }, { - "x": 1812.68603515625, + "x": 1812.699951171875, "y": 272 }, { @@ -4236,11 +4236,11 @@ "labelPercentage": 0, "route": [ { - "x": 1781.0660400390625, + "x": 1781.5, "y": 398 }, { - "x": 1747.81298828125, + "x": 1747.9000244140625, "y": 438 }, { @@ -4283,12 +4283,12 @@ "labelPercentage": 0, "route": [ { - "x": 1709, - "y": 544.0989990234375 + "x": 1709.25, + "y": 544 }, { - "x": 1578.800048828125, - "y": 600.0189819335938 + "x": 1578.8499755859375, + "y": 600 }, { "x": 1590.699951171875, @@ -4330,11 +4330,11 @@ "labelPercentage": 0, "route": [ { - "x": 1779.9210205078125, + "x": 1779.5, "y": 730 }, { - "x": 1755.583984375, + "x": 1755.5, "y": 770 }, { @@ -4460,12 +4460,12 @@ "labelPercentage": 0, "route": [ { - "x": 1872.75, - "y": 219.11000061035156 + "x": 1873, + "y": 219 }, { - "x": 1946.550048828125, - "y": 269.4219970703125 + "x": 1946.5999755859375, + "y": 269.3999938964844 }, { "x": 1965, @@ -4543,11 +4543,11 @@ "labelPercentage": 0, "route": [ { - "x": 1818.9840087890625, + "x": 1818.75, "y": 664 }, { - "x": 1841.9959716796875, + "x": 1841.949951171875, "y": 624 }, { @@ -4590,11 +4590,11 @@ "labelPercentage": 0, "route": [ { - "x": 1725.2860107421875, + "x": 1725.75, "y": 564 }, { - "x": 1708.0570068359375, + "x": 1708.1500244140625, "y": 604 }, { @@ -4697,12 +4697,12 @@ "labelPercentage": 0, "route": [ { - "x": 1838, - "y": 386.9100036621094 + "x": 1838.25, + "y": 387 }, { - "x": 1903.800048828125, - "y": 435.7820129394531 + "x": 1903.8499755859375, + "y": 435.79998779296875 }, { "x": 1920.25, @@ -4756,11 +4756,11 @@ "labelPercentage": 0, "route": [ { - "x": 1900.1500244140625, + "x": 1900.5, "y": 730 }, { - "x": 1870.030029296875, + "x": 1870.0999755859375, "y": 770 }, { @@ -4850,11 +4850,11 @@ "labelPercentage": 0, "route": [ { - "x": 1407.511962890625, + "x": 1408, "y": 1062 }, { - "x": 1395.10205078125, + "x": 1395.199951171875, "y": 1102 }, { @@ -4944,12 +4944,12 @@ "labelPercentage": 0, "route": [ { - "x": 1358, - "y": 725.6519775390625 + "x": 1357.75, + "y": 726 }, { - "x": 1405.800048828125, - "y": 769.1300048828125 + "x": 1405.75, + "y": 769.2000122070312 }, { "x": 1426.550048828125, @@ -4991,11 +4991,11 @@ "labelPercentage": 0, "route": [ { - "x": 1501.3399658203125, + "x": 1501.25, "y": 896 }, { - "x": 1513.2679443359375, + "x": 1513.25, "y": 936 }, { @@ -5097,11 +5097,11 @@ "labelPercentage": 0, "route": [ { - "x": 1816.89697265625, + "x": 1816.5, "y": 730 }, { - "x": 1837.3790283203125, + "x": 1837.300048828125, "y": 770 }, { @@ -5262,11 +5262,11 @@ "labelPercentage": 0, "route": [ { - "x": 949.7160034179688, + "x": 950, "y": 1560 }, { - "x": 916.343017578125, + "x": 916.4000244140625, "y": 1600 }, { @@ -5356,12 +5356,12 @@ "labelPercentage": 0, "route": [ { - "x": 1092.75, - "y": 561.7579956054688 + "x": 1093.25, + "y": 562 }, { - "x": 1135.550048828125, - "y": 603.551025390625 + "x": 1135.6500244140625, + "y": 603.5999755859375 }, { "x": 1133.8499755859375, @@ -5403,11 +5403,11 @@ "labelPercentage": 0, "route": [ { - "x": 1050.4539794921875, + "x": 1050.25, "y": 730 }, { - "x": 1049.489990234375, + "x": 1049.449951171875, "y": 770 }, { @@ -5605,11 +5605,11 @@ "labelPercentage": 0, "route": [ { - "x": 794.0059814453125, + "x": 794, "y": 1062 }, { - "x": 802.801025390625, + "x": 802.7999877929688, "y": 1102 }, { @@ -5782,11 +5782,11 @@ "labelPercentage": 0, "route": [ { - "x": 261.0719909667969, + "x": 261, "y": 1062 }, { - "x": 286.614013671875, + "x": 286.6000061035156, "y": 1102 }, { @@ -5829,11 +5829,11 @@ "labelPercentage": 0, "route": [ { - "x": 535.0120239257812, + "x": 535, "y": 1228 }, { - "x": 512.6019897460938, + "x": 512.5999755859375, "y": 1268 }, { @@ -5876,11 +5876,11 @@ "labelPercentage": 0, "route": [ { - "x": 378.8280029296875, + "x": 379.25, "y": 1394 }, { - "x": 363.1650085449219, + "x": 363.25, "y": 1434 }, { @@ -5935,11 +5935,11 @@ "labelPercentage": 0, "route": [ { - "x": 498.2590026855469, + "x": 498.5, "y": 1726 }, { - "x": 486.45098876953125, + "x": 486.5, "y": 1766 }, { @@ -5982,11 +5982,11 @@ "labelPercentage": 0, "route": [ { - "x": 1768.324951171875, + "x": 1768, "y": 564 }, { - "x": 1803.2650146484375, + "x": 1803.199951171875, "y": 604 }, { @@ -6112,11 +6112,11 @@ "labelPercentage": 0, "route": [ { - "x": 1790.6619873046875, + "x": 1790.5, "y": 1228 }, { - "x": 1788.1319580078125, + "x": 1788.0999755859375, "y": 1268 }, { @@ -6159,11 +6159,11 @@ "labelPercentage": 0, "route": [ { - "x": 1932.9510498046875, + "x": 1933, "y": 730 }, { - "x": 1942.5899658203125, + "x": 1942.5999755859375, "y": 770 }, { @@ -6218,11 +6218,11 @@ "labelPercentage": 0, "route": [ { - "x": 1552.322021484375, + "x": 1552.25, "y": 1062 }, { - "x": 1537.864013671875, + "x": 1537.8499755859375, "y": 1102 }, { @@ -6265,11 +6265,11 @@ "labelPercentage": 0, "route": [ { - "x": 1553.56005859375, + "x": 1554, "y": 1228 }, { - "x": 1531.511962890625, + "x": 1531.5999755859375, "y": 1268 }, { @@ -6312,11 +6312,11 @@ "labelPercentage": 0, "route": [ { - "x": 1058.406005859375, + "x": 1058.25, "y": 730 }, { - "x": 1067.0810546875, + "x": 1067.050048828125, "y": 770 }, { @@ -6490,11 +6490,11 @@ "labelPercentage": 0, "route": [ { - "x": 1425.7010498046875, + "x": 1425.75, "y": 1062 }, { - "x": 1435.3399658203125, + "x": 1435.3499755859375, "y": 1102 }, { @@ -6596,11 +6596,11 @@ "labelPercentage": 0, "route": [ { - "x": 1187.16796875, + "x": 1187.5, "y": 896 }, { - "x": 1203.4329833984375, + "x": 1203.5, "y": 936 }, { @@ -6643,11 +6643,11 @@ "labelPercentage": 0, "route": [ { - "x": 1560.2740478515625, + "x": 1560.25, "y": 1062 }, { - "x": 1555.4539794921875, + "x": 1555.449951171875, "y": 1102 }, { @@ -6797,11 +6797,11 @@ "labelPercentage": 0, "route": [ { - "x": 1443.989990234375, + "x": 1443.75, "y": 1062 }, { - "x": 1475.7979736328125, + "x": 1475.75, "y": 1102 }, { @@ -6844,11 +6844,11 @@ "labelPercentage": 0, "route": [ { - "x": 1588.64697265625, + "x": 1588.25, "y": 1228 }, { - "x": 1609.1290283203125, + "x": 1609.050048828125, "y": 1268 }, { @@ -7057,11 +7057,11 @@ "labelPercentage": 0, "route": [ { - "x": 570.7949829101562, + "x": 571, "y": 1228 }, { - "x": 591.7589721679688, + "x": 591.7999877929688, "y": 1268 }, { @@ -7164,11 +7164,11 @@ "labelPercentage": 0, "route": [ { - "x": 732.239990234375, + "x": 732.5, "y": 1228 }, { - "x": 754.0479736328125, + "x": 754.0999755859375, "y": 1268 }, { @@ -7211,12 +7211,12 @@ "labelPercentage": 0, "route": [ { - "x": 423.75, - "y": 1382.8599853515625 + "x": 424.25, + "y": 1383 }, { - "x": 495.3500061035156, - "y": 1431.77197265625 + "x": 495.45001220703125, + "y": 1431.800048828125 }, { "x": 554.1500244140625, @@ -7258,11 +7258,11 @@ "labelPercentage": 0, "route": [ { - "x": 892.5120239257812, + "x": 892.5, "y": 1228 }, { - "x": 910.1019897460938, + "x": 910.0999755859375, "y": 1268 }, { @@ -7306,11 +7306,11 @@ "route": [ { "x": 1362.75, - "y": 1381.43994140625 + "y": 1382 }, { "x": 1443.550048828125, - "y": 1431.488037109375 + "y": 1431.5999755859375 }, { "x": 1463.75, @@ -7364,12 +7364,12 @@ "labelPercentage": 0, "route": [ { - "x": 423.75, - "y": 1379.77001953125 + "x": 424.25, + "y": 1380 }, { - "x": 511.3500061035156, - "y": 1431.154052734375 + "x": 511.45001220703125, + "y": 1431.199951171875 }, { "x": 570.1500244140625, @@ -7458,11 +7458,11 @@ "labelPercentage": 0, "route": [ { - "x": 517.739990234375, + "x": 517.5, "y": 1726 }, { - "x": 529.5479736328125, + "x": 529.5, "y": 1766 }, { @@ -7505,12 +7505,12 @@ "labelPercentage": 0, "route": [ { - "x": 75, - "y": 1225.010986328125 + "x": 74.5, + "y": 1225 }, { - "x": 120.19999694824219, - "y": 1267.4019775390625 + "x": 120.0999984741211, + "y": 1267.4000244140625 }, { "x": 120.0999984741211, @@ -7552,11 +7552,11 @@ "labelPercentage": 0, "route": [ { - "x": 59.79800033569336, + "x": 60.25, "y": 1394 }, { - "x": 80.15899658203125, + "x": 80.25, "y": 1434 }, { @@ -7599,11 +7599,11 @@ "labelPercentage": 0, "route": [ { - "x": 983.6110229492188, + "x": 983.25, "y": 1560 }, { - "x": 991.322021484375, + "x": 991.25, "y": 1600 }, { @@ -7646,11 +7646,11 @@ "labelPercentage": 0, "route": [ { - "x": 1588.10498046875, + "x": 1588.25, "y": 1062 }, { - "x": 1617.02099609375, + "x": 1617.050048828125, "y": 1102 }, { @@ -7693,11 +7693,11 @@ "labelPercentage": 0, "route": [ { - "x": 1800.7010498046875, + "x": 1800.75, "y": 1228 }, { - "x": 1810.3399658203125, + "x": 1810.3499755859375, "y": 1268 }, { @@ -7752,11 +7752,11 @@ "labelPercentage": 0, "route": [ { - "x": 753.7249755859375, + "x": 753.75, "y": 1560 }, { - "x": 758.5449829101562, + "x": 758.5499877929688, "y": 1600 }, { @@ -7812,11 +7812,11 @@ "route": [ { "x": 1362.75, - "y": 1378.7850341796875 + "y": 1379 }, { "x": 1459.550048828125, - "y": 1430.95703125 + "y": 1431 }, { "x": 1483.75, @@ -7870,11 +7870,11 @@ "labelPercentage": 0, "route": [ { - "x": 287.62298583984375, + "x": 287.25, "y": 1394 }, { - "x": 312.92401123046875, + "x": 312.8500061035156, "y": 1434 }, { @@ -7929,11 +7929,11 @@ "labelPercentage": 0, "route": [ { - "x": 761.677001953125, + "x": 761.75, "y": 1560 }, { - "x": 776.135009765625, + "x": 776.1500244140625, "y": 1600 }, { @@ -7988,11 +7988,11 @@ "labelPercentage": 0, "route": [ { - "x": 1596.5989990234375, + "x": 1596.25, "y": 1228 }, { - "x": 1626.718994140625, + "x": 1626.6500244140625, "y": 1268 }, { @@ -8095,11 +8095,11 @@ "labelPercentage": 0, "route": [ { - "x": 991.56298828125, + "x": 991.25, "y": 1560 }, { - "x": 1008.9119873046875, + "x": 1008.8499755859375, "y": 1600 }, { @@ -8142,11 +8142,11 @@ "labelPercentage": 0, "route": [ { - "x": 531.0659790039062, + "x": 531, "y": 1560 }, { - "x": 567.81298828125, + "x": 567.7999877929688, "y": 1600 }, { @@ -8201,12 +8201,12 @@ "labelPercentage": 0, "route": [ { - "x": 947.75, - "y": 1700.31005859375 + "x": 948.25, + "y": 1700 }, { - "x": 1216.949951171875, - "y": 1760.862060546875 + "x": 1217.050048828125, + "y": 1760.800048828125 }, { "x": 1217.6500244140625, diff --git a/e2etests/testdata/stable/us_map/dagre/sketch.exp.svg b/e2etests/testdata/stable/us_map/dagre/sketch.exp.svg index 84f55ae99..ad49bb674 100644 --- a/e2etests/testdata/stable/us_map/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/us_map/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ALFLGAMSTNAKAZCANVNMUTARLAMOOKTXORCOKSNEWYCTMANYRIDEMDNJPANCSCHIIDMTWAILINIAMIKYWIOHMNSDVAWVMENHVTND + .d2-1802566061 .fill-N1{fill:#0A0F25;} + .d2-1802566061 .fill-N2{fill:#676C7E;} + .d2-1802566061 .fill-N3{fill:#9499AB;} + .d2-1802566061 .fill-N4{fill:#CFD2DD;} + .d2-1802566061 .fill-N5{fill:#DEE1EB;} + .d2-1802566061 .fill-N6{fill:#EEF1F8;} + .d2-1802566061 .fill-N7{fill:#FFFFFF;} + .d2-1802566061 .fill-B1{fill:#0D32B2;} + .d2-1802566061 .fill-B2{fill:#0D32B2;} + .d2-1802566061 .fill-B3{fill:#E3E9FD;} + .d2-1802566061 .fill-B4{fill:#E3E9FD;} + .d2-1802566061 .fill-B5{fill:#EDF0FD;} + .d2-1802566061 .fill-B6{fill:#F7F8FE;} + .d2-1802566061 .fill-AA2{fill:#4A6FF3;} + .d2-1802566061 .fill-AA4{fill:#EDF0FD;} + .d2-1802566061 .fill-AA5{fill:#F7F8FE;} + .d2-1802566061 .fill-AB4{fill:#EDF0FD;} + .d2-1802566061 .fill-AB5{fill:#F7F8FE;} + .d2-1802566061 .stroke-N1{stroke:#0A0F25;} + .d2-1802566061 .stroke-N2{stroke:#676C7E;} + .d2-1802566061 .stroke-N3{stroke:#9499AB;} + .d2-1802566061 .stroke-N4{stroke:#CFD2DD;} + .d2-1802566061 .stroke-N5{stroke:#DEE1EB;} + .d2-1802566061 .stroke-N6{stroke:#EEF1F8;} + .d2-1802566061 .stroke-N7{stroke:#FFFFFF;} + .d2-1802566061 .stroke-B1{stroke:#0D32B2;} + .d2-1802566061 .stroke-B2{stroke:#0D32B2;} + .d2-1802566061 .stroke-B3{stroke:#E3E9FD;} + .d2-1802566061 .stroke-B4{stroke:#E3E9FD;} + .d2-1802566061 .stroke-B5{stroke:#EDF0FD;} + .d2-1802566061 .stroke-B6{stroke:#F7F8FE;} + .d2-1802566061 .stroke-AA2{stroke:#4A6FF3;} + .d2-1802566061 .stroke-AA4{stroke:#EDF0FD;} + .d2-1802566061 .stroke-AA5{stroke:#F7F8FE;} + .d2-1802566061 .stroke-AB4{stroke:#EDF0FD;} + .d2-1802566061 .stroke-AB5{stroke:#F7F8FE;} + .d2-1802566061 .background-color-N1{background-color:#0A0F25;} + .d2-1802566061 .background-color-N2{background-color:#676C7E;} + .d2-1802566061 .background-color-N3{background-color:#9499AB;} + .d2-1802566061 .background-color-N4{background-color:#CFD2DD;} + .d2-1802566061 .background-color-N5{background-color:#DEE1EB;} + .d2-1802566061 .background-color-N6{background-color:#EEF1F8;} + .d2-1802566061 .background-color-N7{background-color:#FFFFFF;} + .d2-1802566061 .background-color-B1{background-color:#0D32B2;} + .d2-1802566061 .background-color-B2{background-color:#0D32B2;} + .d2-1802566061 .background-color-B3{background-color:#E3E9FD;} + .d2-1802566061 .background-color-B4{background-color:#E3E9FD;} + .d2-1802566061 .background-color-B5{background-color:#EDF0FD;} + .d2-1802566061 .background-color-B6{background-color:#F7F8FE;} + .d2-1802566061 .background-color-AA2{background-color:#4A6FF3;} + .d2-1802566061 .background-color-AA4{background-color:#EDF0FD;} + .d2-1802566061 .background-color-AA5{background-color:#F7F8FE;} + .d2-1802566061 .background-color-AB4{background-color:#EDF0FD;} + .d2-1802566061 .background-color-AB5{background-color:#F7F8FE;} + .d2-1802566061 .color-N1{color:#0A0F25;} + .d2-1802566061 .color-N2{color:#676C7E;} + .d2-1802566061 .color-N3{color:#9499AB;} + .d2-1802566061 .color-N4{color:#CFD2DD;} + .d2-1802566061 .color-N5{color:#DEE1EB;} + .d2-1802566061 .color-N6{color:#EEF1F8;} + .d2-1802566061 .color-N7{color:#FFFFFF;} + .d2-1802566061 .color-B1{color:#0D32B2;} + .d2-1802566061 .color-B2{color:#0D32B2;} + .d2-1802566061 .color-B3{color:#E3E9FD;} + .d2-1802566061 .color-B4{color:#E3E9FD;} + .d2-1802566061 .color-B5{color:#EDF0FD;} + .d2-1802566061 .color-B6{color:#F7F8FE;} + .d2-1802566061 .color-AA2{color:#4A6FF3;} + .d2-1802566061 .color-AA4{color:#EDF0FD;} + .d2-1802566061 .color-AA5{color:#F7F8FE;} + .d2-1802566061 .color-AB4{color:#EDF0FD;} + .d2-1802566061 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ALFLGAMSTNAKAZCANVNMUTARLAMOOKTXORCOKSNEWYCTMANYRIDEMDNJPANCSCHIIDMTWAILINIAMIKYWIOHMNSDVAWVMENHVTND diff --git a/e2etests/testdata/stable/us_map/elk/sketch.exp.svg b/e2etests/testdata/stable/us_map/elk/sketch.exp.svg index 4b8459f3d..84fd14bb0 100644 --- a/e2etests/testdata/stable/us_map/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/us_map/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ALFLGAMSTNAKAZCANVNMUTARLAMOOKTXORCOKSNEWYCTMANYRIDEMDNJPANCSCHIIDMTWAILINIAMIKYWIOHMNSDVAWVMENHVTND + .d2-1796634463 .fill-N1{fill:#0A0F25;} + .d2-1796634463 .fill-N2{fill:#676C7E;} + .d2-1796634463 .fill-N3{fill:#9499AB;} + .d2-1796634463 .fill-N4{fill:#CFD2DD;} + .d2-1796634463 .fill-N5{fill:#DEE1EB;} + .d2-1796634463 .fill-N6{fill:#EEF1F8;} + .d2-1796634463 .fill-N7{fill:#FFFFFF;} + .d2-1796634463 .fill-B1{fill:#0D32B2;} + .d2-1796634463 .fill-B2{fill:#0D32B2;} + .d2-1796634463 .fill-B3{fill:#E3E9FD;} + .d2-1796634463 .fill-B4{fill:#E3E9FD;} + .d2-1796634463 .fill-B5{fill:#EDF0FD;} + .d2-1796634463 .fill-B6{fill:#F7F8FE;} + .d2-1796634463 .fill-AA2{fill:#4A6FF3;} + .d2-1796634463 .fill-AA4{fill:#EDF0FD;} + .d2-1796634463 .fill-AA5{fill:#F7F8FE;} + .d2-1796634463 .fill-AB4{fill:#EDF0FD;} + .d2-1796634463 .fill-AB5{fill:#F7F8FE;} + .d2-1796634463 .stroke-N1{stroke:#0A0F25;} + .d2-1796634463 .stroke-N2{stroke:#676C7E;} + .d2-1796634463 .stroke-N3{stroke:#9499AB;} + .d2-1796634463 .stroke-N4{stroke:#CFD2DD;} + .d2-1796634463 .stroke-N5{stroke:#DEE1EB;} + .d2-1796634463 .stroke-N6{stroke:#EEF1F8;} + .d2-1796634463 .stroke-N7{stroke:#FFFFFF;} + .d2-1796634463 .stroke-B1{stroke:#0D32B2;} + .d2-1796634463 .stroke-B2{stroke:#0D32B2;} + .d2-1796634463 .stroke-B3{stroke:#E3E9FD;} + .d2-1796634463 .stroke-B4{stroke:#E3E9FD;} + .d2-1796634463 .stroke-B5{stroke:#EDF0FD;} + .d2-1796634463 .stroke-B6{stroke:#F7F8FE;} + .d2-1796634463 .stroke-AA2{stroke:#4A6FF3;} + .d2-1796634463 .stroke-AA4{stroke:#EDF0FD;} + .d2-1796634463 .stroke-AA5{stroke:#F7F8FE;} + .d2-1796634463 .stroke-AB4{stroke:#EDF0FD;} + .d2-1796634463 .stroke-AB5{stroke:#F7F8FE;} + .d2-1796634463 .background-color-N1{background-color:#0A0F25;} + .d2-1796634463 .background-color-N2{background-color:#676C7E;} + .d2-1796634463 .background-color-N3{background-color:#9499AB;} + .d2-1796634463 .background-color-N4{background-color:#CFD2DD;} + .d2-1796634463 .background-color-N5{background-color:#DEE1EB;} + .d2-1796634463 .background-color-N6{background-color:#EEF1F8;} + .d2-1796634463 .background-color-N7{background-color:#FFFFFF;} + .d2-1796634463 .background-color-B1{background-color:#0D32B2;} + .d2-1796634463 .background-color-B2{background-color:#0D32B2;} + .d2-1796634463 .background-color-B3{background-color:#E3E9FD;} + .d2-1796634463 .background-color-B4{background-color:#E3E9FD;} + .d2-1796634463 .background-color-B5{background-color:#EDF0FD;} + .d2-1796634463 .background-color-B6{background-color:#F7F8FE;} + .d2-1796634463 .background-color-AA2{background-color:#4A6FF3;} + .d2-1796634463 .background-color-AA4{background-color:#EDF0FD;} + .d2-1796634463 .background-color-AA5{background-color:#F7F8FE;} + .d2-1796634463 .background-color-AB4{background-color:#EDF0FD;} + .d2-1796634463 .background-color-AB5{background-color:#F7F8FE;} + .d2-1796634463 .color-N1{color:#0A0F25;} + .d2-1796634463 .color-N2{color:#676C7E;} + .d2-1796634463 .color-N3{color:#9499AB;} + .d2-1796634463 .color-N4{color:#CFD2DD;} + .d2-1796634463 .color-N5{color:#DEE1EB;} + .d2-1796634463 .color-N6{color:#EEF1F8;} + .d2-1796634463 .color-N7{color:#FFFFFF;} + .d2-1796634463 .color-B1{color:#0D32B2;} + .d2-1796634463 .color-B2{color:#0D32B2;} + .d2-1796634463 .color-B3{color:#E3E9FD;} + .d2-1796634463 .color-B4{color:#E3E9FD;} + .d2-1796634463 .color-B5{color:#EDF0FD;} + .d2-1796634463 .color-B6{color:#F7F8FE;} + .d2-1796634463 .color-AA2{color:#4A6FF3;} + .d2-1796634463 .color-AA4{color:#EDF0FD;} + .d2-1796634463 .color-AA5{color:#F7F8FE;} + .d2-1796634463 .color-AB4{color:#EDF0FD;} + .d2-1796634463 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ALFLGAMSTNAKAZCANVNMUTARLAMOOKTXORCOKSNEWYCTMANYRIDEMDNJPANCSCHIIDMTWAILINIAMIKYWIOHMNSDVAWVMENHVTND diff --git a/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/board.exp.json b/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/board.exp.json index 5c8ddbdef..4945204b4 100644 --- a/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/board.exp.json +++ b/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "network", "type": "rectangle", "pos": { - "x": 0, - "y": 438 + "x": 7, + "y": 641 }, - "width": 450, - "height": 1694, + "width": 410, + "height": 1422, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -48,11 +48,11 @@ "id": "network.cell tower", "type": "rectangle", "pos": { - "x": 95, - "y": 503 + "x": 112, + "y": 682 }, - "width": 336, - "height": 766, + "width": 275, + "height": 547, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -89,8 +89,8 @@ "id": "network.cell tower.satellites", "type": "stored_data", "pos": { - "x": 140, - "y": 765 + "x": 142, + "y": 722 }, "width": 130, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 203, - "y": 1171 + "y": 1133 }, "width": 146, "height": 66, @@ -171,11 +171,11 @@ "id": "network.online portal", "type": "rectangle", "pos": { - "x": 20, - "y": 1941 + "x": 37, + "y": 1904 }, - "width": 147, - "height": 161, + "width": 119, + "height": 129, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -213,7 +213,7 @@ "type": "hexagon", "pos": { "x": 67, - "y": 1987 + "y": 1934 }, "width": 59, "height": 69, @@ -253,11 +253,11 @@ "id": "network.data processor", "type": "rectangle", "pos": { - "x": 181, - "y": 1426 + "x": 196, + "y": 1380 }, - "width": 189, - "height": 192, + "width": 169, + "height": 188, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -294,8 +294,8 @@ "id": "network.data processor.storage", "type": "cylinder", "pos": { - "x": 221, - "y": 1468 + "x": 226, + "y": 1420 }, "width": 99, "height": 118, @@ -336,7 +336,7 @@ "type": "person", "pos": { "x": 80, - "y": 82 + "y": 95 }, "width": 130, "height": 87, @@ -376,8 +376,8 @@ "id": "api server", "type": "rectangle", "pos": { - "x": 490, - "y": 1698 + "x": 508, + "y": 1688 }, "width": 116, "height": 66, @@ -417,8 +417,8 @@ "id": "logs", "type": "page", "pos": { - "x": 507, - "y": 1945 + "x": 529, + "y": 1925 }, "width": 73, "height": 87, @@ -458,7 +458,7 @@ "id": "users", "type": "sql_table", "pos": { - "x": 307, + "x": 304, "y": 30 }, "width": 208, @@ -642,7 +642,7 @@ "id": "products", "type": "class", "pos": { - "x": 575, + "x": 572, "y": 0 }, "width": 242, @@ -706,7 +706,7 @@ "id": "markdown", "type": "text", "pos": { - "x": 877, + "x": 894, "y": 79 }, "width": 97, @@ -746,7 +746,7 @@ "id": "code", "type": "code", "pos": { - "x": 490, + "x": 508, "y": 497 }, "width": 870, @@ -786,7 +786,7 @@ "id": "ex", "type": "text", "pos": { - "x": 723, + "x": 741, "y": 1140 }, "width": 404, @@ -849,20 +849,20 @@ "labelPercentage": 0, "route": [ { - "x": 205, - "y": 832 + "x": 203, + "y": 788 }, { - "x": 179.39999389648438, - "y": 1055.199951171875 + "x": 177, + "y": 1015.5999755859375 }, { - "x": 186.1999969482422, - "y": 1123.199951171875 + "x": 183.89999389648438, + "y": 1084.699951171875 }, { - "x": 239, - "y": 1172 + "x": 237.5, + "y": 1133.5 } ], "isCurve": true, @@ -896,20 +896,20 @@ "labelPercentage": 0, "route": [ { - "x": 214, - "y": 832 + "x": 211, + "y": 788 }, { - "x": 239.60000610351562, - "y": 1055.199951171875 + "x": 237, + "y": 1015.5999755859375 }, { - "x": 249.8000030517578, - "y": 1123.199951171875 + "x": 247.6999969482422, + "y": 1084.699951171875 }, { - "x": 265, - "y": 1172 + "x": 264.5, + "y": 1133.5 } ], "isCurve": true, @@ -943,20 +943,20 @@ "labelPercentage": 0, "route": [ { - "x": 226, - "y": 832 + "x": 221, + "y": 788 }, { - "x": 325.3999938964844, - "y": 1055.199951171875 + "x": 330.3999938964844, + "y": 1015.5999755859375 }, { - "x": 340.6499938964844, - "y": 1123.199951171875 + "x": 348.3500061035156, + "y": 1084.699951171875 }, { - "x": 302.25, - "y": 1172 + "x": 310.75, + "y": 1133.5 } ], "isCurve": true, @@ -991,31 +991,31 @@ "route": [ { "x": 275.5, - "y": 1237.5 + "y": 1199 }, { "x": 275.5, - "y": 1263.0999755859375 + "y": 1239 }, { "x": 275.5, - "y": 1281.5999755859375 + "y": 1261.0999755859375 }, { "x": 275.5, - "y": 1299.75 + "y": 1279.25 }, { "x": 275.5, - "y": 1317.9000244140625 + "y": 1297.4000244140625 }, { "x": 275.6000061035156, - "y": 1404.199951171875 + "y": 1378 }, { "x": 276, - "y": 1459 + "y": 1410 } ], "isCurve": true, @@ -1049,20 +1049,20 @@ "labelPercentage": 0, "route": [ { - "x": 163.5, - "y": 194.5 + "x": 166, + "y": 207.5 }, { - "x": 200.3000030517578, - "y": 308.1000061035156 + "x": 198.8000030517578, + "y": 310.70001220703125 }, { - "x": 209.5, - "y": 411.20001220703125 + "x": 207, + "y": 446.79998779296875 }, { - "x": 209.5, - "y": 468 + "x": 207, + "y": 646 } ], "isCurve": true, @@ -1096,12 +1096,12 @@ "labelPercentage": 0, "route": [ { - "x": 124.75, - "y": 194.5 + "x": 123.75, + "y": 197.5 }, { - "x": 84.75, - "y": 308.1000061035156 + "x": 84.55000305175781, + "y": 308.70001220703125 }, { "x": 74.75, @@ -1201,71 +1201,71 @@ }, { "x": 74.75, - "y": 1392.800048828125 + "y": 1391.800048828125 }, { "x": 74.75, - "y": 1427 + "y": 1424.5 }, { "x": 74.75, - "y": 1461.199951171875 + "y": 1457.199951171875 }, { "x": 74.75, - "y": 1506.800048828125 + "y": 1500.800048828125 }, { "x": 74.75, - "y": 1541 + "y": 1533.5 }, { "x": 74.75, - "y": 1575.199951171875 + "y": 1566.199951171875 }, { "x": 74.75, - "y": 1608 + "y": 1598 }, { "x": 74.75, - "y": 1623 + "y": 1613 }, { "x": 74.75, - "y": 1638 + "y": 1628 }, { "x": 74.75, - "y": 1664.5999755859375 + "y": 1654.5999755859375 }, { "x": 74.75, - "y": 1689.5 + "y": 1679.5 }, { "x": 74.75, - "y": 1714.4000244140625 + "y": 1704.4000244140625 }, { "x": 74.75, - "y": 1749.699951171875 + "y": 1739.699951171875 }, { "x": 74.75, - "y": 1777.75 + "y": 1767.75 }, { "x": 74.75, - "y": 1805.800048828125 + "y": 1795.800048828125 }, { "x": 77.5999984741211, - "y": 1905.5999755859375 + "y": 1886.800048828125 }, { "x": 89, - "y": 1988 + "y": 1934 } ], "isCurve": true, @@ -1299,20 +1299,20 @@ "labelPercentage": 0, "route": [ { - "x": 490, - "y": 1743.7149658203125 + "x": 507.5, + "y": 1733.7900390625 }, { - "x": 195.1999969482422, - "y": 1808.343017578125 + "x": 198.6999969482422, + "y": 1798.3580322265625 }, { - "x": 118.19999694824219, - "y": 1905.5999755859375 + "x": 118.4000015258789, + "y": 1886.800048828125 }, { - "x": 105, - "y": 1988 + "x": 106, + "y": 1934 } ], "isCurve": true, @@ -1346,20 +1346,20 @@ "labelPercentage": 0, "route": [ { - "x": 548, - "y": 1764 + "x": 565.5, + "y": 1753.5 }, { - "x": 548, - "y": 1812.4000244140625 + "x": 565.5, + "y": 1802.300048828125 }, { - "x": 548, - "y": 1895 + "x": 565.5999755859375, + "y": 1883 }, { - "x": 548, - "y": 1935 + "x": 566, + "y": 1915 } ], "isCurve": true, @@ -1393,20 +1393,20 @@ "labelPercentage": 0, "route": [ { - "x": 275.5, - "y": 1618.5 + "x": 285.5, + "y": 1568 }, { - "x": 275.5, - "y": 1642.0999755859375 + "x": 285.5, + "y": 1624 }, { - "x": 318.5, - "y": 1661 + "x": 329.8999938964844, + "y": 1651.0340576171875 }, { - "x": 490.5, - "y": 1713 + "x": 507.5, + "y": 1703.1700439453125 } ], "isCurve": true, @@ -1440,31 +1440,31 @@ "labelPercentage": 0, "route": [ { - "x": 925, + "x": 942.5, "y": 198.5 }, { - "x": 925, + "x": 942.5, "y": 308.8999938964844 }, { - "x": 925, + "x": 942.5, "y": 348.6000061035156 }, { - "x": 925, + "x": 942.5, "y": 366.75 }, { - "x": 925, + "x": 942.5, "y": 384.8999938964844 }, { - "x": 925, + "x": 942.5, "y": 457 }, { - "x": 925, + "x": 942.5, "y": 497 } ], @@ -1499,19 +1499,19 @@ "labelPercentage": 0, "route": [ { - "x": 925, - "y": 1012 + "x": 942.5, + "y": 1011.5 }, { - "x": 925, - "y": 1060.4000244140625 + "x": 942.5, + "y": 1060.300048828125 }, { - "x": 925, + "x": 942.5, "y": 1086.0999755859375 }, { - "x": 925, + "x": 942.5, "y": 1140.5 } ], diff --git a/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg b/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg index debe001a7..41b628462 100644 --- a/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg +++ b/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg @@ -1,41 +1,41 @@ -networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestring

    A tale

    +networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestring

    A tale

    • of
    • two cities
    -
    package main +
    package main import (     "fmt" @@ -885,7 +885,7 @@     city2 := City{Name: "CityB", Population: 1200000}     tellTale(city1, city2) -}package main +}package main import (     "fmt" @@ -908,28 +908,28 @@     city2 := City{Name: "CityB", Population: 1200000}     tellTale(city1, city2) -}Cell Toweronline portaldata processorsatellitesTRANSMITTERuistorage sendsendsendphone logsmake call accessdisplaypersist - - - - - - - - - - - - - - - - - - - - - - - +}Cell Toweronline portaldata processorsatellitesTRANSMITTERuistorage sendsendsendphone logsmake call accessdisplaypersist + + + + + + + + + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg b/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg index 1e5b2de2b..c2557a42f 100644 --- a/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg +++ b/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg @@ -1,41 +1,41 @@ -networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestring

    A tale

    @@ -908,7 +908,7 @@     city2 := City{Name: "CityB", Population: 1200000}     tellTale(city1, city2) -}Cell Toweronline portaldata processorsatellitesTRANSMITTERuistorage sendsendsendphone logsmake call accessdisplaypersist +}Cell Toweronline portaldata processorsatellitesTRANSMITTERuistorage sendsendsendphone logsmake call accessdisplaypersist diff --git a/e2etests/testdata/themes/origami/dagre/board.exp.json b/e2etests/testdata/themes/origami/dagre/board.exp.json index 00460a587..0112af344 100644 --- a/e2etests/testdata/themes/origami/dagre/board.exp.json +++ b/e2etests/testdata/themes/origami/dagre/board.exp.json @@ -7,11 +7,11 @@ "id": "network", "type": "rectangle", "pos": { - "x": 0, - "y": 275 + "x": 5, + "y": 227 }, - "width": 409, - "height": 1255, + "width": 395, + "height": 1198, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,11 +49,11 @@ "id": "network.cell tower", "type": "rectangle", "pos": { - "x": 95, - "y": 340 + "x": 118, + "y": 268 }, - "width": 294, - "height": 327, + "width": 252, + "height": 323, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -91,8 +91,8 @@ "id": "network.cell tower.satellites", "type": "stored_data", "pos": { - "x": 185, - "y": 382 + "x": 187, + "y": 308 }, "width": 104, "height": 66, @@ -133,8 +133,8 @@ "id": "network.cell tower.transmitter", "type": "rectangle", "pos": { - "x": 190, - "y": 569 + "x": 187, + "y": 495 }, "width": 104, "height": 66, @@ -175,11 +175,11 @@ "id": "network.online portal", "type": "rectangle", "pos": { - "x": 20, - "y": 1339 + "x": 35, + "y": 1266 }, - "width": 144, - "height": 161, + "width": 119, + "height": 129, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -218,7 +218,7 @@ "type": "hexagon", "pos": { "x": 65, - "y": 1385 + "y": 1296 }, "width": 59, "height": 69, @@ -259,11 +259,11 @@ "id": "network.data processor", "type": "rectangle", "pos": { - "x": 145, - "y": 824 + "x": 157, + "y": 742 }, - "width": 194, - "height": 192, + "width": 174, + "height": 188, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -301,8 +301,8 @@ "id": "network.data processor.storage", "type": "cylinder", "pos": { - "x": 185, - "y": 866 + "x": 187, + "y": 782 }, "width": 104, "height": 118, @@ -427,8 +427,8 @@ "id": "api server", "type": "rectangle", "pos": { - "x": 448, - "y": 1096 + "x": 463, + "y": 1050 }, "width": 151, "height": 66, @@ -469,8 +469,8 @@ "id": "logs", "type": "page", "pos": { - "x": 477, - "y": 1343 + "x": 497, + "y": 1287 }, "width": 84, "height": 87, @@ -533,20 +533,20 @@ "labelPercentage": 0, "route": [ { - "x": 212, - "y": 449 + "x": 213, + "y": 374 }, { - "x": 175.60000610351562, - "y": 497 + "x": 173.8000030517578, + "y": 422.3999938964844 }, { - "x": 176.3000030517578, - "y": 521.2000122070312 + "x": 173.8000030517578, + "y": 446.70001220703125 }, { - "x": 215.5, - "y": 570 + "x": 213, + "y": 495.5 } ], "isCurve": true, @@ -579,20 +579,20 @@ "labelPercentage": 0, "route": [ { - "x": 241, - "y": 449 + "x": 239, + "y": 374 }, { - "x": 241.39999389648438, - "y": 497 + "x": 239, + "y": 422.3999938964844 }, { - "x": 241.5, - "y": 521.2000122070312 + "x": 239, + "y": 446.70001220703125 }, { - "x": 241.5, - "y": 570 + "x": 239, + "y": 495.5 } ], "isCurve": true, @@ -625,20 +625,20 @@ "labelPercentage": 0, "route": [ { - "x": 271, - "y": 449 + "x": 265, + "y": 374 }, { - "x": 307.3999938964844, - "y": 497 + "x": 312.20001220703125, + "y": 422.3999938964844 }, { - "x": 306.70001220703125, - "y": 521.2000122070312 + "x": 312.20001220703125, + "y": 446.70001220703125 }, { - "x": 267.5, - "y": 570 + "x": 265, + "y": 495.5 } ], "isCurve": true, @@ -671,32 +671,32 @@ "labelPercentage": 0, "route": [ { - "x": 241.5, - "y": 635.5 + "x": 239, + "y": 561 }, { - "x": 241.5, - "y": 661.0999755859375 + "x": 239, + "y": 601 }, { - "x": 241.5, - "y": 679.5999755859375 + "x": 239, + "y": 623.0999755859375 }, { - "x": 241.5, - "y": 697.75 + "x": 239, + "y": 641.25 }, { - "x": 241.5, - "y": 715.9000244140625 + "x": 239, + "y": 659.4000244140625 }, { - "x": 241.60000610351562, - "y": 802.2000122070312 + "x": 239, + "y": 740 }, { - "x": 242, - "y": 857 + "x": 239, + "y": 772 } ], "isCurve": true, @@ -729,20 +729,20 @@ "labelPercentage": 0, "route": [ { - "x": 171, - "y": 87 + "x": 190, + "y": 93.5 }, { - "x": 227.39999389648438, - "y": 156.1999969482422 + "x": 229.1999969482422, + "y": 136.6999969482422 }, { - "x": 241.5, - "y": 248.1999969482422 + "x": 239, + "y": 212.8000030517578 }, { - "x": 241.5, - "y": 305 + "x": 239, + "y": 232 } ], "isCurve": true, @@ -775,176 +775,176 @@ "labelPercentage": 0, "route": [ { - "x": 111.75, - "y": 112.5 + "x": 101.75, + "y": 108.5 }, { - "x": 82.1500015258789, - "y": 161.3000030517578 + "x": 80.1500015258789, + "y": 139.6999969482422 }, { "x": 74.75, - "y": 185.60000610351562 + "y": 159.60000610351562 }, { "x": 74.75, - "y": 203.75 + "y": 177.75 }, { "x": 74.75, - "y": 221.89999389648438 + "y": 195.89999389648438 }, { "x": 74.75, - "y": 244 + "y": 218 }, { "x": 74.75, - "y": 259 + "y": 233 }, { "x": 74.75, - "y": 274 + "y": 248 }, { "x": 74.75, - "y": 301.6000061035156 + "y": 274.6000061035156 }, { "x": 74.75, - "y": 328 + "y": 299.5 }, { "x": 74.75, - "y": 354.3999938964844 + "y": 324.3999938964844 }, { "x": 74.75, - "y": 391.70001220703125 + "y": 359.70001220703125 }, { "x": 74.75, - "y": 421.25 + "y": 387.75 }, { "x": 74.75, - "y": 450.79998779296875 + "y": 415.79998779296875 }, { "x": 74.75, - "y": 489.20001220703125 + "y": 453.20001220703125 }, { "x": 74.75, - "y": 517.25 + "y": 481.25 }, { "x": 74.75, - "y": 545.2999877929688 + "y": 509.29998779296875 }, { "x": 74.75, - "y": 580.5999755859375 + "y": 544.5999755859375 }, { "x": 74.75, - "y": 605.5 + "y": 569.5 }, { "x": 74.75, - "y": 630.4000244140625 + "y": 594.4000244140625 }, { "x": 74.75, - "y": 659.0999755859375 + "y": 623.0999755859375 }, { "x": 74.75, - "y": 677.25 + "y": 641.25 }, { "x": 74.75, - "y": 695.4000244140625 + "y": 659.4000244140625 }, { "x": 74.75, - "y": 719.5999755859375 + "y": 683.5999755859375 }, { "x": 74.75, - "y": 737.75 + "y": 701.75 }, { "x": 74.75, - "y": 755.9000244140625 + "y": 719.9000244140625 }, { "x": 74.75, - "y": 790.7999877929688 + "y": 753.7999877929688 }, { "x": 74.75, - "y": 825 + "y": 786.5 }, { "x": 74.75, - "y": 859.2000122070312 + "y": 819.2000122070312 }, { "x": 74.75, - "y": 904.7999877929688 + "y": 862.7999877929688 }, { "x": 74.75, - "y": 939 + "y": 895.5 }, { "x": 74.75, - "y": 973.2000122070312 + "y": 928.2000122070312 }, { "x": 74.75, - "y": 1006 + "y": 960 }, { "x": 74.75, - "y": 1021 + "y": 975 }, { "x": 74.75, - "y": 1036 + "y": 990 }, { "x": 74.75, - "y": 1062.5999755859375 + "y": 1016.5999755859375 }, { "x": 74.75, - "y": 1087.5 + "y": 1041.5 }, { "x": 74.75, - "y": 1112.4000244140625 + "y": 1066.4000244140625 }, { "x": 74.75, - "y": 1147.699951171875 + "y": 1101.699951171875 }, { "x": 74.75, - "y": 1175.75 + "y": 1129.75 }, { "x": 74.75, - "y": 1203.800048828125 + "y": 1157.800048828125 }, { - "x": 77.4000015258789, - "y": 1303.5999755859375 + "x": 77.19999694824219, + "y": 1248.800048828125 }, { - "x": 88, - "y": 1386 + "x": 87, + "y": 1296 } ], "isCurve": true, @@ -977,20 +977,20 @@ "labelPercentage": 0, "route": [ { - "x": 448.25, - "y": 1146.4510498046875 + "x": 463.25, + "y": 1100.5 }, { - "x": 185.0500030517578, - "y": 1207.2900390625 + "x": 188.0500030517578, + "y": 1161.300048828125 }, { "x": 116, - "y": 1303.5999755859375 + "y": 1248.800048828125 }, { "x": 103, - "y": 1386 + "y": 1296 } ], "isCurve": true, @@ -1023,20 +1023,20 @@ "labelPercentage": 0, "route": [ { - "x": 523.75, - "y": 1162 + "x": 538.75, + "y": 1115.5 }, { - "x": 523.75, - "y": 1210.4000244140625 + "x": 538.75, + "y": 1164.300048828125 }, { - "x": 523.7990112304688, - "y": 1293 + "x": 538.7999877929688, + "y": 1245 }, { - "x": 524, - "y": 1333 + "x": 539, + "y": 1277 } ], "isCurve": true, @@ -1069,20 +1069,20 @@ "labelPercentage": 0, "route": [ { - "x": 241.5, - "y": 1016.5 + "x": 239, + "y": 930 }, { - "x": 241.5, - "y": 1040.0989990234375 + "x": 239, + "y": 986 }, { - "x": 282.8999938964844, - "y": 1058.199951171875 + "x": 283.79998779296875, + "y": 1012.2000122070312 }, { - "x": 448.5, - "y": 1107 + "x": 463, + "y": 1061 } ], "isCurve": true, diff --git a/e2etests/testdata/themes/origami/dagre/sketch.exp.svg b/e2etests/testdata/themes/origami/dagre/sketch.exp.svg index 95b6a1f75..d3bb4aeab 100644 --- a/e2etests/testdata/themes/origami/dagre/sketch.exp.svg +++ b/e2etests/testdata/themes/origami/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -Big fontabca - - - - - - + .d2-1917458193 .fill-N1{fill:#0A0F25;} + .d2-1917458193 .fill-N2{fill:#676C7E;} + .d2-1917458193 .fill-N3{fill:#9499AB;} + .d2-1917458193 .fill-N4{fill:#CFD2DD;} + .d2-1917458193 .fill-N5{fill:#DEE1EB;} + .d2-1917458193 .fill-N6{fill:#EEF1F8;} + .d2-1917458193 .fill-N7{fill:#FFFFFF;} + .d2-1917458193 .fill-B1{fill:#0D32B2;} + .d2-1917458193 .fill-B2{fill:#0D32B2;} + .d2-1917458193 .fill-B3{fill:#E3E9FD;} + .d2-1917458193 .fill-B4{fill:#E3E9FD;} + .d2-1917458193 .fill-B5{fill:#EDF0FD;} + .d2-1917458193 .fill-B6{fill:#F7F8FE;} + .d2-1917458193 .fill-AA2{fill:#4A6FF3;} + .d2-1917458193 .fill-AA4{fill:#EDF0FD;} + .d2-1917458193 .fill-AA5{fill:#F7F8FE;} + .d2-1917458193 .fill-AB4{fill:#EDF0FD;} + .d2-1917458193 .fill-AB5{fill:#F7F8FE;} + .d2-1917458193 .stroke-N1{stroke:#0A0F25;} + .d2-1917458193 .stroke-N2{stroke:#676C7E;} + .d2-1917458193 .stroke-N3{stroke:#9499AB;} + .d2-1917458193 .stroke-N4{stroke:#CFD2DD;} + .d2-1917458193 .stroke-N5{stroke:#DEE1EB;} + .d2-1917458193 .stroke-N6{stroke:#EEF1F8;} + .d2-1917458193 .stroke-N7{stroke:#FFFFFF;} + .d2-1917458193 .stroke-B1{stroke:#0D32B2;} + .d2-1917458193 .stroke-B2{stroke:#0D32B2;} + .d2-1917458193 .stroke-B3{stroke:#E3E9FD;} + .d2-1917458193 .stroke-B4{stroke:#E3E9FD;} + .d2-1917458193 .stroke-B5{stroke:#EDF0FD;} + .d2-1917458193 .stroke-B6{stroke:#F7F8FE;} + .d2-1917458193 .stroke-AA2{stroke:#4A6FF3;} + .d2-1917458193 .stroke-AA4{stroke:#EDF0FD;} + .d2-1917458193 .stroke-AA5{stroke:#F7F8FE;} + .d2-1917458193 .stroke-AB4{stroke:#EDF0FD;} + .d2-1917458193 .stroke-AB5{stroke:#F7F8FE;} + .d2-1917458193 .background-color-N1{background-color:#0A0F25;} + .d2-1917458193 .background-color-N2{background-color:#676C7E;} + .d2-1917458193 .background-color-N3{background-color:#9499AB;} + .d2-1917458193 .background-color-N4{background-color:#CFD2DD;} + .d2-1917458193 .background-color-N5{background-color:#DEE1EB;} + .d2-1917458193 .background-color-N6{background-color:#EEF1F8;} + .d2-1917458193 .background-color-N7{background-color:#FFFFFF;} + .d2-1917458193 .background-color-B1{background-color:#0D32B2;} + .d2-1917458193 .background-color-B2{background-color:#0D32B2;} + .d2-1917458193 .background-color-B3{background-color:#E3E9FD;} + .d2-1917458193 .background-color-B4{background-color:#E3E9FD;} + .d2-1917458193 .background-color-B5{background-color:#EDF0FD;} + .d2-1917458193 .background-color-B6{background-color:#F7F8FE;} + .d2-1917458193 .background-color-AA2{background-color:#4A6FF3;} + .d2-1917458193 .background-color-AA4{background-color:#EDF0FD;} + .d2-1917458193 .background-color-AA5{background-color:#F7F8FE;} + .d2-1917458193 .background-color-AB4{background-color:#EDF0FD;} + .d2-1917458193 .background-color-AB5{background-color:#F7F8FE;} + .d2-1917458193 .color-N1{color:#0A0F25;} + .d2-1917458193 .color-N2{color:#676C7E;} + .d2-1917458193 .color-N3{color:#9499AB;} + .d2-1917458193 .color-N4{color:#CFD2DD;} + .d2-1917458193 .color-N5{color:#DEE1EB;} + .d2-1917458193 .color-N6{color:#EEF1F8;} + .d2-1917458193 .color-N7{color:#FFFFFF;} + .d2-1917458193 .color-B1{color:#0D32B2;} + .d2-1917458193 .color-B2{color:#0D32B2;} + .d2-1917458193 .color-B3{color:#E3E9FD;} + .d2-1917458193 .color-B4{color:#E3E9FD;} + .d2-1917458193 .color-B5{color:#EDF0FD;} + .d2-1917458193 .color-B6{color:#F7F8FE;} + .d2-1917458193 .color-AA2{color:#4A6FF3;} + .d2-1917458193 .color-AA4{color:#EDF0FD;} + .d2-1917458193 .color-AA5{color:#F7F8FE;} + .d2-1917458193 .color-AB4{color:#EDF0FD;} + .d2-1917458193 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Big fontabca + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/todo/container_icon_label/elk/sketch.exp.svg b/e2etests/testdata/todo/container_icon_label/elk/sketch.exp.svg index b9702dcec..f1a6f1a47 100644 --- a/e2etests/testdata/todo/container_icon_label/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/container_icon_label/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -Big fontabca + .d2-1959422453 .fill-N1{fill:#0A0F25;} + .d2-1959422453 .fill-N2{fill:#676C7E;} + .d2-1959422453 .fill-N3{fill:#9499AB;} + .d2-1959422453 .fill-N4{fill:#CFD2DD;} + .d2-1959422453 .fill-N5{fill:#DEE1EB;} + .d2-1959422453 .fill-N6{fill:#EEF1F8;} + .d2-1959422453 .fill-N7{fill:#FFFFFF;} + .d2-1959422453 .fill-B1{fill:#0D32B2;} + .d2-1959422453 .fill-B2{fill:#0D32B2;} + .d2-1959422453 .fill-B3{fill:#E3E9FD;} + .d2-1959422453 .fill-B4{fill:#E3E9FD;} + .d2-1959422453 .fill-B5{fill:#EDF0FD;} + .d2-1959422453 .fill-B6{fill:#F7F8FE;} + .d2-1959422453 .fill-AA2{fill:#4A6FF3;} + .d2-1959422453 .fill-AA4{fill:#EDF0FD;} + .d2-1959422453 .fill-AA5{fill:#F7F8FE;} + .d2-1959422453 .fill-AB4{fill:#EDF0FD;} + .d2-1959422453 .fill-AB5{fill:#F7F8FE;} + .d2-1959422453 .stroke-N1{stroke:#0A0F25;} + .d2-1959422453 .stroke-N2{stroke:#676C7E;} + .d2-1959422453 .stroke-N3{stroke:#9499AB;} + .d2-1959422453 .stroke-N4{stroke:#CFD2DD;} + .d2-1959422453 .stroke-N5{stroke:#DEE1EB;} + .d2-1959422453 .stroke-N6{stroke:#EEF1F8;} + .d2-1959422453 .stroke-N7{stroke:#FFFFFF;} + .d2-1959422453 .stroke-B1{stroke:#0D32B2;} + .d2-1959422453 .stroke-B2{stroke:#0D32B2;} + .d2-1959422453 .stroke-B3{stroke:#E3E9FD;} + .d2-1959422453 .stroke-B4{stroke:#E3E9FD;} + .d2-1959422453 .stroke-B5{stroke:#EDF0FD;} + .d2-1959422453 .stroke-B6{stroke:#F7F8FE;} + .d2-1959422453 .stroke-AA2{stroke:#4A6FF3;} + .d2-1959422453 .stroke-AA4{stroke:#EDF0FD;} + .d2-1959422453 .stroke-AA5{stroke:#F7F8FE;} + .d2-1959422453 .stroke-AB4{stroke:#EDF0FD;} + .d2-1959422453 .stroke-AB5{stroke:#F7F8FE;} + .d2-1959422453 .background-color-N1{background-color:#0A0F25;} + .d2-1959422453 .background-color-N2{background-color:#676C7E;} + .d2-1959422453 .background-color-N3{background-color:#9499AB;} + .d2-1959422453 .background-color-N4{background-color:#CFD2DD;} + .d2-1959422453 .background-color-N5{background-color:#DEE1EB;} + .d2-1959422453 .background-color-N6{background-color:#EEF1F8;} + .d2-1959422453 .background-color-N7{background-color:#FFFFFF;} + .d2-1959422453 .background-color-B1{background-color:#0D32B2;} + .d2-1959422453 .background-color-B2{background-color:#0D32B2;} + .d2-1959422453 .background-color-B3{background-color:#E3E9FD;} + .d2-1959422453 .background-color-B4{background-color:#E3E9FD;} + .d2-1959422453 .background-color-B5{background-color:#EDF0FD;} + .d2-1959422453 .background-color-B6{background-color:#F7F8FE;} + .d2-1959422453 .background-color-AA2{background-color:#4A6FF3;} + .d2-1959422453 .background-color-AA4{background-color:#EDF0FD;} + .d2-1959422453 .background-color-AA5{background-color:#F7F8FE;} + .d2-1959422453 .background-color-AB4{background-color:#EDF0FD;} + .d2-1959422453 .background-color-AB5{background-color:#F7F8FE;} + .d2-1959422453 .color-N1{color:#0A0F25;} + .d2-1959422453 .color-N2{color:#676C7E;} + .d2-1959422453 .color-N3{color:#9499AB;} + .d2-1959422453 .color-N4{color:#CFD2DD;} + .d2-1959422453 .color-N5{color:#DEE1EB;} + .d2-1959422453 .color-N6{color:#EEF1F8;} + .d2-1959422453 .color-N7{color:#FFFFFF;} + .d2-1959422453 .color-B1{color:#0D32B2;} + .d2-1959422453 .color-B2{color:#0D32B2;} + .d2-1959422453 .color-B3{color:#E3E9FD;} + .d2-1959422453 .color-B4{color:#E3E9FD;} + .d2-1959422453 .color-B5{color:#EDF0FD;} + .d2-1959422453 .color-B6{color:#F7F8FE;} + .d2-1959422453 .color-AA2{color:#4A6FF3;} + .d2-1959422453 .color-AA4{color:#EDF0FD;} + .d2-1959422453 .color-AA5{color:#F7F8FE;} + .d2-1959422453 .color-AB4{color:#EDF0FD;} + .d2-1959422453 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Big fontabca diff --git a/e2etests/testdata/todo/container_label_edge_adjustment/dagre/board.exp.json b/e2etests/testdata/todo/container_label_edge_adjustment/dagre/board.exp.json index 5ba9d5b05..94c8bbff0 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment/dagre/board.exp.json +++ b/e2etests/testdata/todo/container_label_edge_adjustment/dagre/board.exp.json @@ -49,10 +49,10 @@ "type": "cloud", "pos": { "x": 0, - "y": 207 + "y": 166 }, "width": 398, - "height": 125, + "height": 166, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 183, - "y": 236 + "y": 216 }, "width": 53, "height": 66, @@ -326,11 +326,11 @@ }, { "x": 68.5, - "y": 184.0970001220703 + "y": 179.9969940185547 }, { "x": 182.5, - "y": 256.4849853515625 + "y": 235.98500061035156 } ], "isCurve": true, @@ -365,11 +365,11 @@ "route": [ { "x": 209, - "y": 302.5 + "y": 282 }, { "x": 209, - "y": 326.1000061035156 + "y": 322 }, { "x": 209, @@ -420,11 +420,11 @@ }, { "x": 159.8000030517578, - "y": 180.10000610351562 + "y": 176 }, { "x": 187, - "y": 236.5 + "y": 216 } ], "isCurve": true, @@ -463,18 +463,9 @@ }, { "x": 265, - "y": 106 - }, - { - "x": 265, - "y": 126 - }, - { - "x": 265, - "y": 166 + "y": 125 } ], - "isCurve": true, "animated": false, "tooltip": "", "icon": null, @@ -514,11 +505,11 @@ }, { "x": 377.6000061035156, - "y": 145 + "y": 140 }, { "x": 378, - "y": 261 + "y": 236 } ], "isCurve": true, diff --git a/e2etests/testdata/todo/container_label_edge_adjustment/dagre/sketch.exp.svg b/e2etests/testdata/todo/container_label_edge_adjustment/dagre/sketch.exp.svg index d4ee0b98c..182edbd3c 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/container_label_edge_adjustment/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -aa container labeldefgc + .d2-2837967438 .fill-N1{fill:#0A0F25;} + .d2-2837967438 .fill-N2{fill:#676C7E;} + .d2-2837967438 .fill-N3{fill:#9499AB;} + .d2-2837967438 .fill-N4{fill:#CFD2DD;} + .d2-2837967438 .fill-N5{fill:#DEE1EB;} + .d2-2837967438 .fill-N6{fill:#EEF1F8;} + .d2-2837967438 .fill-N7{fill:#FFFFFF;} + .d2-2837967438 .fill-B1{fill:#0D32B2;} + .d2-2837967438 .fill-B2{fill:#0D32B2;} + .d2-2837967438 .fill-B3{fill:#E3E9FD;} + .d2-2837967438 .fill-B4{fill:#E3E9FD;} + .d2-2837967438 .fill-B5{fill:#EDF0FD;} + .d2-2837967438 .fill-B6{fill:#F7F8FE;} + .d2-2837967438 .fill-AA2{fill:#4A6FF3;} + .d2-2837967438 .fill-AA4{fill:#EDF0FD;} + .d2-2837967438 .fill-AA5{fill:#F7F8FE;} + .d2-2837967438 .fill-AB4{fill:#EDF0FD;} + .d2-2837967438 .fill-AB5{fill:#F7F8FE;} + .d2-2837967438 .stroke-N1{stroke:#0A0F25;} + .d2-2837967438 .stroke-N2{stroke:#676C7E;} + .d2-2837967438 .stroke-N3{stroke:#9499AB;} + .d2-2837967438 .stroke-N4{stroke:#CFD2DD;} + .d2-2837967438 .stroke-N5{stroke:#DEE1EB;} + .d2-2837967438 .stroke-N6{stroke:#EEF1F8;} + .d2-2837967438 .stroke-N7{stroke:#FFFFFF;} + .d2-2837967438 .stroke-B1{stroke:#0D32B2;} + .d2-2837967438 .stroke-B2{stroke:#0D32B2;} + .d2-2837967438 .stroke-B3{stroke:#E3E9FD;} + .d2-2837967438 .stroke-B4{stroke:#E3E9FD;} + .d2-2837967438 .stroke-B5{stroke:#EDF0FD;} + .d2-2837967438 .stroke-B6{stroke:#F7F8FE;} + .d2-2837967438 .stroke-AA2{stroke:#4A6FF3;} + .d2-2837967438 .stroke-AA4{stroke:#EDF0FD;} + .d2-2837967438 .stroke-AA5{stroke:#F7F8FE;} + .d2-2837967438 .stroke-AB4{stroke:#EDF0FD;} + .d2-2837967438 .stroke-AB5{stroke:#F7F8FE;} + .d2-2837967438 .background-color-N1{background-color:#0A0F25;} + .d2-2837967438 .background-color-N2{background-color:#676C7E;} + .d2-2837967438 .background-color-N3{background-color:#9499AB;} + .d2-2837967438 .background-color-N4{background-color:#CFD2DD;} + .d2-2837967438 .background-color-N5{background-color:#DEE1EB;} + .d2-2837967438 .background-color-N6{background-color:#EEF1F8;} + .d2-2837967438 .background-color-N7{background-color:#FFFFFF;} + .d2-2837967438 .background-color-B1{background-color:#0D32B2;} + .d2-2837967438 .background-color-B2{background-color:#0D32B2;} + .d2-2837967438 .background-color-B3{background-color:#E3E9FD;} + .d2-2837967438 .background-color-B4{background-color:#E3E9FD;} + .d2-2837967438 .background-color-B5{background-color:#EDF0FD;} + .d2-2837967438 .background-color-B6{background-color:#F7F8FE;} + .d2-2837967438 .background-color-AA2{background-color:#4A6FF3;} + .d2-2837967438 .background-color-AA4{background-color:#EDF0FD;} + .d2-2837967438 .background-color-AA5{background-color:#F7F8FE;} + .d2-2837967438 .background-color-AB4{background-color:#EDF0FD;} + .d2-2837967438 .background-color-AB5{background-color:#F7F8FE;} + .d2-2837967438 .color-N1{color:#0A0F25;} + .d2-2837967438 .color-N2{color:#676C7E;} + .d2-2837967438 .color-N3{color:#9499AB;} + .d2-2837967438 .color-N4{color:#CFD2DD;} + .d2-2837967438 .color-N5{color:#DEE1EB;} + .d2-2837967438 .color-N6{color:#EEF1F8;} + .d2-2837967438 .color-N7{color:#FFFFFF;} + .d2-2837967438 .color-B1{color:#0D32B2;} + .d2-2837967438 .color-B2{color:#0D32B2;} + .d2-2837967438 .color-B3{color:#E3E9FD;} + .d2-2837967438 .color-B4{color:#E3E9FD;} + .d2-2837967438 .color-B5{color:#EDF0FD;} + .d2-2837967438 .color-B6{color:#F7F8FE;} + .d2-2837967438 .color-AA2{color:#4A6FF3;} + .d2-2837967438 .color-AA4{color:#EDF0FD;} + .d2-2837967438 .color-AA5{color:#F7F8FE;} + .d2-2837967438 .color-AB4{color:#EDF0FD;} + .d2-2837967438 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>aa container labeldefgc - + - + \ No newline at end of file diff --git a/e2etests/testdata/todo/container_label_edge_adjustment/elk/board.exp.json b/e2etests/testdata/todo/container_label_edge_adjustment/elk/board.exp.json index edddf08d6..639bb3611 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment/elk/board.exp.json +++ b/e2etests/testdata/todo/container_label_edge_adjustment/elk/board.exp.json @@ -52,7 +52,7 @@ "y": 213 }, "width": 294, - "height": 272, + "height": 254, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 119, - "y": 369 + "y": 351 }, "width": 80, "height": 66, @@ -131,7 +131,7 @@ "type": "rectangle", "pos": { "x": 132, - "y": 560 + "y": 542 }, "width": 54, "height": 66, @@ -330,7 +330,7 @@ }, { "x": 145.66600036621094, - "y": 369 + "y": 351 } ], "animated": false, @@ -364,11 +364,11 @@ "route": [ { "x": 159, - "y": 435 + "y": 417 }, { "x": 159, - "y": 560 + "y": 542 } ], "animated": false, @@ -414,7 +414,7 @@ }, { "x": 172.33299255371094, - "y": 369 + "y": 351 } ], "animated": false, @@ -460,7 +460,7 @@ }, { "x": 182, - "y": 213 + "y": 214 } ], "animated": false, @@ -498,7 +498,7 @@ }, { "x": 286, - "y": 326 + "y": 318 } ], "animated": false, diff --git a/e2etests/testdata/todo/container_label_edge_adjustment/elk/sketch.exp.svg b/e2etests/testdata/todo/container_label_edge_adjustment/elk/sketch.exp.svg index 763056b6a..c58556eb8 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/container_label_edge_adjustment/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -aa container labeldefgc - + .d2-1280600924 .fill-N1{fill:#0A0F25;} + .d2-1280600924 .fill-N2{fill:#676C7E;} + .d2-1280600924 .fill-N3{fill:#9499AB;} + .d2-1280600924 .fill-N4{fill:#CFD2DD;} + .d2-1280600924 .fill-N5{fill:#DEE1EB;} + .d2-1280600924 .fill-N6{fill:#EEF1F8;} + .d2-1280600924 .fill-N7{fill:#FFFFFF;} + .d2-1280600924 .fill-B1{fill:#0D32B2;} + .d2-1280600924 .fill-B2{fill:#0D32B2;} + .d2-1280600924 .fill-B3{fill:#E3E9FD;} + .d2-1280600924 .fill-B4{fill:#E3E9FD;} + .d2-1280600924 .fill-B5{fill:#EDF0FD;} + .d2-1280600924 .fill-B6{fill:#F7F8FE;} + .d2-1280600924 .fill-AA2{fill:#4A6FF3;} + .d2-1280600924 .fill-AA4{fill:#EDF0FD;} + .d2-1280600924 .fill-AA5{fill:#F7F8FE;} + .d2-1280600924 .fill-AB4{fill:#EDF0FD;} + .d2-1280600924 .fill-AB5{fill:#F7F8FE;} + .d2-1280600924 .stroke-N1{stroke:#0A0F25;} + .d2-1280600924 .stroke-N2{stroke:#676C7E;} + .d2-1280600924 .stroke-N3{stroke:#9499AB;} + .d2-1280600924 .stroke-N4{stroke:#CFD2DD;} + .d2-1280600924 .stroke-N5{stroke:#DEE1EB;} + .d2-1280600924 .stroke-N6{stroke:#EEF1F8;} + .d2-1280600924 .stroke-N7{stroke:#FFFFFF;} + .d2-1280600924 .stroke-B1{stroke:#0D32B2;} + .d2-1280600924 .stroke-B2{stroke:#0D32B2;} + .d2-1280600924 .stroke-B3{stroke:#E3E9FD;} + .d2-1280600924 .stroke-B4{stroke:#E3E9FD;} + .d2-1280600924 .stroke-B5{stroke:#EDF0FD;} + .d2-1280600924 .stroke-B6{stroke:#F7F8FE;} + .d2-1280600924 .stroke-AA2{stroke:#4A6FF3;} + .d2-1280600924 .stroke-AA4{stroke:#EDF0FD;} + .d2-1280600924 .stroke-AA5{stroke:#F7F8FE;} + .d2-1280600924 .stroke-AB4{stroke:#EDF0FD;} + .d2-1280600924 .stroke-AB5{stroke:#F7F8FE;} + .d2-1280600924 .background-color-N1{background-color:#0A0F25;} + .d2-1280600924 .background-color-N2{background-color:#676C7E;} + .d2-1280600924 .background-color-N3{background-color:#9499AB;} + .d2-1280600924 .background-color-N4{background-color:#CFD2DD;} + .d2-1280600924 .background-color-N5{background-color:#DEE1EB;} + .d2-1280600924 .background-color-N6{background-color:#EEF1F8;} + .d2-1280600924 .background-color-N7{background-color:#FFFFFF;} + .d2-1280600924 .background-color-B1{background-color:#0D32B2;} + .d2-1280600924 .background-color-B2{background-color:#0D32B2;} + .d2-1280600924 .background-color-B3{background-color:#E3E9FD;} + .d2-1280600924 .background-color-B4{background-color:#E3E9FD;} + .d2-1280600924 .background-color-B5{background-color:#EDF0FD;} + .d2-1280600924 .background-color-B6{background-color:#F7F8FE;} + .d2-1280600924 .background-color-AA2{background-color:#4A6FF3;} + .d2-1280600924 .background-color-AA4{background-color:#EDF0FD;} + .d2-1280600924 .background-color-AA5{background-color:#F7F8FE;} + .d2-1280600924 .background-color-AB4{background-color:#EDF0FD;} + .d2-1280600924 .background-color-AB5{background-color:#F7F8FE;} + .d2-1280600924 .color-N1{color:#0A0F25;} + .d2-1280600924 .color-N2{color:#676C7E;} + .d2-1280600924 .color-N3{color:#9499AB;} + .d2-1280600924 .color-N4{color:#CFD2DD;} + .d2-1280600924 .color-N5{color:#DEE1EB;} + .d2-1280600924 .color-N6{color:#EEF1F8;} + .d2-1280600924 .color-N7{color:#FFFFFF;} + .d2-1280600924 .color-B1{color:#0D32B2;} + .d2-1280600924 .color-B2{color:#0D32B2;} + .d2-1280600924 .color-B3{color:#E3E9FD;} + .d2-1280600924 .color-B4{color:#E3E9FD;} + .d2-1280600924 .color-B5{color:#EDF0FD;} + .d2-1280600924 .color-B6{color:#F7F8FE;} + .d2-1280600924 .color-AA2{color:#4A6FF3;} + .d2-1280600924 .color-AA4{color:#EDF0FD;} + .d2-1280600924 .color-AA5{color:#F7F8FE;} + .d2-1280600924 .color-AB4{color:#EDF0FD;} + .d2-1280600924 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>aa container labeldefgc + - - + + - + \ No newline at end of file diff --git a/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/board.exp.json b/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/board.exp.json index 3dc98d2b0..d503bd825 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/board.exp.json +++ b/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/board.exp.json @@ -48,11 +48,11 @@ "id": "y", "type": "rectangle", "pos": { - "x": 0, - "y": 207 + "x": 10, + "y": 186 }, - "width": 132, - "height": 125, + "width": 112, + "height": 126, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "rectangle", "pos": { "x": 40, - "y": 236 + "y": 216 }, "width": 52, "height": 66, @@ -174,11 +174,11 @@ }, { "x": 66, - "y": 126 + "y": 121.80000305175781 }, { "x": 66, - "y": 166 + "y": 145 } ], "isCurve": true, diff --git a/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/sketch.exp.svg b/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/sketch.exp.svg index 688f602e3..d73f69271 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -xbarz foo - + .d2-3520681588 .fill-N1{fill:#0A0F25;} + .d2-3520681588 .fill-N2{fill:#676C7E;} + .d2-3520681588 .fill-N3{fill:#9499AB;} + .d2-3520681588 .fill-N4{fill:#CFD2DD;} + .d2-3520681588 .fill-N5{fill:#DEE1EB;} + .d2-3520681588 .fill-N6{fill:#EEF1F8;} + .d2-3520681588 .fill-N7{fill:#FFFFFF;} + .d2-3520681588 .fill-B1{fill:#0D32B2;} + .d2-3520681588 .fill-B2{fill:#0D32B2;} + .d2-3520681588 .fill-B3{fill:#E3E9FD;} + .d2-3520681588 .fill-B4{fill:#E3E9FD;} + .d2-3520681588 .fill-B5{fill:#EDF0FD;} + .d2-3520681588 .fill-B6{fill:#F7F8FE;} + .d2-3520681588 .fill-AA2{fill:#4A6FF3;} + .d2-3520681588 .fill-AA4{fill:#EDF0FD;} + .d2-3520681588 .fill-AA5{fill:#F7F8FE;} + .d2-3520681588 .fill-AB4{fill:#EDF0FD;} + .d2-3520681588 .fill-AB5{fill:#F7F8FE;} + .d2-3520681588 .stroke-N1{stroke:#0A0F25;} + .d2-3520681588 .stroke-N2{stroke:#676C7E;} + .d2-3520681588 .stroke-N3{stroke:#9499AB;} + .d2-3520681588 .stroke-N4{stroke:#CFD2DD;} + .d2-3520681588 .stroke-N5{stroke:#DEE1EB;} + .d2-3520681588 .stroke-N6{stroke:#EEF1F8;} + .d2-3520681588 .stroke-N7{stroke:#FFFFFF;} + .d2-3520681588 .stroke-B1{stroke:#0D32B2;} + .d2-3520681588 .stroke-B2{stroke:#0D32B2;} + .d2-3520681588 .stroke-B3{stroke:#E3E9FD;} + .d2-3520681588 .stroke-B4{stroke:#E3E9FD;} + .d2-3520681588 .stroke-B5{stroke:#EDF0FD;} + .d2-3520681588 .stroke-B6{stroke:#F7F8FE;} + .d2-3520681588 .stroke-AA2{stroke:#4A6FF3;} + .d2-3520681588 .stroke-AA4{stroke:#EDF0FD;} + .d2-3520681588 .stroke-AA5{stroke:#F7F8FE;} + .d2-3520681588 .stroke-AB4{stroke:#EDF0FD;} + .d2-3520681588 .stroke-AB5{stroke:#F7F8FE;} + .d2-3520681588 .background-color-N1{background-color:#0A0F25;} + .d2-3520681588 .background-color-N2{background-color:#676C7E;} + .d2-3520681588 .background-color-N3{background-color:#9499AB;} + .d2-3520681588 .background-color-N4{background-color:#CFD2DD;} + .d2-3520681588 .background-color-N5{background-color:#DEE1EB;} + .d2-3520681588 .background-color-N6{background-color:#EEF1F8;} + .d2-3520681588 .background-color-N7{background-color:#FFFFFF;} + .d2-3520681588 .background-color-B1{background-color:#0D32B2;} + .d2-3520681588 .background-color-B2{background-color:#0D32B2;} + .d2-3520681588 .background-color-B3{background-color:#E3E9FD;} + .d2-3520681588 .background-color-B4{background-color:#E3E9FD;} + .d2-3520681588 .background-color-B5{background-color:#EDF0FD;} + .d2-3520681588 .background-color-B6{background-color:#F7F8FE;} + .d2-3520681588 .background-color-AA2{background-color:#4A6FF3;} + .d2-3520681588 .background-color-AA4{background-color:#EDF0FD;} + .d2-3520681588 .background-color-AA5{background-color:#F7F8FE;} + .d2-3520681588 .background-color-AB4{background-color:#EDF0FD;} + .d2-3520681588 .background-color-AB5{background-color:#F7F8FE;} + .d2-3520681588 .color-N1{color:#0A0F25;} + .d2-3520681588 .color-N2{color:#676C7E;} + .d2-3520681588 .color-N3{color:#9499AB;} + .d2-3520681588 .color-N4{color:#CFD2DD;} + .d2-3520681588 .color-N5{color:#DEE1EB;} + .d2-3520681588 .color-N6{color:#EEF1F8;} + .d2-3520681588 .color-N7{color:#FFFFFF;} + .d2-3520681588 .color-B1{color:#0D32B2;} + .d2-3520681588 .color-B2{color:#0D32B2;} + .d2-3520681588 .color-B3{color:#E3E9FD;} + .d2-3520681588 .color-B4{color:#E3E9FD;} + .d2-3520681588 .color-B5{color:#EDF0FD;} + .d2-3520681588 .color-B6{color:#F7F8FE;} + .d2-3520681588 .color-AA2{color:#4A6FF3;} + .d2-3520681588 .color-AA4{color:#EDF0FD;} + .d2-3520681588 .color-AA5{color:#F7F8FE;} + .d2-3520681588 .color-AB4{color:#EDF0FD;} + .d2-3520681588 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xbarz foo + - - + + \ No newline at end of file diff --git a/e2etests/testdata/todo/container_label_edge_adjustment2/elk/sketch.exp.svg b/e2etests/testdata/todo/container_label_edge_adjustment2/elk/sketch.exp.svg index 49d79af6d..addb78754 100644 --- a/e2etests/testdata/todo/container_label_edge_adjustment2/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/container_label_edge_adjustment2/elk/sketch.exp.svg @@ -1,23 +1,23 @@ -xbarz foo + .d2-2150775247 .fill-N1{fill:#0A0F25;} + .d2-2150775247 .fill-N2{fill:#676C7E;} + .d2-2150775247 .fill-N3{fill:#9499AB;} + .d2-2150775247 .fill-N4{fill:#CFD2DD;} + .d2-2150775247 .fill-N5{fill:#DEE1EB;} + .d2-2150775247 .fill-N6{fill:#EEF1F8;} + .d2-2150775247 .fill-N7{fill:#FFFFFF;} + .d2-2150775247 .fill-B1{fill:#0D32B2;} + .d2-2150775247 .fill-B2{fill:#0D32B2;} + .d2-2150775247 .fill-B3{fill:#E3E9FD;} + .d2-2150775247 .fill-B4{fill:#E3E9FD;} + .d2-2150775247 .fill-B5{fill:#EDF0FD;} + .d2-2150775247 .fill-B6{fill:#F7F8FE;} + .d2-2150775247 .fill-AA2{fill:#4A6FF3;} + .d2-2150775247 .fill-AA4{fill:#EDF0FD;} + .d2-2150775247 .fill-AA5{fill:#F7F8FE;} + .d2-2150775247 .fill-AB4{fill:#EDF0FD;} + .d2-2150775247 .fill-AB5{fill:#F7F8FE;} + .d2-2150775247 .stroke-N1{stroke:#0A0F25;} + .d2-2150775247 .stroke-N2{stroke:#676C7E;} + .d2-2150775247 .stroke-N3{stroke:#9499AB;} + .d2-2150775247 .stroke-N4{stroke:#CFD2DD;} + .d2-2150775247 .stroke-N5{stroke:#DEE1EB;} + .d2-2150775247 .stroke-N6{stroke:#EEF1F8;} + .d2-2150775247 .stroke-N7{stroke:#FFFFFF;} + .d2-2150775247 .stroke-B1{stroke:#0D32B2;} + .d2-2150775247 .stroke-B2{stroke:#0D32B2;} + .d2-2150775247 .stroke-B3{stroke:#E3E9FD;} + .d2-2150775247 .stroke-B4{stroke:#E3E9FD;} + .d2-2150775247 .stroke-B5{stroke:#EDF0FD;} + .d2-2150775247 .stroke-B6{stroke:#F7F8FE;} + .d2-2150775247 .stroke-AA2{stroke:#4A6FF3;} + .d2-2150775247 .stroke-AA4{stroke:#EDF0FD;} + .d2-2150775247 .stroke-AA5{stroke:#F7F8FE;} + .d2-2150775247 .stroke-AB4{stroke:#EDF0FD;} + .d2-2150775247 .stroke-AB5{stroke:#F7F8FE;} + .d2-2150775247 .background-color-N1{background-color:#0A0F25;} + .d2-2150775247 .background-color-N2{background-color:#676C7E;} + .d2-2150775247 .background-color-N3{background-color:#9499AB;} + .d2-2150775247 .background-color-N4{background-color:#CFD2DD;} + .d2-2150775247 .background-color-N5{background-color:#DEE1EB;} + .d2-2150775247 .background-color-N6{background-color:#EEF1F8;} + .d2-2150775247 .background-color-N7{background-color:#FFFFFF;} + .d2-2150775247 .background-color-B1{background-color:#0D32B2;} + .d2-2150775247 .background-color-B2{background-color:#0D32B2;} + .d2-2150775247 .background-color-B3{background-color:#E3E9FD;} + .d2-2150775247 .background-color-B4{background-color:#E3E9FD;} + .d2-2150775247 .background-color-B5{background-color:#EDF0FD;} + .d2-2150775247 .background-color-B6{background-color:#F7F8FE;} + .d2-2150775247 .background-color-AA2{background-color:#4A6FF3;} + .d2-2150775247 .background-color-AA4{background-color:#EDF0FD;} + .d2-2150775247 .background-color-AA5{background-color:#F7F8FE;} + .d2-2150775247 .background-color-AB4{background-color:#EDF0FD;} + .d2-2150775247 .background-color-AB5{background-color:#F7F8FE;} + .d2-2150775247 .color-N1{color:#0A0F25;} + .d2-2150775247 .color-N2{color:#676C7E;} + .d2-2150775247 .color-N3{color:#9499AB;} + .d2-2150775247 .color-N4{color:#CFD2DD;} + .d2-2150775247 .color-N5{color:#DEE1EB;} + .d2-2150775247 .color-N6{color:#EEF1F8;} + .d2-2150775247 .color-N7{color:#FFFFFF;} + .d2-2150775247 .color-B1{color:#0D32B2;} + .d2-2150775247 .color-B2{color:#0D32B2;} + .d2-2150775247 .color-B3{color:#E3E9FD;} + .d2-2150775247 .color-B4{color:#E3E9FD;} + .d2-2150775247 .color-B5{color:#EDF0FD;} + .d2-2150775247 .color-B6{color:#F7F8FE;} + .d2-2150775247 .color-AA2{color:#4A6FF3;} + .d2-2150775247 .color-AA4{color:#EDF0FD;} + .d2-2150775247 .color-AA5{color:#F7F8FE;} + .d2-2150775247 .color-AB4{color:#EDF0FD;} + .d2-2150775247 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xbarz foo diff --git a/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/board.exp.json b/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/board.exp.json index 35dde90d3..c2a5b5cf4 100644 --- a/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/board.exp.json +++ b/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/board.exp.json @@ -322,11 +322,11 @@ "labelPercentage": 0, "route": [ { - "x": 187.53599548339844, + "x": 187.5, "y": 282 }, { - "x": 240.3070068359375, + "x": 240.3000030517578, "y": 322 }, { @@ -369,11 +369,11 @@ "labelPercentage": 0, "route": [ { - "x": 141.01800537109375, + "x": 141.5, "y": 282 }, { - "x": 137.4029998779297, + "x": 137.5, "y": 322 }, { @@ -428,11 +428,11 @@ "labelPercentage": 0, "route": [ { - "x": 108.01799774169922, + "x": 108.5, "y": 282 }, { - "x": 64.40299987792969, + "x": 64.5, "y": 322 }, { @@ -511,11 +511,11 @@ "labelPercentage": 0, "route": [ { - "x": 233.6199951171875, + "x": 233.5, "y": 448 }, { - "x": 209.5240020751953, + "x": 209.5, "y": 488 }, { @@ -605,11 +605,11 @@ "labelPercentage": 0, "route": [ { - "x": 209.16200256347656, + "x": 209.5, "y": 714 }, { - "x": 276.6319885253906, + "x": 276.70001220703125, "y": 674 }, { diff --git a/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/sketch.exp.svg b/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/sketch.exp.svg index 478eba267..8d38b11f1 100644 --- a/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/dagre_container_md_label_panic/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -OEM Factory

    company Warehouse

    @@ -843,7 +843,7 @@
  • Staging
  • Dispatch to Site
  • -
    MasterRegional-1Regional-2Regional-N +
    MasterRegional-1Regional-2Regional-N diff --git a/e2etests/testdata/todo/dagre_container_md_label_panic/elk/sketch.exp.svg b/e2etests/testdata/todo/dagre_container_md_label_panic/elk/sketch.exp.svg index a62ad460e..a078d6067 100644 --- a/e2etests/testdata/todo/dagre_container_md_label_panic/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/dagre_container_md_label_panic/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -OEM Factory

    company Warehouse

    @@ -843,7 +843,7 @@
  • Staging
  • Dispatch to Site
  • -
    MasterRegional-1Regional-2Regional-N +MasterRegional-1Regional-2Regional-N diff --git a/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/dagre/sketch.exp.svg b/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/dagre/sketch.exp.svg index 9ce0dc454..a021f345e 100644 --- a/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -bacthis is a message groupand this is a nested message groupwhat about more nestingyoyo + .d2-124661428 .fill-N1{fill:#0A0F25;} + .d2-124661428 .fill-N2{fill:#676C7E;} + .d2-124661428 .fill-N3{fill:#9499AB;} + .d2-124661428 .fill-N4{fill:#CFD2DD;} + .d2-124661428 .fill-N5{fill:#DEE1EB;} + .d2-124661428 .fill-N6{fill:#EEF1F8;} + .d2-124661428 .fill-N7{fill:#FFFFFF;} + .d2-124661428 .fill-B1{fill:#0D32B2;} + .d2-124661428 .fill-B2{fill:#0D32B2;} + .d2-124661428 .fill-B3{fill:#E3E9FD;} + .d2-124661428 .fill-B4{fill:#E3E9FD;} + .d2-124661428 .fill-B5{fill:#EDF0FD;} + .d2-124661428 .fill-B6{fill:#F7F8FE;} + .d2-124661428 .fill-AA2{fill:#4A6FF3;} + .d2-124661428 .fill-AA4{fill:#EDF0FD;} + .d2-124661428 .fill-AA5{fill:#F7F8FE;} + .d2-124661428 .fill-AB4{fill:#EDF0FD;} + .d2-124661428 .fill-AB5{fill:#F7F8FE;} + .d2-124661428 .stroke-N1{stroke:#0A0F25;} + .d2-124661428 .stroke-N2{stroke:#676C7E;} + .d2-124661428 .stroke-N3{stroke:#9499AB;} + .d2-124661428 .stroke-N4{stroke:#CFD2DD;} + .d2-124661428 .stroke-N5{stroke:#DEE1EB;} + .d2-124661428 .stroke-N6{stroke:#EEF1F8;} + .d2-124661428 .stroke-N7{stroke:#FFFFFF;} + .d2-124661428 .stroke-B1{stroke:#0D32B2;} + .d2-124661428 .stroke-B2{stroke:#0D32B2;} + .d2-124661428 .stroke-B3{stroke:#E3E9FD;} + .d2-124661428 .stroke-B4{stroke:#E3E9FD;} + .d2-124661428 .stroke-B5{stroke:#EDF0FD;} + .d2-124661428 .stroke-B6{stroke:#F7F8FE;} + .d2-124661428 .stroke-AA2{stroke:#4A6FF3;} + .d2-124661428 .stroke-AA4{stroke:#EDF0FD;} + .d2-124661428 .stroke-AA5{stroke:#F7F8FE;} + .d2-124661428 .stroke-AB4{stroke:#EDF0FD;} + .d2-124661428 .stroke-AB5{stroke:#F7F8FE;} + .d2-124661428 .background-color-N1{background-color:#0A0F25;} + .d2-124661428 .background-color-N2{background-color:#676C7E;} + .d2-124661428 .background-color-N3{background-color:#9499AB;} + .d2-124661428 .background-color-N4{background-color:#CFD2DD;} + .d2-124661428 .background-color-N5{background-color:#DEE1EB;} + .d2-124661428 .background-color-N6{background-color:#EEF1F8;} + .d2-124661428 .background-color-N7{background-color:#FFFFFF;} + .d2-124661428 .background-color-B1{background-color:#0D32B2;} + .d2-124661428 .background-color-B2{background-color:#0D32B2;} + .d2-124661428 .background-color-B3{background-color:#E3E9FD;} + .d2-124661428 .background-color-B4{background-color:#E3E9FD;} + .d2-124661428 .background-color-B5{background-color:#EDF0FD;} + .d2-124661428 .background-color-B6{background-color:#F7F8FE;} + .d2-124661428 .background-color-AA2{background-color:#4A6FF3;} + .d2-124661428 .background-color-AA4{background-color:#EDF0FD;} + .d2-124661428 .background-color-AA5{background-color:#F7F8FE;} + .d2-124661428 .background-color-AB4{background-color:#EDF0FD;} + .d2-124661428 .background-color-AB5{background-color:#F7F8FE;} + .d2-124661428 .color-N1{color:#0A0F25;} + .d2-124661428 .color-N2{color:#676C7E;} + .d2-124661428 .color-N3{color:#9499AB;} + .d2-124661428 .color-N4{color:#CFD2DD;} + .d2-124661428 .color-N5{color:#DEE1EB;} + .d2-124661428 .color-N6{color:#EEF1F8;} + .d2-124661428 .color-N7{color:#FFFFFF;} + .d2-124661428 .color-B1{color:#0D32B2;} + .d2-124661428 .color-B2{color:#0D32B2;} + .d2-124661428 .color-B3{color:#E3E9FD;} + .d2-124661428 .color-B4{color:#E3E9FD;} + .d2-124661428 .color-B5{color:#EDF0FD;} + .d2-124661428 .color-B6{color:#F7F8FE;} + .d2-124661428 .color-AA2{color:#4A6FF3;} + .d2-124661428 .color-AA4{color:#EDF0FD;} + .d2-124661428 .color-AA5{color:#F7F8FE;} + .d2-124661428 .color-AB4{color:#EDF0FD;} + .d2-124661428 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>bacthis is a message groupand this is a nested message groupwhat about more nestingyoyo diff --git a/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/elk/sketch.exp.svg b/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/elk/sketch.exp.svg index 9ce0dc454..a021f345e 100644 --- a/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/sequence_diagram_actor_padding_nested_groups/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -bacthis is a message groupand this is a nested message groupwhat about more nestingyoyo + .d2-124661428 .fill-N1{fill:#0A0F25;} + .d2-124661428 .fill-N2{fill:#676C7E;} + .d2-124661428 .fill-N3{fill:#9499AB;} + .d2-124661428 .fill-N4{fill:#CFD2DD;} + .d2-124661428 .fill-N5{fill:#DEE1EB;} + .d2-124661428 .fill-N6{fill:#EEF1F8;} + .d2-124661428 .fill-N7{fill:#FFFFFF;} + .d2-124661428 .fill-B1{fill:#0D32B2;} + .d2-124661428 .fill-B2{fill:#0D32B2;} + .d2-124661428 .fill-B3{fill:#E3E9FD;} + .d2-124661428 .fill-B4{fill:#E3E9FD;} + .d2-124661428 .fill-B5{fill:#EDF0FD;} + .d2-124661428 .fill-B6{fill:#F7F8FE;} + .d2-124661428 .fill-AA2{fill:#4A6FF3;} + .d2-124661428 .fill-AA4{fill:#EDF0FD;} + .d2-124661428 .fill-AA5{fill:#F7F8FE;} + .d2-124661428 .fill-AB4{fill:#EDF0FD;} + .d2-124661428 .fill-AB5{fill:#F7F8FE;} + .d2-124661428 .stroke-N1{stroke:#0A0F25;} + .d2-124661428 .stroke-N2{stroke:#676C7E;} + .d2-124661428 .stroke-N3{stroke:#9499AB;} + .d2-124661428 .stroke-N4{stroke:#CFD2DD;} + .d2-124661428 .stroke-N5{stroke:#DEE1EB;} + .d2-124661428 .stroke-N6{stroke:#EEF1F8;} + .d2-124661428 .stroke-N7{stroke:#FFFFFF;} + .d2-124661428 .stroke-B1{stroke:#0D32B2;} + .d2-124661428 .stroke-B2{stroke:#0D32B2;} + .d2-124661428 .stroke-B3{stroke:#E3E9FD;} + .d2-124661428 .stroke-B4{stroke:#E3E9FD;} + .d2-124661428 .stroke-B5{stroke:#EDF0FD;} + .d2-124661428 .stroke-B6{stroke:#F7F8FE;} + .d2-124661428 .stroke-AA2{stroke:#4A6FF3;} + .d2-124661428 .stroke-AA4{stroke:#EDF0FD;} + .d2-124661428 .stroke-AA5{stroke:#F7F8FE;} + .d2-124661428 .stroke-AB4{stroke:#EDF0FD;} + .d2-124661428 .stroke-AB5{stroke:#F7F8FE;} + .d2-124661428 .background-color-N1{background-color:#0A0F25;} + .d2-124661428 .background-color-N2{background-color:#676C7E;} + .d2-124661428 .background-color-N3{background-color:#9499AB;} + .d2-124661428 .background-color-N4{background-color:#CFD2DD;} + .d2-124661428 .background-color-N5{background-color:#DEE1EB;} + .d2-124661428 .background-color-N6{background-color:#EEF1F8;} + .d2-124661428 .background-color-N7{background-color:#FFFFFF;} + .d2-124661428 .background-color-B1{background-color:#0D32B2;} + .d2-124661428 .background-color-B2{background-color:#0D32B2;} + .d2-124661428 .background-color-B3{background-color:#E3E9FD;} + .d2-124661428 .background-color-B4{background-color:#E3E9FD;} + .d2-124661428 .background-color-B5{background-color:#EDF0FD;} + .d2-124661428 .background-color-B6{background-color:#F7F8FE;} + .d2-124661428 .background-color-AA2{background-color:#4A6FF3;} + .d2-124661428 .background-color-AA4{background-color:#EDF0FD;} + .d2-124661428 .background-color-AA5{background-color:#F7F8FE;} + .d2-124661428 .background-color-AB4{background-color:#EDF0FD;} + .d2-124661428 .background-color-AB5{background-color:#F7F8FE;} + .d2-124661428 .color-N1{color:#0A0F25;} + .d2-124661428 .color-N2{color:#676C7E;} + .d2-124661428 .color-N3{color:#9499AB;} + .d2-124661428 .color-N4{color:#CFD2DD;} + .d2-124661428 .color-N5{color:#DEE1EB;} + .d2-124661428 .color-N6{color:#EEF1F8;} + .d2-124661428 .color-N7{color:#FFFFFF;} + .d2-124661428 .color-B1{color:#0D32B2;} + .d2-124661428 .color-B2{color:#0D32B2;} + .d2-124661428 .color-B3{color:#E3E9FD;} + .d2-124661428 .color-B4{color:#E3E9FD;} + .d2-124661428 .color-B5{color:#EDF0FD;} + .d2-124661428 .color-B6{color:#F7F8FE;} + .d2-124661428 .color-AA2{color:#4A6FF3;} + .d2-124661428 .color-AA4{color:#EDF0FD;} + .d2-124661428 .color-AA5{color:#F7F8FE;} + .d2-124661428 .color-AB4{color:#EDF0FD;} + .d2-124661428 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>bacthis is a message groupand this is a nested message groupwhat about more nestingyoyo diff --git a/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/dagre/sketch.exp.svg b/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/dagre/sketch.exp.svg index 21fb1a14d..d7a566b44 100644 --- a/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -Office chatterAliceBobbyawkward small talkicebreaker attemptunfortunate outcome uhm, hioh, hellowhat did you have for lunch?that's personal + .d2-562107218 .fill-N1{fill:#0A0F25;} + .d2-562107218 .fill-N2{fill:#676C7E;} + .d2-562107218 .fill-N3{fill:#9499AB;} + .d2-562107218 .fill-N4{fill:#CFD2DD;} + .d2-562107218 .fill-N5{fill:#DEE1EB;} + .d2-562107218 .fill-N6{fill:#EEF1F8;} + .d2-562107218 .fill-N7{fill:#FFFFFF;} + .d2-562107218 .fill-B1{fill:#0D32B2;} + .d2-562107218 .fill-B2{fill:#0D32B2;} + .d2-562107218 .fill-B3{fill:#E3E9FD;} + .d2-562107218 .fill-B4{fill:#E3E9FD;} + .d2-562107218 .fill-B5{fill:#EDF0FD;} + .d2-562107218 .fill-B6{fill:#F7F8FE;} + .d2-562107218 .fill-AA2{fill:#4A6FF3;} + .d2-562107218 .fill-AA4{fill:#EDF0FD;} + .d2-562107218 .fill-AA5{fill:#F7F8FE;} + .d2-562107218 .fill-AB4{fill:#EDF0FD;} + .d2-562107218 .fill-AB5{fill:#F7F8FE;} + .d2-562107218 .stroke-N1{stroke:#0A0F25;} + .d2-562107218 .stroke-N2{stroke:#676C7E;} + .d2-562107218 .stroke-N3{stroke:#9499AB;} + .d2-562107218 .stroke-N4{stroke:#CFD2DD;} + .d2-562107218 .stroke-N5{stroke:#DEE1EB;} + .d2-562107218 .stroke-N6{stroke:#EEF1F8;} + .d2-562107218 .stroke-N7{stroke:#FFFFFF;} + .d2-562107218 .stroke-B1{stroke:#0D32B2;} + .d2-562107218 .stroke-B2{stroke:#0D32B2;} + .d2-562107218 .stroke-B3{stroke:#E3E9FD;} + .d2-562107218 .stroke-B4{stroke:#E3E9FD;} + .d2-562107218 .stroke-B5{stroke:#EDF0FD;} + .d2-562107218 .stroke-B6{stroke:#F7F8FE;} + .d2-562107218 .stroke-AA2{stroke:#4A6FF3;} + .d2-562107218 .stroke-AA4{stroke:#EDF0FD;} + .d2-562107218 .stroke-AA5{stroke:#F7F8FE;} + .d2-562107218 .stroke-AB4{stroke:#EDF0FD;} + .d2-562107218 .stroke-AB5{stroke:#F7F8FE;} + .d2-562107218 .background-color-N1{background-color:#0A0F25;} + .d2-562107218 .background-color-N2{background-color:#676C7E;} + .d2-562107218 .background-color-N3{background-color:#9499AB;} + .d2-562107218 .background-color-N4{background-color:#CFD2DD;} + .d2-562107218 .background-color-N5{background-color:#DEE1EB;} + .d2-562107218 .background-color-N6{background-color:#EEF1F8;} + .d2-562107218 .background-color-N7{background-color:#FFFFFF;} + .d2-562107218 .background-color-B1{background-color:#0D32B2;} + .d2-562107218 .background-color-B2{background-color:#0D32B2;} + .d2-562107218 .background-color-B3{background-color:#E3E9FD;} + .d2-562107218 .background-color-B4{background-color:#E3E9FD;} + .d2-562107218 .background-color-B5{background-color:#EDF0FD;} + .d2-562107218 .background-color-B6{background-color:#F7F8FE;} + .d2-562107218 .background-color-AA2{background-color:#4A6FF3;} + .d2-562107218 .background-color-AA4{background-color:#EDF0FD;} + .d2-562107218 .background-color-AA5{background-color:#F7F8FE;} + .d2-562107218 .background-color-AB4{background-color:#EDF0FD;} + .d2-562107218 .background-color-AB5{background-color:#F7F8FE;} + .d2-562107218 .color-N1{color:#0A0F25;} + .d2-562107218 .color-N2{color:#676C7E;} + .d2-562107218 .color-N3{color:#9499AB;} + .d2-562107218 .color-N4{color:#CFD2DD;} + .d2-562107218 .color-N5{color:#DEE1EB;} + .d2-562107218 .color-N6{color:#EEF1F8;} + .d2-562107218 .color-N7{color:#FFFFFF;} + .d2-562107218 .color-B1{color:#0D32B2;} + .d2-562107218 .color-B2{color:#0D32B2;} + .d2-562107218 .color-B3{color:#E3E9FD;} + .d2-562107218 .color-B4{color:#E3E9FD;} + .d2-562107218 .color-B5{color:#EDF0FD;} + .d2-562107218 .color-B6{color:#F7F8FE;} + .d2-562107218 .color-AA2{color:#4A6FF3;} + .d2-562107218 .color-AA4{color:#EDF0FD;} + .d2-562107218 .color-AA5{color:#F7F8FE;} + .d2-562107218 .color-AB4{color:#EDF0FD;} + .d2-562107218 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Office chatterAliceBobbyawkward small talkicebreaker attemptunfortunate outcome uhm, hioh, hellowhat did you have for lunch?that's personal diff --git a/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/elk/sketch.exp.svg b/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/elk/sketch.exp.svg index 2f05e9e0f..3c37dca11 100644 --- a/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/sequence_diagram_edge_group_span_field/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -Office chatterAliceBobbyawkward small talkicebreaker attemptunfortunate outcome uhm, hioh, hellowhat did you have for lunch?that's personal + .d2-269856569 .fill-N1{fill:#0A0F25;} + .d2-269856569 .fill-N2{fill:#676C7E;} + .d2-269856569 .fill-N3{fill:#9499AB;} + .d2-269856569 .fill-N4{fill:#CFD2DD;} + .d2-269856569 .fill-N5{fill:#DEE1EB;} + .d2-269856569 .fill-N6{fill:#EEF1F8;} + .d2-269856569 .fill-N7{fill:#FFFFFF;} + .d2-269856569 .fill-B1{fill:#0D32B2;} + .d2-269856569 .fill-B2{fill:#0D32B2;} + .d2-269856569 .fill-B3{fill:#E3E9FD;} + .d2-269856569 .fill-B4{fill:#E3E9FD;} + .d2-269856569 .fill-B5{fill:#EDF0FD;} + .d2-269856569 .fill-B6{fill:#F7F8FE;} + .d2-269856569 .fill-AA2{fill:#4A6FF3;} + .d2-269856569 .fill-AA4{fill:#EDF0FD;} + .d2-269856569 .fill-AA5{fill:#F7F8FE;} + .d2-269856569 .fill-AB4{fill:#EDF0FD;} + .d2-269856569 .fill-AB5{fill:#F7F8FE;} + .d2-269856569 .stroke-N1{stroke:#0A0F25;} + .d2-269856569 .stroke-N2{stroke:#676C7E;} + .d2-269856569 .stroke-N3{stroke:#9499AB;} + .d2-269856569 .stroke-N4{stroke:#CFD2DD;} + .d2-269856569 .stroke-N5{stroke:#DEE1EB;} + .d2-269856569 .stroke-N6{stroke:#EEF1F8;} + .d2-269856569 .stroke-N7{stroke:#FFFFFF;} + .d2-269856569 .stroke-B1{stroke:#0D32B2;} + .d2-269856569 .stroke-B2{stroke:#0D32B2;} + .d2-269856569 .stroke-B3{stroke:#E3E9FD;} + .d2-269856569 .stroke-B4{stroke:#E3E9FD;} + .d2-269856569 .stroke-B5{stroke:#EDF0FD;} + .d2-269856569 .stroke-B6{stroke:#F7F8FE;} + .d2-269856569 .stroke-AA2{stroke:#4A6FF3;} + .d2-269856569 .stroke-AA4{stroke:#EDF0FD;} + .d2-269856569 .stroke-AA5{stroke:#F7F8FE;} + .d2-269856569 .stroke-AB4{stroke:#EDF0FD;} + .d2-269856569 .stroke-AB5{stroke:#F7F8FE;} + .d2-269856569 .background-color-N1{background-color:#0A0F25;} + .d2-269856569 .background-color-N2{background-color:#676C7E;} + .d2-269856569 .background-color-N3{background-color:#9499AB;} + .d2-269856569 .background-color-N4{background-color:#CFD2DD;} + .d2-269856569 .background-color-N5{background-color:#DEE1EB;} + .d2-269856569 .background-color-N6{background-color:#EEF1F8;} + .d2-269856569 .background-color-N7{background-color:#FFFFFF;} + .d2-269856569 .background-color-B1{background-color:#0D32B2;} + .d2-269856569 .background-color-B2{background-color:#0D32B2;} + .d2-269856569 .background-color-B3{background-color:#E3E9FD;} + .d2-269856569 .background-color-B4{background-color:#E3E9FD;} + .d2-269856569 .background-color-B5{background-color:#EDF0FD;} + .d2-269856569 .background-color-B6{background-color:#F7F8FE;} + .d2-269856569 .background-color-AA2{background-color:#4A6FF3;} + .d2-269856569 .background-color-AA4{background-color:#EDF0FD;} + .d2-269856569 .background-color-AA5{background-color:#F7F8FE;} + .d2-269856569 .background-color-AB4{background-color:#EDF0FD;} + .d2-269856569 .background-color-AB5{background-color:#F7F8FE;} + .d2-269856569 .color-N1{color:#0A0F25;} + .d2-269856569 .color-N2{color:#676C7E;} + .d2-269856569 .color-N3{color:#9499AB;} + .d2-269856569 .color-N4{color:#CFD2DD;} + .d2-269856569 .color-N5{color:#DEE1EB;} + .d2-269856569 .color-N6{color:#EEF1F8;} + .d2-269856569 .color-N7{color:#FFFFFF;} + .d2-269856569 .color-B1{color:#0D32B2;} + .d2-269856569 .color-B2{color:#0D32B2;} + .d2-269856569 .color-B3{color:#E3E9FD;} + .d2-269856569 .color-B4{color:#E3E9FD;} + .d2-269856569 .color-B5{color:#EDF0FD;} + .d2-269856569 .color-B6{color:#F7F8FE;} + .d2-269856569 .color-AA2{color:#4A6FF3;} + .d2-269856569 .color-AA4{color:#EDF0FD;} + .d2-269856569 .color-AA5{color:#F7F8FE;} + .d2-269856569 .color-AB4{color:#EDF0FD;} + .d2-269856569 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Office chatterAliceBobbyawkward small talkicebreaker attemptunfortunate outcome uhm, hioh, hellowhat did you have for lunch?that's personal diff --git a/e2etests/testdata/todo/shape_set_width_height/dagre/board.exp.json b/e2etests/testdata/todo/shape_set_width_height/dagre/board.exp.json index 54dd7728f..8b613b932 100644 --- a/e2etests/testdata/todo/shape_set_width_height/dagre/board.exp.json +++ b/e2etests/testdata/todo/shape_set_width_height/dagre/board.exp.json @@ -8,10 +8,10 @@ "type": "rectangle", "pos": { "x": 0, - "y": 41 + "y": 9 }, "width": 932, - "height": 415, + "height": 427, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,10 +49,10 @@ "type": "oval", "pos": { "x": 20, - "y": 106 + "y": 50 }, "width": 208, - "height": 320, + "height": 356, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -90,7 +90,7 @@ "type": "diamond", "pos": { "x": 60, - "y": 234 + "y": 196 }, "width": 128, "height": 64, @@ -131,10 +131,10 @@ "type": "diamond", "pos": { "x": 248, - "y": 106 + "y": 50 }, "width": 208, - "height": 320, + "height": 356, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "oval", "pos": { "x": 288, - "y": 202 + "y": 164 }, "width": 128, "height": 128, @@ -213,10 +213,10 @@ "type": "oval", "pos": { "x": 476, - "y": 106 + "y": 50 }, "width": 208, - "height": 320, + "height": 356, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -254,7 +254,7 @@ "type": "hexagon", "pos": { "x": 516, - "y": 234 + "y": 196 }, "width": 128, "height": 64, @@ -295,10 +295,10 @@ "type": "hexagon", "pos": { "x": 704, - "y": 106 + "y": 50 }, "width": 208, - "height": 320, + "height": 356, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -336,7 +336,7 @@ "type": "oval", "pos": { "x": 744, - "y": 234 + "y": 196 }, "width": 128, "height": 64, diff --git a/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg b/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg index 252b9a04b..fc0124dd1 100644 --- a/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg @@ -1,34 +1,34 @@ -containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainer

    markdown text expanded to 800x400

    +containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainer

    markdown text expanded to 800x400

    := 5 := a + 7 fmt.Printf("%d", b)a := 5 @@ -859,21 +859,21 @@ := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b)circle containerdiamond containeroval containerhexagon containerdiamondcirclehexagonoval - - +fmt.Printf("%d", b)circle containerdiamond containeroval containerhexagon containerdiamondcirclehexagonoval + + - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/todo/shape_set_width_height/elk/board.exp.json b/e2etests/testdata/todo/shape_set_width_height/elk/board.exp.json index 702ac2fd4..b60ca9bd9 100644 --- a/e2etests/testdata/todo/shape_set_width_height/elk/board.exp.json +++ b/e2etests/testdata/todo/shape_set_width_height/elk/board.exp.json @@ -11,7 +11,7 @@ "y": 12 }, "width": 1388, - "height": 438, + "height": 411, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -49,7 +49,7 @@ "type": "oval", "pos": { "x": 62, - "y": 131 + "y": 117 }, "width": 228, "height": 200, @@ -90,7 +90,7 @@ "type": "diamond", "pos": { "x": 112, - "y": 199 + "y": 185 }, "width": 128, "height": 64, @@ -134,7 +134,7 @@ "y": 62 }, "width": 414, - "height": 338, + "height": 311, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -172,7 +172,7 @@ "type": "oval", "pos": { "x": 453, - "y": 222 + "y": 174 }, "width": 128, "height": 128, @@ -213,10 +213,10 @@ "type": "oval", "pos": { "x": 744, - "y": 123 + "y": 125 }, "width": 266, - "height": 216, + "height": 184, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -254,7 +254,7 @@ "type": "hexagon", "pos": { "x": 813, - "y": 225 + "y": 195 }, "width": 128, "height": 64, @@ -295,10 +295,10 @@ "type": "hexagon", "pos": { "x": 1030, - "y": 119 + "y": 124 }, "width": 320, - "height": 224, + "height": 187, "opacity": 1, "strokeDash": 0, "strokeWidth": 2, @@ -336,7 +336,7 @@ "type": "oval", "pos": { "x": 1126, - "y": 229 + "y": 197 }, "width": 128, "height": 64, @@ -377,7 +377,7 @@ "type": "cloud", "pos": { "x": 1420, - "y": 194 + "y": 167 }, "width": 512, "height": 256, @@ -418,7 +418,7 @@ "type": "cylinder", "pos": { "x": 1548, - "y": 1390 + "y": 1363 }, "width": 256, "height": 512, @@ -459,7 +459,7 @@ "type": "class", "pos": { "x": 1276, - "y": 720 + "y": 693 }, "width": 800, "height": 400, @@ -534,7 +534,7 @@ "type": "sql_table", "pos": { "x": 1276, - "y": 1972 + "y": 1945 }, "width": 800, "height": 400, @@ -718,7 +718,7 @@ "type": "rectangle", "pos": { "x": 2239, - "y": 384 + "y": 357 }, "width": 114, "height": 66, @@ -759,7 +759,7 @@ "type": "text", "pos": { "x": 2096, - "y": 520 + "y": 493 }, "width": 400, "height": 800, @@ -799,7 +799,7 @@ "type": "code", "pos": { "x": 2096, - "y": 1496 + "y": 1469 }, "width": 400, "height": 300, @@ -839,7 +839,7 @@ "type": "code", "pos": { "x": 2196, - "y": 1972 + "y": 1945 }, "width": 199, "height": 78, @@ -902,11 +902,11 @@ "route": [ { "x": 1676, - "y": 449 + "y": 422 }, { "x": 1676, - "y": 720 + "y": 693 } ], "animated": false, @@ -940,11 +940,11 @@ "route": [ { "x": 1676, - "y": 1120 + "y": 1093 }, { "x": 1676, - "y": 1390 + "y": 1363 } ], "animated": false, @@ -978,11 +978,11 @@ "route": [ { "x": 1676, - "y": 1902 + "y": 1875 }, { "x": 1676, - "y": 1972 + "y": 1945 } ], "animated": false, @@ -1016,11 +1016,11 @@ "route": [ { "x": 2296, - "y": 450 + "y": 423 }, { "x": 2296, - "y": 520 + "y": 493 } ], "animated": false, @@ -1054,11 +1054,11 @@ "route": [ { "x": 2296, - "y": 1320 + "y": 1293 }, { "x": 2296, - "y": 1496 + "y": 1469 } ], "animated": false, @@ -1092,11 +1092,11 @@ "route": [ { "x": 2296, - "y": 1796 + "y": 1769 }, { "x": 2296, - "y": 1972 + "y": 1945 } ], "animated": false, diff --git a/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg b/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg index af9f86845..8213f5b49 100644 --- a/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg @@ -1,34 +1,34 @@ -containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainer

    markdown text expanded to 800x400

    -
    := 5 +containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainer

    markdown text expanded to 800x400

    +
    := 5 := a + 7 -fmt.Printf("%d", b)a := 5 +fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b):= 5 +fmt.Printf("%d", b):= 5 := a + 7 -fmt.Printf("%d", b)a := 5 +fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b)circle containerdiamond containeroval containerhexagon containerdiamondcirclehexagonoval - +
    fmt.Printf("%d", b)
    circle containerdiamond containeroval containerhexagon containerdiamondcirclehexagonoval + - - - - - - - - - - - - - - + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/e2etests/testdata/unicode/chinese/dagre/sketch.exp.svg b/e2etests/testdata/unicode/chinese/dagre/sketch.exp.svg index fb44fc254..00dacba24 100644 --- a/e2etests/testdata/unicode/chinese/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/chinese/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -

    床前明月光,

    疑是地上霜。

    举头望明月,

    低头思故乡。

    -
    所以,即使夏天很热 +
    所以,即使夏天很热 diff --git a/e2etests/testdata/unicode/chinese/elk/sketch.exp.svg b/e2etests/testdata/unicode/chinese/elk/sketch.exp.svg index 2efca7940..2e4c6965c 100644 --- a/e2etests/testdata/unicode/chinese/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/chinese/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -

    床前明月光,

    疑是地上霜。

    举头望明月,

    低头思故乡。

    -
    所以,即使夏天很热 +所以,即使夏天很热 diff --git a/e2etests/testdata/unicode/emojis/dagre/sketch.exp.svg b/e2etests/testdata/unicode/emojis/dagre/sketch.exp.svg index 5c354ffe1..7ae1e9de2 100644 --- a/e2etests/testdata/unicode/emojis/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/emojis/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -🙈🙈🙈🙈🙈🙈🙈🙈✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️ + .d2-3342222526 .fill-N1{fill:#0A0F25;} + .d2-3342222526 .fill-N2{fill:#676C7E;} + .d2-3342222526 .fill-N3{fill:#9499AB;} + .d2-3342222526 .fill-N4{fill:#CFD2DD;} + .d2-3342222526 .fill-N5{fill:#DEE1EB;} + .d2-3342222526 .fill-N6{fill:#EEF1F8;} + .d2-3342222526 .fill-N7{fill:#FFFFFF;} + .d2-3342222526 .fill-B1{fill:#0D32B2;} + .d2-3342222526 .fill-B2{fill:#0D32B2;} + .d2-3342222526 .fill-B3{fill:#E3E9FD;} + .d2-3342222526 .fill-B4{fill:#E3E9FD;} + .d2-3342222526 .fill-B5{fill:#EDF0FD;} + .d2-3342222526 .fill-B6{fill:#F7F8FE;} + .d2-3342222526 .fill-AA2{fill:#4A6FF3;} + .d2-3342222526 .fill-AA4{fill:#EDF0FD;} + .d2-3342222526 .fill-AA5{fill:#F7F8FE;} + .d2-3342222526 .fill-AB4{fill:#EDF0FD;} + .d2-3342222526 .fill-AB5{fill:#F7F8FE;} + .d2-3342222526 .stroke-N1{stroke:#0A0F25;} + .d2-3342222526 .stroke-N2{stroke:#676C7E;} + .d2-3342222526 .stroke-N3{stroke:#9499AB;} + .d2-3342222526 .stroke-N4{stroke:#CFD2DD;} + .d2-3342222526 .stroke-N5{stroke:#DEE1EB;} + .d2-3342222526 .stroke-N6{stroke:#EEF1F8;} + .d2-3342222526 .stroke-N7{stroke:#FFFFFF;} + .d2-3342222526 .stroke-B1{stroke:#0D32B2;} + .d2-3342222526 .stroke-B2{stroke:#0D32B2;} + .d2-3342222526 .stroke-B3{stroke:#E3E9FD;} + .d2-3342222526 .stroke-B4{stroke:#E3E9FD;} + .d2-3342222526 .stroke-B5{stroke:#EDF0FD;} + .d2-3342222526 .stroke-B6{stroke:#F7F8FE;} + .d2-3342222526 .stroke-AA2{stroke:#4A6FF3;} + .d2-3342222526 .stroke-AA4{stroke:#EDF0FD;} + .d2-3342222526 .stroke-AA5{stroke:#F7F8FE;} + .d2-3342222526 .stroke-AB4{stroke:#EDF0FD;} + .d2-3342222526 .stroke-AB5{stroke:#F7F8FE;} + .d2-3342222526 .background-color-N1{background-color:#0A0F25;} + .d2-3342222526 .background-color-N2{background-color:#676C7E;} + .d2-3342222526 .background-color-N3{background-color:#9499AB;} + .d2-3342222526 .background-color-N4{background-color:#CFD2DD;} + .d2-3342222526 .background-color-N5{background-color:#DEE1EB;} + .d2-3342222526 .background-color-N6{background-color:#EEF1F8;} + .d2-3342222526 .background-color-N7{background-color:#FFFFFF;} + .d2-3342222526 .background-color-B1{background-color:#0D32B2;} + .d2-3342222526 .background-color-B2{background-color:#0D32B2;} + .d2-3342222526 .background-color-B3{background-color:#E3E9FD;} + .d2-3342222526 .background-color-B4{background-color:#E3E9FD;} + .d2-3342222526 .background-color-B5{background-color:#EDF0FD;} + .d2-3342222526 .background-color-B6{background-color:#F7F8FE;} + .d2-3342222526 .background-color-AA2{background-color:#4A6FF3;} + .d2-3342222526 .background-color-AA4{background-color:#EDF0FD;} + .d2-3342222526 .background-color-AA5{background-color:#F7F8FE;} + .d2-3342222526 .background-color-AB4{background-color:#EDF0FD;} + .d2-3342222526 .background-color-AB5{background-color:#F7F8FE;} + .d2-3342222526 .color-N1{color:#0A0F25;} + .d2-3342222526 .color-N2{color:#676C7E;} + .d2-3342222526 .color-N3{color:#9499AB;} + .d2-3342222526 .color-N4{color:#CFD2DD;} + .d2-3342222526 .color-N5{color:#DEE1EB;} + .d2-3342222526 .color-N6{color:#EEF1F8;} + .d2-3342222526 .color-N7{color:#FFFFFF;} + .d2-3342222526 .color-B1{color:#0D32B2;} + .d2-3342222526 .color-B2{color:#0D32B2;} + .d2-3342222526 .color-B3{color:#E3E9FD;} + .d2-3342222526 .color-B4{color:#E3E9FD;} + .d2-3342222526 .color-B5{color:#EDF0FD;} + .d2-3342222526 .color-B6{color:#F7F8FE;} + .d2-3342222526 .color-AA2{color:#4A6FF3;} + .d2-3342222526 .color-AA4{color:#EDF0FD;} + .d2-3342222526 .color-AA5{color:#F7F8FE;} + .d2-3342222526 .color-AB4{color:#EDF0FD;} + .d2-3342222526 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>🙈🙈🙈🙈🙈🙈🙈🙈✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️ diff --git a/e2etests/testdata/unicode/emojis/elk/sketch.exp.svg b/e2etests/testdata/unicode/emojis/elk/sketch.exp.svg index f2fee0ad8..7cebb321a 100644 --- a/e2etests/testdata/unicode/emojis/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/emojis/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -🙈🙈🙈🙈🙈🙈🙈🙈✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️ + .d2-2559513672 .fill-N1{fill:#0A0F25;} + .d2-2559513672 .fill-N2{fill:#676C7E;} + .d2-2559513672 .fill-N3{fill:#9499AB;} + .d2-2559513672 .fill-N4{fill:#CFD2DD;} + .d2-2559513672 .fill-N5{fill:#DEE1EB;} + .d2-2559513672 .fill-N6{fill:#EEF1F8;} + .d2-2559513672 .fill-N7{fill:#FFFFFF;} + .d2-2559513672 .fill-B1{fill:#0D32B2;} + .d2-2559513672 .fill-B2{fill:#0D32B2;} + .d2-2559513672 .fill-B3{fill:#E3E9FD;} + .d2-2559513672 .fill-B4{fill:#E3E9FD;} + .d2-2559513672 .fill-B5{fill:#EDF0FD;} + .d2-2559513672 .fill-B6{fill:#F7F8FE;} + .d2-2559513672 .fill-AA2{fill:#4A6FF3;} + .d2-2559513672 .fill-AA4{fill:#EDF0FD;} + .d2-2559513672 .fill-AA5{fill:#F7F8FE;} + .d2-2559513672 .fill-AB4{fill:#EDF0FD;} + .d2-2559513672 .fill-AB5{fill:#F7F8FE;} + .d2-2559513672 .stroke-N1{stroke:#0A0F25;} + .d2-2559513672 .stroke-N2{stroke:#676C7E;} + .d2-2559513672 .stroke-N3{stroke:#9499AB;} + .d2-2559513672 .stroke-N4{stroke:#CFD2DD;} + .d2-2559513672 .stroke-N5{stroke:#DEE1EB;} + .d2-2559513672 .stroke-N6{stroke:#EEF1F8;} + .d2-2559513672 .stroke-N7{stroke:#FFFFFF;} + .d2-2559513672 .stroke-B1{stroke:#0D32B2;} + .d2-2559513672 .stroke-B2{stroke:#0D32B2;} + .d2-2559513672 .stroke-B3{stroke:#E3E9FD;} + .d2-2559513672 .stroke-B4{stroke:#E3E9FD;} + .d2-2559513672 .stroke-B5{stroke:#EDF0FD;} + .d2-2559513672 .stroke-B6{stroke:#F7F8FE;} + .d2-2559513672 .stroke-AA2{stroke:#4A6FF3;} + .d2-2559513672 .stroke-AA4{stroke:#EDF0FD;} + .d2-2559513672 .stroke-AA5{stroke:#F7F8FE;} + .d2-2559513672 .stroke-AB4{stroke:#EDF0FD;} + .d2-2559513672 .stroke-AB5{stroke:#F7F8FE;} + .d2-2559513672 .background-color-N1{background-color:#0A0F25;} + .d2-2559513672 .background-color-N2{background-color:#676C7E;} + .d2-2559513672 .background-color-N3{background-color:#9499AB;} + .d2-2559513672 .background-color-N4{background-color:#CFD2DD;} + .d2-2559513672 .background-color-N5{background-color:#DEE1EB;} + .d2-2559513672 .background-color-N6{background-color:#EEF1F8;} + .d2-2559513672 .background-color-N7{background-color:#FFFFFF;} + .d2-2559513672 .background-color-B1{background-color:#0D32B2;} + .d2-2559513672 .background-color-B2{background-color:#0D32B2;} + .d2-2559513672 .background-color-B3{background-color:#E3E9FD;} + .d2-2559513672 .background-color-B4{background-color:#E3E9FD;} + .d2-2559513672 .background-color-B5{background-color:#EDF0FD;} + .d2-2559513672 .background-color-B6{background-color:#F7F8FE;} + .d2-2559513672 .background-color-AA2{background-color:#4A6FF3;} + .d2-2559513672 .background-color-AA4{background-color:#EDF0FD;} + .d2-2559513672 .background-color-AA5{background-color:#F7F8FE;} + .d2-2559513672 .background-color-AB4{background-color:#EDF0FD;} + .d2-2559513672 .background-color-AB5{background-color:#F7F8FE;} + .d2-2559513672 .color-N1{color:#0A0F25;} + .d2-2559513672 .color-N2{color:#676C7E;} + .d2-2559513672 .color-N3{color:#9499AB;} + .d2-2559513672 .color-N4{color:#CFD2DD;} + .d2-2559513672 .color-N5{color:#DEE1EB;} + .d2-2559513672 .color-N6{color:#EEF1F8;} + .d2-2559513672 .color-N7{color:#FFFFFF;} + .d2-2559513672 .color-B1{color:#0D32B2;} + .d2-2559513672 .color-B2{color:#0D32B2;} + .d2-2559513672 .color-B3{color:#E3E9FD;} + .d2-2559513672 .color-B4{color:#E3E9FD;} + .d2-2559513672 .color-B5{color:#EDF0FD;} + .d2-2559513672 .color-B6{color:#F7F8FE;} + .d2-2559513672 .color-AA2{color:#4A6FF3;} + .d2-2559513672 .color-AA4{color:#EDF0FD;} + .d2-2559513672 .color-AA5{color:#F7F8FE;} + .d2-2559513672 .color-AB4{color:#EDF0FD;} + .d2-2559513672 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>🙈🙈🙈🙈🙈🙈🙈🙈✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️ diff --git a/e2etests/testdata/unicode/japanese-basic/dagre/sketch.exp.svg b/e2etests/testdata/unicode/japanese-basic/dagre/sketch.exp.svg index 3c8ed46c6..d26ad66c2 100644 --- a/e2etests/testdata/unicode/japanese-basic/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/japanese-basic/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -ああああああああああ + .d2-1197325548 .fill-N1{fill:#0A0F25;} + .d2-1197325548 .fill-N2{fill:#676C7E;} + .d2-1197325548 .fill-N3{fill:#9499AB;} + .d2-1197325548 .fill-N4{fill:#CFD2DD;} + .d2-1197325548 .fill-N5{fill:#DEE1EB;} + .d2-1197325548 .fill-N6{fill:#EEF1F8;} + .d2-1197325548 .fill-N7{fill:#FFFFFF;} + .d2-1197325548 .fill-B1{fill:#0D32B2;} + .d2-1197325548 .fill-B2{fill:#0D32B2;} + .d2-1197325548 .fill-B3{fill:#E3E9FD;} + .d2-1197325548 .fill-B4{fill:#E3E9FD;} + .d2-1197325548 .fill-B5{fill:#EDF0FD;} + .d2-1197325548 .fill-B6{fill:#F7F8FE;} + .d2-1197325548 .fill-AA2{fill:#4A6FF3;} + .d2-1197325548 .fill-AA4{fill:#EDF0FD;} + .d2-1197325548 .fill-AA5{fill:#F7F8FE;} + .d2-1197325548 .fill-AB4{fill:#EDF0FD;} + .d2-1197325548 .fill-AB5{fill:#F7F8FE;} + .d2-1197325548 .stroke-N1{stroke:#0A0F25;} + .d2-1197325548 .stroke-N2{stroke:#676C7E;} + .d2-1197325548 .stroke-N3{stroke:#9499AB;} + .d2-1197325548 .stroke-N4{stroke:#CFD2DD;} + .d2-1197325548 .stroke-N5{stroke:#DEE1EB;} + .d2-1197325548 .stroke-N6{stroke:#EEF1F8;} + .d2-1197325548 .stroke-N7{stroke:#FFFFFF;} + .d2-1197325548 .stroke-B1{stroke:#0D32B2;} + .d2-1197325548 .stroke-B2{stroke:#0D32B2;} + .d2-1197325548 .stroke-B3{stroke:#E3E9FD;} + .d2-1197325548 .stroke-B4{stroke:#E3E9FD;} + .d2-1197325548 .stroke-B5{stroke:#EDF0FD;} + .d2-1197325548 .stroke-B6{stroke:#F7F8FE;} + .d2-1197325548 .stroke-AA2{stroke:#4A6FF3;} + .d2-1197325548 .stroke-AA4{stroke:#EDF0FD;} + .d2-1197325548 .stroke-AA5{stroke:#F7F8FE;} + .d2-1197325548 .stroke-AB4{stroke:#EDF0FD;} + .d2-1197325548 .stroke-AB5{stroke:#F7F8FE;} + .d2-1197325548 .background-color-N1{background-color:#0A0F25;} + .d2-1197325548 .background-color-N2{background-color:#676C7E;} + .d2-1197325548 .background-color-N3{background-color:#9499AB;} + .d2-1197325548 .background-color-N4{background-color:#CFD2DD;} + .d2-1197325548 .background-color-N5{background-color:#DEE1EB;} + .d2-1197325548 .background-color-N6{background-color:#EEF1F8;} + .d2-1197325548 .background-color-N7{background-color:#FFFFFF;} + .d2-1197325548 .background-color-B1{background-color:#0D32B2;} + .d2-1197325548 .background-color-B2{background-color:#0D32B2;} + .d2-1197325548 .background-color-B3{background-color:#E3E9FD;} + .d2-1197325548 .background-color-B4{background-color:#E3E9FD;} + .d2-1197325548 .background-color-B5{background-color:#EDF0FD;} + .d2-1197325548 .background-color-B6{background-color:#F7F8FE;} + .d2-1197325548 .background-color-AA2{background-color:#4A6FF3;} + .d2-1197325548 .background-color-AA4{background-color:#EDF0FD;} + .d2-1197325548 .background-color-AA5{background-color:#F7F8FE;} + .d2-1197325548 .background-color-AB4{background-color:#EDF0FD;} + .d2-1197325548 .background-color-AB5{background-color:#F7F8FE;} + .d2-1197325548 .color-N1{color:#0A0F25;} + .d2-1197325548 .color-N2{color:#676C7E;} + .d2-1197325548 .color-N3{color:#9499AB;} + .d2-1197325548 .color-N4{color:#CFD2DD;} + .d2-1197325548 .color-N5{color:#DEE1EB;} + .d2-1197325548 .color-N6{color:#EEF1F8;} + .d2-1197325548 .color-N7{color:#FFFFFF;} + .d2-1197325548 .color-B1{color:#0D32B2;} + .d2-1197325548 .color-B2{color:#0D32B2;} + .d2-1197325548 .color-B3{color:#E3E9FD;} + .d2-1197325548 .color-B4{color:#E3E9FD;} + .d2-1197325548 .color-B5{color:#EDF0FD;} + .d2-1197325548 .color-B6{color:#F7F8FE;} + .d2-1197325548 .color-AA2{color:#4A6FF3;} + .d2-1197325548 .color-AA4{color:#EDF0FD;} + .d2-1197325548 .color-AA5{color:#F7F8FE;} + .d2-1197325548 .color-AB4{color:#EDF0FD;} + .d2-1197325548 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ああああああああああ \ No newline at end of file diff --git a/e2etests/testdata/unicode/japanese-basic/elk/sketch.exp.svg b/e2etests/testdata/unicode/japanese-basic/elk/sketch.exp.svg index 2ce61e4ad..778818f61 100644 --- a/e2etests/testdata/unicode/japanese-basic/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/japanese-basic/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -ああああああああああ + .d2-1489435172 .fill-N1{fill:#0A0F25;} + .d2-1489435172 .fill-N2{fill:#676C7E;} + .d2-1489435172 .fill-N3{fill:#9499AB;} + .d2-1489435172 .fill-N4{fill:#CFD2DD;} + .d2-1489435172 .fill-N5{fill:#DEE1EB;} + .d2-1489435172 .fill-N6{fill:#EEF1F8;} + .d2-1489435172 .fill-N7{fill:#FFFFFF;} + .d2-1489435172 .fill-B1{fill:#0D32B2;} + .d2-1489435172 .fill-B2{fill:#0D32B2;} + .d2-1489435172 .fill-B3{fill:#E3E9FD;} + .d2-1489435172 .fill-B4{fill:#E3E9FD;} + .d2-1489435172 .fill-B5{fill:#EDF0FD;} + .d2-1489435172 .fill-B6{fill:#F7F8FE;} + .d2-1489435172 .fill-AA2{fill:#4A6FF3;} + .d2-1489435172 .fill-AA4{fill:#EDF0FD;} + .d2-1489435172 .fill-AA5{fill:#F7F8FE;} + .d2-1489435172 .fill-AB4{fill:#EDF0FD;} + .d2-1489435172 .fill-AB5{fill:#F7F8FE;} + .d2-1489435172 .stroke-N1{stroke:#0A0F25;} + .d2-1489435172 .stroke-N2{stroke:#676C7E;} + .d2-1489435172 .stroke-N3{stroke:#9499AB;} + .d2-1489435172 .stroke-N4{stroke:#CFD2DD;} + .d2-1489435172 .stroke-N5{stroke:#DEE1EB;} + .d2-1489435172 .stroke-N6{stroke:#EEF1F8;} + .d2-1489435172 .stroke-N7{stroke:#FFFFFF;} + .d2-1489435172 .stroke-B1{stroke:#0D32B2;} + .d2-1489435172 .stroke-B2{stroke:#0D32B2;} + .d2-1489435172 .stroke-B3{stroke:#E3E9FD;} + .d2-1489435172 .stroke-B4{stroke:#E3E9FD;} + .d2-1489435172 .stroke-B5{stroke:#EDF0FD;} + .d2-1489435172 .stroke-B6{stroke:#F7F8FE;} + .d2-1489435172 .stroke-AA2{stroke:#4A6FF3;} + .d2-1489435172 .stroke-AA4{stroke:#EDF0FD;} + .d2-1489435172 .stroke-AA5{stroke:#F7F8FE;} + .d2-1489435172 .stroke-AB4{stroke:#EDF0FD;} + .d2-1489435172 .stroke-AB5{stroke:#F7F8FE;} + .d2-1489435172 .background-color-N1{background-color:#0A0F25;} + .d2-1489435172 .background-color-N2{background-color:#676C7E;} + .d2-1489435172 .background-color-N3{background-color:#9499AB;} + .d2-1489435172 .background-color-N4{background-color:#CFD2DD;} + .d2-1489435172 .background-color-N5{background-color:#DEE1EB;} + .d2-1489435172 .background-color-N6{background-color:#EEF1F8;} + .d2-1489435172 .background-color-N7{background-color:#FFFFFF;} + .d2-1489435172 .background-color-B1{background-color:#0D32B2;} + .d2-1489435172 .background-color-B2{background-color:#0D32B2;} + .d2-1489435172 .background-color-B3{background-color:#E3E9FD;} + .d2-1489435172 .background-color-B4{background-color:#E3E9FD;} + .d2-1489435172 .background-color-B5{background-color:#EDF0FD;} + .d2-1489435172 .background-color-B6{background-color:#F7F8FE;} + .d2-1489435172 .background-color-AA2{background-color:#4A6FF3;} + .d2-1489435172 .background-color-AA4{background-color:#EDF0FD;} + .d2-1489435172 .background-color-AA5{background-color:#F7F8FE;} + .d2-1489435172 .background-color-AB4{background-color:#EDF0FD;} + .d2-1489435172 .background-color-AB5{background-color:#F7F8FE;} + .d2-1489435172 .color-N1{color:#0A0F25;} + .d2-1489435172 .color-N2{color:#676C7E;} + .d2-1489435172 .color-N3{color:#9499AB;} + .d2-1489435172 .color-N4{color:#CFD2DD;} + .d2-1489435172 .color-N5{color:#DEE1EB;} + .d2-1489435172 .color-N6{color:#EEF1F8;} + .d2-1489435172 .color-N7{color:#FFFFFF;} + .d2-1489435172 .color-B1{color:#0D32B2;} + .d2-1489435172 .color-B2{color:#0D32B2;} + .d2-1489435172 .color-B3{color:#E3E9FD;} + .d2-1489435172 .color-B4{color:#E3E9FD;} + .d2-1489435172 .color-B5{color:#EDF0FD;} + .d2-1489435172 .color-B6{color:#F7F8FE;} + .d2-1489435172 .color-AA2{color:#4A6FF3;} + .d2-1489435172 .color-AA4{color:#EDF0FD;} + .d2-1489435172 .color-AA5{color:#F7F8FE;} + .d2-1489435172 .color-AB4{color:#EDF0FD;} + .d2-1489435172 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ああああああああああ \ No newline at end of file diff --git a/e2etests/testdata/unicode/japanese-full/dagre/board.exp.json b/e2etests/testdata/unicode/japanese-full/dagre/board.exp.json index dae5f577e..e7ba2a978 100644 --- a/e2etests/testdata/unicode/japanese-full/dagre/board.exp.json +++ b/e2etests/testdata/unicode/japanese-full/dagre/board.exp.json @@ -113,11 +113,11 @@ "route": [ { "x": 691, - "y": 98 + "y": 97.5 }, { "x": 691, - "y": 146.39999389648438 + "y": 146.3000030517578 }, { "x": 691, diff --git a/e2etests/testdata/unicode/japanese-full/dagre/sketch.exp.svg b/e2etests/testdata/unicode/japanese-full/dagre/sketch.exp.svg index d508b9dcc..2121c3093 100644 --- a/e2etests/testdata/unicode/japanese-full/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/japanese-full/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -ある日、トマトが道を歩いていたら、道路の向こうからキュウリがやって来ました。トマトは驚いて尋ねました。「キュウリさん、どうしてあなたはここにいるのですか?」 キュウリは答えました。「あなたと同じ理由でここにいます。サラダになるために。」「バナナは皮を剥いて食べるものです。」 「バカは死ななきゃ治らない。」 + .d2-953633631 .fill-N1{fill:#0A0F25;} + .d2-953633631 .fill-N2{fill:#676C7E;} + .d2-953633631 .fill-N3{fill:#9499AB;} + .d2-953633631 .fill-N4{fill:#CFD2DD;} + .d2-953633631 .fill-N5{fill:#DEE1EB;} + .d2-953633631 .fill-N6{fill:#EEF1F8;} + .d2-953633631 .fill-N7{fill:#FFFFFF;} + .d2-953633631 .fill-B1{fill:#0D32B2;} + .d2-953633631 .fill-B2{fill:#0D32B2;} + .d2-953633631 .fill-B3{fill:#E3E9FD;} + .d2-953633631 .fill-B4{fill:#E3E9FD;} + .d2-953633631 .fill-B5{fill:#EDF0FD;} + .d2-953633631 .fill-B6{fill:#F7F8FE;} + .d2-953633631 .fill-AA2{fill:#4A6FF3;} + .d2-953633631 .fill-AA4{fill:#EDF0FD;} + .d2-953633631 .fill-AA5{fill:#F7F8FE;} + .d2-953633631 .fill-AB4{fill:#EDF0FD;} + .d2-953633631 .fill-AB5{fill:#F7F8FE;} + .d2-953633631 .stroke-N1{stroke:#0A0F25;} + .d2-953633631 .stroke-N2{stroke:#676C7E;} + .d2-953633631 .stroke-N3{stroke:#9499AB;} + .d2-953633631 .stroke-N4{stroke:#CFD2DD;} + .d2-953633631 .stroke-N5{stroke:#DEE1EB;} + .d2-953633631 .stroke-N6{stroke:#EEF1F8;} + .d2-953633631 .stroke-N7{stroke:#FFFFFF;} + .d2-953633631 .stroke-B1{stroke:#0D32B2;} + .d2-953633631 .stroke-B2{stroke:#0D32B2;} + .d2-953633631 .stroke-B3{stroke:#E3E9FD;} + .d2-953633631 .stroke-B4{stroke:#E3E9FD;} + .d2-953633631 .stroke-B5{stroke:#EDF0FD;} + .d2-953633631 .stroke-B6{stroke:#F7F8FE;} + .d2-953633631 .stroke-AA2{stroke:#4A6FF3;} + .d2-953633631 .stroke-AA4{stroke:#EDF0FD;} + .d2-953633631 .stroke-AA5{stroke:#F7F8FE;} + .d2-953633631 .stroke-AB4{stroke:#EDF0FD;} + .d2-953633631 .stroke-AB5{stroke:#F7F8FE;} + .d2-953633631 .background-color-N1{background-color:#0A0F25;} + .d2-953633631 .background-color-N2{background-color:#676C7E;} + .d2-953633631 .background-color-N3{background-color:#9499AB;} + .d2-953633631 .background-color-N4{background-color:#CFD2DD;} + .d2-953633631 .background-color-N5{background-color:#DEE1EB;} + .d2-953633631 .background-color-N6{background-color:#EEF1F8;} + .d2-953633631 .background-color-N7{background-color:#FFFFFF;} + .d2-953633631 .background-color-B1{background-color:#0D32B2;} + .d2-953633631 .background-color-B2{background-color:#0D32B2;} + .d2-953633631 .background-color-B3{background-color:#E3E9FD;} + .d2-953633631 .background-color-B4{background-color:#E3E9FD;} + .d2-953633631 .background-color-B5{background-color:#EDF0FD;} + .d2-953633631 .background-color-B6{background-color:#F7F8FE;} + .d2-953633631 .background-color-AA2{background-color:#4A6FF3;} + .d2-953633631 .background-color-AA4{background-color:#EDF0FD;} + .d2-953633631 .background-color-AA5{background-color:#F7F8FE;} + .d2-953633631 .background-color-AB4{background-color:#EDF0FD;} + .d2-953633631 .background-color-AB5{background-color:#F7F8FE;} + .d2-953633631 .color-N1{color:#0A0F25;} + .d2-953633631 .color-N2{color:#676C7E;} + .d2-953633631 .color-N3{color:#9499AB;} + .d2-953633631 .color-N4{color:#CFD2DD;} + .d2-953633631 .color-N5{color:#DEE1EB;} + .d2-953633631 .color-N6{color:#EEF1F8;} + .d2-953633631 .color-N7{color:#FFFFFF;} + .d2-953633631 .color-B1{color:#0D32B2;} + .d2-953633631 .color-B2{color:#0D32B2;} + .d2-953633631 .color-B3{color:#E3E9FD;} + .d2-953633631 .color-B4{color:#E3E9FD;} + .d2-953633631 .color-B5{color:#EDF0FD;} + .d2-953633631 .color-B6{color:#F7F8FE;} + .d2-953633631 .color-AA2{color:#4A6FF3;} + .d2-953633631 .color-AA4{color:#EDF0FD;} + .d2-953633631 .color-AA5{color:#F7F8FE;} + .d2-953633631 .color-AB4{color:#EDF0FD;} + .d2-953633631 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ある日、トマトが道を歩いていたら、道路の向こうからキュウリがやって来ました。トマトは驚いて尋ねました。「キュウリさん、どうしてあなたはここにいるのですか?」 キュウリは答えました。「あなたと同じ理由でここにいます。サラダになるために。」「バナナは皮を剥いて食べるものです。」 「バカは死ななきゃ治らない。」 diff --git a/e2etests/testdata/unicode/japanese-full/elk/sketch.exp.svg b/e2etests/testdata/unicode/japanese-full/elk/sketch.exp.svg index cdb5094de..cb23d2452 100644 --- a/e2etests/testdata/unicode/japanese-full/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/japanese-full/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -ある日、トマトが道を歩いていたら、道路の向こうからキュウリがやって来ました。トマトは驚いて尋ねました。「キュウリさん、どうしてあなたはここにいるのですか?」 キュウリは答えました。「あなたと同じ理由でここにいます。サラダになるために。」「バナナは皮を剥いて食べるものです。」 「バカは死ななきゃ治らない。」 + .d2-2895298439 .fill-N1{fill:#0A0F25;} + .d2-2895298439 .fill-N2{fill:#676C7E;} + .d2-2895298439 .fill-N3{fill:#9499AB;} + .d2-2895298439 .fill-N4{fill:#CFD2DD;} + .d2-2895298439 .fill-N5{fill:#DEE1EB;} + .d2-2895298439 .fill-N6{fill:#EEF1F8;} + .d2-2895298439 .fill-N7{fill:#FFFFFF;} + .d2-2895298439 .fill-B1{fill:#0D32B2;} + .d2-2895298439 .fill-B2{fill:#0D32B2;} + .d2-2895298439 .fill-B3{fill:#E3E9FD;} + .d2-2895298439 .fill-B4{fill:#E3E9FD;} + .d2-2895298439 .fill-B5{fill:#EDF0FD;} + .d2-2895298439 .fill-B6{fill:#F7F8FE;} + .d2-2895298439 .fill-AA2{fill:#4A6FF3;} + .d2-2895298439 .fill-AA4{fill:#EDF0FD;} + .d2-2895298439 .fill-AA5{fill:#F7F8FE;} + .d2-2895298439 .fill-AB4{fill:#EDF0FD;} + .d2-2895298439 .fill-AB5{fill:#F7F8FE;} + .d2-2895298439 .stroke-N1{stroke:#0A0F25;} + .d2-2895298439 .stroke-N2{stroke:#676C7E;} + .d2-2895298439 .stroke-N3{stroke:#9499AB;} + .d2-2895298439 .stroke-N4{stroke:#CFD2DD;} + .d2-2895298439 .stroke-N5{stroke:#DEE1EB;} + .d2-2895298439 .stroke-N6{stroke:#EEF1F8;} + .d2-2895298439 .stroke-N7{stroke:#FFFFFF;} + .d2-2895298439 .stroke-B1{stroke:#0D32B2;} + .d2-2895298439 .stroke-B2{stroke:#0D32B2;} + .d2-2895298439 .stroke-B3{stroke:#E3E9FD;} + .d2-2895298439 .stroke-B4{stroke:#E3E9FD;} + .d2-2895298439 .stroke-B5{stroke:#EDF0FD;} + .d2-2895298439 .stroke-B6{stroke:#F7F8FE;} + .d2-2895298439 .stroke-AA2{stroke:#4A6FF3;} + .d2-2895298439 .stroke-AA4{stroke:#EDF0FD;} + .d2-2895298439 .stroke-AA5{stroke:#F7F8FE;} + .d2-2895298439 .stroke-AB4{stroke:#EDF0FD;} + .d2-2895298439 .stroke-AB5{stroke:#F7F8FE;} + .d2-2895298439 .background-color-N1{background-color:#0A0F25;} + .d2-2895298439 .background-color-N2{background-color:#676C7E;} + .d2-2895298439 .background-color-N3{background-color:#9499AB;} + .d2-2895298439 .background-color-N4{background-color:#CFD2DD;} + .d2-2895298439 .background-color-N5{background-color:#DEE1EB;} + .d2-2895298439 .background-color-N6{background-color:#EEF1F8;} + .d2-2895298439 .background-color-N7{background-color:#FFFFFF;} + .d2-2895298439 .background-color-B1{background-color:#0D32B2;} + .d2-2895298439 .background-color-B2{background-color:#0D32B2;} + .d2-2895298439 .background-color-B3{background-color:#E3E9FD;} + .d2-2895298439 .background-color-B4{background-color:#E3E9FD;} + .d2-2895298439 .background-color-B5{background-color:#EDF0FD;} + .d2-2895298439 .background-color-B6{background-color:#F7F8FE;} + .d2-2895298439 .background-color-AA2{background-color:#4A6FF3;} + .d2-2895298439 .background-color-AA4{background-color:#EDF0FD;} + .d2-2895298439 .background-color-AA5{background-color:#F7F8FE;} + .d2-2895298439 .background-color-AB4{background-color:#EDF0FD;} + .d2-2895298439 .background-color-AB5{background-color:#F7F8FE;} + .d2-2895298439 .color-N1{color:#0A0F25;} + .d2-2895298439 .color-N2{color:#676C7E;} + .d2-2895298439 .color-N3{color:#9499AB;} + .d2-2895298439 .color-N4{color:#CFD2DD;} + .d2-2895298439 .color-N5{color:#DEE1EB;} + .d2-2895298439 .color-N6{color:#EEF1F8;} + .d2-2895298439 .color-N7{color:#FFFFFF;} + .d2-2895298439 .color-B1{color:#0D32B2;} + .d2-2895298439 .color-B2{color:#0D32B2;} + .d2-2895298439 .color-B3{color:#E3E9FD;} + .d2-2895298439 .color-B4{color:#E3E9FD;} + .d2-2895298439 .color-B5{color:#EDF0FD;} + .d2-2895298439 .color-B6{color:#F7F8FE;} + .d2-2895298439 .color-AA2{color:#4A6FF3;} + .d2-2895298439 .color-AA4{color:#EDF0FD;} + .d2-2895298439 .color-AA5{color:#F7F8FE;} + .d2-2895298439 .color-AB4{color:#EDF0FD;} + .d2-2895298439 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>ある日、トマトが道を歩いていたら、道路の向こうからキュウリがやって来ました。トマトは驚いて尋ねました。「キュウリさん、どうしてあなたはここにいるのですか?」 キュウリは答えました。「あなたと同じ理由でここにいます。サラダになるために。」「バナナは皮を剥いて食べるものです。」 「バカは死ななきゃ治らない。」 diff --git a/e2etests/testdata/unicode/japanese-mixed/dagre/sketch.exp.svg b/e2etests/testdata/unicode/japanese-mixed/dagre/sketch.exp.svg index 5f4778338..4ad93f981 100644 --- a/e2etests/testdata/unicode/japanese-mixed/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/japanese-mixed/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶今日はTokyoでsushiを食べました先日、Shibuyaで友達とshoppingを楽😊しんだ後、ramen屋でdelicious😊なラーメンを食べた。English English English先日先日先日 + .d2-799413400 .fill-N1{fill:#0A0F25;} + .d2-799413400 .fill-N2{fill:#676C7E;} + .d2-799413400 .fill-N3{fill:#9499AB;} + .d2-799413400 .fill-N4{fill:#CFD2DD;} + .d2-799413400 .fill-N5{fill:#DEE1EB;} + .d2-799413400 .fill-N6{fill:#EEF1F8;} + .d2-799413400 .fill-N7{fill:#FFFFFF;} + .d2-799413400 .fill-B1{fill:#0D32B2;} + .d2-799413400 .fill-B2{fill:#0D32B2;} + .d2-799413400 .fill-B3{fill:#E3E9FD;} + .d2-799413400 .fill-B4{fill:#E3E9FD;} + .d2-799413400 .fill-B5{fill:#EDF0FD;} + .d2-799413400 .fill-B6{fill:#F7F8FE;} + .d2-799413400 .fill-AA2{fill:#4A6FF3;} + .d2-799413400 .fill-AA4{fill:#EDF0FD;} + .d2-799413400 .fill-AA5{fill:#F7F8FE;} + .d2-799413400 .fill-AB4{fill:#EDF0FD;} + .d2-799413400 .fill-AB5{fill:#F7F8FE;} + .d2-799413400 .stroke-N1{stroke:#0A0F25;} + .d2-799413400 .stroke-N2{stroke:#676C7E;} + .d2-799413400 .stroke-N3{stroke:#9499AB;} + .d2-799413400 .stroke-N4{stroke:#CFD2DD;} + .d2-799413400 .stroke-N5{stroke:#DEE1EB;} + .d2-799413400 .stroke-N6{stroke:#EEF1F8;} + .d2-799413400 .stroke-N7{stroke:#FFFFFF;} + .d2-799413400 .stroke-B1{stroke:#0D32B2;} + .d2-799413400 .stroke-B2{stroke:#0D32B2;} + .d2-799413400 .stroke-B3{stroke:#E3E9FD;} + .d2-799413400 .stroke-B4{stroke:#E3E9FD;} + .d2-799413400 .stroke-B5{stroke:#EDF0FD;} + .d2-799413400 .stroke-B6{stroke:#F7F8FE;} + .d2-799413400 .stroke-AA2{stroke:#4A6FF3;} + .d2-799413400 .stroke-AA4{stroke:#EDF0FD;} + .d2-799413400 .stroke-AA5{stroke:#F7F8FE;} + .d2-799413400 .stroke-AB4{stroke:#EDF0FD;} + .d2-799413400 .stroke-AB5{stroke:#F7F8FE;} + .d2-799413400 .background-color-N1{background-color:#0A0F25;} + .d2-799413400 .background-color-N2{background-color:#676C7E;} + .d2-799413400 .background-color-N3{background-color:#9499AB;} + .d2-799413400 .background-color-N4{background-color:#CFD2DD;} + .d2-799413400 .background-color-N5{background-color:#DEE1EB;} + .d2-799413400 .background-color-N6{background-color:#EEF1F8;} + .d2-799413400 .background-color-N7{background-color:#FFFFFF;} + .d2-799413400 .background-color-B1{background-color:#0D32B2;} + .d2-799413400 .background-color-B2{background-color:#0D32B2;} + .d2-799413400 .background-color-B3{background-color:#E3E9FD;} + .d2-799413400 .background-color-B4{background-color:#E3E9FD;} + .d2-799413400 .background-color-B5{background-color:#EDF0FD;} + .d2-799413400 .background-color-B6{background-color:#F7F8FE;} + .d2-799413400 .background-color-AA2{background-color:#4A6FF3;} + .d2-799413400 .background-color-AA4{background-color:#EDF0FD;} + .d2-799413400 .background-color-AA5{background-color:#F7F8FE;} + .d2-799413400 .background-color-AB4{background-color:#EDF0FD;} + .d2-799413400 .background-color-AB5{background-color:#F7F8FE;} + .d2-799413400 .color-N1{color:#0A0F25;} + .d2-799413400 .color-N2{color:#676C7E;} + .d2-799413400 .color-N3{color:#9499AB;} + .d2-799413400 .color-N4{color:#CFD2DD;} + .d2-799413400 .color-N5{color:#DEE1EB;} + .d2-799413400 .color-N6{color:#EEF1F8;} + .d2-799413400 .color-N7{color:#FFFFFF;} + .d2-799413400 .color-B1{color:#0D32B2;} + .d2-799413400 .color-B2{color:#0D32B2;} + .d2-799413400 .color-B3{color:#E3E9FD;} + .d2-799413400 .color-B4{color:#E3E9FD;} + .d2-799413400 .color-B5{color:#EDF0FD;} + .d2-799413400 .color-B6{color:#F7F8FE;} + .d2-799413400 .color-AA2{color:#4A6FF3;} + .d2-799413400 .color-AA4{color:#EDF0FD;} + .d2-799413400 .color-AA5{color:#F7F8FE;} + .d2-799413400 .color-AB4{color:#EDF0FD;} + .d2-799413400 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶今日はTokyoでsushiを食べました先日、Shibuyaで友達とshoppingを楽😊しんだ後、ramen屋でdelicious😊なラーメンを食べた。English English English先日先日先日 diff --git a/e2etests/testdata/unicode/japanese-mixed/elk/sketch.exp.svg b/e2etests/testdata/unicode/japanese-mixed/elk/sketch.exp.svg index fd9eba9ec..16deba82b 100644 --- a/e2etests/testdata/unicode/japanese-mixed/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/japanese-mixed/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶今日はTokyoでsushiを食べました先日、Shibuyaで友達とshoppingを楽😊しんだ後、ramen屋でdelicious😊なラーメンを食べた。English English English先日先日先日 + .d2-1875542808 .fill-N1{fill:#0A0F25;} + .d2-1875542808 .fill-N2{fill:#676C7E;} + .d2-1875542808 .fill-N3{fill:#9499AB;} + .d2-1875542808 .fill-N4{fill:#CFD2DD;} + .d2-1875542808 .fill-N5{fill:#DEE1EB;} + .d2-1875542808 .fill-N6{fill:#EEF1F8;} + .d2-1875542808 .fill-N7{fill:#FFFFFF;} + .d2-1875542808 .fill-B1{fill:#0D32B2;} + .d2-1875542808 .fill-B2{fill:#0D32B2;} + .d2-1875542808 .fill-B3{fill:#E3E9FD;} + .d2-1875542808 .fill-B4{fill:#E3E9FD;} + .d2-1875542808 .fill-B5{fill:#EDF0FD;} + .d2-1875542808 .fill-B6{fill:#F7F8FE;} + .d2-1875542808 .fill-AA2{fill:#4A6FF3;} + .d2-1875542808 .fill-AA4{fill:#EDF0FD;} + .d2-1875542808 .fill-AA5{fill:#F7F8FE;} + .d2-1875542808 .fill-AB4{fill:#EDF0FD;} + .d2-1875542808 .fill-AB5{fill:#F7F8FE;} + .d2-1875542808 .stroke-N1{stroke:#0A0F25;} + .d2-1875542808 .stroke-N2{stroke:#676C7E;} + .d2-1875542808 .stroke-N3{stroke:#9499AB;} + .d2-1875542808 .stroke-N4{stroke:#CFD2DD;} + .d2-1875542808 .stroke-N5{stroke:#DEE1EB;} + .d2-1875542808 .stroke-N6{stroke:#EEF1F8;} + .d2-1875542808 .stroke-N7{stroke:#FFFFFF;} + .d2-1875542808 .stroke-B1{stroke:#0D32B2;} + .d2-1875542808 .stroke-B2{stroke:#0D32B2;} + .d2-1875542808 .stroke-B3{stroke:#E3E9FD;} + .d2-1875542808 .stroke-B4{stroke:#E3E9FD;} + .d2-1875542808 .stroke-B5{stroke:#EDF0FD;} + .d2-1875542808 .stroke-B6{stroke:#F7F8FE;} + .d2-1875542808 .stroke-AA2{stroke:#4A6FF3;} + .d2-1875542808 .stroke-AA4{stroke:#EDF0FD;} + .d2-1875542808 .stroke-AA5{stroke:#F7F8FE;} + .d2-1875542808 .stroke-AB4{stroke:#EDF0FD;} + .d2-1875542808 .stroke-AB5{stroke:#F7F8FE;} + .d2-1875542808 .background-color-N1{background-color:#0A0F25;} + .d2-1875542808 .background-color-N2{background-color:#676C7E;} + .d2-1875542808 .background-color-N3{background-color:#9499AB;} + .d2-1875542808 .background-color-N4{background-color:#CFD2DD;} + .d2-1875542808 .background-color-N5{background-color:#DEE1EB;} + .d2-1875542808 .background-color-N6{background-color:#EEF1F8;} + .d2-1875542808 .background-color-N7{background-color:#FFFFFF;} + .d2-1875542808 .background-color-B1{background-color:#0D32B2;} + .d2-1875542808 .background-color-B2{background-color:#0D32B2;} + .d2-1875542808 .background-color-B3{background-color:#E3E9FD;} + .d2-1875542808 .background-color-B4{background-color:#E3E9FD;} + .d2-1875542808 .background-color-B5{background-color:#EDF0FD;} + .d2-1875542808 .background-color-B6{background-color:#F7F8FE;} + .d2-1875542808 .background-color-AA2{background-color:#4A6FF3;} + .d2-1875542808 .background-color-AA4{background-color:#EDF0FD;} + .d2-1875542808 .background-color-AA5{background-color:#F7F8FE;} + .d2-1875542808 .background-color-AB4{background-color:#EDF0FD;} + .d2-1875542808 .background-color-AB5{background-color:#F7F8FE;} + .d2-1875542808 .color-N1{color:#0A0F25;} + .d2-1875542808 .color-N2{color:#676C7E;} + .d2-1875542808 .color-N3{color:#9499AB;} + .d2-1875542808 .color-N4{color:#CFD2DD;} + .d2-1875542808 .color-N5{color:#DEE1EB;} + .d2-1875542808 .color-N6{color:#EEF1F8;} + .d2-1875542808 .color-N7{color:#FFFFFF;} + .d2-1875542808 .color-B1{color:#0D32B2;} + .d2-1875542808 .color-B2{color:#0D32B2;} + .d2-1875542808 .color-B3{color:#E3E9FD;} + .d2-1875542808 .color-B4{color:#E3E9FD;} + .d2-1875542808 .color-B5{color:#EDF0FD;} + .d2-1875542808 .color-B6{color:#F7F8FE;} + .d2-1875542808 .color-AA2{color:#4A6FF3;} + .d2-1875542808 .color-AA4{color:#EDF0FD;} + .d2-1875542808 .color-AA5{color:#F7F8FE;} + .d2-1875542808 .color-AB4{color:#EDF0FD;} + .d2-1875542808 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶トマトが赤くなったのはなぜですか?Because it saw the salad dressing!👩‍👩‍👧‍👶👩‍👩‍👧‍👶今日はTokyoでsushiを食べました先日、Shibuyaで友達とshoppingを楽😊しんだ後、ramen屋でdelicious😊なラーメンを食べた。English English English先日先日先日 diff --git a/e2etests/testdata/unicode/korean/dagre/sketch.exp.svg b/e2etests/testdata/unicode/korean/dagre/sketch.exp.svg index 1f694da89..1e11c165c 100644 --- a/e2etests/testdata/unicode/korean/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/korean/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -고생끝에낙이온다 + .d2-157051261 .fill-N1{fill:#0A0F25;} + .d2-157051261 .fill-N2{fill:#676C7E;} + .d2-157051261 .fill-N3{fill:#9499AB;} + .d2-157051261 .fill-N4{fill:#CFD2DD;} + .d2-157051261 .fill-N5{fill:#DEE1EB;} + .d2-157051261 .fill-N6{fill:#EEF1F8;} + .d2-157051261 .fill-N7{fill:#FFFFFF;} + .d2-157051261 .fill-B1{fill:#0D32B2;} + .d2-157051261 .fill-B2{fill:#0D32B2;} + .d2-157051261 .fill-B3{fill:#E3E9FD;} + .d2-157051261 .fill-B4{fill:#E3E9FD;} + .d2-157051261 .fill-B5{fill:#EDF0FD;} + .d2-157051261 .fill-B6{fill:#F7F8FE;} + .d2-157051261 .fill-AA2{fill:#4A6FF3;} + .d2-157051261 .fill-AA4{fill:#EDF0FD;} + .d2-157051261 .fill-AA5{fill:#F7F8FE;} + .d2-157051261 .fill-AB4{fill:#EDF0FD;} + .d2-157051261 .fill-AB5{fill:#F7F8FE;} + .d2-157051261 .stroke-N1{stroke:#0A0F25;} + .d2-157051261 .stroke-N2{stroke:#676C7E;} + .d2-157051261 .stroke-N3{stroke:#9499AB;} + .d2-157051261 .stroke-N4{stroke:#CFD2DD;} + .d2-157051261 .stroke-N5{stroke:#DEE1EB;} + .d2-157051261 .stroke-N6{stroke:#EEF1F8;} + .d2-157051261 .stroke-N7{stroke:#FFFFFF;} + .d2-157051261 .stroke-B1{stroke:#0D32B2;} + .d2-157051261 .stroke-B2{stroke:#0D32B2;} + .d2-157051261 .stroke-B3{stroke:#E3E9FD;} + .d2-157051261 .stroke-B4{stroke:#E3E9FD;} + .d2-157051261 .stroke-B5{stroke:#EDF0FD;} + .d2-157051261 .stroke-B6{stroke:#F7F8FE;} + .d2-157051261 .stroke-AA2{stroke:#4A6FF3;} + .d2-157051261 .stroke-AA4{stroke:#EDF0FD;} + .d2-157051261 .stroke-AA5{stroke:#F7F8FE;} + .d2-157051261 .stroke-AB4{stroke:#EDF0FD;} + .d2-157051261 .stroke-AB5{stroke:#F7F8FE;} + .d2-157051261 .background-color-N1{background-color:#0A0F25;} + .d2-157051261 .background-color-N2{background-color:#676C7E;} + .d2-157051261 .background-color-N3{background-color:#9499AB;} + .d2-157051261 .background-color-N4{background-color:#CFD2DD;} + .d2-157051261 .background-color-N5{background-color:#DEE1EB;} + .d2-157051261 .background-color-N6{background-color:#EEF1F8;} + .d2-157051261 .background-color-N7{background-color:#FFFFFF;} + .d2-157051261 .background-color-B1{background-color:#0D32B2;} + .d2-157051261 .background-color-B2{background-color:#0D32B2;} + .d2-157051261 .background-color-B3{background-color:#E3E9FD;} + .d2-157051261 .background-color-B4{background-color:#E3E9FD;} + .d2-157051261 .background-color-B5{background-color:#EDF0FD;} + .d2-157051261 .background-color-B6{background-color:#F7F8FE;} + .d2-157051261 .background-color-AA2{background-color:#4A6FF3;} + .d2-157051261 .background-color-AA4{background-color:#EDF0FD;} + .d2-157051261 .background-color-AA5{background-color:#F7F8FE;} + .d2-157051261 .background-color-AB4{background-color:#EDF0FD;} + .d2-157051261 .background-color-AB5{background-color:#F7F8FE;} + .d2-157051261 .color-N1{color:#0A0F25;} + .d2-157051261 .color-N2{color:#676C7E;} + .d2-157051261 .color-N3{color:#9499AB;} + .d2-157051261 .color-N4{color:#CFD2DD;} + .d2-157051261 .color-N5{color:#DEE1EB;} + .d2-157051261 .color-N6{color:#EEF1F8;} + .d2-157051261 .color-N7{color:#FFFFFF;} + .d2-157051261 .color-B1{color:#0D32B2;} + .d2-157051261 .color-B2{color:#0D32B2;} + .d2-157051261 .color-B3{color:#E3E9FD;} + .d2-157051261 .color-B4{color:#E3E9FD;} + .d2-157051261 .color-B5{color:#EDF0FD;} + .d2-157051261 .color-B6{color:#F7F8FE;} + .d2-157051261 .color-AA2{color:#4A6FF3;} + .d2-157051261 .color-AA4{color:#EDF0FD;} + .d2-157051261 .color-AA5{color:#F7F8FE;} + .d2-157051261 .color-AB4{color:#EDF0FD;} + .d2-157051261 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>고생끝에낙이온다 \ No newline at end of file diff --git a/e2etests/testdata/unicode/korean/elk/sketch.exp.svg b/e2etests/testdata/unicode/korean/elk/sketch.exp.svg index 4f9aa497e..06f087753 100644 --- a/e2etests/testdata/unicode/korean/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/korean/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -고생끝에낙이온다 + .d2-695752357 .fill-N1{fill:#0A0F25;} + .d2-695752357 .fill-N2{fill:#676C7E;} + .d2-695752357 .fill-N3{fill:#9499AB;} + .d2-695752357 .fill-N4{fill:#CFD2DD;} + .d2-695752357 .fill-N5{fill:#DEE1EB;} + .d2-695752357 .fill-N6{fill:#EEF1F8;} + .d2-695752357 .fill-N7{fill:#FFFFFF;} + .d2-695752357 .fill-B1{fill:#0D32B2;} + .d2-695752357 .fill-B2{fill:#0D32B2;} + .d2-695752357 .fill-B3{fill:#E3E9FD;} + .d2-695752357 .fill-B4{fill:#E3E9FD;} + .d2-695752357 .fill-B5{fill:#EDF0FD;} + .d2-695752357 .fill-B6{fill:#F7F8FE;} + .d2-695752357 .fill-AA2{fill:#4A6FF3;} + .d2-695752357 .fill-AA4{fill:#EDF0FD;} + .d2-695752357 .fill-AA5{fill:#F7F8FE;} + .d2-695752357 .fill-AB4{fill:#EDF0FD;} + .d2-695752357 .fill-AB5{fill:#F7F8FE;} + .d2-695752357 .stroke-N1{stroke:#0A0F25;} + .d2-695752357 .stroke-N2{stroke:#676C7E;} + .d2-695752357 .stroke-N3{stroke:#9499AB;} + .d2-695752357 .stroke-N4{stroke:#CFD2DD;} + .d2-695752357 .stroke-N5{stroke:#DEE1EB;} + .d2-695752357 .stroke-N6{stroke:#EEF1F8;} + .d2-695752357 .stroke-N7{stroke:#FFFFFF;} + .d2-695752357 .stroke-B1{stroke:#0D32B2;} + .d2-695752357 .stroke-B2{stroke:#0D32B2;} + .d2-695752357 .stroke-B3{stroke:#E3E9FD;} + .d2-695752357 .stroke-B4{stroke:#E3E9FD;} + .d2-695752357 .stroke-B5{stroke:#EDF0FD;} + .d2-695752357 .stroke-B6{stroke:#F7F8FE;} + .d2-695752357 .stroke-AA2{stroke:#4A6FF3;} + .d2-695752357 .stroke-AA4{stroke:#EDF0FD;} + .d2-695752357 .stroke-AA5{stroke:#F7F8FE;} + .d2-695752357 .stroke-AB4{stroke:#EDF0FD;} + .d2-695752357 .stroke-AB5{stroke:#F7F8FE;} + .d2-695752357 .background-color-N1{background-color:#0A0F25;} + .d2-695752357 .background-color-N2{background-color:#676C7E;} + .d2-695752357 .background-color-N3{background-color:#9499AB;} + .d2-695752357 .background-color-N4{background-color:#CFD2DD;} + .d2-695752357 .background-color-N5{background-color:#DEE1EB;} + .d2-695752357 .background-color-N6{background-color:#EEF1F8;} + .d2-695752357 .background-color-N7{background-color:#FFFFFF;} + .d2-695752357 .background-color-B1{background-color:#0D32B2;} + .d2-695752357 .background-color-B2{background-color:#0D32B2;} + .d2-695752357 .background-color-B3{background-color:#E3E9FD;} + .d2-695752357 .background-color-B4{background-color:#E3E9FD;} + .d2-695752357 .background-color-B5{background-color:#EDF0FD;} + .d2-695752357 .background-color-B6{background-color:#F7F8FE;} + .d2-695752357 .background-color-AA2{background-color:#4A6FF3;} + .d2-695752357 .background-color-AA4{background-color:#EDF0FD;} + .d2-695752357 .background-color-AA5{background-color:#F7F8FE;} + .d2-695752357 .background-color-AB4{background-color:#EDF0FD;} + .d2-695752357 .background-color-AB5{background-color:#F7F8FE;} + .d2-695752357 .color-N1{color:#0A0F25;} + .d2-695752357 .color-N2{color:#676C7E;} + .d2-695752357 .color-N3{color:#9499AB;} + .d2-695752357 .color-N4{color:#CFD2DD;} + .d2-695752357 .color-N5{color:#DEE1EB;} + .d2-695752357 .color-N6{color:#EEF1F8;} + .d2-695752357 .color-N7{color:#FFFFFF;} + .d2-695752357 .color-B1{color:#0D32B2;} + .d2-695752357 .color-B2{color:#0D32B2;} + .d2-695752357 .color-B3{color:#E3E9FD;} + .d2-695752357 .color-B4{color:#E3E9FD;} + .d2-695752357 .color-B5{color:#EDF0FD;} + .d2-695752357 .color-B6{color:#F7F8FE;} + .d2-695752357 .color-AA2{color:#4A6FF3;} + .d2-695752357 .color-AA4{color:#EDF0FD;} + .d2-695752357 .color-AA5{color:#F7F8FE;} + .d2-695752357 .color-AB4{color:#EDF0FD;} + .d2-695752357 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>고생끝에낙이온다 \ No newline at end of file diff --git a/e2etests/testdata/unicode/mixed-language-2/dagre/sketch.exp.svg b/e2etests/testdata/unicode/mixed-language-2/dagre/sketch.exp.svg index b73ffa386..3209df938 100644 --- a/e2etests/testdata/unicode/mixed-language-2/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/mixed-language-2/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -我 (wǒ) - Mandarin Chineseສະບາຍດີ (sabaai dii) - Laoជំរាបសួរ (jomreab suor) - Khmerสวัสดี (sà-wàt-dii) - Thaiສະບາຍດີ (sabaidee) - Laoဟယ်လို (helaou) - Burmesemari (まり) - Ainucào (草) - Zhuangкүнтізбе (kúntízbe) - Kazakhբարև (barev) - Armenianмонгол (mongol) - Mongolianmila (میلا) - Uyghurનમસ્તે (namaste) - Gujarati漢字 (kanji) - Japanese위 (wi) - Korean吾哥 (ngǔgāi) - Cantoneseမင်္ဂလာပါ (mingalaba) - Burmeseсайн уу (sain uu) - Mongolianਸਤਿ ਸ੍ਰੀ ਅਕਾਲ (sat sri akal) - Punjabi你吃了吗 (ní chī le ma) - Mandarin Chinese饭 (fan) - Zhuangمەن سىزنى ياخشى ئۈمىد ق + .d2-1231192003 .fill-N1{fill:#0A0F25;} + .d2-1231192003 .fill-N2{fill:#676C7E;} + .d2-1231192003 .fill-N3{fill:#9499AB;} + .d2-1231192003 .fill-N4{fill:#CFD2DD;} + .d2-1231192003 .fill-N5{fill:#DEE1EB;} + .d2-1231192003 .fill-N6{fill:#EEF1F8;} + .d2-1231192003 .fill-N7{fill:#FFFFFF;} + .d2-1231192003 .fill-B1{fill:#0D32B2;} + .d2-1231192003 .fill-B2{fill:#0D32B2;} + .d2-1231192003 .fill-B3{fill:#E3E9FD;} + .d2-1231192003 .fill-B4{fill:#E3E9FD;} + .d2-1231192003 .fill-B5{fill:#EDF0FD;} + .d2-1231192003 .fill-B6{fill:#F7F8FE;} + .d2-1231192003 .fill-AA2{fill:#4A6FF3;} + .d2-1231192003 .fill-AA4{fill:#EDF0FD;} + .d2-1231192003 .fill-AA5{fill:#F7F8FE;} + .d2-1231192003 .fill-AB4{fill:#EDF0FD;} + .d2-1231192003 .fill-AB5{fill:#F7F8FE;} + .d2-1231192003 .stroke-N1{stroke:#0A0F25;} + .d2-1231192003 .stroke-N2{stroke:#676C7E;} + .d2-1231192003 .stroke-N3{stroke:#9499AB;} + .d2-1231192003 .stroke-N4{stroke:#CFD2DD;} + .d2-1231192003 .stroke-N5{stroke:#DEE1EB;} + .d2-1231192003 .stroke-N6{stroke:#EEF1F8;} + .d2-1231192003 .stroke-N7{stroke:#FFFFFF;} + .d2-1231192003 .stroke-B1{stroke:#0D32B2;} + .d2-1231192003 .stroke-B2{stroke:#0D32B2;} + .d2-1231192003 .stroke-B3{stroke:#E3E9FD;} + .d2-1231192003 .stroke-B4{stroke:#E3E9FD;} + .d2-1231192003 .stroke-B5{stroke:#EDF0FD;} + .d2-1231192003 .stroke-B6{stroke:#F7F8FE;} + .d2-1231192003 .stroke-AA2{stroke:#4A6FF3;} + .d2-1231192003 .stroke-AA4{stroke:#EDF0FD;} + .d2-1231192003 .stroke-AA5{stroke:#F7F8FE;} + .d2-1231192003 .stroke-AB4{stroke:#EDF0FD;} + .d2-1231192003 .stroke-AB5{stroke:#F7F8FE;} + .d2-1231192003 .background-color-N1{background-color:#0A0F25;} + .d2-1231192003 .background-color-N2{background-color:#676C7E;} + .d2-1231192003 .background-color-N3{background-color:#9499AB;} + .d2-1231192003 .background-color-N4{background-color:#CFD2DD;} + .d2-1231192003 .background-color-N5{background-color:#DEE1EB;} + .d2-1231192003 .background-color-N6{background-color:#EEF1F8;} + .d2-1231192003 .background-color-N7{background-color:#FFFFFF;} + .d2-1231192003 .background-color-B1{background-color:#0D32B2;} + .d2-1231192003 .background-color-B2{background-color:#0D32B2;} + .d2-1231192003 .background-color-B3{background-color:#E3E9FD;} + .d2-1231192003 .background-color-B4{background-color:#E3E9FD;} + .d2-1231192003 .background-color-B5{background-color:#EDF0FD;} + .d2-1231192003 .background-color-B6{background-color:#F7F8FE;} + .d2-1231192003 .background-color-AA2{background-color:#4A6FF3;} + .d2-1231192003 .background-color-AA4{background-color:#EDF0FD;} + .d2-1231192003 .background-color-AA5{background-color:#F7F8FE;} + .d2-1231192003 .background-color-AB4{background-color:#EDF0FD;} + .d2-1231192003 .background-color-AB5{background-color:#F7F8FE;} + .d2-1231192003 .color-N1{color:#0A0F25;} + .d2-1231192003 .color-N2{color:#676C7E;} + .d2-1231192003 .color-N3{color:#9499AB;} + .d2-1231192003 .color-N4{color:#CFD2DD;} + .d2-1231192003 .color-N5{color:#DEE1EB;} + .d2-1231192003 .color-N6{color:#EEF1F8;} + .d2-1231192003 .color-N7{color:#FFFFFF;} + .d2-1231192003 .color-B1{color:#0D32B2;} + .d2-1231192003 .color-B2{color:#0D32B2;} + .d2-1231192003 .color-B3{color:#E3E9FD;} + .d2-1231192003 .color-B4{color:#E3E9FD;} + .d2-1231192003 .color-B5{color:#EDF0FD;} + .d2-1231192003 .color-B6{color:#F7F8FE;} + .d2-1231192003 .color-AA2{color:#4A6FF3;} + .d2-1231192003 .color-AA4{color:#EDF0FD;} + .d2-1231192003 .color-AA5{color:#F7F8FE;} + .d2-1231192003 .color-AB4{color:#EDF0FD;} + .d2-1231192003 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>我 (wǒ) - Mandarin Chineseສະບາຍດີ (sabaai dii) - Laoជំរាបសួរ (jomreab suor) - Khmerสวัสดี (sà-wàt-dii) - Thaiສະບາຍດີ (sabaidee) - Laoဟယ်လို (helaou) - Burmesemari (まり) - Ainucào (草) - Zhuangкүнтізбе (kúntízbe) - Kazakhբարև (barev) - Armenianмонгол (mongol) - Mongolianmila (میلا) - Uyghurનમસ્તે (namaste) - Gujarati漢字 (kanji) - Japanese위 (wi) - Korean吾哥 (ngǔgāi) - Cantoneseမင်္ဂလာပါ (mingalaba) - Burmeseсайн уу (sain uu) - Mongolianਸਤਿ ਸ੍ਰੀ ਅਕਾਲ (sat sri akal) - Punjabi你吃了吗 (ní chī le ma) - Mandarin Chinese饭 (fan) - Zhuangمەن سىزنى ياخشى ئۈمىد ق diff --git a/e2etests/testdata/unicode/mixed-language-2/elk/sketch.exp.svg b/e2etests/testdata/unicode/mixed-language-2/elk/sketch.exp.svg index f84cb6cde..de2ed0c9f 100644 --- a/e2etests/testdata/unicode/mixed-language-2/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/mixed-language-2/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -我 (wǒ) - Mandarin Chineseສະບາຍດີ (sabaai dii) - Laoជំរាបសួរ (jomreab suor) - Khmerสวัสดี (sà-wàt-dii) - Thaiສະບາຍດີ (sabaidee) - Laoဟယ်လို (helaou) - Burmesemari (まり) - Ainucào (草) - Zhuangкүнтізбе (kúntízbe) - Kazakhբարև (barev) - Armenianмонгол (mongol) - Mongolianmila (میلا) - Uyghurનમસ્તે (namaste) - Gujarati漢字 (kanji) - Japanese위 (wi) - Korean吾哥 (ngǔgāi) - Cantoneseမင်္ဂလာပါ (mingalaba) - Burmeseсайн уу (sain uu) - Mongolianਸਤਿ ਸ੍ਰੀ ਅਕਾਲ (sat sri akal) - Punjabi你吃了吗 (ní chī le ma) - Mandarin Chinese饭 (fan) - Zhuangمەن سىزنى ياخشى ئۈمىد ق + .d2-3819243883 .fill-N1{fill:#0A0F25;} + .d2-3819243883 .fill-N2{fill:#676C7E;} + .d2-3819243883 .fill-N3{fill:#9499AB;} + .d2-3819243883 .fill-N4{fill:#CFD2DD;} + .d2-3819243883 .fill-N5{fill:#DEE1EB;} + .d2-3819243883 .fill-N6{fill:#EEF1F8;} + .d2-3819243883 .fill-N7{fill:#FFFFFF;} + .d2-3819243883 .fill-B1{fill:#0D32B2;} + .d2-3819243883 .fill-B2{fill:#0D32B2;} + .d2-3819243883 .fill-B3{fill:#E3E9FD;} + .d2-3819243883 .fill-B4{fill:#E3E9FD;} + .d2-3819243883 .fill-B5{fill:#EDF0FD;} + .d2-3819243883 .fill-B6{fill:#F7F8FE;} + .d2-3819243883 .fill-AA2{fill:#4A6FF3;} + .d2-3819243883 .fill-AA4{fill:#EDF0FD;} + .d2-3819243883 .fill-AA5{fill:#F7F8FE;} + .d2-3819243883 .fill-AB4{fill:#EDF0FD;} + .d2-3819243883 .fill-AB5{fill:#F7F8FE;} + .d2-3819243883 .stroke-N1{stroke:#0A0F25;} + .d2-3819243883 .stroke-N2{stroke:#676C7E;} + .d2-3819243883 .stroke-N3{stroke:#9499AB;} + .d2-3819243883 .stroke-N4{stroke:#CFD2DD;} + .d2-3819243883 .stroke-N5{stroke:#DEE1EB;} + .d2-3819243883 .stroke-N6{stroke:#EEF1F8;} + .d2-3819243883 .stroke-N7{stroke:#FFFFFF;} + .d2-3819243883 .stroke-B1{stroke:#0D32B2;} + .d2-3819243883 .stroke-B2{stroke:#0D32B2;} + .d2-3819243883 .stroke-B3{stroke:#E3E9FD;} + .d2-3819243883 .stroke-B4{stroke:#E3E9FD;} + .d2-3819243883 .stroke-B5{stroke:#EDF0FD;} + .d2-3819243883 .stroke-B6{stroke:#F7F8FE;} + .d2-3819243883 .stroke-AA2{stroke:#4A6FF3;} + .d2-3819243883 .stroke-AA4{stroke:#EDF0FD;} + .d2-3819243883 .stroke-AA5{stroke:#F7F8FE;} + .d2-3819243883 .stroke-AB4{stroke:#EDF0FD;} + .d2-3819243883 .stroke-AB5{stroke:#F7F8FE;} + .d2-3819243883 .background-color-N1{background-color:#0A0F25;} + .d2-3819243883 .background-color-N2{background-color:#676C7E;} + .d2-3819243883 .background-color-N3{background-color:#9499AB;} + .d2-3819243883 .background-color-N4{background-color:#CFD2DD;} + .d2-3819243883 .background-color-N5{background-color:#DEE1EB;} + .d2-3819243883 .background-color-N6{background-color:#EEF1F8;} + .d2-3819243883 .background-color-N7{background-color:#FFFFFF;} + .d2-3819243883 .background-color-B1{background-color:#0D32B2;} + .d2-3819243883 .background-color-B2{background-color:#0D32B2;} + .d2-3819243883 .background-color-B3{background-color:#E3E9FD;} + .d2-3819243883 .background-color-B4{background-color:#E3E9FD;} + .d2-3819243883 .background-color-B5{background-color:#EDF0FD;} + .d2-3819243883 .background-color-B6{background-color:#F7F8FE;} + .d2-3819243883 .background-color-AA2{background-color:#4A6FF3;} + .d2-3819243883 .background-color-AA4{background-color:#EDF0FD;} + .d2-3819243883 .background-color-AA5{background-color:#F7F8FE;} + .d2-3819243883 .background-color-AB4{background-color:#EDF0FD;} + .d2-3819243883 .background-color-AB5{background-color:#F7F8FE;} + .d2-3819243883 .color-N1{color:#0A0F25;} + .d2-3819243883 .color-N2{color:#676C7E;} + .d2-3819243883 .color-N3{color:#9499AB;} + .d2-3819243883 .color-N4{color:#CFD2DD;} + .d2-3819243883 .color-N5{color:#DEE1EB;} + .d2-3819243883 .color-N6{color:#EEF1F8;} + .d2-3819243883 .color-N7{color:#FFFFFF;} + .d2-3819243883 .color-B1{color:#0D32B2;} + .d2-3819243883 .color-B2{color:#0D32B2;} + .d2-3819243883 .color-B3{color:#E3E9FD;} + .d2-3819243883 .color-B4{color:#E3E9FD;} + .d2-3819243883 .color-B5{color:#EDF0FD;} + .d2-3819243883 .color-B6{color:#F7F8FE;} + .d2-3819243883 .color-AA2{color:#4A6FF3;} + .d2-3819243883 .color-AA4{color:#EDF0FD;} + .d2-3819243883 .color-AA5{color:#F7F8FE;} + .d2-3819243883 .color-AB4{color:#EDF0FD;} + .d2-3819243883 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>我 (wǒ) - Mandarin Chineseສະບາຍດີ (sabaai dii) - Laoជំរាបសួរ (jomreab suor) - Khmerสวัสดี (sà-wàt-dii) - Thaiສະບາຍດີ (sabaidee) - Laoဟယ်လို (helaou) - Burmesemari (まり) - Ainucào (草) - Zhuangкүнтізбе (kúntízbe) - Kazakhբարև (barev) - Armenianмонгол (mongol) - Mongolianmila (میلا) - Uyghurનમસ્તે (namaste) - Gujarati漢字 (kanji) - Japanese위 (wi) - Korean吾哥 (ngǔgāi) - Cantoneseမင်္ဂလာပါ (mingalaba) - Burmeseсайн уу (sain uu) - Mongolianਸਤਿ ਸ੍ਰੀ ਅਕਾਲ (sat sri akal) - Punjabi你吃了吗 (ní chī le ma) - Mandarin Chinese饭 (fan) - Zhuangمەن سىزنى ياخشى ئۈمىد ق diff --git a/e2etests/testdata/unicode/mixed-language/dagre/board.exp.json b/e2etests/testdata/unicode/mixed-language/dagre/board.exp.json index 1fa81de41..421ffcdfe 100644 --- a/e2etests/testdata/unicode/mixed-language/dagre/board.exp.json +++ b/e2etests/testdata/unicode/mixed-language/dagre/board.exp.json @@ -152,11 +152,11 @@ "labelPercentage": 0, "route": [ { - "x": 357.8380126953125, + "x": 358, "y": 98 }, { - "x": 250.76699829101562, + "x": 250.8000030517578, "y": 138 }, { @@ -199,11 +199,11 @@ "labelPercentage": 0, "route": [ { - "x": 620.1610107421875, + "x": 620, "y": 98 }, { - "x": 727.2319946289062, + "x": 727.2000122070312, "y": 138 }, { diff --git a/e2etests/testdata/unicode/mixed-language/dagre/sketch.exp.svg b/e2etests/testdata/unicode/mixed-language/dagre/sketch.exp.svg index f8b63e9f9..c0f3f4525 100644 --- a/e2etests/testdata/unicode/mixed-language/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/mixed-language/dagre/sketch.exp.svg @@ -1,20 +1,20 @@ -有一个叫做夏天的季节。 ある季節、夏という名前がついています。한 계절, 여름이란 이름이 있습니다.夏天的时候,天气非常热,人们总是流着汗。

    夏になると、とても暑くて、人々は汗を流しています。

    여름에는 매우 더워서 사람들은 땀을 흘립니다.

    -
    + diff --git a/e2etests/testdata/unicode/mixed-language/elk/sketch.exp.svg b/e2etests/testdata/unicode/mixed-language/elk/sketch.exp.svg index 7a4f47bdc..219304518 100644 --- a/e2etests/testdata/unicode/mixed-language/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/mixed-language/elk/sketch.exp.svg @@ -1,20 +1,20 @@ -有一个叫做夏天的季节。 ある季節、夏という名前がついています。한 계절, 여름이란 이름이 있습니다.夏天的时候,天气非常热,人们总是流着汗。

    夏になると、とても暑くて、人々は汗を流しています。

    여름에는 매우 더워서 사람들은 땀을 흘립니다.

    -
    + diff --git a/e2etests/testdata/unicode/with-style/dagre/sketch.exp.svg b/e2etests/testdata/unicode/with-style/dagre/sketch.exp.svg index c67e2c8f6..5a6ae095e 100644 --- a/e2etests/testdata/unicode/with-style/dagre/sketch.exp.svg +++ b/e2etests/testdata/unicode/with-style/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -おやすみなさい + .d2-2323115990 .fill-N1{fill:#0A0F25;} + .d2-2323115990 .fill-N2{fill:#676C7E;} + .d2-2323115990 .fill-N3{fill:#9499AB;} + .d2-2323115990 .fill-N4{fill:#CFD2DD;} + .d2-2323115990 .fill-N5{fill:#DEE1EB;} + .d2-2323115990 .fill-N6{fill:#EEF1F8;} + .d2-2323115990 .fill-N7{fill:#FFFFFF;} + .d2-2323115990 .fill-B1{fill:#0D32B2;} + .d2-2323115990 .fill-B2{fill:#0D32B2;} + .d2-2323115990 .fill-B3{fill:#E3E9FD;} + .d2-2323115990 .fill-B4{fill:#E3E9FD;} + .d2-2323115990 .fill-B5{fill:#EDF0FD;} + .d2-2323115990 .fill-B6{fill:#F7F8FE;} + .d2-2323115990 .fill-AA2{fill:#4A6FF3;} + .d2-2323115990 .fill-AA4{fill:#EDF0FD;} + .d2-2323115990 .fill-AA5{fill:#F7F8FE;} + .d2-2323115990 .fill-AB4{fill:#EDF0FD;} + .d2-2323115990 .fill-AB5{fill:#F7F8FE;} + .d2-2323115990 .stroke-N1{stroke:#0A0F25;} + .d2-2323115990 .stroke-N2{stroke:#676C7E;} + .d2-2323115990 .stroke-N3{stroke:#9499AB;} + .d2-2323115990 .stroke-N4{stroke:#CFD2DD;} + .d2-2323115990 .stroke-N5{stroke:#DEE1EB;} + .d2-2323115990 .stroke-N6{stroke:#EEF1F8;} + .d2-2323115990 .stroke-N7{stroke:#FFFFFF;} + .d2-2323115990 .stroke-B1{stroke:#0D32B2;} + .d2-2323115990 .stroke-B2{stroke:#0D32B2;} + .d2-2323115990 .stroke-B3{stroke:#E3E9FD;} + .d2-2323115990 .stroke-B4{stroke:#E3E9FD;} + .d2-2323115990 .stroke-B5{stroke:#EDF0FD;} + .d2-2323115990 .stroke-B6{stroke:#F7F8FE;} + .d2-2323115990 .stroke-AA2{stroke:#4A6FF3;} + .d2-2323115990 .stroke-AA4{stroke:#EDF0FD;} + .d2-2323115990 .stroke-AA5{stroke:#F7F8FE;} + .d2-2323115990 .stroke-AB4{stroke:#EDF0FD;} + .d2-2323115990 .stroke-AB5{stroke:#F7F8FE;} + .d2-2323115990 .background-color-N1{background-color:#0A0F25;} + .d2-2323115990 .background-color-N2{background-color:#676C7E;} + .d2-2323115990 .background-color-N3{background-color:#9499AB;} + .d2-2323115990 .background-color-N4{background-color:#CFD2DD;} + .d2-2323115990 .background-color-N5{background-color:#DEE1EB;} + .d2-2323115990 .background-color-N6{background-color:#EEF1F8;} + .d2-2323115990 .background-color-N7{background-color:#FFFFFF;} + .d2-2323115990 .background-color-B1{background-color:#0D32B2;} + .d2-2323115990 .background-color-B2{background-color:#0D32B2;} + .d2-2323115990 .background-color-B3{background-color:#E3E9FD;} + .d2-2323115990 .background-color-B4{background-color:#E3E9FD;} + .d2-2323115990 .background-color-B5{background-color:#EDF0FD;} + .d2-2323115990 .background-color-B6{background-color:#F7F8FE;} + .d2-2323115990 .background-color-AA2{background-color:#4A6FF3;} + .d2-2323115990 .background-color-AA4{background-color:#EDF0FD;} + .d2-2323115990 .background-color-AA5{background-color:#F7F8FE;} + .d2-2323115990 .background-color-AB4{background-color:#EDF0FD;} + .d2-2323115990 .background-color-AB5{background-color:#F7F8FE;} + .d2-2323115990 .color-N1{color:#0A0F25;} + .d2-2323115990 .color-N2{color:#676C7E;} + .d2-2323115990 .color-N3{color:#9499AB;} + .d2-2323115990 .color-N4{color:#CFD2DD;} + .d2-2323115990 .color-N5{color:#DEE1EB;} + .d2-2323115990 .color-N6{color:#EEF1F8;} + .d2-2323115990 .color-N7{color:#FFFFFF;} + .d2-2323115990 .color-B1{color:#0D32B2;} + .d2-2323115990 .color-B2{color:#0D32B2;} + .d2-2323115990 .color-B3{color:#E3E9FD;} + .d2-2323115990 .color-B4{color:#E3E9FD;} + .d2-2323115990 .color-B5{color:#EDF0FD;} + .d2-2323115990 .color-B6{color:#F7F8FE;} + .d2-2323115990 .color-AA2{color:#4A6FF3;} + .d2-2323115990 .color-AA4{color:#EDF0FD;} + .d2-2323115990 .color-AA5{color:#F7F8FE;} + .d2-2323115990 .color-AB4{color:#EDF0FD;} + .d2-2323115990 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>おやすみなさい \ No newline at end of file diff --git a/e2etests/testdata/unicode/with-style/elk/sketch.exp.svg b/e2etests/testdata/unicode/with-style/elk/sketch.exp.svg index 6d526739b..59102e369 100644 --- a/e2etests/testdata/unicode/with-style/elk/sketch.exp.svg +++ b/e2etests/testdata/unicode/with-style/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -おやすみなさい + .d2-1654988174 .fill-N1{fill:#0A0F25;} + .d2-1654988174 .fill-N2{fill:#676C7E;} + .d2-1654988174 .fill-N3{fill:#9499AB;} + .d2-1654988174 .fill-N4{fill:#CFD2DD;} + .d2-1654988174 .fill-N5{fill:#DEE1EB;} + .d2-1654988174 .fill-N6{fill:#EEF1F8;} + .d2-1654988174 .fill-N7{fill:#FFFFFF;} + .d2-1654988174 .fill-B1{fill:#0D32B2;} + .d2-1654988174 .fill-B2{fill:#0D32B2;} + .d2-1654988174 .fill-B3{fill:#E3E9FD;} + .d2-1654988174 .fill-B4{fill:#E3E9FD;} + .d2-1654988174 .fill-B5{fill:#EDF0FD;} + .d2-1654988174 .fill-B6{fill:#F7F8FE;} + .d2-1654988174 .fill-AA2{fill:#4A6FF3;} + .d2-1654988174 .fill-AA4{fill:#EDF0FD;} + .d2-1654988174 .fill-AA5{fill:#F7F8FE;} + .d2-1654988174 .fill-AB4{fill:#EDF0FD;} + .d2-1654988174 .fill-AB5{fill:#F7F8FE;} + .d2-1654988174 .stroke-N1{stroke:#0A0F25;} + .d2-1654988174 .stroke-N2{stroke:#676C7E;} + .d2-1654988174 .stroke-N3{stroke:#9499AB;} + .d2-1654988174 .stroke-N4{stroke:#CFD2DD;} + .d2-1654988174 .stroke-N5{stroke:#DEE1EB;} + .d2-1654988174 .stroke-N6{stroke:#EEF1F8;} + .d2-1654988174 .stroke-N7{stroke:#FFFFFF;} + .d2-1654988174 .stroke-B1{stroke:#0D32B2;} + .d2-1654988174 .stroke-B2{stroke:#0D32B2;} + .d2-1654988174 .stroke-B3{stroke:#E3E9FD;} + .d2-1654988174 .stroke-B4{stroke:#E3E9FD;} + .d2-1654988174 .stroke-B5{stroke:#EDF0FD;} + .d2-1654988174 .stroke-B6{stroke:#F7F8FE;} + .d2-1654988174 .stroke-AA2{stroke:#4A6FF3;} + .d2-1654988174 .stroke-AA4{stroke:#EDF0FD;} + .d2-1654988174 .stroke-AA5{stroke:#F7F8FE;} + .d2-1654988174 .stroke-AB4{stroke:#EDF0FD;} + .d2-1654988174 .stroke-AB5{stroke:#F7F8FE;} + .d2-1654988174 .background-color-N1{background-color:#0A0F25;} + .d2-1654988174 .background-color-N2{background-color:#676C7E;} + .d2-1654988174 .background-color-N3{background-color:#9499AB;} + .d2-1654988174 .background-color-N4{background-color:#CFD2DD;} + .d2-1654988174 .background-color-N5{background-color:#DEE1EB;} + .d2-1654988174 .background-color-N6{background-color:#EEF1F8;} + .d2-1654988174 .background-color-N7{background-color:#FFFFFF;} + .d2-1654988174 .background-color-B1{background-color:#0D32B2;} + .d2-1654988174 .background-color-B2{background-color:#0D32B2;} + .d2-1654988174 .background-color-B3{background-color:#E3E9FD;} + .d2-1654988174 .background-color-B4{background-color:#E3E9FD;} + .d2-1654988174 .background-color-B5{background-color:#EDF0FD;} + .d2-1654988174 .background-color-B6{background-color:#F7F8FE;} + .d2-1654988174 .background-color-AA2{background-color:#4A6FF3;} + .d2-1654988174 .background-color-AA4{background-color:#EDF0FD;} + .d2-1654988174 .background-color-AA5{background-color:#F7F8FE;} + .d2-1654988174 .background-color-AB4{background-color:#EDF0FD;} + .d2-1654988174 .background-color-AB5{background-color:#F7F8FE;} + .d2-1654988174 .color-N1{color:#0A0F25;} + .d2-1654988174 .color-N2{color:#676C7E;} + .d2-1654988174 .color-N3{color:#9499AB;} + .d2-1654988174 .color-N4{color:#CFD2DD;} + .d2-1654988174 .color-N5{color:#DEE1EB;} + .d2-1654988174 .color-N6{color:#EEF1F8;} + .d2-1654988174 .color-N7{color:#FFFFFF;} + .d2-1654988174 .color-B1{color:#0D32B2;} + .d2-1654988174 .color-B2{color:#0D32B2;} + .d2-1654988174 .color-B3{color:#E3E9FD;} + .d2-1654988174 .color-B4{color:#E3E9FD;} + .d2-1654988174 .color-B5{color:#EDF0FD;} + .d2-1654988174 .color-B6{color:#F7F8FE;} + .d2-1654988174 .color-AA2{color:#4A6FF3;} + .d2-1654988174 .color-AA4{color:#EDF0FD;} + .d2-1654988174 .color-AA5{color:#F7F8FE;} + .d2-1654988174 .color-AB4{color:#EDF0FD;} + .d2-1654988174 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>おやすみなさい \ No newline at end of file diff --git a/e2etests/themes_test.go b/e2etests/themes_test.go index 42600ec94..702cfda66 100644 --- a/e2etests/themes_test.go +++ b/e2etests/themes_test.go @@ -11,7 +11,7 @@ func testThemes(t *testing.T) { tcs := []testCase{ { name: "dark terrastruct flagship", - themeID: d2themescatalog.DarkFlagshipTerrastruct.ID, + themeID: &d2themescatalog.DarkFlagshipTerrastruct.ID, script: ` network: { cell tower: { @@ -118,7 +118,7 @@ ex: |tex }, { name: "terminal", - themeID: d2themescatalog.Terminal.ID, + themeID: &d2themescatalog.Terminal.ID, script: ` network: { cell tower: { @@ -225,7 +225,7 @@ ex: |tex }, { name: "terminal_grayscale", - themeID: d2themescatalog.TerminalGrayscale.ID, + themeID: &d2themescatalog.TerminalGrayscale.ID, script: ` network: { cell tower: { @@ -279,7 +279,7 @@ network.data processor -> api server }, { name: "origami", - themeID: d2themescatalog.Origami.ID, + themeID: &d2themescatalog.Origami.ID, script: ` network: 通信網 { cell tower: { diff --git a/lib/geo/box.go b/lib/geo/box.go index 3fe0eb7c2..de9f3af0a 100644 --- a/lib/geo/box.go +++ b/lib/geo/box.go @@ -78,3 +78,14 @@ func (b *Box) ToString() string { } return fmt.Sprintf("{TopLeft: %s, Width: %.0f, Height: %.0f}", b.TopLeft.ToString(), b.Width, b.Height) } + +func (b *Box) Contains(p *Point) bool { + return !(p.X < b.TopLeft.X || b.TopLeft.X+b.Width < p.X || + p.Y < b.TopLeft.Y || b.TopLeft.Y+b.Height < p.Y) +} + +func (b1 Box) Overlaps(b2 Box) bool { + // https://silentmatt.com/rectangle-intersection/ + return (b1.TopLeft.X < (b2.TopLeft.X + b2.Width)) && ((b1.TopLeft.X + b1.Width) > b2.TopLeft.X) && + (b1.TopLeft.Y < (b2.TopLeft.Y + b2.Height)) && ((b1.TopLeft.Y + b1.Height) > b2.TopLeft.Y) +} diff --git a/lib/urlenc/testdata/TestChanges.exp.txt b/lib/urlenc/testdata/TestChanges.exp.txt index c8aeb9aed..0ab14ee94 100644 --- a/lib/urlenc/testdata/TestChanges.exp.txt +++ b/lib/urlenc/testdata/TestChanges.exp.txt @@ -1 +1 @@ -vFdtb9s4Ev6uXzFwWvQuiN5sN0mFwx1yadMUaLHe2rv9UmBBiyOZrUSqJGUn3ea_L4aSbFl2usUusPkQkzPkzMNnXkhZUSIpoBR3qBMYjeB3DwDvqoJJRkwm8K3kHgDAyQmcni72NpyeOo0Pb-QnTC0wbs5gs1K-VX6mikJtzkDJpWKaC5m3a6-VXKM2zjqUitcFdppaG6WFzM8qlovGf6tabJBZ4MjrqhBpXzNHvUYOnFkGhcrzxtE378GboaoKBC5Mqtao7xMYDUXwURrUa5HiyGO8JeGKN6dzVDiiA0qZBEYnaczG2WTkPXje7lzQmkhg9NNO2LO8zzL4_4UhjiNLDu0fWdRi9lJKRyFRR9sY5ppVqy-FB5CqskRpPQBbGFYJ76G3PmjXJfCaBj-__ShvkKOmyoO51cwquHbl0NBB6ZqAKFlOUaPkT2BlbWWSMKyrQjEebMRnUSIXLFA6D2lW0SwkHEqa0K7qchnGYXwRtj5_e6tyFZh1HsbjKKru_KE8qGS-D7s9VJeeJyeUImjD2qAGWofSwuqea5crZ7AWRixFIew9ZKKwSGnmfetbbMhJYPF27l_N3sC_lkjkc6w0pkTHv4_QRkHYD8swSv_x4cCJZzeCWhFklDSLdnKjHWwOTQD3uaWZCSxqzYzVdWqJgdCoVLAijOKJ35r0Y-JrGKmHnkeCfCz-YrZSEmGDy8cXdxzdLhYzuJJcK8G9DS4T-IDLH0bNvtYaww-4fDqO5k1uPx1H19SHw6uq2pO-VCUT0hw_lPemIsxJz_OzzrUxF8H668Y5FCZ0W8Jf0bXuD0JjgcaErKoK9IWz4sdj_3yaL_2q1iR9PoniC7_8JONJUfjsf084Eia_yJ88O4TSkpEcISHlchqQKBPUiB0ialcNO6Epmba-g2B8i-lKqkLlAk34PB6HrLHb6F0ZHLKwwaXLw23UdjloUqVdY-8a90c5d6LRke6WZRyzmLrbSpUImsnPtPeWJu_dxOtZ7pre9kqYP9qmDuAsVlpkFt7Pro-s3nO-Q9m7CROYDsQEP4qiV5OXBP97CFqQzknb8G-3Y-fu5NGmf7z--6b-EtydgSNkDbR_n5zHvLXElEyumLVMwjiBd93Ey8VXuqvTzwm87oZe034cFQnM3aS5dzxLzfi-EpQfbggzgQPXPU8DzdbZQN7zNzxG569tCYN6aKtzIK00cuHei93pxwnMdsI2of_84ku59F0x-5XMg6xglmau0KmGz6fnsft3Gb9obzKHvqsGl39NWX63KreE9QNTYpmydIUJvGtHR1oQj7-cZxHD4i6qlA7SQtU8o-smkGjDShPZ1i9UrkzIMZrGz6OpH3G-9KeT7NxfXr5AP8NoOo0macouud955e15vAxtukrghn56h-gewAlYXeOOR3rhNtuYrTXSRjf48a1EnpB54oiji_qHdzqolAqt8w6Ey7DGmHckN_6p1GghEJpDEDvw2140DlLdvDz6WbVXYPQoPNRuE2c0GuqOVEb_Ttg2on6L2qkOoSVwzSQXnFlsUmTXSsfbF-tjLeuwIOiP5Dvr-t22fQ-X31zcXN68ouUP9GnDdHG_FJon8IqG_xea3o-1ZXkCv1jm7teKUbjn9NO-n2sprECTwPVu4j14aNMEgiBAmx7w63RdWt92L1Gvn23bAO0J27j0Zc7WjsLme9F4fwQAAP__ \ No newline at end of file +vFdtb9s4Ev6uXzFwWvQuiN5sN0mFwx1yadMUaLHe2rv9UmBBiyOZrUSqJGUn3ea_L4aSbFl2usUusPkQkzPkzMNnXkhZUSIpoRR3qBMYjeB3DwDvqoJJRmwm8K3kHgDAyQmcni72NpyeOo0Pb-QnTC0wbs5gs1K-VX6mikJtzkDJpWKaC5m3a6-VXKM2zjqUitcFdppaG6WFzM8qlovGf6tabJBZ4MjrqhBpXzNHvUYOnFkGhcrzxtE378GboaoKBC5Mqtao7xMYDUXwURrUa5HiyGO8JeGKN6dzVDiyA0qbBEYnaczG2WTkPXje7lzQmkhg9NNO2LO8zzL4_4UhjiNLDu0fWdRi9lJKSSFRR9sY5ppVqy-FB5CqskRpPQBbGFYJ76G3PmjXJfCaBj-__ShvkKOm6oO51cwquHYl0dBBKZuAKFlOUaMCSGBlbWWSMKyrQjEebMRnUSIXLFA6D2lW0SwkHEqa0K7qchnGYXwRtj5_e6tyFZh1HsbjKKru_KE8qGS-D7s9VJeeJyeUImjD2qAGWofSwuqea5crZ7AWRixFIew9ZKKwSGnmfetbbMhJYPF27l_N3sC_lkjkc6w0pkTHv4_QRkHYD8swSv_x4cCJZzeC2hFklDSLdnKjHWwOTQD3uaWZCSxqzYzVdWqJgdCoVLAijOKJ35r0Y-JrGKmHnkeCfCz-YrZSEmGDy8cXdxzdLhYzuJJcK8G9DS4T-IDLH0bNvtYaww-4fDqO5k1uPx1H19SLw6uq2pO-VCUT0hw_lPemIsxJz_OzzrUxF8H668Y5FCZ0W8Jf0bXvD0JjgcaErKoK9IWz4sdj_3yaL_2q1iR9PoniC7_8JONJUfjsf084Eia_yJ88O4TSkpEcISHlchqQKBPUjB0ialcNO6Epmba-g2B8i-lKqkLlAk34PB6HrLHb6F0ZHLKwwaXLw23UdjloUqVdY-8a90c5d6LRke6WZRyzmLrbSpUImsnPtPeWJu_dxOtZ7pre9kqYP9qmDuAsVlpkFt7Pro-s3nO-Q9m7DROYDsQEP4qiV5OXBP97CFqQzknb8G-3Y-fu5NGmf7z--6b-EtydgSNkDbR_n5zHvLXElEyumLVMwjiBd93Ey8VXuqvTzwm87oZe034cFQnM3aS5dzxLzfi-EpQfbggzgQPXPU8DzdbZQN7zNzxG569tCYN6aKtzIK00cuHejN3pxwnMdsI2of_84ku59F0x-5XMg6xglmau0KmGz6fnsft3Gb9obzKHvqsGl39NWX63KreE9QNTYpmydIUJvGtHR1oQj7-cZxHD4i6qlA7SQtU8o-smkGjDShPZ1i9UrkzIMZrGz6OpH3G-9KeT7NxfXr5AP8NoOo0macouud955e15vAxtukrghn56h-gewQlYXeOOR3rlNtuYrTXSRjf48a1EnpB54oiji_qHdzqolAqt8w6Ey7DGmHckN_6p1GghEJpDEDvw2140DlLdvDz6WbVXYPQoPNRuE2c0GuqOVEb_Ttg2on6L2qkOoSVwzSQXnFlsUmTXSsfbF-tjLeuwIOiP5Dvr-t22fQ-X31zcXN68ouUP9GnDdHG_FJon8IqG_xea3o-1ZXkCv1jm7teKUbjn9NO-n2sprECTwPVu4j14aNMEgiBAmx7w63RdWt92L1Gvn23bAO0J27j0Zc7WjsLmm9F4fwQAAP__ \ No newline at end of file diff --git a/lib/version/version.go b/lib/version/version.go index aeaa91c5c..91c5c350a 100644 --- a/lib/version/version.go +++ b/lib/version/version.go @@ -3,7 +3,7 @@ package version import "regexp" // Pre-built binaries will have version set correctly during build time. -var Version = "v0.5.1-HEAD" +var Version = "v0.6.0-HEAD" func OnlyNumbers() string { re, err := regexp.Compile("[0-9]+.[0-9]+.[0-9]+") diff --git a/make.sh b/make.sh index b39aabbfa..a2615001f 100755 --- a/make.sh +++ b/make.sh @@ -14,4 +14,8 @@ if ! go version | grep -qF '1.20'; then exit 1 fi +if [ "${DAILY-}" ]; then + export FORCE_COLOR=1 + npx playwright@1.31.1 install --with-deps chromium +fi _make "$@" diff --git a/testdata/d2compiler/TestCompile/root_direction.exp.json b/testdata/d2compiler/TestCompile/root_direction.exp.json index 98ba30eda..a61670cdc 100644 --- a/testdata/d2compiler/TestCompile/root_direction.exp.json +++ b/testdata/d2compiler/TestCompile/root_direction.exp.json @@ -1,7 +1,7 @@ { "graph": { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "ast": { "range": "d2/testdata/d2compiler/TestCompile/root_direction.d2,0:0:0-0:16:16", "nodes": [ diff --git a/testdata/d2compiler/TestCompile/root_sequence.exp.json b/testdata/d2compiler/TestCompile/root_sequence.exp.json index 353ce9a61..4fa6ad4a8 100644 --- a/testdata/d2compiler/TestCompile/root_sequence.exp.json +++ b/testdata/d2compiler/TestCompile/root_sequence.exp.json @@ -1,7 +1,7 @@ { "graph": { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "ast": { "range": "d2/testdata/d2compiler/TestCompile/root_sequence.d2,0:0:0-1:0:24", "nodes": [ diff --git a/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.exp.json b/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.exp.json new file mode 100644 index 000000000..3205a49da --- /dev/null +++ b/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.exp.json @@ -0,0 +1,287 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,0:0:0-8:0:48", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,1:0:1-1:16:17", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,1:0:1-1:9:10", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,1:0:1-1:9:10", + "value": [ + { + "string": "direction", + "raw_string": "direction" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,1:11:12-1:16:17", + "value": [ + { + "string": "right", + "raw_string": "right" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,3:0:19-7:1:47", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,3:0:19-3:5:24", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,3:0:19-3:5:24", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,3:7:26-7:1:47", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,4:2:30-6:3:45", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,4:2:30-4:3:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,4:2:30-4:3:31", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,4:5:33-6:3:45", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,5:4:39-5:6:41", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,5:4:39-5:6:41", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,5:4:39-5:6:41", + "value": [ + { + "string": "RJ", + "raw_string": "RJ" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "right" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "steps": [ + { + "name": "1", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "direction" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,1:11:12-1:16:17", + "value": [ + { + "string": "right", + "raw_string": "right" + } + ] + } + }, + "value": {} + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "RJ" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "right" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "RJ", + "id_val": "RJ", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,5:4:39-5:6:41", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/boards/isFolderOnly-shapes.d2,5:4:39-5:6:41", + "value": [ + { + "string": "RJ", + "raw_string": "RJ" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "RJ" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/nulls/basic/attribute.exp.json b/testdata/d2compiler/TestCompile2/nulls/basic/attribute.exp.json index 8b29a9497..fb4a47fbd 100644 --- a/testdata/d2compiler/TestCompile2/nulls/basic/attribute.exp.json +++ b/testdata/d2compiler/TestCompile2/nulls/basic/attribute.exp.json @@ -177,6 +177,48 @@ }, "key_path_index": 0, "map_key_edge_index": -1 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/basic/attribute.d2,2:0:22-2:15:37", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/basic/attribute.d2,2:0:22-2:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/basic/attribute.d2,2:2:24-2:7:29", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/basic/attribute.d2,2:8:30-2:15:37", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 } ], "attributes": { diff --git a/testdata/d2compiler/TestCompile2/nulls/basic/shape.exp.json b/testdata/d2compiler/TestCompile2/nulls/basic/shape.exp.json index 4f2c2fd5c..ec5030e90 100644 --- a/testdata/d2compiler/TestCompile2/nulls/basic/shape.exp.json +++ b/testdata/d2compiler/TestCompile2/nulls/basic/shape.exp.json @@ -1,7 +1,7 @@ { "graph": { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "ast": { "range": "d2/testdata/d2compiler/TestCompile2/nulls/basic/shape.d2,0:0:0-3:0:11", "nodes": [ diff --git a/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.exp.json b/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.exp.json index 7d93bdeea..758fbbabb 100644 --- a/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.exp.json +++ b/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.exp.json @@ -232,6 +232,37 @@ }, "key_path_index": 0, "map_key_edge_index": -1 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.d2,5:0:22-5:3:25", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.d2,5:0:22-5:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/delete-children.d2,5:2:24-5:3:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 } ], "attributes": { diff --git a/testdata/d2compiler/TestCompile2/nulls/multiboard/scenario.exp.json b/testdata/d2compiler/TestCompile2/nulls/multiboard/scenario.exp.json index 9a3a10c59..821e51b86 100644 --- a/testdata/d2compiler/TestCompile2/nulls/multiboard/scenario.exp.json +++ b/testdata/d2compiler/TestCompile2/nulls/multiboard/scenario.exp.json @@ -189,7 +189,7 @@ "scenarios": [ { "name": "a", - "isFolderOnly": false, + "isFolderOnly": true, "ast": { "range": ",1:0:0-2:0:0", "nodes": null diff --git a/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.exp.json b/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.exp.json index 3e297fcec..6af8f1845 100644 --- a/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.exp.json +++ b/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.exp.json @@ -195,6 +195,37 @@ "key_path_index": 0, "map_key_edge_index": -1 }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.d2,2:0:7-2:3:10", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.d2,2:0:7-2:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.d2,2:2:9-2:3:10", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + }, { "key": { "range": "d2/testdata/d2compiler/TestCompile2/nulls/reappear/children-reset.d2,3:0:17-3:3:20", diff --git a/testdata/d2compiler/TestCompile2/vars/basic/array.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/array.exp.json new file mode 100644 index 000000000..73c5d4b33 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/array.exp.json @@ -0,0 +1,347 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,0:0:0-8:0:114", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,1:0:1-3:1:45", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,1:6:7-3:1:45", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,2:1:10-2:34:43", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,2:1:10-2:17:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,2:1:10-2:17:26", + "value": [ + { + "string": "base-constraints", + "raw_string": "base-constraints" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,2:19:28-2:33:42", + "nodes": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,2:20:29-2:23:32", + "value": [ + { + "string": "UNQ", + "raw_string": "UNQ" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,2:25:34-2:33:42", + "value": [ + { + "string": "NOT NULL", + "raw_string": "NOT NULL" + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,4:0:46-7:1:113", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,4:0:46-4:1:47", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,4:0:46-4:1:47", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,4:3:49-7:1:113", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,5:2:53-5:18:69", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,5:2:53-5:7:58", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,5:2:53-5:7:58", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,5:9:60-5:18:69", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:1:71-6:41:111", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:1:71-6:2:72", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:1:71-6:2:72", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:4:74-6:7:77", + "value": [ + { + "string": "int", + "raw_string": "int" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:8:78-6:41:111", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:9:79-6:40:110", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:9:79-6:19:89", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:9:79-6:19:89", + "value": [ + { + "string": "constraint", + "raw_string": "constraint" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:21:91-6:22:92", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:21:91-6:40:110", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,6:23:93-6:39:109", + "value": [ + { + "string": "base-constraints", + "raw_string": "base-constraints" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,4:0:46-4:1:47", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/array.d2,4:0:46-4:1:47", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "sql_table": { + "columns": [ + { + "name": { + "label": "b", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "type": { + "label": "int", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "constraint": [ + "UNQ", + "NOT NULL" + ], + "reference": "" + } + ] + }, + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "sql_table" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/combined.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/combined.exp.json new file mode 100644 index 000000000..647ad1d52 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/combined.exp.json @@ -0,0 +1,177 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,0:0:0-5:0:38", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,4:0:25-4:12:37", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,4:4:29-4:12:37", + "value": [ + { + "string": "1 im a var 2" + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/combined.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "1 im a var 2" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.exp.json new file mode 100644 index 000000000..d23e46259 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.exp.json @@ -0,0 +1,216 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,0:0:0-7:0:59", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,1:0:1-5:1:36", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,1:6:7-5:1:36", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,2:1:10-4:3:34", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,2:1:10-2:2:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,2:1:10-2:2:11", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,2:4:13-2:10:19", + "value": [ + { + "string": "always", + "raw_string": "always" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,2:11:20-4:3:34", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,3:4:26-3:8:30", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,3:4:26-3:5:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,3:4:26-3:5:27", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,3:7:29-3:8:30", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,6:0:37-6:21:58", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,6:0:37-6:1:38", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,6:0:37-6:1:38", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "double_quoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,6:3:40-6:21:58", + "value": [ + { + "string": "always be my maybe" + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "z", + "id_val": "z", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,6:0:37-6:1:38", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quote-primary.d2,6:0:37-6:1:38", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "always be my maybe" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.exp.json new file mode 100644 index 000000000..dd4764b6b --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.exp.json @@ -0,0 +1,177 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,0:0:0-5:0:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,4:0:25-4:14:39", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "double_quoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,4:4:29-4:14:39", + "value": [ + { + "string": "1 im a var 2" + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/double-quoted.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "1 im a var 2" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/edge-label.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/edge-label.exp.json new file mode 100644 index 000000000..87391a571 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/edge-label.exp.json @@ -0,0 +1,292 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,0:0:0-5:0:38", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:0:25-4:12:37", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:0:25-4:6:31", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:0:25-4:1:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:0:25-4:1:26", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:5:30-4:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:5:30-4:6:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:8:33-4:9:34", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:8:33-4:12:37", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:10:35-4:11:36", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "im a var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:0:25-4:1:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:0:25-4:1:26", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:5:30-4:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-label.d2,4:5:30-4:6:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/edge-map.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/edge-map.exp.json new file mode 100644 index 000000000..cb64534ff --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/edge-map.exp.json @@ -0,0 +1,350 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,0:0:0-7:0:68", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:0:25-6:1:67", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:0:25-4:6:31", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:0:25-4:1:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:0:25-4:1:26", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:5:30-4:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:5:30-4:6:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:8:33-6:1:67", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:2:37-5:30:65", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:2:37-5:24:59", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:2:37-5:18:53", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:19:54-5:24:59", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:26:61-5:27:62", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:26:61-5:30:65", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,5:28:63-5:29:64", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "dstArrowhead": { + "label": { + "value": "im a var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:0:25-4:1:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:0:25-4:1:26", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:5:30-4:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge-map.d2,4:5:30-4:6:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/edge_label.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/edge_label.exp.json new file mode 100644 index 000000000..b5d58ba79 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/edge_label.exp.json @@ -0,0 +1,292 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,0:0:0-5:0:38", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:0:25-4:12:37", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:0:25-4:6:31", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:0:25-4:1:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:0:25-4:1:26", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:5:30-4:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:5:30-4:6:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:8:33-4:9:34", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:8:33-4:12:37", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:10:35-4:11:36", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:0:25-4:1:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:0:25-4:1:26", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:5:30-4:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/edge_label.d2,4:5:30-4:6:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/label.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/label.exp.json new file mode 100644 index 000000000..7c20031a3 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/label.exp.json @@ -0,0 +1,193 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,0:0:0-5:0:34", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:0:25-4:8:33", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:4:29-4:5:30", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:4:29-4:8:33", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:6:31-4:7:32", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/label.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/map.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/map.exp.json new file mode 100644 index 000000000..e04804d69 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/map.exp.json @@ -0,0 +1,531 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,0:0:0-11:0:133", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,1:0:1-8:1:90", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,1:6:7-8:1:90", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,2:2:11-4:3:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,2:2:11-2:12:21", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,2:2:11-2:12:21", + "value": [ + { + "string": "cool-style", + "raw_string": "cool-style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,2:14:23-4:3:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,3:2:27-3:11:36", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,3:2:27-3:6:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,3:2:27-3:6:31", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,3:8:33-3:11:36", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,5:2:43-7:3:88", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,5:2:43-5:8:49", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,5:2:43-5:8:49", + "value": [ + { + "string": "arrows", + "raw_string": "arrows" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,5:10:51-7:3:88", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,6:4:57-6:31:84", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,6:4:57-6:26:79", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,6:4:57-6:20:73", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,6:21:74-6:26:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,6:28:81-6:31:84", + "value": [ + { + "string": "yay", + "raw_string": "yay" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:0:91-9:23:114", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:0:91-9:8:99", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:0:91-9:2:93", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:3:94-9:8:99", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:10:101-9:11:102", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:10:101-9:23:114", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:12:103-9:22:113", + "value": [ + { + "string": "cool-style", + "raw_string": "cool-style" + } + ] + } + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:0:115-10:17:132", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:0:115-10:6:121", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:0:115-10:1:116", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:0:115-10:1:116", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:5:120-10:6:121", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:5:120-10:6:121", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:8:123-10:9:124", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:8:123-10:17:132", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:10:125-10:16:131", + "value": [ + { + "string": "arrows", + "raw_string": "arrows" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "dstArrowhead": { + "label": { + "value": "yay" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:0:91-9:8:99", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:0:91-9:2:93", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,9:3:94-9:8:99", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:0:115-10:1:116", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:0:115-10:1:116", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:5:120-10:6:121", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/map.d2,10:5:120-10:6:121", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.exp.json new file mode 100644 index 000000000..f6b14f864 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.exp.json @@ -0,0 +1,221 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,0:0:0-5:0:46", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,1:0:1-3:1:18", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,1:6:7-3:1:18", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,2:1:10-2:7:16", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,2:1:10-2:2:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,2:1:10-2:2:11", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,2:4:13-2:7:16", + "value": [ + { + "string": "all", + "raw_string": "all" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:0:19-4:26:45", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:0:19-4:7:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:0:19-4:1:20", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:2:21-4:7:26", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:9:28-4:25:44", + "nodes": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:10:29-4:11:30", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:13:32-4:25:44", + "value": [ + { + "string": "alltogether" + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "z", + "id_val": "z", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:0:19-4:7:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:0:19-4:1:20", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/multi-part-array.d2,4:2:21-4:7:26", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "z" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null, + "classes": [ + "a", + "alltogether" + ] + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/nested.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/nested.exp.json new file mode 100644 index 000000000..2b5c53b82 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/nested.exp.json @@ -0,0 +1,317 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,0:0:0-11:0:112", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,1:0:1-7:1:64", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,1:6:7-7:1:64", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,2:1:10-6:3:62", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,2:1:10-2:7:16", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,2:1:10-2:7:16", + "value": [ + { + "string": "colors", + "raw_string": "colors" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,2:9:18-6:3:62", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,3:4:24-5:5:58", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,3:4:24-3:11:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,3:4:24-3:11:31", + "value": [ + { + "string": "primary", + "raw_string": "primary" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,3:13:33-5:5:58", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,4:6:41-4:17:52", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,4:6:41-4:12:47", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,4:6:41-4:12:47", + "value": [ + { + "string": "button", + "raw_string": "button" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,4:14:49-4:17:52", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,8:0:65-10:1:111", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,8:0:65-8:2:67", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,8:0:65-8:2:67", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,8:4:69-10:1:111", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:2:73-9:38:109", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:2:73-9:12:83", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:2:73-9:7:78", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:8:79-9:12:83", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:14:85-9:15:86", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:14:85-9:38:109", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:16:87-9:22:93", + "value": [ + { + "string": "colors", + "raw_string": "colors" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:23:94-9:30:101", + "value": [ + { + "string": "primary", + "raw_string": "primary" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,9:31:102-9:37:108", + "value": [ + { + "string": "button", + "raw_string": "button" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,8:0:65-8:2:67", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/nested.d2,8:0:65-8:2:67", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/number.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/number.exp.json new file mode 100644 index 000000000..a27ca9ad5 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/number.exp.json @@ -0,0 +1,289 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,0:0:0-8:0:60", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,1:0:1-3:1:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,1:6:7-3:1:22", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,2:1:10-2:11:20", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,2:1:10-2:8:17", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,2:1:10-2:8:17", + "value": [ + { + "string": "columns", + "raw_string": "columns" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,2:10:19-2:11:20", + "raw": "2", + "value": "2" + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,4:0:23-7:1:59", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,4:0:23-4:2:25", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,4:0:23-4:2:25", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,4:4:27-7:1:59", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,5:1:30-5:25:54", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,5:1:30-5:13:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,5:1:30-5:13:42", + "value": [ + { + "string": "grid-columns", + "raw_string": "grid-columns" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,5:15:44-5:16:45", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,5:15:44-5:25:54", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,5:17:46-5:24:53", + "value": [ + { + "string": "columns", + "raw_string": "columns" + } + ] + } + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,6:1:56-6:2:57", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,6:1:56-6:2:57", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,6:1:56-6:2:57", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,4:0:23-4:2:25", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,4:0:23-4:2:25", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null, + "gridColumns": { + "value": "2" + } + }, + "zIndex": 0 + }, + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,6:1:56-6:2:57", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/number.d2,6:1:56-6:2:57", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.exp.json new file mode 100644 index 000000000..b9d8924d5 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.exp.json @@ -0,0 +1,329 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,0:0:0-10:0:81", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,1:0:1-3:1:27", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,1:6:7-3:1:27", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,2:2:11-2:16:25", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,2:5:14-2:16:25", + "value": [ + { + "string": "im root var", + "raw_string": "im root var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,4:0:28-9:1:80", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,4:0:28-4:1:29", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,4:0:28-4:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,4:3:31-9:1:80", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,5:2:35-7:3:67", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,5:2:35-5:6:39", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,5:2:35-5:6:39", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,5:8:41-7:3:67", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,6:4:47-6:20:63", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,6:4:47-6:5:48", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,6:4:47-6:5:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,6:7:50-6:20:63", + "value": [ + { + "string": "im nested var", + "raw_string": "im nested var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:2:70-8:10:78", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:2:70-8:4:72", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:2:70-8:4:72", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:6:74-8:7:75", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:6:74-8:10:78", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:8:76-8:9:77", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,4:0:28-4:1:29", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,4:0:28-4:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:2:70-8:4:72", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/parent-scope.d2,8:2:70-8:4:72", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im root var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.exp.json new file mode 100644 index 000000000..9d298d0b8 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.exp.json @@ -0,0 +1,277 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,0:0:0-7:0:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,1:0:1-5:1:31", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,1:6:7-5:1:31", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,2:1:10-4:3:29", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,2:1:10-2:2:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,2:1:10-2:2:11", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,2:4:13-2:7:16", + "value": [ + { + "string": "all", + "raw_string": "all" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,2:8:17-4:3:29", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,3:2:21-3:6:25", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,3:2:21-3:3:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,3:2:21-3:3:22", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,3:5:24-3:6:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:0:32-6:7:39", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:0:32-6:1:33", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:0:32-6:1:33", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:3:35-6:4:36", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:3:35-6:7:39", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:5:37-6:6:38", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,3:2:21-3:3:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,3:2:21-3:3:22", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "z", + "id_val": "z", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:0:32-6:1:33", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/primary-and-composite.d2,6:0:32-6:1:33", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "all" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.exp.json new file mode 100644 index 000000000..0ab13c79f --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.exp.json @@ -0,0 +1,177 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,0:0:0-6:0:36", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,1:0:1-3:1:20", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,1:6:7-3:1:20", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,2:2:11-2:9:18", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "double_quoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,2:5:14-2:9:18", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,5:0:22-5:13:35", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,5:0:22-5:1:23", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,5:0:22-5:1:23", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "double_quoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,5:3:25-5:13:35", + "value": [ + { + "string": "hey hi" + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "y", + "id_val": "y", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,5:0:22-5:1:23", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var-quoted-sub.d2,5:0:22-5:1:23", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hey hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.exp.json new file mode 100644 index 000000000..ec1525372 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.exp.json @@ -0,0 +1,367 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,0:0:0-15:0:168", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,1:0:1-7:1:77", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,1:6:7-7:1:77", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,2:2:11-6:3:75", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,2:2:11-2:15:24", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,2:2:11-2:15:24", + "value": [ + { + "string": "primaryColors", + "raw_string": "primaryColors" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,2:17:26-6:3:75", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,3:4:32-5:5:71", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,3:4:32-3:10:38", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,3:4:32-3:10:38", + "value": [ + { + "string": "button", + "raw_string": "button" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,3:12:40-5:5:71", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,4:6:48-4:23:65", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,4:6:48-4:12:54", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,4:6:48-4:12:54", + "value": [ + { + "string": "active", + "raw_string": "active" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "double_quoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,4:14:56-4:23:65", + "value": [ + { + "string": "#4baae5", + "raw_string": "#4baae5" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,9:0:79-14:1:167", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,9:0:79-9:6:85", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,9:0:79-9:6:85", + "value": [ + { + "string": "button", + "raw_string": "button" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,9:8:87-14:1:167", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,10:2:91-13:3:165", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,10:2:91-10:7:96", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,10:2:91-10:7:96", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,10:9:98-13:3:165", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,11:4:104-11:20:120", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,11:4:104-11:17:117", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,11:4:104-11:17:117", + "value": [ + { + "string": "border-radius", + "raw_string": "border-radius" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,11:19:119-11:20:120", + "raw": "5", + "value": "5" + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:4:125-12:40:161", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:4:125-12:8:129", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:4:125-12:8:129", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:10:131-12:11:132", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:10:131-12:40:161", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:12:133-12:25:146", + "value": [ + { + "string": "primaryColors", + "raw_string": "primaryColors" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:26:147-12:32:153", + "value": [ + { + "string": "button", + "raw_string": "button" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,12:33:154-12:39:160", + "value": [ + { + "string": "active", + "raw_string": "active" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "button", + "id_val": "button", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,9:0:79-9:6:85", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/quoted-var.d2,9:0:79-9:6:85", + "value": [ + { + "string": "button", + "raw_string": "button" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "button" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "#4baae5" + }, + "borderRadius": { + "value": "5" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/removed.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/removed.exp.json new file mode 100644 index 000000000..afa9d9a11 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/removed.exp.json @@ -0,0 +1,212 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,0:0:0-8:0:121", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,1:0:1-7:1:120", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,1:6:7-7:1:120", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,2:2:11-2:35:44", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,2:2:11-2:18:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,2:2:11-2:18:27", + "value": [ + { + "string": "base-constraints", + "raw_string": "base-constraints" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,2:20:29-2:34:43", + "nodes": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,2:21:30-2:29:38", + "value": [ + { + "string": "NOT NULL", + "raw_string": "NOT NULL" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,2:31:40-2:34:43", + "value": [ + { + "string": "UNQ", + "raw_string": "UNQ" + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,3:2:47-6:3:118", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,3:2:47-3:12:57", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,3:2:47-3:12:57", + "value": [ + { + "string": "disclaimer", + "raw_string": "disclaimer" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,3:14:59-3:24:69", + "value": [ + { + "string": "DISCLAIMER", + "raw_string": "DISCLAIMER" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,3:25:70-6:3:118", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,4:4:76-4:21:93", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,4:4:76-4:21:93", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,4:4:76-4:21:93", + "value": [ + { + "string": "I am not a lawyer", + "raw_string": "I am not a lawyer" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,5:4:98-5:20:114", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,5:4:98-5:8:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,5:4:98-5:8:102", + "value": [ + { + "string": "near", + "raw_string": "near" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/removed.d2,5:10:104-5:20:114", + "value": [ + { + "string": "top-center", + "raw_string": "top-center" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/shape-label.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/shape-label.exp.json new file mode 100644 index 000000000..faf48d651 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/shape-label.exp.json @@ -0,0 +1,193 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,0:0:0-5:0:34", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:0:25-4:8:33", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:4:29-4:5:30", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:4:29-4:8:33", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:6:31-4:7:32", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/shape-label.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im a var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.exp.json new file mode 100644 index 000000000..5e1a45456 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.exp.json @@ -0,0 +1,174 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,0:0:0-5:0:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,4:0:25-4:14:39", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "single_quoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,4:4:29-4:14:39", + "raw": "", + "value": "1 ${x} 2" + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/single-quoted.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "1 ${x} 2" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/spread-array.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/spread-array.exp.json new file mode 100644 index 000000000..f83c5490d --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/spread-array.exp.json @@ -0,0 +1,359 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,0:0:0-8:0:123", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,1:0:1-3:1:45", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,1:6:7-3:1:45", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,2:1:10-2:34:43", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,2:1:10-2:17:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,2:1:10-2:17:26", + "value": [ + { + "string": "base-constraints", + "raw_string": "base-constraints" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,2:19:28-2:33:42", + "nodes": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,2:20:29-2:23:32", + "value": [ + { + "string": "UNQ", + "raw_string": "UNQ" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,2:25:34-2:33:42", + "value": [ + { + "string": "NOT NULL", + "raw_string": "NOT NULL" + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,4:0:46-7:1:122", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,4:0:46-4:1:47", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,4:0:46-4:1:47", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,4:3:49-7:1:122", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,5:2:53-5:18:69", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,5:2:53-5:7:58", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,5:2:53-5:7:58", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,5:9:60-5:18:69", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:1:71-6:50:120", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:1:71-6:2:72", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:1:71-6:2:72", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:4:74-6:7:77", + "value": [ + { + "string": "int", + "raw_string": "int" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:8:78-6:50:120", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:9:79-6:49:119", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:9:79-6:19:89", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:9:79-6:19:89", + "value": [ + { + "string": "constraint", + "raw_string": "constraint" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:21:91-6:48:118", + "nodes": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:22:92-6:24:94", + "value": [ + { + "string": "PK", + "raw_string": "PK" + } + ] + } + }, + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:26:96-6:48:118", + "spread": true, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,6:31:101-6:47:117", + "value": [ + { + "string": "base-constraints", + "raw_string": "base-constraints" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,4:0:46-4:1:47", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-array.d2,4:0:46-4:1:47", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "sql_table": { + "columns": [ + { + "name": { + "label": "b", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "type": { + "label": "int", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "constraint": [ + "PK", + "UNQ", + "NOT NULL" + ], + "reference": "" + } + ] + }, + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "sql_table" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.exp.json new file mode 100644 index 000000000..7a1960c96 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.exp.json @@ -0,0 +1,356 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,0:0:0-9:0:71", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,1:0:1-5:1:42", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,1:6:7-5:1:42", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,2:2:11-4:3:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,2:2:11-2:13:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,2:2:11-2:13:22", + "value": [ + { + "string": "connections", + "raw_string": "connections" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,2:15:24-4:3:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:4:30-3:10:36", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:4:30-3:10:36", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:4:30-3:5:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:4:30-3:5:31", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:9:35-3:10:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:9:35-3:10:36", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,6:0:43-8:1:70", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,6:0:43-6:2:45", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,6:0:43-6:2:45", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,6:4:47-8:1:70", + "nodes": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,7:2:51-7:19:68", + "spread": true, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,7:7:56-7:18:67", + "value": [ + { + "string": "connections", + "raw_string": "connections" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:4:30-3:5:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:4:30-3:5:31", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:9:35-3:10:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,3:9:35-3:10:36", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,6:0:43-6:2:45", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-edge.d2,6:0:43-6:2:45", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.exp.json new file mode 100644 index 000000000..c8e6699c9 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.exp.json @@ -0,0 +1,267 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,0:0:0-9:0:112", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,1:0:1-5:1:52", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,1:6:7-5:1:52", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,2:2:11-4:3:50", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,2:2:11-2:12:21", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,2:2:11-2:12:21", + "value": [ + { + "string": "disclaimer", + "raw_string": "disclaimer" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,2:14:23-4:3:50", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,3:4:29-3:21:46", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,3:4:29-3:21:46", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,3:4:29-3:21:46", + "value": [ + { + "string": "I am not a lawyer", + "raw_string": "I am not a lawyer" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:0:53-8:1:111", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:0:53-6:17:70", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:0:53-6:17:70", + "value": [ + { + "string": "custom-disclaimer", + "raw_string": "custom-disclaimer" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:19:72-6:35:88", + "value": [ + { + "string": "DRAFT DISCLAIMER", + "raw_string": "DRAFT DISCLAIMER" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:36:89-8:1:111", + "nodes": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,7:2:93-7:18:109", + "spread": true, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,7:7:98-7:17:108", + "value": [ + { + "string": "disclaimer", + "raw_string": "disclaimer" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "I am not a lawyer", + "id_val": "I am not a lawyer", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,3:4:29-3:21:46", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,3:4:29-3:21:46", + "value": [ + { + "string": "I am not a lawyer", + "raw_string": "I am not a lawyer" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "I am not a lawyer" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "custom-disclaimer", + "id_val": "custom-disclaimer", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:0:53-6:17:70", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread-nested.d2,6:0:53-6:17:70", + "value": [ + { + "string": "custom-disclaimer", + "raw_string": "custom-disclaimer" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "DRAFT DISCLAIMER" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/spread.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/spread.exp.json new file mode 100644 index 000000000..8789c60c7 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/spread.exp.json @@ -0,0 +1,423 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,0:0:0-11:0:62", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,1:0:1-6:1:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,1:6:7-6:1:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,2:1:10-5:3:38", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,2:1:10-2:2:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,2:1:10-2:2:11", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,2:4:13-2:7:16", + "value": [ + { + "string": "all", + "raw_string": "all" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,2:8:17-5:3:38", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,3:2:21-3:6:25", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,3:2:21-3:3:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,3:2:21-3:3:22", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,3:5:24-3:6:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,4:4:30-4:8:34", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,4:4:30-4:5:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,4:4:30-4:5:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,4:7:33-4:8:34", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,7:0:41-10:1:61", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,7:0:41-7:1:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,7:0:41-7:1:42", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,7:3:44-10:1:61", + "nodes": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,8:2:48-8:9:55", + "spread": true, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,8:7:53-8:8:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,9:2:58-9:3:59", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,9:2:58-9:3:59", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,9:2:58-9:3:59", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,3:2:21-3:3:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,3:2:21-3:3:22", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,4:4:30-4:5:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,4:4:30-4:5:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "c" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "z", + "id_val": "z", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,7:0:41-7:1:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,7:0:41-7:1:42", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "z" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "c", + "id_val": "c", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,9:2:58-9:3:59", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/spread.d2,9:2:58-9:3:59", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "c" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/style.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/style.exp.json new file mode 100644 index 000000000..9cd133ce4 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/style.exp.json @@ -0,0 +1,237 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,0:0:0-7:0:71", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,1:0:1-3:1:31", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,1:6:7-3:1:31", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,2:2:11-2:20:29", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,2:2:11-2:15:24", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,2:2:11-2:15:24", + "value": [ + { + "string": "primary-color", + "raw_string": "primary-color" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,2:17:26-2:20:29", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,4:0:32-6:1:70", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,4:0:32-4:2:34", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,4:0:32-4:2:34", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,4:4:36-6:1:70", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:2:40-5:30:68", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:2:40-5:12:50", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:2:40-5:7:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:8:46-5:12:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:14:52-5:15:53", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:14:52-5:30:68", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,5:16:54-5:29:67", + "value": [ + { + "string": "primary-color", + "raw_string": "primary-color" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,4:0:32-4:2:34", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/style.d2,4:0:32-4:2:34", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/sub-array.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/sub-array.exp.json new file mode 100644 index 000000000..0c182f344 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/sub-array.exp.json @@ -0,0 +1,237 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,0:0:0-5:0:38", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,1:0:1-3:1:18", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,1:6:7-3:1:18", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,2:1:10-2:7:16", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,2:1:10-2:2:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,2:1:10-2:2:11", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,2:4:13-2:7:16", + "value": [ + { + "string": "all", + "raw_string": "all" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:0:19-4:18:37", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:0:19-4:7:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:0:19-4:1:20", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:2:21-4:7:26", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:9:28-4:18:37", + "nodes": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:10:29-4:11:30", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:13:32-4:14:33", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:13:32-4:17:36", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:15:34-4:16:35", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "z", + "id_val": "z", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:0:19-4:7:26", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:0:19-4:1:20", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/sub-array.d2,4:2:21-4:7:26", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "z" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null, + "classes": [ + "a", + "all" + ] + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/basic/variadic.exp.json b/testdata/d2compiler/TestCompile2/vars/basic/variadic.exp.json new file mode 100644 index 000000000..424de2d0f --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/basic/variadic.exp.json @@ -0,0 +1,492 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,0:0:0-11:0:62", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,1:0:1-6:1:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,1:6:7-6:1:40", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,2:1:10-5:3:38", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,2:1:10-2:2:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,2:1:10-2:2:11", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,2:4:13-2:7:16", + "value": [ + { + "string": "all", + "raw_string": "all" + } + ] + } + }, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,2:8:17-5:3:38", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,3:2:21-3:6:25", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,3:2:21-3:3:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,3:2:21-3:3:22", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,3:5:24-3:6:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,4:4:30-4:8:34", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,4:4:30-4:5:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,4:4:30-4:5:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,4:7:33-4:8:34", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,7:0:41-10:1:61", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,7:0:41-7:1:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,7:0:41-7:1:42", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,7:3:44-10:1:61", + "nodes": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,8:2:48-8:9:55", + "spread": true, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,8:7:53-8:8:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,9:2:58-9:3:59", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,9:2:58-9:3:59", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,9:2:58-9:3:59", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "z", + "id_val": "z", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,7:0:41-7:1:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,7:0:41-7:1:42", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "z" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "\"\"", + "id_val": "", + "attributes": { + "label": { + "value": "all" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,3:2:21-3:3:22", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,3:2:21-3:3:22", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "vars", + "id_val": "vars", + "attributes": { + "label": { + "value": "vars" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "x", + "id_val": "x", + "attributes": { + "label": { + "value": "x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,4:4:30-4:5:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,4:4:30-4:5:31", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "c" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "c", + "id_val": "c", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,9:2:58-9:3:59", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/basic/variadic.d2,9:2:58-9:3:59", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "c" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/boards/layer-2.exp.json b/testdata/d2compiler/TestCompile2/vars/boards/layer-2.exp.json new file mode 100644 index 000000000..7f72e74ba --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/boards/layer-2.exp.json @@ -0,0 +1,599 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,0:0:0-15:0:135", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,1:0:1-4:1:42", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,1:6:7-4:1:42", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,2:2:11-2:15:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,2:5:14-2:15:24", + "value": [ + { + "string": "root var x", + "raw_string": "root var x" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,3:2:27-3:15:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,3:2:27-3:3:28", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,3:2:27-3:3:28", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,3:5:30-3:15:40", + "value": [ + { + "string": "root var y", + "raw_string": "root var y" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,6:0:44-14:1:134", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,6:0:44-6:6:50", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,6:0:44-6:6:50", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,6:8:52-14:1:134", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,7:2:56-13:3:132", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,7:2:56-7:3:57", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,7:2:56-7:3:57", + "value": [ + { + "string": "l", + "raw_string": "l" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,7:5:59-13:3:132", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,8:4:65-10:5:99", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,8:4:65-8:8:69", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,8:4:65-8:8:69", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,8:10:71-10:5:99", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,9:6:79-9:20:93", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,9:6:79-9:7:80", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,9:6:79-9:7:80", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,9:9:82-9:20:93", + "value": [ + { + "string": "layer var x", + "raw_string": "layer var x" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:4:104-11:12:112", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:4:104-11:6:106", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:4:104-11:6:106", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:8:108-11:9:109", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:8:108-11:12:112", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:10:110-11:11:111", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:4:117-12:15:128", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:4:117-12:9:122", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:4:117-12:9:122", + "value": [ + { + "string": "hello", + "raw_string": "hello" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:11:124-12:12:125", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:11:124-12:15:128", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:13:126-12:14:127", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "layers": [ + { + "name": "l", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,9:9:82-9:20:93", + "value": [ + { + "string": "layer var x", + "raw_string": "layer var x" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,9:9:82-9:20:93", + "value": [ + { + "string": "layer var x", + "raw_string": "layer var x" + } + ] + } + }, + "value": {} + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hello" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,3:5:30-3:15:40", + "value": [ + { + "string": "root var y", + "raw_string": "root var y" + } + ] + } + }, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:4:104-11:6:106", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,11:4:104-11:6:106", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "layer var x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "hello", + "id_val": "hello", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:4:117-12:9:122", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer-2.d2,12:4:117-12:9:122", + "value": [ + { + "string": "hello", + "raw_string": "hello" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "root var y" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/boards/layer.exp.json b/testdata/d2compiler/TestCompile2/vars/boards/layer.exp.json new file mode 100644 index 000000000..4306c2469 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/boards/layer.exp.json @@ -0,0 +1,319 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,0:0:0-10:0:62", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,5:0:26-9:1:61", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,5:0:26-5:6:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,5:0:26-5:6:32", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,5:8:34-9:1:61", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,6:2:38-8:3:59", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,6:2:38-6:3:39", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,6:2:38-6:3:39", + "value": [ + { + "string": "l", + "raw_string": "l" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,6:5:41-8:3:59", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:4:47-7:12:55", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:4:47-7:6:49", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:4:47-7:6:49", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:8:51-7:9:52", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:8:51-7:12:55", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:10:53-7:11:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "layers": [ + { + "name": "l", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + }, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:4:47-7:6:49", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/layer.d2,7:4:47-7:6:49", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im a var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/boards/null.exp.json b/testdata/d2compiler/TestCompile2/vars/boards/null.exp.json new file mode 100644 index 000000000..b96afe0dd --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/boards/null.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/null.d2,8:2:64-8:4:66", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/boards/null.d2:9:3: could not resolve variable \"surname\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/boards/overlay.exp.json b/testdata/d2compiler/TestCompile2/vars/boards/overlay.exp.json new file mode 100644 index 000000000..6dcdda361 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/boards/overlay.exp.json @@ -0,0 +1,1065 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,0:0:0-23:0:196", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im x var", + "raw_string": "im x var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,5:0:26-13:1:111", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,5:0:26-5:9:35", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,5:0:26-5:9:35", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,5:11:37-13:1:111", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,6:2:41-12:3:109", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,6:2:41-6:3:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,6:2:41-6:3:42", + "value": [ + { + "string": "l", + "raw_string": "l" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,6:5:44-12:3:109", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,7:4:50-9:5:81", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,7:4:50-7:8:54", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,7:4:50-7:8:54", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,7:10:56-9:5:81", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,8:6:64-8:17:75", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,8:6:64-8:7:65", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,8:6:64-8:7:65", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,8:9:67-8:17:75", + "value": [ + { + "string": "im y var", + "raw_string": "im y var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:4:86-10:11:93", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:4:86-10:5:87", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:4:86-10:5:87", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:7:89-10:8:90", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:7:89-10:11:93", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:9:91-10:10:92", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:4:98-11:11:105", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:4:98-11:5:99", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:4:98-11:5:99", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:7:101-11:8:102", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:7:101-11:11:105", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:9:103-11:10:104", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,14:0:112-22:1:195", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,14:0:112-14:6:118", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,14:0:112-14:6:118", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,14:8:120-22:1:195", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,15:2:124-21:3:193", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,15:2:124-15:4:126", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,15:2:124-15:4:126", + "value": [ + { + "string": "l2", + "raw_string": "l2" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,15:6:128-21:3:193", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,16:4:134-18:5:165", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,16:4:134-16:8:138", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,16:4:134-16:8:138", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,16:10:140-18:5:165", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,17:6:148-17:17:159", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,17:6:148-17:7:149", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,17:6:148-17:7:149", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,17:9:151-17:17:159", + "value": [ + { + "string": "im y var", + "raw_string": "im y var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:4:170-19:11:177", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:4:170-19:5:171", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:4:170-19:5:171", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:7:173-19:8:174", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:7:173-19:11:177", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:9:175-19:10:176", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:4:182-20:11:189", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:4:182-20:5:183", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:4:182-20:5:183", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:7:185-20:8:186", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:7:185-20:11:189", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:9:187-20:10:188", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "layers": [ + { + "name": "l2", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "y" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,17:9:151-17:17:159", + "value": [ + { + "string": "im y var", + "raw_string": "im y var" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im x var", + "raw_string": "im x var" + } + ] + } + }, + "value": {} + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "y" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,17:9:151-17:17:159", + "value": [ + { + "string": "im y var", + "raw_string": "im y var" + } + ] + } + }, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:4:170-19:5:171", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,19:4:170-19:5:171", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im x var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "y", + "id_val": "y", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:4:182-20:5:183", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,20:4:182-20:5:183", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im y var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ], + "scenarios": [ + { + "name": "l", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im x var", + "raw_string": "im x var" + } + ] + } + }, + "value": {} + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "y" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,8:9:67-8:17:75", + "value": [ + { + "string": "im y var", + "raw_string": "im y var" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im x var", + "raw_string": "im x var" + } + ] + } + }, + "value": {} + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "y" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,8:9:67-8:17:75", + "value": [ + { + "string": "im y var", + "raw_string": "im y var" + } + ] + } + }, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:4:86-10:5:87", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,10:4:86-10:5:87", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im x var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "y", + "id_val": "y", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:4:98-11:5:99", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/overlay.d2,11:4:98-11:5:99", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im y var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/boards/replace.exp.json b/testdata/d2compiler/TestCompile2/vars/boards/replace.exp.json new file mode 100644 index 000000000..1ade3446e --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/boards/replace.exp.json @@ -0,0 +1,441 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,0:0:0-13:0:109", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im x var", + "raw_string": "im x var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,5:0:26-12:1:108", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,5:0:26-5:9:35", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,5:0:26-5:9:35", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,5:11:37-12:1:108", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,6:2:41-11:3:106", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,6:2:41-6:3:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,6:2:41-6:3:42", + "value": [ + { + "string": "l", + "raw_string": "l" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,6:5:44-11:3:106", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,7:4:50-9:5:90", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,7:4:50-7:8:54", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,7:4:50-7:8:54", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,7:10:56-9:5:90", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,8:6:64-8:26:84", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,8:6:64-8:7:65", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,8:6:64-8:7:65", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,8:9:67-8:26:84", + "value": [ + { + "string": "im replaced x var", + "raw_string": "im replaced x var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:4:95-10:11:102", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:4:95-10:5:96", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:4:95-10:5:96", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:7:98-10:8:99", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:7:98-10:11:102", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:9:100-10:10:101", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "scenarios": [ + { + "name": "l", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,8:9:67-8:26:84", + "value": [ + { + "string": "im replaced x var", + "raw_string": "im replaced x var" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,8:9:67-8:26:84", + "value": [ + { + "string": "im replaced x var", + "raw_string": "im replaced x var" + } + ] + } + }, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:4:95-10:5:96", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/replace.d2,10:4:95-10:5:96", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im replaced x var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/boards/scenario.exp.json b/testdata/d2compiler/TestCompile2/vars/boards/scenario.exp.json new file mode 100644 index 000000000..b529b2127 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/boards/scenario.exp.json @@ -0,0 +1,379 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,0:0:0-10:0:65", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,5:0:26-9:1:64", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,5:0:26-5:9:35", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,5:0:26-5:9:35", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,5:11:37-9:1:64", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,6:2:41-8:3:62", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,6:2:41-6:3:42", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,6:2:41-6:3:42", + "value": [ + { + "string": "l", + "raw_string": "l" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,6:5:44-8:3:62", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:4:50-7:12:58", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:4:50-7:6:52", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:4:50-7:6:52", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:8:54-7:9:55", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:8:54-7:12:58", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:10:56-7:11:57", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "scenarios": [ + { + "name": "l", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + }, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:4:50-7:6:52", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/boards/scenario.d2,7:4:50-7:6:52", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im a var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/config/basic.exp.json b/testdata/d2compiler/TestCompile2/vars/config/basic.exp.json new file mode 100644 index 000000000..bff64593a --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/config/basic.exp.json @@ -0,0 +1,291 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,0:0:0-8:0:54", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,1:0:1-5:1:45", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,1:6:7-5:1:45", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,2:1:10-4:3:43", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,2:1:10-2:10:19", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,2:1:10-2:10:19", + "value": [ + { + "string": "d2-config", + "raw_string": "d2-config" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,2:12:21-4:3:43", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,3:4:27-3:16:39", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,3:4:27-3:10:33", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,3:4:27-3:10:33", + "value": [ + { + "string": "sketch", + "raw_string": "sketch" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,3:12:35-3:16:39", + "value": true + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:0:47-7:6:53", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:0:47-7:6:53", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:0:47-7:1:48", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:0:47-7:1:48", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:5:52-7:6:53", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:5:52-7:6:53", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:0:47-7:1:48", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:0:47-7:1:48", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "y", + "id_val": "y", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:5:52-7:6:53", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/basic.d2,7:5:52-7:6:53", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "y" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/config/invalid.exp.json b/testdata/d2compiler/TestCompile2/vars/config/invalid.exp.json new file mode 100644 index 000000000..aebf3ac63 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/config/invalid.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/invalid.d2,3:4:27-3:10:33", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/config/invalid.d2:4:5: expected a boolean for \"sketch\", got \"lol\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/config/not-root.exp.json b/testdata/d2compiler/TestCompile2/vars/config/not-root.exp.json new file mode 100644 index 000000000..3bdfc55ce --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/config/not-root.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/config/not-root.d2,3:3:19-3:12:28", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/config/not-root.d2:4:4: \"d2-config\" can only appear at root vars" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/bad-var.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/bad-var.exp.json new file mode 100644 index 000000000..c740711a7 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/bad-var.exp.json @@ -0,0 +1,15 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/bad-var.d2,2:2:11-2:3:12", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/bad-var.d2:3:3: invalid var with no value" + }, + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/bad-var.d2,4:4:23-4:5:24", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/bad-var.d2:5:5: invalid var with no value" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/edge.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/edge.exp.json new file mode 100644 index 000000000..b83fda7d8 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/edge.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/edge.d2,2:2:11-2:8:17", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/edge.d2:3:3: vars cannot contain an edge" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/map.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/map.exp.json new file mode 100644 index 000000000..ca00beed9 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/map.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/map.d2,6:0:43-6:2:45", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/map.d2:7:1: cannot reference map variable \"colors\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/missing-array.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/missing-array.exp.json new file mode 100644 index 000000000..a0790a2f0 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/missing-array.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/missing-array.d2,5:2:24-5:7:29", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/missing-array.d2:6:3: could not resolve variable \"a\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/missing.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/missing.exp.json new file mode 100644 index 000000000..c87799688 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/missing.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/missing.d2,4:0:20-4:2:22", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/missing.d2:5:1: could not resolve variable \"z\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/multi-part-map.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/multi-part-map.exp.json new file mode 100644 index 000000000..055c954df --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/multi-part-map.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/multi-part-map.d2,6:0:31-6:2:33", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/multi-part-map.d2:7:1: cannot substitute composite variable \"x\" as part of a string" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/nested-missing.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/nested-missing.exp.json new file mode 100644 index 000000000..e105b1ef0 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/nested-missing.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/nested-missing.d2,6:0:33-6:2:35", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/nested-missing.d2:7:1: could not resolve variable \"x.z\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/out-of-scope.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/out-of-scope.exp.json new file mode 100644 index 000000000..c9251b81e --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/out-of-scope.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/out-of-scope.d2,6:0:33-6:2:35", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/out-of-scope.d2:7:1: could not resolve variable \"x\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/quoted-map.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/quoted-map.exp.json new file mode 100644 index 000000000..f5610c5de --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/quoted-map.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/quoted-map.d2,6:0:31-6:2:33", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/quoted-map.d2:7:1: cannot substitute map variable \"x\" in quotes" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/recursive-var.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/recursive-var.exp.json new file mode 100644 index 000000000..d00db4c64 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/recursive-var.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/recursive-var.d2,2:2:11-2:3:12", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/recursive-var.d2:3:3: could not resolve variable \"x\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/spread-non-array.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/spread-non-array.exp.json new file mode 100644 index 000000000..2ffbdf15c --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/spread-non-array.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-array.d2,7:10:45-7:17:52", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-array.d2:8:11: cannot spread non-array into array" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/spread-non-map.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/spread-non-map.exp.json new file mode 100644 index 000000000..85b10a3ce --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/spread-non-map.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-map.d2,5:2:26-5:9:33", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-map.d2:6:3: cannot spread non-composite" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/errors/spread-non-solo.exp.json b/testdata/d2compiler/TestCompile2/vars/errors/spread-non-solo.exp.json new file mode 100644 index 000000000..3d31fd966 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/errors/spread-non-solo.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-solo.d2,7:1:36-7:2:37", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/errors/spread-non-solo.d2:8:2: cannot substitute composite variable \"x\" as part of a string" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/override/label.exp.json b/testdata/d2compiler/TestCompile2/vars/override/label.exp.json new file mode 100644 index 000000000..7101e2e4f --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/override/label.exp.json @@ -0,0 +1,246 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,0:0:0-6:0:48", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,1:0:1-3:1:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,1:6:7-3:1:24", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,2:2:11-2:13:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,2:5:14-2:13:22", + "value": [ + { + "string": "im a var", + "raw_string": "im a var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:0:25-4:8:33", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:4:29-4:5:30", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:4:29-4:8:33", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:6:31-4:7:32", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,5:0:34-5:13:47", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,5:0:34-5:2:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,5:0:34-5:2:36", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,5:4:38-5:13:47", + "value": [ + { + "string": "not a var", + "raw_string": "not a var" + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:0:25-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,4:0:25-4:2:27", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,5:0:34-5:2:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/label.d2,5:0:34-5:2:36", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "not a var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/override/map.exp.json b/testdata/d2compiler/TestCompile2/vars/override/map.exp.json new file mode 100644 index 000000000..11208a29b --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/override/map.exp.json @@ -0,0 +1,329 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,0:0:0-10:0:81", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,1:0:1-3:1:27", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,1:6:7-3:1:27", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,2:2:11-2:16:25", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,2:5:14-2:16:25", + "value": [ + { + "string": "im root var", + "raw_string": "im root var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,4:0:28-9:1:80", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,4:0:28-4:1:29", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,4:0:28-4:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,4:3:31-9:1:80", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,5:2:35-7:3:67", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,5:2:35-5:6:39", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,5:2:35-5:6:39", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,5:8:41-7:3:67", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,6:4:47-6:20:63", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,6:4:47-6:5:48", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,6:4:47-6:5:48", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,6:7:50-6:20:63", + "value": [ + { + "string": "im nested var", + "raw_string": "im nested var" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:2:70-8:10:78", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:2:70-8:4:72", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:2:70-8:4:72", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:6:74-8:7:75", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:6:74-8:10:78", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:8:76-8:9:77", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,4:0:28-4:1:29", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,4:0:28-4:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:2:70-8:4:72", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/map.d2,8:2:70-8:4:72", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "im nested var" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/override/nested-null.exp.json b/testdata/d2compiler/TestCompile2/vars/override/nested-null.exp.json new file mode 100644 index 000000000..e73ae9f61 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/override/nested-null.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/nested-null.d2,12:2:102-12:4:104", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/override/nested-null.d2:13:3: could not resolve variable \"surname\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/override/null.exp.json b/testdata/d2compiler/TestCompile2/vars/override/null.exp.json new file mode 100644 index 000000000..84df5d0e5 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/override/null.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/null.d2,8:2:64-8:4:66", + "errmsg": "d2/testdata/d2compiler/TestCompile2/vars/override/null.d2:9:3: could not resolve variable \"surname\"" + } + ] + } +} diff --git a/testdata/d2compiler/TestCompile2/vars/override/recursive-var.exp.json b/testdata/d2compiler/TestCompile2/vars/override/recursive-var.exp.json new file mode 100644 index 000000000..19277bee2 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/override/recursive-var.exp.json @@ -0,0 +1,328 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,0:0:0-10:0:65", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,1:0:1-3:1:17", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,1:6:7-3:1:17", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,2:2:11-2:6:15", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,2:2:11-2:3:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,2:2:11-2:3:12", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,2:5:14-2:6:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,4:0:18-9:1:64", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,4:0:18-4:2:20", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,4:0:18-4:2:20", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,4:4:22-9:1:64", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,5:2:26-7:3:51", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,5:2:26-5:6:30", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,5:2:26-5:6:30", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,5:8:32-7:3:51", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,6:4:38-6:13:47", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,6:4:38-6:5:39", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,6:4:38-6:5:39", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,6:7:41-6:13:47", + "value": [ + { + "string": "a-b" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:2:54-8:10:62", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:2:54-8:4:56", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:2:54-8:4:56", + "value": [ + { + "string": "yo", + "raw_string": "yo" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:6:58-8:7:59", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:6:58-8:10:62", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:8:60-8:9:61", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,4:0:18-4:2:20", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,4:0:18-4:2:20", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "hi" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "yo", + "id_val": "yo", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:2:54-8:4:56", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/recursive-var.d2,8:2:54-8:4:56", + "value": [ + { + "string": "yo", + "raw_string": "yo" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a-b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/vars/override/var-in-var.exp.json b/testdata/d2compiler/TestCompile2/vars/override/var-in-var.exp.json new file mode 100644 index 000000000..6f41e1fad --- /dev/null +++ b/testdata/d2compiler/TestCompile2/vars/override/var-in-var.exp.json @@ -0,0 +1,360 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,0:0:0-11:0:116", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,1:0:1-3:1:26", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,1:0:1-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,1:0:1-1:4:5", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,1:6:7-3:1:26", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,2:1:10-2:15:24", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,2:1:10-2:8:17", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,2:1:10-2:8:17", + "value": [ + { + "string": "surname", + "raw_string": "surname" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,2:10:19-2:15:24", + "value": [ + { + "string": "Smith", + "raw_string": "Smith" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,4:0:27-10:1:115", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,4:0:27-4:1:28", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,4:0:27-4:1:28", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,4:3:30-10:1:115", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,5:2:34-8:3:97", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,5:2:34-5:6:38", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,5:2:34-5:6:38", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,5:8:40-8:3:97", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,6:2:44-6:25:67", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,6:2:44-6:8:50", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,6:2:44-6:8:50", + "value": [ + { + "string": "trade1", + "raw_string": "trade1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,6:10:52-6:16:58", + "value": [ + { + "string": "BlackSmith" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,7:2:70-7:25:93", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,7:2:70-7:8:76", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,7:2:70-7:8:76", + "value": [ + { + "string": "trade2", + "raw_string": "trade2" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,7:10:78-7:16:84", + "value": [ + { + "string": "MetalSmith" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:2:100-9:15:113", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:2:100-9:4:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:2:100-9:4:102", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:6:104-9:7:105", + "value": [ + { + "substitution": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:6:104-9:15:113", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:8:106-9:14:112", + "value": [ + { + "string": "trade1", + "raw_string": "trade1" + } + ] + } + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,4:0:27-4:1:28", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,4:0:27-4:1:28", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "hi", + "id_val": "hi", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:2:100-9:4:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/vars/override/var-in-var.d2,9:2:100-9:4:102", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "BlackSmith" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2ir/TestCompile/edges/chain.exp.json b/testdata/d2ir/TestCompile/edges/chain.exp.json index ea4624895..8484dbbdb 100644 --- a/testdata/d2ir/TestCompile/edges/chain.exp.json +++ b/testdata/d2ir/TestCompile/edges/chain.exp.json @@ -1136,7 +1136,8 @@ "b" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -1310,7 +1311,8 @@ "c" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -1484,7 +1486,8 @@ "d" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/edges/nested.exp.json b/testdata/d2ir/TestCompile/edges/nested.exp.json index 06d098b77..548780974 100644 --- a/testdata/d2ir/TestCompile/edges/nested.exp.json +++ b/testdata/d2ir/TestCompile/edges/nested.exp.json @@ -704,7 +704,8 @@ "p" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/edges/root.exp.json b/testdata/d2ir/TestCompile/edges/root.exp.json index a94dd5651..ec08bcf95 100644 --- a/testdata/d2ir/TestCompile/edges/root.exp.json +++ b/testdata/d2ir/TestCompile/edges/root.exp.json @@ -242,7 +242,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/edges/underscore.exp.json b/testdata/d2ir/TestCompile/edges/underscore.exp.json index 878a4cff4..066323086 100644 --- a/testdata/d2ir/TestCompile/edges/underscore.exp.json +++ b/testdata/d2ir/TestCompile/edges/underscore.exp.json @@ -422,7 +422,8 @@ "z" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/filters/array.exp.json b/testdata/d2ir/TestCompile/filters/array.exp.json new file mode 100644 index 000000000..1fc271233 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/array.exp.json @@ -0,0 +1,1229 @@ +{ + "fields": [ + { + "name": "the-little-cannon", + "composite": { + "fields": [ + { + "name": "class", + "composite": { + "values": [ + { + "value": { + "range": "TestCompile/filters/array.d2,1:9:30-1:15:36", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + }, + { + "value": { + "range": "TestCompile/filters/array.d2,1:17:38-1:25:46", + "value": [ + { + "string": "deployed", + "raw_string": "deployed" + } + ] + } + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,1:1:22-1:26:47", + "key": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "TestCompile/filters/array.d2,1:8:29-1:25:46", + "nodes": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:9:30-1:15:36", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:17:38-1:25:46", + "value": [ + { + "string": "deployed", + "raw_string": "deployed" + } + ] + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,11:1:134-11:15:148", + "ampersand": true, + "key": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:9:142-11:15:148", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + } + } + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/filters/array.d2,12:17:166-12:21:170", + "value": true + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:21:170", + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/array.d2,12:17:166-12:21:170", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:21:170", + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/array.d2,12:17:166-12:21:170", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,0:0:0-0:17:17", + "value": [ + { + "string": "the-little-cannon", + "raw_string": "the-little-cannon" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,0:0:0-0:17:17", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,0:0:0-0:17:17", + "value": [ + { + "string": "the-little-cannon", + "raw_string": "the-little-cannon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,0:0:0-2:1:49", + "key": { + "range": "TestCompile/filters/array.d2,0:0:0-0:17:17", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,0:0:0-0:17:17", + "value": [ + { + "string": "the-little-cannon", + "raw_string": "the-little-cannon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/array.d2,0:19:19-2:1:49", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/array.d2,1:1:22-1:26:47", + "key": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:1:22-1:6:27", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "TestCompile/filters/array.d2,1:8:29-1:25:46", + "nodes": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:9:30-1:15:36", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,1:17:38-1:25:46", + "value": [ + { + "string": "deployed", + "raw_string": "deployed" + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "dino", + "composite": { + "fields": [ + { + "name": "class", + "composite": { + "values": [ + { + "value": { + "range": "TestCompile/filters/array.d2,4:9:67-4:17:75", + "value": [ + { + "string": "internal", + "raw_string": "internal" + } + ] + } + }, + { + "value": { + "range": "TestCompile/filters/array.d2,4:19:77-4:27:85", + "value": [ + { + "string": "deployed", + "raw_string": "deployed" + } + ] + } + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,4:1:59-4:28:86", + "key": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "TestCompile/filters/array.d2,4:8:66-4:27:85", + "nodes": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:9:67-4:17:75", + "value": [ + { + "string": "internal", + "raw_string": "internal" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:19:77-4:27:85", + "value": [ + { + "string": "deployed", + "raw_string": "deployed" + } + ] + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,11:1:134-11:15:148", + "ampersand": true, + "key": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:9:142-11:15:148", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,3:0:50-3:4:54", + "value": [ + { + "string": "dino", + "raw_string": "dino" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,3:0:50-3:4:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,3:0:50-3:4:54", + "value": [ + { + "string": "dino", + "raw_string": "dino" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,3:0:50-5:1:88", + "key": { + "range": "TestCompile/filters/array.d2,3:0:50-3:4:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,3:0:50-3:4:54", + "value": [ + { + "string": "dino", + "raw_string": "dino" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/array.d2,3:6:56-5:1:88", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/array.d2,4:1:59-4:28:86", + "key": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:1:59-4:6:64", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "TestCompile/filters/array.d2,4:8:66-4:27:85", + "nodes": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:9:67-4:17:75", + "value": [ + { + "string": "internal", + "raw_string": "internal" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,4:19:77-4:27:85", + "value": [ + { + "string": "deployed", + "raw_string": "deployed" + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "catapult", + "composite": { + "fields": [ + { + "name": "class", + "composite": { + "values": [ + { + "value": { + "range": "TestCompile/filters/array.d2,7:9:110-7:14:115", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "value": { + "range": "TestCompile/filters/array.d2,7:16:117-7:22:123", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,7:1:102-7:23:124", + "key": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "TestCompile/filters/array.d2,7:8:109-7:22:123", + "nodes": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:9:110-7:14:115", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:16:117-7:22:123", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,11:1:134-11:15:148", + "ampersand": true, + "key": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:9:142-11:15:148", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + } + } + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/filters/array.d2,12:17:166-12:21:170", + "value": true + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:21:170", + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/array.d2,12:17:166-12:21:170", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:21:170", + "key": { + "range": "TestCompile/filters/array.d2,12:1:150-12:15:164", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:1:150-12:6:155", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,12:7:156-12:15:164", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/array.d2,12:17:166-12:21:170", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/array.d2,6:0:89-6:8:97", + "value": [ + { + "string": "catapult", + "raw_string": "catapult" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,6:0:89-6:8:97", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,6:0:89-6:8:97", + "value": [ + { + "string": "catapult", + "raw_string": "catapult" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,6:0:89-8:1:126", + "key": { + "range": "TestCompile/filters/array.d2,6:0:89-6:8:97", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,6:0:89-6:8:97", + "value": [ + { + "string": "catapult", + "raw_string": "catapult" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/array.d2,6:10:99-8:1:126", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/array.d2,7:1:102-7:23:124", + "key": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:1:102-7:6:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "array": { + "range": "TestCompile/filters/array.d2,7:8:109-7:22:123", + "nodes": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:9:110-7:14:115", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,7:16:117-7:22:123", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/base#01.exp.json b/testdata/d2ir/TestCompile/filters/base#01.exp.json new file mode 100644 index 000000000..0521ab4f3 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/base#01.exp.json @@ -0,0 +1,560 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/base#01.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,0:0:0-2:1:25", + "key": { + "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/base#01.d2,0:7:7-2:1:25", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "jeremy", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/base#01.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + }, + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/filters/base#01.d2,8:8:88-8:23:103", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,8:1:81-8:23:103", + "key": { + "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,8:8:88-8:23:103", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base#01.d2,3:0:26-5:1:55", + "key": { + "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/base#01.d2,3:8:34-5:1:55", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base#01.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/base.exp.json b/testdata/d2ir/TestCompile/filters/base.exp.json new file mode 100644 index 000000000..c8a934bbc --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/base.exp.json @@ -0,0 +1,560 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/base.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,0:0:0-2:1:25", + "key": { + "range": "TestCompile/filters/base.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/base.d2,0:7:7-2:1:25", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/base.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "jeremy", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/base.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + }, + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/filters/base.d2,8:8:88-8:23:103", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,8:1:81-8:6:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,8:1:81-8:23:103", + "key": { + "range": "TestCompile/filters/base.d2,8:1:81-8:6:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,8:8:88-8:23:103", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/base.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,3:0:26-5:1:55", + "key": { + "range": "TestCompile/filters/base.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/base.d2,3:8:34-5:1:55", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/base.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/edge.exp.json b/testdata/d2ir/TestCompile/filters/edge.exp.json new file mode 100644 index 000000000..7e65c4f85 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/edge.exp.json @@ -0,0 +1,2696 @@ +{ + "fields": [ + { + "name": "x", + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,0:0:0-3:1:77", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,0:8:8-3:1:77", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:32:42", + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:25:35-1:32:42", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:32:75", + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:25:68-2:32:75", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "src": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "src": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "y", + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,0:0:0-3:1:77", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,0:8:8-3:1:77", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:32:42", + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:25:35-1:32:42", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:32:75", + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:25:68-2:32:75", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "src": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "src": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "x" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "source-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/edge.d2,1:25:35-1:32:42", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:32:42", + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:25:35-1:32:42", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:32:42", + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:25:35-1:32:42", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + } + ] + }, + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/edge.d2,2:25:68-2:32:75", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:32:75", + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:25:68-2:32:75", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:32:75", + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:25:68-2:32:75", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + } + ] + }, + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,0:0:0-3:1:77", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:0:0-0:1:1", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,0:5:5-0:6:6", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,0:8:8-3:1:77", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:32:42", + "key": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:23:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:1:11-1:17:27", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:18:28-1:23:33", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,1:25:35-1:32:42", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:32:75", + "key": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:23:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:1:44-2:17:60", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:18:61-2:23:66", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,2:25:68-2:32:75", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "x" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 1, + "glob": false + }, + "map": { + "fields": null, + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "src": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,4:0:78-4:6:84", + "src": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:0:78-4:1:79", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,4:5:83-4:6:84", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/filters/errors/bad-syntax.exp.json b/testdata/d2ir/TestCompile/filters/errors/bad-syntax.exp.json new file mode 100644 index 000000000..a91868c61 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/errors/bad-syntax.exp.json @@ -0,0 +1,749 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:10:25", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", + "value": true + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:15:41", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-3:1:43", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:13:13-3:1:43", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:10:25", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:15:41", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "&style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:8:65-6:11:68", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:11:68", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:8:65-6:11:68", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:12:81-7:16:85", + "value": true + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:16:85", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:12:81-7:16:85", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:2:47-5:8:53", + "value": [ + { + "string": "&style", + "raw_string": "&style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:8:53", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:1:46", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:2:47-5:8:53", + "value": [ + { + "string": "&style", + "raw_string": "&style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-8:1:87", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:8:53", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:1:46", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:2:47-5:8:53", + "value": [ + { + "string": "&style", + "raw_string": "&style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/bad-syntax.d2,5:10:55-8:1:87", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:11:68", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,6:8:65-6:11:68", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:16:85", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/bad-syntax.d2,7:12:81-7:16:85", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-3:1:43", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/bad-syntax.d2,0:13:13-3:1:43", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:10:25", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:15:41", + "key": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/errors/composite.exp.json b/testdata/d2ir/TestCompile/filters/errors/composite.exp.json new file mode 100644 index 000000000..8aa7bec36 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/errors/composite.exp.json @@ -0,0 +1,449 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:10:76", + "key": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", + "value": true + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:15:92", + "key": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-10:1:94", + "key": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/composite.d2,7:13:64-10:1:94", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:10:76", + "key": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:15:92", + "key": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-10:1:94", + "key": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/composite.d2,7:13:64-10:1:94", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:10:76", + "key": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:15:92", + "key": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/errors/no-glob.exp.json b/testdata/d2ir/TestCompile/filters/errors/no-glob.exp.json new file mode 100644 index 000000000..549e146b6 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/errors/no-glob.exp.json @@ -0,0 +1,750 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:10:25", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", + "value": true + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:15:41", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", + "value": true + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-3:1:43", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/no-glob.d2,0:13:13-3:1:43", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:10:25", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:15:41", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-3:1:43", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/no-glob.d2,0:13:13-3:1:43", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:10:25", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:15:41", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", + "value": true + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "jasmine", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": null, + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", + "value": [ + { + "string": "jasmine", + "raw_string": "jasmine" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-8:1:94", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", + "value": [ + { + "string": "jasmine", + "raw_string": "jasmine" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/no-glob.d2,5:15:60-8:1:94", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,6:2:64-6:12:74", + "ampersand": true, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,6:9:71-6:12:74", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:17:92", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/no-glob.d2,7:12:87-7:17:92", + "value": false + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", + "value": [ + { + "string": "jasmine", + "raw_string": "jasmine" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", + "value": [ + { + "string": "jasmine", + "raw_string": "jasmine" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-8:1:94", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", + "value": [ + { + "string": "jasmine", + "raw_string": "jasmine" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/errors/no-glob.d2,5:15:60-8:1:94", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,6:2:64-6:12:74", + "ampersand": true, + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,6:9:71-6:12:74", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:17:92", + "key": { + "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "TestCompile/filters/errors/no-glob.d2,7:12:87-7:17:92", + "value": false + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/escaped.exp.json b/testdata/d2ir/TestCompile/filters/escaped.exp.json new file mode 100644 index 000000000..c6257902d --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/escaped.exp.json @@ -0,0 +1,560 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/escaped.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,0:0:0-2:1:25", + "key": { + "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/escaped.d2,0:7:7-2:1:25", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "jeremy", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/escaped.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + }, + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/filters/escaped.d2,8:8:88-8:23:103", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,8:1:81-8:23:103", + "key": { + "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,8:8:88-8:23:103", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/escaped.d2,3:0:26-5:1:55", + "key": { + "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/escaped.d2,3:8:34-5:1:55", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/escaped.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/order.exp.json b/testdata/d2ir/TestCompile/filters/order.exp.json new file mode 100644 index 000000000..d7a77a374 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/order.exp.json @@ -0,0 +1,560 @@ +{ + "fields": [ + { + "name": "jacob", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/order.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,8:1:86-8:18:103", + "ampersand": true, + "key": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:9:94-8:18:103", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/order.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,0:0:0-2:1:25", + "key": { + "range": "TestCompile/filters/order.d2,0:0:0-0:5:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,0:0:0-0:5:5", + "value": [ + { + "string": "jacob", + "raw_string": "jacob" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/order.d2,0:7:7-2:1:25", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/order.d2,1:1:10-1:14:23", + "key": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,1:1:10-1:6:15", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,1:8:17-1:14:23", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "jeremy", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/order.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,8:1:86-8:18:103", + "ampersand": true, + "key": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:9:94-8:18:103", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + } + ] + }, + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/filters/order.d2,7:8:69-7:23:84", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/order.d2,7:1:62-7:6:67", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,7:1:62-7:6:67", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,7:1:62-7:6:67", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,7:1:62-7:23:84", + "key": { + "range": "TestCompile/filters/order.d2,7:1:62-7:6:67", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,7:1:62-7:6:67", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,7:8:69-7:23:84", + "value": [ + { + "string": "I'm a rectangle", + "raw_string": "I'm a rectangle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/order.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,3:0:26-5:1:55", + "key": { + "range": "TestCompile/filters/order.d2,3:0:26-3:6:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,3:0:26-3:6:32", + "value": [ + { + "string": "jeremy", + "raw_string": "jeremy" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/order.d2,3:8:34-5:1:55", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/order.d2,4:1:37-4:17:53", + "key": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,4:1:37-4:6:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,4:8:44-4:17:53", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/globs/escaped.exp.json b/testdata/d2ir/TestCompile/globs/escaped.exp.json new file mode 100644 index 000000000..de7e12d68 --- /dev/null +++ b/testdata/d2ir/TestCompile/globs/escaped.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/globs/escaped.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/globs/escaped.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/globs/escaped.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "action", + "primary": { + "value": { + "range": "TestCompile/globs/escaped.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + }, + "key_path": { + "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/globs/escaped.d2,1:0:13-1:11:24", + "key": { + "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/globs/escaped.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/globs/prefix.exp.json b/testdata/d2ir/TestCompile/globs/prefix.exp.json new file mode 100644 index 000000000..7c50c6809 --- /dev/null +++ b/testdata/d2ir/TestCompile/globs/prefix.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/globs/prefix.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/globs/prefix.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/globs/prefix.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "action", + "primary": { + "value": { + "range": "TestCompile/globs/prefix.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + }, + "key_path": { + "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/globs/prefix.d2,1:0:13-1:11:24", + "key": { + "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/globs/prefix.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/imports/vars/1.exp.json b/testdata/d2ir/TestCompile/imports/vars/1.exp.json new file mode 100644 index 000000000..9d278fd74 --- /dev/null +++ b/testdata/d2ir/TestCompile/imports/vars/1.exp.json @@ -0,0 +1,261 @@ +{ + "fields": [ + { + "name": "vars", + "composite": { + "fields": [ + { + "name": "meow", + "primary": { + "value": { + "range": "x.d2,0:6:6-0:18:18", + "value": [ + { + "string": "var replaced", + "raw_string": "var replaced" + } + ] + } + }, + "references": [ + { + "string": { + "range": "x.d2,0:0:0-0:4:4", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + }, + "key_path": { + "range": "x.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "x.d2,0:0:0-0:4:4", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "x.d2,0:0:0-0:18:18", + "key": { + "range": "x.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "x.d2,0:0:0-0:4:4", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "x.d2,0:6:6-0:18:18", + "value": [ + { + "string": "var replaced", + "raw_string": "var replaced" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "index.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + }, + "key_path": { + "range": "index.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:0:0-0:15:15", + "key": { + "range": "index.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "index.d2,0:6:6-0:15:15", + "nodes": [ + { + "import": { + "range": "index.d2,0:8:8-0:14:14", + "spread": true, + "pre": "", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:12:12-0:13:13", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "q", + "primary": { + "value": { + "range": "x.d2,0:6:6-0:18:18", + "value": [ + { + "string": "var replaced", + "raw_string": "var replaced" + } + ] + } + }, + "references": [ + { + "string": { + "range": "index.d2,0:17:17-0:18:18", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + }, + "key_path": { + "range": "index.d2,0:17:17-0:18:18", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:17:17-0:18:18", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:17:17-0:27:27", + "key": { + "range": "index.d2,0:17:17-0:18:18", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:17:17-0:18:18", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "index.d2,0:20:20-0:21:21", + "value": [ + { + "substitution": { + "range": "index.d2,0:20:20-0:27:27", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:22:22-0:26:26", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + ] + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/imports/vars/2.exp.json b/testdata/d2ir/TestCompile/imports/vars/2.exp.json new file mode 100644 index 000000000..3107e5c6e --- /dev/null +++ b/testdata/d2ir/TestCompile/imports/vars/2.exp.json @@ -0,0 +1,401 @@ +{ + "fields": [ + { + "name": "vars", + "composite": { + "fields": [ + { + "name": "x", + "primary": { + "value": { + "range": "a.d2,0:11:11-0:12:12", + "raw": "2", + "value": "2" + } + }, + "references": [ + { + "string": { + "range": "index.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "index.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:8:8-0:13:13", + "key": { + "range": "index.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "index.d2,0:11:11-0:12:12", + "raw": "1", + "value": "1" + } + } + } + } + }, + { + "string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "a.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "a.d2,0:8:8-0:13:13", + "key": { + "range": "a.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "a.d2,0:11:11-0:12:12", + "raw": "2", + "value": "2" + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "index.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + }, + "key_path": { + "range": "index.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:0:0-0:14:14", + "key": { + "range": "index.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "index.d2,0:6:6-0:14:14", + "nodes": [ + { + "map_key": { + "range": "index.d2,0:8:8-0:13:13", + "key": { + "range": "index.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "index.d2,0:11:11-0:12:12", + "raw": "1", + "value": "1" + } + } + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "a.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + }, + "key_path": { + "range": "a.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "a.d2,0:0:0-0:14:14", + "key": { + "range": "a.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "a.d2,0:6:6-0:14:14", + "nodes": [ + { + "map_key": { + "range": "a.d2,0:8:8-0:13:13", + "key": { + "range": "a.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "a.d2,0:11:11-0:12:12", + "raw": "2", + "value": "2" + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "hi", + "primary": { + "value": { + "range": "a.d2,0:11:11-0:12:12", + "raw": "2", + "value": "2" + } + }, + "references": [ + { + "string": { + "range": "a.d2,0:16:16-0:18:18", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + }, + "key_path": { + "range": "a.d2,0:16:16-0:18:18", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:16:16-0:18:18", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "a.d2,0:16:16-0:24:24", + "key": { + "range": "a.d2,0:16:16-0:18:18", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:16:16-0:18:18", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "a.d2,0:20:20-0:21:21", + "value": [ + { + "substitution": { + "range": "a.d2,0:20:20-0:24:24", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:22:22-0:23:23", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/imports/vars/3.exp.json b/testdata/d2ir/TestCompile/imports/vars/3.exp.json new file mode 100644 index 000000000..e2ddd2094 --- /dev/null +++ b/testdata/d2ir/TestCompile/imports/vars/3.exp.json @@ -0,0 +1,401 @@ +{ + "fields": [ + { + "name": "vars", + "composite": { + "fields": [ + { + "name": "x", + "primary": { + "value": { + "range": "index.d2,0:18:18-0:19:19", + "raw": "1", + "value": "1" + } + }, + "references": [ + { + "string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "a.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "a.d2,0:8:8-0:13:13", + "key": { + "range": "a.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "a.d2,0:11:11-0:12:12", + "raw": "2", + "value": "2" + } + } + } + } + }, + { + "string": { + "range": "index.d2,0:15:15-0:16:16", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "index.d2,0:15:15-0:16:16", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:15:15-0:16:16", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:15:15-0:20:20", + "key": { + "range": "index.d2,0:15:15-0:16:16", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:15:15-0:16:16", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "index.d2,0:18:18-0:19:19", + "raw": "1", + "value": "1" + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "a.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + }, + "key_path": { + "range": "a.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "a.d2,0:0:0-0:14:14", + "key": { + "range": "a.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "a.d2,0:6:6-0:14:14", + "nodes": [ + { + "map_key": { + "range": "a.d2,0:8:8-0:13:13", + "key": { + "range": "a.d2,0:8:8-0:9:9", + "path": [ + { + "unquoted_string": { + "range": "a.d2,0:8:8-0:9:9", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "a.d2,0:11:11-0:12:12", + "raw": "2", + "value": "2" + } + } + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "index.d2,0:7:7-0:11:11", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + }, + "key_path": { + "range": "index.d2,0:7:7-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:7:7-0:11:11", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:7:7-0:21:21", + "key": { + "range": "index.d2,0:7:7-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:7:7-0:11:11", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "index.d2,0:13:13-0:21:21", + "nodes": [ + { + "map_key": { + "range": "index.d2,0:15:15-0:20:20", + "key": { + "range": "index.d2,0:15:15-0:16:16", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:15:15-0:16:16", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "index.d2,0:18:18-0:19:19", + "raw": "1", + "value": "1" + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "hi", + "primary": { + "value": { + "range": "index.d2,0:18:18-0:19:19", + "raw": "1", + "value": "1" + } + }, + "references": [ + { + "string": { + "range": "index.d2,0:23:23-0:25:25", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + }, + "key_path": { + "range": "index.d2,0:23:23-0:25:25", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:23:23-0:25:25", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:23:23-0:31:31", + "key": { + "range": "index.d2,0:23:23-0:25:25", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:23:23-0:25:25", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "index.d2,0:27:27-0:28:28", + "value": [ + { + "substitution": { + "range": "index.d2,0:27:27-0:31:31", + "spread": false, + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:29:29-0:30:30", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/layers/errs/3/bad_edge.exp.json b/testdata/d2ir/TestCompile/layers/errs/3/bad_edge.exp.json new file mode 100644 index 000000000..5cd2e210c --- /dev/null +++ b/testdata/d2ir/TestCompile/layers/errs/3/bad_edge.exp.json @@ -0,0 +1,1375 @@ +{ + "fields": [ + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "y", + "references": [ + { + "string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "edges": [ + { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "edges": [ + { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "edges": [ + { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "steps", + "composite": { + "fields": [ + { + "name": "z", + "composite": { + "fields": [ + { + "name": "p", + "references": [ + { + "string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "edges": [ + { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + }, + "key_path": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "edges": [ + { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + }, + "key_path": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "edges": [ + { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", + "src": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", + "value": [ + { + "string": "steps", + "raw_string": "steps" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json b/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json index 7a7f1e434..c18033088 100644 --- a/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json +++ b/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json @@ -465,7 +465,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/layers/root.exp.json b/testdata/d2ir/TestCompile/layers/root.exp.json index 27e7e95c6..82ca928ad 100644 --- a/testdata/d2ir/TestCompile/layers/root.exp.json +++ b/testdata/d2ir/TestCompile/layers/root.exp.json @@ -805,7 +805,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/patterns/case.exp.json b/testdata/d2ir/TestCompile/patterns/case.exp.json new file mode 100644 index 000000000..4c0ba1765 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/case.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/patterns/case.d2,2:4:29-2:11:36", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/case.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/case.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "action", + "primary": { + "value": { + "range": "TestCompile/patterns/case.d2,2:4:29-2:11:36", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/case.d2,1:0:13-1:11:24", + "key": { + "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/case.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/case/1.exp.json b/testdata/d2ir/TestCompile/patterns/case/1.exp.json new file mode 100644 index 000000000..292d5d24e --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/case/1.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/patterns/case/1.d2,2:4:29-2:11:36", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/case/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/case/1.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/case/1.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/case/1.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/case/1.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "action", + "primary": { + "value": { + "range": "TestCompile/patterns/case/1.d2,2:4:29-2:11:36", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/case/1.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/case/1.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/1.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/case/1.d2,1:0:13-1:11:24", + "key": { + "range": "TestCompile/patterns/case/1.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/1.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/case/1.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/case/2.exp.json b/testdata/d2ir/TestCompile/patterns/case/2.exp.json new file mode 100644 index 000000000..283008b8a --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/case/2.exp.json @@ -0,0 +1,139 @@ +{ + "fields": [ + { + "name": "diddy kong", + "primary": { + "value": { + "range": "TestCompile/patterns/case/2.d2,2:7:30-2:10:33", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/case/2.d2,0:0:0-0:10:10", + "value": [ + { + "string": "diddy kong", + "raw_string": "diddy kong" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/case/2.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/2.d2,0:0:0-0:10:10", + "value": [ + { + "string": "diddy kong", + "raw_string": "diddy kong" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/case/2.d2,0:0:0-0:10:10", + "key": { + "range": "TestCompile/patterns/case/2.d2,0:0:0-0:10:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/2.d2,0:0:0-0:10:10", + "value": [ + { + "string": "diddy kong", + "raw_string": "diddy kong" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "Donkey Kong", + "primary": { + "value": { + "range": "TestCompile/patterns/case/2.d2,2:7:30-2:10:33", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/case/2.d2,1:0:11-1:11:22", + "value": [ + { + "string": "Donkey Kong", + "raw_string": "Donkey Kong" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/case/2.d2,1:0:11-1:11:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/2.d2,1:0:11-1:11:22", + "value": [ + { + "string": "Donkey Kong", + "raw_string": "Donkey Kong" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/case/2.d2,1:0:11-1:11:22", + "key": { + "range": "TestCompile/patterns/case/2.d2,1:0:11-1:11:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/case/2.d2,1:0:11-1:11:22", + "value": [ + { + "string": "Donkey Kong", + "raw_string": "Donkey Kong" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/double-glob.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob.exp.json new file mode 100644 index 000000000..4696f0b15 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/double-glob.exp.json @@ -0,0 +1,903 @@ +{ + "fields": [ + { + "name": "shared", + "composite": { + "fields": [ + { + "name": "animate", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "animal", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "key": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json new file mode 100644 index 000000000..804f187d0 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json @@ -0,0 +1,1095 @@ +{ + "fields": [ + { + "name": "shared", + "composite": { + "fields": [ + { + "name": "animate", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:18:47", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:18:47", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "animal", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:18:47", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:18:47", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:18:47", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:18:47", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:13:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:0:29-2:2:31", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:3:32-2:8:37", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:9:38-2:13:42", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,2:15:44-2:18:47", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/1.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json new file mode 100644 index 000000000..9e115779c --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json @@ -0,0 +1,1161 @@ +{ + "fields": [ + { + "name": "zone A", + "composite": { + "fields": [ + { + "name": "machine A", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "value": [ + { + "string": "machine A", + "raw_string": "machine A" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "value": [ + { + "string": "machine A", + "raw_string": "machine A" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "value": [ + { + "string": "machine A", + "raw_string": "machine A" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "machine B", + "composite": { + "fields": [ + { + "name": "submachine A", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "value": [ + { + "string": "submachine A", + "raw_string": "submachine A" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "value": [ + { + "string": "submachine A", + "raw_string": "submachine A" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "value": [ + { + "string": "submachine A", + "raw_string": "submachine A" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "submachine B", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "value": [ + { + "string": "submachine B", + "raw_string": "submachine B" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "value": [ + { + "string": "submachine B", + "raw_string": "submachine B" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "value": [ + { + "string": "submachine B", + "raw_string": "submachine B" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "value": [ + { + "string": "machine B", + "raw_string": "machine B" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "value": [ + { + "string": "machine B", + "raw_string": "machine B" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-5:2:67", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "value": [ + { + "string": "machine B", + "raw_string": "machine B" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:12:33-5:2:67", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "value": [ + { + "string": "submachine A", + "raw_string": "submachine A" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "value": [ + { + "string": "submachine B", + "raw_string": "submachine B" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:0:0-0:6:6", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:0:0-0:6:6", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:0:0-6:1:69", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:0:0-0:6:6", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,0:8:8-6:1:69", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,1:1:11-1:10:20", + "value": [ + { + "string": "machine A", + "raw_string": "machine A" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-5:2:67", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:1:22-2:10:31", + "value": [ + { + "string": "machine B", + "raw_string": "machine B" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,2:12:33-5:2:67", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,3:2:37-3:14:49", + "value": [ + { + "string": "submachine A", + "raw_string": "submachine A" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,4:2:52-4:14:64", + "value": [ + { + "string": "submachine B", + "raw_string": "submachine B" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "load balancer", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "zone A", + "machine A" + ], + "src_arrow": false, + "dst_path": [ + "load balancer" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "zone A", + "machine B", + "submachine A" + ], + "src_arrow": false, + "dst_path": [ + "load balancer" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "zone A", + "machine B", + "submachine B" + ], + "src_arrow": false, + "dst_path": [ + "load balancer" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:26:96", + "src": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:9:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:0:70-7:6:76", + "value": [ + { + "string": "zone A", + "raw_string": "zone A" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:7:77-7:9:79", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge-no-container.d2,7:13:83-7:26:96", + "value": [ + { + "string": "load balancer", + "raw_string": "load balancer" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json new file mode 100644 index 000000000..209501268 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json @@ -0,0 +1,811 @@ +{ + "fields": [ + { + "name": "fast", + "composite": { + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "far", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "value": [ + { + "string": "far", + "raw_string": "far" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "value": [ + { + "string": "far", + "raw_string": "far" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "value": [ + { + "string": "far", + "raw_string": "far" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:0:0-0:4:4", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:0:0-0:4:4", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:0:0-3:1:19", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:0:0-0:4:4", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,0:6:6-3:1:19", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,1:2:10-1:3:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,2:2:14-2:5:17", + "value": [ + { + "string": "far", + "raw_string": "far" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "src": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "src": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "task", + "composite": { + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:0:21-5:4:25", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:0:21-5:4:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:0:21-5:4:25", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:0:21-7:1:34", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:0:21-5:4:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:0:21-5:4:25", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,5:6:27-7:1:34", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,6:2:31-6:3:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "src": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "src": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "task", + "a" + ], + "src_arrow": false, + "dst_path": [ + "fast" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "src": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:15:51", + "src": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:7:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:0:36-9:4:40", + "value": [ + { + "string": "task", + "raw_string": "task" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:5:41-9:7:43", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/1.d2,9:11:47-9:15:51", + "value": [ + { + "string": "fast", + "raw_string": "fast" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json new file mode 100644 index 000000000..ec8c116c4 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json @@ -0,0 +1,511 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "src": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "src": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,0:0:0-0:1:1", + "key": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "src": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "src": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a", + "b" + ], + "src_arrow": false, + "dst_path": [ + "c" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "src": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "edges": [ + { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:9:12", + "src": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:4:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:0:3-2:2:5", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:3:6-2:4:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/edge/2.d2,2:8:11-2:9:12", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json new file mode 100644 index 000000000..8da87a6c9 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json @@ -0,0 +1,3343 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 1, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 2, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json b/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json new file mode 100644 index 000000000..ee685d494 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json @@ -0,0 +1,779 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-nexus.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-nexus.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,0:0:0-0:1:1", + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-nexus.d2,1:0:2-1:1:3", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-nexus.d2,1:0:2-1:1:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,1:0:2-1:1:3", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,1:0:2-1:1:3", + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,1:0:2-1:1:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,1:0:2-1:1:3", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-nexus.d2,2:0:4-2:1:5", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-nexus.d2,2:0:4-2:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,2:0:4-2:1:5", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,2:0:4-2:1:5", + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,2:0:4-2:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,2:0:4-2:1:5", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "d", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-nexus.d2,3:0:6-3:1:7", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-nexus.d2,3:0:6-3:1:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,3:0:6-3:1:7", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,3:0:6-3:1:7", + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,3:0:6-3:1:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,3:0:6-3:1:7", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "nexus", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "edges": [ + { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "nexus" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "edges": [ + { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "b" + ], + "src_arrow": false, + "dst_path": [ + "nexus" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "edges": [ + { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "nexus" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "edges": [ + { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "d" + ], + "src_arrow": false, + "dst_path": [ + "nexus" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "edges": [ + { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:10:18", + "src": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:0:8-4:1:9", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-nexus.d2,4:5:13-4:10:18", + "value": [ + { + "string": "nexus", + "raw_string": "nexus" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/edge/1.exp.json b/testdata/d2ir/TestCompile/patterns/edge/1.exp.json new file mode 100644 index 000000000..087072d2d --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/edge/1.exp.json @@ -0,0 +1,352 @@ +{ + "fields": [ + { + "name": "animate", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/1.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/1.d2,0:0:0-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/1.d2,0:0:0-0:7:7", + "key": { + "range": "TestCompile/patterns/edge/1.d2,0:0:0-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "animal", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/1.d2,1:0:8-1:6:14", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/1.d2,1:0:8-1:6:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,1:0:8-1:6:14", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/1.d2,1:0:8-1:6:14", + "key": { + "range": "TestCompile/patterns/edge/1.d2,1:0:8-1:6:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,1:0:8-1:6:14", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "animate" + ], + "src_arrow": false, + "dst_path": [ + "animal" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:10:25", + "src": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:10:25", + "edges": [ + { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:10:25", + "src": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "animal" + ], + "src_arrow": false, + "dst_path": [ + "animate" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:10:25", + "src": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:10:25", + "edges": [ + { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:10:25", + "src": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:0:15-2:3:18", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/1.d2,2:7:22-2:10:25", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/edge/2.exp.json b/testdata/d2ir/TestCompile/patterns/edge/2.exp.json new file mode 100644 index 000000000..016f524db --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/edge/2.exp.json @@ -0,0 +1,592 @@ +{ + "fields": [ + { + "name": "shared", + "composite": { + "fields": [ + { + "name": "animate", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/2.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "animal", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/2.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "animate" + ], + "src_arrow": false, + "dst_path": [ + "animal" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:15:44", + "src": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge/2.d2,2:0:29-2:16:45", + "key": { + "range": "TestCompile/patterns/edge/2.d2,2:0:29-2:3:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:0:29-2:3:32", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:15:44", + "src": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "animal" + ], + "src_arrow": false, + "dst_path": [ + "animate" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:15:44", + "src": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge/2.d2,2:0:29-2:16:45", + "key": { + "range": "TestCompile/patterns/edge/2.d2,2:0:29-2:3:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:0:29-2:3:32", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:15:44", + "src": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:5:34-2:8:37", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,2:12:41-2:15:44", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/2.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/edge/3.exp.json b/testdata/d2ir/TestCompile/patterns/edge/3.exp.json new file mode 100644 index 000000000..a6a0200bc --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/edge/3.exp.json @@ -0,0 +1,672 @@ +{ + "fields": [ + { + "name": "shared", + "composite": { + "fields": [ + { + "name": "animate", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/3.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "animal", + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/3.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "animate" + ], + "src_arrow": false, + "dst_path": [ + "animal" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:18:47", + "src": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:7:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:3:32", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:4:33-2:7:36", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:18:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:14:43", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:15:44-2:18:47", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:18:47", + "edges": [ + { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:18:47", + "src": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:7:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:3:32", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:4:33-2:7:36", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:18:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:14:43", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:15:44-2:18:47", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "animal" + ], + "src_arrow": false, + "dst_path": [ + "animate" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:18:47", + "src": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:7:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:3:32", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:4:33-2:7:36", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:18:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:14:43", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:15:44-2:18:47", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:18:47", + "edges": [ + { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:18:47", + "src": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:7:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:0:29-2:3:32", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:4:33-2:7:36", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:18:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:11:40-2:14:43", + "value": [ + { + "string": "sh*", + "raw_string": "sh*" + } + ], + "pattern": [ + "sh", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,2:15:44-2:18:47", + "value": [ + { + "string": "an*", + "raw_string": "an*" + } + ], + "pattern": [ + "an", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:14:14", + "key": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:0:0-0:6:6", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,0:7:7-0:14:14", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:13:28", + "key": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:13:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:0:15-1:6:21", + "value": [ + { + "string": "shared", + "raw_string": "shared" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge/3.d2,1:7:22-1:13:28", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/errors/glob-edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/errors/glob-edge-glob-index.exp.json new file mode 100644 index 000000000..9735275e6 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/errors/glob-edge-glob-index.exp.json @@ -0,0 +1,667 @@ +{ + "fields": [ + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "edges": [ + { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "b" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "edges": [ + { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "edges": [ + { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "edges": [ + { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "src": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_key": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/escaped.exp.json b/testdata/d2ir/TestCompile/patterns/escaped.exp.json new file mode 100644 index 000000000..27262dd30 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/escaped.exp.json @@ -0,0 +1,236 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/patterns/escaped.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/escaped.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/escaped.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/escaped.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/escaped.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "action", + "primary": { + "value": { + "range": "TestCompile/patterns/escaped.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/escaped.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/escaped.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/escaped.d2,1:0:13-1:11:24", + "key": { + "range": "TestCompile/patterns/escaped.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + }, + { + "name": "a*", + "primary": { + "value": { + "range": "TestCompile/patterns/escaped.d2,2:5:30-2:12:37", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/escaped.d2,2:0:25-2:2:27", + "value": [ + { + "string": "a*", + "raw_string": "a\\*" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/escaped.d2,2:0:25-2:2:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,2:0:25-2:2:27", + "value": [ + { + "string": "a*", + "raw_string": "a\\*" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/escaped.d2,2:0:25-2:12:37", + "key": { + "range": "TestCompile/patterns/escaped.d2,2:0:25-2:2:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,2:0:25-2:2:27", + "value": [ + { + "string": "a*", + "raw_string": "a\\*" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/escaped.d2,2:5:30-2:12:37", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json new file mode 100644 index 000000000..76ba3598f --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json @@ -0,0 +1,3945 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 1, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:6:13", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,1:5:12-1:6:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 2, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:6:20", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:0:14-2:1:15", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,2:5:19-2:6:20", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:6:27", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:0:21-3:1:22", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,3:5:26-3:6:27", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json b/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json new file mode 100644 index 000000000..9b5259d95 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json @@ -0,0 +1,997 @@ +{ + "fields": [ + { + "name": "animate", + "composite": { + "fields": [ + { + "name": "constant", + "composite": { + "fields": [ + { + "name": "tinkertinker", + "primary": { + "value": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:33:108-2:40:115", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:29:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:35:35", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:29:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:31:31-0:35:35", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:29:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:35:35", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:29:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:31:31-0:35:35", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:7:82-2:15:90", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:31:106", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:6:81", + "value": [ + { + "string": "a*n*t*", + "raw_string": "a*n*t*" + } + ], + "pattern": [ + "a", + "*", + "n", + "*", + "t", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:7:82-2:15:90", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:16:91-2:31:106", + "value": [ + { + "string": "t*ink*r*t*inke*", + "raw_string": "t*ink*r*t*inke*" + } + ], + "pattern": [ + "t", + "*", + "ink", + "*", + "r", + "*", + "t", + "*", + "inke", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:40:115", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:31:106", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:6:81", + "value": [ + { + "string": "a*n*t*", + "raw_string": "a*n*t*" + } + ], + "pattern": [ + "a", + "*", + "n", + "*", + "t", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:7:82-2:15:90", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:16:91-2:31:106", + "value": [ + { + "string": "t*ink*r*t*inke*", + "raw_string": "t*ink*r*t*inke*" + } + ], + "pattern": [ + "t", + "*", + "ink", + "*", + "r", + "*", + "t", + "*", + "inke", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:33:108-2:40:115", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:29:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:35:35", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:29:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:0:0-0:7:7", + "value": [ + { + "string": "animate", + "raw_string": "animate" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:8:8-0:16:16", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:17:17-0:29:29", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,0:31:31-0:35:35", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "astronaut", + "composite": { + "fields": [ + { + "name": "constant", + "composite": { + "fields": [ + { + "name": "thinkerthinker", + "primary": { + "value": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:33:108-2:40:115", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:33:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:38:74", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:33:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:35:71-1:38:74", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:33:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:38:74", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:33:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:35:71-1:38:74", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:7:82-2:15:90", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:31:106", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:6:81", + "value": [ + { + "string": "a*n*t*", + "raw_string": "a*n*t*" + } + ], + "pattern": [ + "a", + "*", + "n", + "*", + "t", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:7:82-2:15:90", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:16:91-2:31:106", + "value": [ + { + "string": "t*ink*r*t*inke*", + "raw_string": "t*ink*r*t*inke*" + } + ], + "pattern": [ + "t", + "*", + "ink", + "*", + "r", + "*", + "t", + "*", + "inke", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:40:115", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:31:106", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:0:75-2:6:81", + "value": [ + { + "string": "a*n*t*", + "raw_string": "a*n*t*" + } + ], + "pattern": [ + "a", + "*", + "n", + "*", + "t", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:7:82-2:15:90", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:16:91-2:31:106", + "value": [ + { + "string": "t*ink*r*t*inke*", + "raw_string": "t*ink*r*t*inke*" + } + ], + "pattern": [ + "t", + "*", + "ink", + "*", + "r", + "*", + "t", + "*", + "inke", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,2:33:108-2:40:115", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:33:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:38:74", + "key": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:33:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:0:36-1:9:45", + "value": [ + { + "string": "astronaut", + "raw_string": "astronaut" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:10:46-1:18:54", + "value": [ + { + "string": "constant", + "raw_string": "constant" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:19:55-1:33:69", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/nested/prefix-suffix/3.d2,1:35:71-1:38:74", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json b/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json new file mode 100644 index 000000000..a71fb970b --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "tinker", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix-suffix.d2,2:5:31-2:12:38", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "tinker", + "raw_string": "tinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "tinker", + "raw_string": "tinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "tinker", + "raw_string": "tinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "thinker", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix-suffix.d2,2:5:31-2:12:38", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20", + "value": [ + { + "string": "thinker", + "raw_string": "thinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20", + "value": [ + { + "string": "thinker", + "raw_string": "thinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:12:25", + "key": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20", + "value": [ + { + "string": "thinker", + "raw_string": "thinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix.d2,1:9:22-1:12:25", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json b/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json new file mode 100644 index 000000000..175299dad --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "tinker", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,2:9:35-2:16:42", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "tinker", + "raw_string": "tinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "tinker", + "raw_string": "tinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:0:0-0:6:6", + "value": [ + { + "string": "tinker", + "raw_string": "tinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "thinker", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,2:9:35-2:16:42", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:0:13-1:7:20", + "value": [ + { + "string": "thinker", + "raw_string": "thinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:0:13-1:7:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:0:13-1:7:20", + "value": [ + { + "string": "thinker", + "raw_string": "thinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:0:13-1:12:25", + "key": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:0:13-1:7:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:0:13-1:7:20", + "value": [ + { + "string": "thinker", + "raw_string": "thinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/2.d2,1:9:22-1:12:25", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json b/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json new file mode 100644 index 000000000..1504168b9 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "tinkertinker", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,2:17:56-2:24:63", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:0:0-0:12:12", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:0:0-0:12:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:0:0-0:12:12", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:0:0-0:18:18", + "key": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:0:0-0:12:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:0:0-0:12:12", + "value": [ + { + "string": "tinkertinker", + "raw_string": "tinkertinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,0:14:14-0:18:18", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "thinkerthinker", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,2:17:56-2:24:63", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:0:19-1:14:33", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:0:19-1:14:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:0:19-1:14:33", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:0:19-1:19:38", + "key": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:0:19-1:14:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:0:19-1:14:33", + "value": [ + { + "string": "thinkerthinker", + "raw_string": "thinkerthinker" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix-suffix/3.d2,1:16:35-1:19:38", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/prefix.exp.json b/testdata/d2ir/TestCompile/patterns/prefix.exp.json new file mode 100644 index 000000000..62dec6cc3 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/prefix.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix.d2,2:4:29-2:11:36", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/prefix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "action", + "primary": { + "value": { + "range": "TestCompile/patterns/prefix.d2,2:4:29-2:11:36", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prefix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prefix.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prefix.d2,1:0:13-1:11:24", + "key": { + "range": "TestCompile/patterns/prefix.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prefix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "action", + "raw_string": "action" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prefix.d2,1:8:21-1:11:24", + "value": [ + { + "string": "yes", + "raw_string": "yes" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/reserved.exp.json b/testdata/d2ir/TestCompile/patterns/reserved.exp.json new file mode 100644 index 000000000..01fb1938f --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/reserved.exp.json @@ -0,0 +1,1284 @@ +{ + "fields": [ + { + "name": "vars", + "composite": { + "fields": [ + { + "name": "d2-config", + "composite": { + "fields": [ + { + "name": "layout-engine", + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,2:19:42-2:22:45", + "value": [ + { + "string": "elk", + "raw_string": "elk" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "value": [ + { + "string": "layout-engine", + "raw_string": "layout-engine" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "value": [ + { + "string": "layout-engine", + "raw_string": "layout-engine" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:22:45", + "key": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "value": [ + { + "string": "layout-engine", + "raw_string": "layout-engine" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:19:42-2:22:45", + "value": [ + { + "string": "elk", + "raw_string": "elk" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "value": [ + { + "string": "d2-config", + "raw_string": "d2-config" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "value": [ + { + "string": "d2-config", + "raw_string": "d2-config" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-3:3:49", + "key": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "value": [ + { + "string": "d2-config", + "raw_string": "d2-config" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/reserved.d2,1:13:21-3:3:49", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:22:45", + "key": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "value": [ + { + "string": "layout-engine", + "raw_string": "layout-engine" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:19:42-2:22:45", + "value": [ + { + "string": "elk", + "raw_string": "elk" + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/reserved.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/reserved.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/reserved.d2,0:0:0-4:1:51", + "key": { + "range": "TestCompile/patterns/reserved.d2,0:0:0-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,0:0:0-0:4:4", + "value": [ + { + "string": "vars", + "raw_string": "vars" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/reserved.d2,0:6:6-4:1:51", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-3:3:49", + "key": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,1:2:10-1:11:19", + "value": [ + { + "string": "d2-config", + "raw_string": "d2-config" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/reserved.d2,1:13:21-3:3:49", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:22:45", + "key": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:4:27-2:17:40", + "value": [ + { + "string": "layout-engine", + "raw_string": "layout-engine" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,2:19:42-2:22:45", + "value": [ + { + "string": "elk", + "raw_string": "elk" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "Spiderman 1", + "references": [ + { + "string": { + "range": "TestCompile/patterns/reserved.d2,6:0:53-6:11:64", + "value": [ + { + "string": "Spiderman 1", + "raw_string": "Spiderman 1" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/reserved.d2,6:0:53-6:11:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,6:0:53-6:11:64", + "value": [ + { + "string": "Spiderman 1", + "raw_string": "Spiderman 1" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/reserved.d2,6:0:53-6:11:64", + "key": { + "range": "TestCompile/patterns/reserved.d2,6:0:53-6:11:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,6:0:53-6:11:64", + "value": [ + { + "string": "Spiderman 1", + "raw_string": "Spiderman 1" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "Spiderman 2", + "references": [ + { + "string": { + "range": "TestCompile/patterns/reserved.d2,7:0:65-7:11:76", + "value": [ + { + "string": "Spiderman 2", + "raw_string": "Spiderman 2" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/reserved.d2,7:0:65-7:11:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,7:0:65-7:11:76", + "value": [ + { + "string": "Spiderman 2", + "raw_string": "Spiderman 2" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/reserved.d2,7:0:65-7:11:76", + "key": { + "range": "TestCompile/patterns/reserved.d2,7:0:65-7:11:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,7:0:65-7:11:76", + "value": [ + { + "string": "Spiderman 2", + "raw_string": "Spiderman 2" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "Spiderman 3", + "references": [ + { + "string": { + "range": "TestCompile/patterns/reserved.d2,8:0:77-8:11:88", + "value": [ + { + "string": "Spiderman 3", + "raw_string": "Spiderman 3" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/reserved.d2,8:0:77-8:11:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,8:0:77-8:11:88", + "value": [ + { + "string": "Spiderman 3", + "raw_string": "Spiderman 3" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/reserved.d2,8:0:77-8:11:88", + "key": { + "range": "TestCompile/patterns/reserved.d2,8:0:77-8:11:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,8:0:77-8:11:88", + "value": [ + { + "string": "Spiderman 3", + "raw_string": "Spiderman 3" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "Spiderman 1" + ], + "src_arrow": false, + "dst_path": [ + "Spiderman 2" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:13:103", + "edges": [ + { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "Spiderman 1" + ], + "src_arrow": false, + "dst_path": [ + "Spiderman 3" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:13:103", + "edges": [ + { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "Spiderman 2" + ], + "src_arrow": false, + "dst_path": [ + "Spiderman 1" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:13:103", + "edges": [ + { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "Spiderman 2" + ], + "src_arrow": false, + "dst_path": [ + "Spiderman 3" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:13:103", + "edges": [ + { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "Spiderman 3" + ], + "src_arrow": false, + "dst_path": [ + "Spiderman 1" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:13:103", + "edges": [ + { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + } + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "Spiderman 3" + ], + "src_arrow": false, + "dst_path": [ + "Spiderman 2" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:13:103", + "edges": [ + { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:6:96", + "src": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:0:90-10:1:91", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:5:95-10:6:96", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/reserved.d2,10:8:98-10:13:103", + "value": [ + { + "string": "arrow", + "raw_string": "arrow" + } + ] + } + } + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/scenarios.exp.json b/testdata/d2ir/TestCompile/patterns/scenarios.exp.json new file mode 100644 index 000000000..4fdd38d3b --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/scenarios.exp.json @@ -0,0 +1,3863 @@ +{ + "fields": [ + { + "name": "scenarios", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "meow", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "e", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "value": [ + { + "string": "e", + "raw_string": "e" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "value": [ + { + "string": "e", + "raw_string": "e" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "key": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "value": [ + { + "string": "e", + "raw_string": "e" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "f", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "key": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "g", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "value": [ + { + "string": "g", + "raw_string": "g" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "value": [ + { + "string": "g", + "raw_string": "g" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "key": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "value": [ + { + "string": "g", + "raw_string": "g" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "h", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "value": [ + { + "string": "h", + "raw_string": "h" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "value": [ + { + "string": "h", + "raw_string": "h" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "key": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "value": [ + { + "string": "h", + "raw_string": "h" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-8:3:40", + "key": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/scenarios.d2,3:8:23-8:3:40", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "key": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "value": [ + { + "string": "e", + "raw_string": "e" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "key": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "key": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "value": [ + { + "string": "g", + "raw_string": "g" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "key": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "value": [ + { + "string": "h", + "raw_string": "h" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,2:0:2-2:9:11", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,2:0:2-2:9:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,2:0:2-2:9:11", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,2:0:2-9:1:42", + "key": { + "range": "TestCompile/patterns/scenarios.d2,2:0:2-2:9:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,2:0:2-2:9:11", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/scenarios.d2,2:11:13-9:1:42", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-8:3:40", + "key": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,3:2:17-3:6:21", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/scenarios.d2,3:8:23-8:3:40", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "key": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,4:1:26-4:2:27", + "value": [ + { + "string": "e", + "raw_string": "e" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "key": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,5:1:29-5:2:30", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "key": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,6:1:32-6:2:33", + "value": [ + { + "string": "g", + "raw_string": "g" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "key": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,7:1:35-7:2:36", + "value": [ + { + "string": "h", + "raw_string": "h" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + } + ] + }, + { + "name": "a", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,11:0:44-11:1:45", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,11:0:44-11:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,11:0:44-11:1:45", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,11:0:44-11:1:45", + "key": { + "range": "TestCompile/patterns/scenarios.d2,11:0:44-11:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,11:0:44-11:1:45", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "b", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,12:0:46-12:1:47", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,12:0:46-12:1:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,12:0:46-12:1:47", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,12:0:46-12:1:47", + "key": { + "range": "TestCompile/patterns/scenarios.d2,12:0:46-12:1:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,12:0:46-12:1:47", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "c", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,13:0:48-13:1:49", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,13:0:48-13:1:49", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,13:0:48-13:1:49", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,13:0:48-13:1:49", + "key": { + "range": "TestCompile/patterns/scenarios.d2,13:0:48-13:1:49", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,13:0:48-13:1:49", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "name": "d", + "primary": { + "value": { + "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", + "value": [ + { + "string": "something", + "raw_string": "something" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/scenarios.d2,14:0:50-14:1:51", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/scenarios.d2,14:0:50-14:1:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,14:0:50-14:1:51", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/scenarios.d2,14:0:50-14:1:51", + "key": { + "range": "TestCompile/patterns/scenarios.d2,14:0:50-14:1:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,14:0:50-14:1:51", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "e" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "f" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "e" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "g" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "e" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "h" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "f" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "e" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "f" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "g" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "f" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "h" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "g" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "e" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "g" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "f" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "g" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "h" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "h" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "e" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "h" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "f" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "scenarios", + "meow", + "h" + ], + "src_arrow": false, + "dst_path": [ + "scenarios", + "meow", + "g" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "c" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "d" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "b" + ], + "src_arrow": false, + "dst_path": [ + "a" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "b" + ], + "src_arrow": false, + "dst_path": [ + "c" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "b" + ], + "src_arrow": false, + "dst_path": [ + "d" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "a" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "d" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "d" + ], + "src_arrow": false, + "dst_path": [ + "a" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "d" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + }, + { + "edge_id": { + "src_path": [ + "d" + ], + "src_arrow": false, + "dst_path": [ + "c" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "edges": [ + { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:8:75", + "src": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:0:67-17:2:69", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/scenarios.d2,17:6:73-17:8:75", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/suffix.exp.json b/testdata/d2ir/TestCompile/patterns/suffix.exp.json new file mode 100644 index 000000000..40da3b5a1 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/suffix.exp.json @@ -0,0 +1,159 @@ +{ + "fields": [ + { + "name": "animal", + "primary": { + "value": { + "range": "TestCompile/patterns/suffix.d2,2:4:30-2:11:37", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/suffix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/suffix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/suffix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/suffix.d2,0:0:0-0:12:12", + "key": { + "range": "TestCompile/patterns/suffix.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/suffix.d2,0:0:0-0:6:6", + "value": [ + { + "string": "animal", + "raw_string": "animal" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/suffix.d2,0:8:8-0:12:12", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "jingle", + "primary": { + "value": { + "range": "TestCompile/patterns/suffix.d2,2:4:30-2:11:37", + "value": [ + { + "string": "globbed", + "raw_string": "globbed" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/suffix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "jingle", + "raw_string": "jingle" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/suffix.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/suffix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "jingle", + "raw_string": "jingle" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/suffix.d2,1:0:13-1:12:25", + "key": { + "range": "TestCompile/patterns/suffix.d2,1:0:13-1:6:19", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/suffix.d2,1:0:13-1:6:19", + "value": [ + { + "string": "jingle", + "raw_string": "jingle" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/suffix.d2,1:8:21-1:12:25", + "value": [ + { + "string": "loud", + "raw_string": "loud" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/scenarios/edge.exp.json b/testdata/d2ir/TestCompile/scenarios/edge.exp.json index 37f6f502a..c0ef78879 100644 --- a/testdata/d2ir/TestCompile/scenarios/edge.exp.json +++ b/testdata/d2ir/TestCompile/scenarios/edge.exp.json @@ -776,7 +776,8 @@ "b" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "map": { "fields": [ @@ -1668,7 +1669,8 @@ "b" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/scenarios/root.exp.json b/testdata/d2ir/TestCompile/scenarios/root.exp.json index 591518abf..0c7ae1e33 100644 --- a/testdata/d2ir/TestCompile/scenarios/root.exp.json +++ b/testdata/d2ir/TestCompile/scenarios/root.exp.json @@ -790,7 +790,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -1289,7 +1290,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -1665,7 +1667,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/steps/recursive.exp.json b/testdata/d2ir/TestCompile/steps/recursive.exp.json index 3e09926d4..bcaeb4be0 100644 --- a/testdata/d2ir/TestCompile/steps/recursive.exp.json +++ b/testdata/d2ir/TestCompile/steps/recursive.exp.json @@ -790,7 +790,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -2259,7 +2260,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -2561,7 +2563,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -3099,7 +3102,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2ir/TestCompile/steps/root.exp.json b/testdata/d2ir/TestCompile/steps/root.exp.json index ec142d977..a8b486f76 100644 --- a/testdata/d2ir/TestCompile/steps/root.exp.json +++ b/testdata/d2ir/TestCompile/steps/root.exp.json @@ -790,7 +790,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -1599,7 +1600,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { @@ -1975,7 +1977,8 @@ "y" ], "dst_arrow": true, - "index": 0 + "index": 0, + "glob": false }, "references": [ { diff --git a/testdata/d2oracle/TestDelete/class_refs.exp.json b/testdata/d2oracle/TestDelete/class_refs.exp.json index 965ae6c65..600314149 100644 --- a/testdata/d2oracle/TestDelete/class_refs.exp.json +++ b/testdata/d2oracle/TestDelete/class_refs.exp.json @@ -1,7 +1,7 @@ { "graph": { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "ast": { "range": "d2/testdata/d2oracle/TestDelete/class_refs.d2,0:0:0-0:0:0", "nodes": null diff --git a/testdata/d2oracle/TestDelete/flat.exp.json b/testdata/d2oracle/TestDelete/flat.exp.json index f40d4a886..bf68210d1 100644 --- a/testdata/d2oracle/TestDelete/flat.exp.json +++ b/testdata/d2oracle/TestDelete/flat.exp.json @@ -1,7 +1,7 @@ { "graph": { "name": "", - "isFolderOnly": false, + "isFolderOnly": true, "ast": { "range": "d2/testdata/d2oracle/TestDelete/flat.d2,0:0:0-0:0:0", "nodes": null