Skip to content

Commit

Permalink
Merge pull request #614 from tone-row/dev
Browse files Browse the repository at this point in the history
v1.41.3
  • Loading branch information
rob-gordon authored Oct 4, 2023
2 parents a63ad96 + 242f3fc commit a77d0d6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "1.41.2",
"version": "1.41.3",
"main": "module/module.js",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion app/src/lib/templates/code-flow-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ User

const template = `=====
{
"cytoscapeStyle": "@import url(\\"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400&display=swap\\");\\n\\n$background: white;\\n$color: #000000;\\n$fontFamilySans: \\"IBM Plex Sans\\";\\n$blue: #3375e5;\\n$purple: #8b53e6;\\n$red: #e63946;\\n$orange: #f4a261;\\n$yellow: #f1fa3b;\\n$green: #72d9b3;\\n$grey: #8f8f8f;\\n$lightgrey: #3a3636;\\n\\nedge {\\n width: 1px;\\n curve-style: taxi;\\n taxi-direction: downward;\\n target-arrow-shape: triangle;\\n line-color: $lightgrey;\\n source-arrow-color: $lightgrey;\\n target-arrow-color: $lightgrey;\\n arrow-scale: 1.25;\\n label: data(label);\\n text-background-color: $background;\\n text-background-opacity: 1;\\n text-background-padding: 5;\\n font-family: $fontFamilySans;\\n font-size: 14;\\n source-distance-from-node: 0;\\n target-distance-from-node: 5;\\n}\\n\\n:childless[shapeWidth] {\\n width: data(shapeWidth);\\n}\\n\\n:childless[shapeHeight] {\\n height: data(shapeHeight);\\n}\\n\\n:childless[textMarginY] {\\n text-margin-y: data(textMarginY);\\n}\\n\\n:childless[textMarginX] {\\n text-margin-x: data(textMarginX);\\n}\\n\\n:childless {\\n label: data(label);\\n font-family: $fontFamilySans;\\n text-wrap: wrap;\\n text-max-width: 200;\\n width: 200;\\n height: label;\\n font-size: 16;\\n padding: 24;\\n text-valign: center;\\n text-halign: center;\\n line-height: 1.4;\\n shape: roundrectangle;\\n background-color: $grey;\\n color: white;\\n border-color: $grey;\\n border-width: 2;\\n border-style: solid;\\n font-weight: 400;\\n}\\n\\n/** Start */\\n:childless[in_degree < 1][out_degree > 0] {\\n shape: roundrectangle;\\n border-color: $color;\\n background-color: white;\\n color: $color;\\n}\\n\\n/** Branching */\\n:childless[in_degree > 0][in_degree < 2][out_degree > 1] {\\n shape: diamond;\\n background-color: $blue;\\n color: white;\\n height: 200;\\n text-margin-y: 2;\\n}\\n\\n/** Merging **/\\n:childless[in_degree > 1][out_degree > 0][out_degree < 2] {\\n}\\n\\n:childless.color_red {\\n background-color: $red;\\n color: white;\\n}\\n:childless.color_orange {\\n background-color: $orange;\\n color: white;\\n}\\n:childless.color_yellow {\\n background-color: $yellow;\\n}\\n:childless.color_green {\\n border-color: $green;\\n background-color: #f0fbf8;\\n color: $color;\\n}\\n:childless.color_blue {\\n border-color: $blue;\\n background-color: #d7e9fc;\\n color: $color;\\n}\\n:childless.color_purple {\\n border-color: $purple;\\n background-color: #e1d8f4;\\n color: $color;\\n}\\n:childless.color_grey {\\n background-color: $grey;\\n}\\n\\n:childless.shape_rectangle {\\n shape: rectangle;\\n}\\n:childless.shape_roundrectangle {\\n shape: roundrectangle;\\n}\\n:childless.shape_ellipse {\\n shape: ellipse;\\n}\\n:childless.shape_triangle {\\n shape: triangle;\\n}\\n:childless.shape_pentagon {\\n shape: pentagon;\\n}\\n:childless.shape_hexagon {\\n shape: hexagon;\\n}\\n:childless.shape_heptagon {\\n shape: heptagon;\\n}\\n:childless.shape_octagon {\\n shape: octagon;\\n}\\n:childless.shape_star {\\n shape: star;\\n}\\n:childless.shape_barrel {\\n shape: barrel;\\n}\\n:childless.shape_diamond {\\n shape: diamond;\\n}\\n:childless.shape_vee {\\n shape: vee;\\n}\\n:childless.shape_rhomboid {\\n shape: rhomboid;\\n}\\n:childless.shape_right-rhomboid {\\n shape: right-rhomboid;\\n}\\n:childless.shape_tag {\\n shape: tag;\\n}\\n:childless.shape_round-rectangle {\\n shape: round-rectangle;\\n}\\n:childless.shape_cut-rectangle {\\n shape: cut-rectangle;\\n}\\n:childless.shape_bottom-round-rectangle {\\n shape: bottom-round-rectangle;\\n}\\n:childless.shape_concave-hexagon {\\n shape: concave-hexagon;\\n}\\n:childless.border_none {\\n border-width: 0;\\n border-style: solid;\\n}\\n:childless.border_solid {\\n border-width: 2;\\n border-style: solid;\\n}\\n:childless.border_dashed {\\n border-width: 2;\\n border-style: dashed;\\n}\\n:childless.border_dotted {\\n border-width: 2;\\n border-style: dotted;\\n}\\n\\n:childless[w] {\\n width: data(w);\\n}\\n\\n:childless[h] {\\n height: data(h);\\n}\\n\\nedge.line_solid {\\n line-style: solid;\\n}\\nedge.line_dotted {\\n line-style: dotted;\\n}\\nedge.line_dashed {\\n line-style: dashed;\\n}\\nedge.target-arrow_triangle {\\n target-arrow-shape: triangle;\\n}\\nedge.target-arrow_triangle-tee {\\n target-arrow-shape: triangle-tee;\\n}\\nedge.target-arrow_circle-triangle {\\n target-arrow-shape: circle-triangle;\\n}\\nedge.target-arrow_triangle-cross {\\n target-arrow-shape: triangle-cross;\\n}\\nedge.target-arrow_triangle-backcurve {\\n target-arrow-shape: triangle-backcurve;\\n}\\nedge.target-arrow_vee {\\n target-arrow-shape: vee;\\n}\\nedge.target-arrow_tee {\\n target-arrow-shape: tee;\\n}\\nedge.target-arrow_square {\\n target-arrow-shape: square;\\n}\\nedge.target-arrow_circle {\\n target-arrow-shape: circle;\\n}\\nedge.target-arrow_diamond {\\n target-arrow-shape: diamond;\\n}\\nedge.target-arrow_chevron {\\n target-arrow-shape: chevron;\\n}\\nedge.target-arrow_none {\\n target-arrow-shape: none;\\n}\\nedge.source-arrow_triangle {\\n source-arrow-shape: triangle;\\n}\\nedge.source-arrow_triangle-tee {\\n source-arrow-shape: triangle-tee;\\n}\\nedge.source-arrow_circle-triangle {\\n source-arrow-shape: circle-triangle;\\n}\\nedge.source-arrow_triangle-cross {\\n source-arrow-shape: triangle-cross;\\n}\\nedge.source-arrow_triangle-backcurve {\\n source-arrow-shape: triangle-backcurve;\\n}\\nedge.source-arrow_vee {\\n source-arrow-shape: vee;\\n}\\nedge.source-arrow_tee {\\n source-arrow-shape: tee;\\n}\\nedge.source-arrow_square {\\n source-arrow-shape: square;\\n}\\nedge.source-arrow_circle {\\n source-arrow-shape: circle;\\n}\\nedge.source-arrow_diamond {\\n source-arrow-shape: diamond;\\n}\\nedge.source-arrow_chevron {\\n source-arrow-shape: chevron;\\n}\\nedge.source-arrow_none {\\n source-arrow-shape: none;\\n}\\n\\n:parent {\\n padding: 10;\\n border-style: solid;\\n border-width: 2;\\n border-color: $color;\\n background-color: $background;\\n text-valign: top;\\n font-family: $fontFamilyMono;\\n label: data(label);\\n color: $color;\\n font-size: 19.5px;\\n text-margin-y: -5;\\n}\\n\\n:parent.color_white {\\n background-color: white;\\n}\\n:parent.color_grey {\\n background-color: $grey;\\n}\\n",
"cytoscapeStyle": "@import url(\\"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400&display=swap\\");\\n\\n$background: white;\\n$color: #000000;\\n$fontFamilySans: \\"IBM Plex Sans\\";\\n$blue: #3375e5;\\n$purple: #8b53e6;\\n$red: #e63946;\\n$orange: #f4a261;\\n$yellow: #f1fa3b;\\n$green: #72d9b3;\\n$grey: #8f8f8f;\\n$lightgrey: #3a3636;\\n\\nedge {\\ntext-wrap: wrap;\\n width: 1px;\\n curve-style: taxi;\\n taxi-direction: downward;\\n target-arrow-shape: triangle;\\n line-color: $lightgrey;\\n source-arrow-color: $lightgrey;\\n target-arrow-color: $lightgrey;\\n arrow-scale: 1.25;\\n label: data(label);\\n text-background-color: $background;\\n text-background-opacity: 1;\\n text-background-padding: 5;\\n font-family: $fontFamilySans;\\n font-size: 14;\\n source-distance-from-node: 0;\\n target-distance-from-node: 5;\\n}\\n\\n:childless[shapeWidth] {\\n width: data(shapeWidth);\\n}\\n\\n:childless[shapeHeight] {\\n height: data(shapeHeight);\\n}\\n\\n:childless[textMarginY] {\\n text-margin-y: data(textMarginY);\\n}\\n\\n:childless[textMarginX] {\\n text-margin-x: data(textMarginX);\\n}\\n\\n:childless {\\n label: data(label);\\n font-family: $fontFamilySans;\\n text-wrap: wrap;\\n text-max-width: 200;\\n width: 200;\\n height: label;\\n font-size: 16;\\n padding: 24;\\n text-valign: center;\\n text-halign: center;\\n line-height: 1.4;\\n shape: roundrectangle;\\n background-color: $grey;\\n color: white;\\n border-color: $grey;\\n border-width: 2;\\n border-style: solid;\\n font-weight: 400;\\n}\\n\\n/** Start */\\n:childless[in_degree < 1][out_degree > 0] {\\n shape: roundrectangle;\\n border-color: $color;\\n background-color: white;\\n color: $color;\\n}\\n\\n/** Branching */\\n:childless[in_degree > 0][in_degree < 2][out_degree > 1] {\\n shape: diamond;\\n background-color: $blue;\\n color: white;\\n height: 200;\\n text-margin-y: 2;\\n}\\n\\n/** Merging **/\\n:childless[in_degree > 1][out_degree > 0][out_degree < 2] {\\n}\\n\\n:childless.color_red {\\n background-color: $red;\\n color: white;\\n}\\n:childless.color_orange {\\n background-color: $orange;\\n color: white;\\n}\\n:childless.color_yellow {\\n background-color: $yellow;\\n}\\n:childless.color_green {\\n border-color: $green;\\n background-color: #f0fbf8;\\n color: $color;\\n}\\n:childless.color_blue {\\n border-color: $blue;\\n background-color: #d7e9fc;\\n color: $color;\\n}\\n:childless.color_purple {\\n border-color: $purple;\\n background-color: #e1d8f4;\\n color: $color;\\n}\\n:childless.color_grey {\\n background-color: $grey;\\n}\\n\\n:childless.shape_rectangle {\\n shape: rectangle;\\n}\\n:childless.shape_roundrectangle {\\n shape: roundrectangle;\\n}\\n:childless.shape_ellipse {\\n shape: ellipse;\\n}\\n:childless.shape_triangle {\\n shape: triangle;\\n}\\n:childless.shape_pentagon {\\n shape: pentagon;\\n}\\n:childless.shape_hexagon {\\n shape: hexagon;\\n}\\n:childless.shape_heptagon {\\n shape: heptagon;\\n}\\n:childless.shape_octagon {\\n shape: octagon;\\n}\\n:childless.shape_star {\\n shape: star;\\n}\\n:childless.shape_barrel {\\n shape: barrel;\\n}\\n:childless.shape_diamond {\\n shape: diamond;\\n}\\n:childless.shape_vee {\\n shape: vee;\\n}\\n:childless.shape_rhomboid {\\n shape: rhomboid;\\n}\\n:childless.shape_right-rhomboid {\\n shape: right-rhomboid;\\n}\\n:childless.shape_tag {\\n shape: tag;\\n}\\n:childless.shape_round-rectangle {\\n shape: round-rectangle;\\n}\\n:childless.shape_cut-rectangle {\\n shape: cut-rectangle;\\n}\\n:childless.shape_bottom-round-rectangle {\\n shape: bottom-round-rectangle;\\n}\\n:childless.shape_concave-hexagon {\\n shape: concave-hexagon;\\n}\\n:childless.border_none {\\n border-width: 0;\\n border-style: solid;\\n}\\n:childless.border_solid {\\n border-width: 2;\\n border-style: solid;\\n}\\n:childless.border_dashed {\\n border-width: 2;\\n border-style: dashed;\\n}\\n:childless.border_dotted {\\n border-width: 2;\\n border-style: dotted;\\n}\\n\\n:childless[w] {\\n width: data(w);\\n}\\n\\n:childless[h] {\\n height: data(h);\\n}\\n\\nedge.line_solid {\\n line-style: solid;\\n}\\nedge.line_dotted {\\n line-style: dotted;\\n}\\nedge.line_dashed {\\n line-style: dashed;\\n}\\nedge.target-arrow_triangle {\\n target-arrow-shape: triangle;\\n}\\nedge.target-arrow_triangle-tee {\\n target-arrow-shape: triangle-tee;\\n}\\nedge.target-arrow_circle-triangle {\\n target-arrow-shape: circle-triangle;\\n}\\nedge.target-arrow_triangle-cross {\\n target-arrow-shape: triangle-cross;\\n}\\nedge.target-arrow_triangle-backcurve {\\n target-arrow-shape: triangle-backcurve;\\n}\\nedge.target-arrow_vee {\\n target-arrow-shape: vee;\\n}\\nedge.target-arrow_tee {\\n target-arrow-shape: tee;\\n}\\nedge.target-arrow_square {\\n target-arrow-shape: square;\\n}\\nedge.target-arrow_circle {\\n target-arrow-shape: circle;\\n}\\nedge.target-arrow_diamond {\\n target-arrow-shape: diamond;\\n}\\nedge.target-arrow_chevron {\\n target-arrow-shape: chevron;\\n}\\nedge.target-arrow_none {\\n target-arrow-shape: none;\\n}\\nedge.source-arrow_triangle {\\n source-arrow-shape: triangle;\\n}\\nedge.source-arrow_triangle-tee {\\n source-arrow-shape: triangle-tee;\\n}\\nedge.source-arrow_circle-triangle {\\n source-arrow-shape: circle-triangle;\\n}\\nedge.source-arrow_triangle-cross {\\n source-arrow-shape: triangle-cross;\\n}\\nedge.source-arrow_triangle-backcurve {\\n source-arrow-shape: triangle-backcurve;\\n}\\nedge.source-arrow_vee {\\n source-arrow-shape: vee;\\n}\\nedge.source-arrow_tee {\\n source-arrow-shape: tee;\\n}\\nedge.source-arrow_square {\\n source-arrow-shape: square;\\n}\\nedge.source-arrow_circle {\\n source-arrow-shape: circle;\\n}\\nedge.source-arrow_diamond {\\n source-arrow-shape: diamond;\\n}\\nedge.source-arrow_chevron {\\n source-arrow-shape: chevron;\\n}\\nedge.source-arrow_none {\\n source-arrow-shape: none;\\n}\\n\\n:parent {\\n padding: 10;\\n border-style: solid;\\n border-width: 2;\\n border-color: $color;\\n background-color: $background;\\n text-valign: top;\\n font-family: $fontFamilyMono;\\n label: data(label);\\n color: $color;\\n font-size: 19.5px;\\n text-margin-y: -5;\\n}\\n\\n:parent.color_white {\\n background-color: white;\\n}\\n:parent.color_grey {\\n background-color: $grey;\\n}\\n",
"layout": {
"name": "dagre",
"spacingFactor": 1.01,
Expand Down
Loading

1 comment on commit a77d0d6

@vercel
Copy link

@vercel vercel bot commented on a77d0d6 Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.