Skip to content

Commit

Permalink
#1394 Reverse change to common-canvas scss (#1395)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlyn authored Mar 9, 2023
1 parent 51df77c commit ab26e20
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -906,10 +906,6 @@ g.bkg-col-cyan-50 {
stroke-width: 1;
stroke-dasharray: 0;
}
.d3-link-decorations-group g rect {
stroke: transparent;
stroke-width: 0px;
}

/* 'object link' is the historical name for an association link */
/* This styles is used for association links on a regular data flow canvas */
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ export default class ReadOnlyCanvas extends React.Component {
getDecorationsArray(linkLabel) {
const decs = [
{ id: "dec-0", position: "source", path: "M 0 -5 A 5 5 0 1 1 0 5 A 5 5 0 1 1 0 -5", class_name: "det-link-dot", temporary: true },
{ id: "dec-1", position: "source", image: "images/up-triangle.svg", class_name: "det-tri",
distance: 40, x_pos: -16, y_pos: -16, width: 36, height: 36, outline: true, tooltip: "Up Triangle", temporary: true },
{ id: "dec-2", position: "target", image: "images/down-triangle.svg", class_name: "det-tri",
distance: -40, x_pos: -16, y_pos: -16, width: 36, height: 36, outline: true, tooltip: "Down Triangle", temporary: true },
{ id: "dec-1", position: "source", image: "images/custom-canvases/stages/decorations/tri-up.svg", class_name: "det-tri",
distance: 40, x_pos: -7, y_pos: -7, width: 14, height: 14, outline: true, tooltip: "Up Triangle", temporary: true },
{ id: "dec-2", position: "target", image: "images/custom-canvases/stages/decorations/tri-down.svg", class_name: "det-tri",
distance: -40, x_pos: -7, y_pos: -7, width: 14, height: 14, outline: true, tooltip: "Down Triangle", temporary: true },
{ id: "dec-3", position: "middle", path: "M -25 -20 L -25 20 25 20 25 -20 Z", class_name: "det-link-label-background", temporary: true },
{ id: "dec-4", position: "middle", label: linkLabel, x_pos: -16, y_pos: -10, width: 30, height: 25, temporary: true }
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ export default class DetachedCanvas extends React.Component {
getDecorationsArray(linkLabel) {
const decs = [
{ id: "dec-0", position: "source", path: "M 0 -5 A 5 5 0 1 1 0 5 A 5 5 0 1 1 0 -5", class_name: "det-link-dot", temporary: true },
{ id: "dec-1", position: "source", image: "images/up-triangle.svg", class_name: "det-tri",
distance: 40, x_pos: -16, y_pos: -16, width: 36, height: 36, outline: true, tooltip: "Up Triangle", temporary: true },
{ id: "dec-2", position: "target", image: "images/down-triangle.svg", class_name: "det-tri",
distance: -40, x_pos: -16, y_pos: -16, width: 36, height: 36, outline: true, tooltip: "Down Triangle", temporary: true },
{ id: "dec-1", position: "source", image: "images/custom-canvases/stages/decorations/tri-up.svg", class_name: "det-tri",
distance: 40, x_pos: -7, y_pos: -7, width: 14, height: 14, outline: true, tooltip: "Up Triangle", temporary: true },
{ id: "dec-2", position: "target", image: "images/custom-canvases/stages/decorations/tri-down.svg", class_name: "det-tri",
distance: -40, x_pos: -7, y_pos: -7, width: 14, height: 14, outline: true, tooltip: "Down Triangle", temporary: true },
{ id: "dec-3", position: "middle", path: "M -25 -20 L -25 20 25 20 25 -20 Z", class_name: "det-link-label-background", temporary: true },
{ id: "link-label", position: "middle", label: linkLabel, label_editable: true, label_allow_return_key: "save",
x_pos: -16, y_pos: -10, width: 30, height: 25, temporary: true }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ export default class DetachedCanvas extends React.Component {
getDecorationsArray(linkLabel) {
const decs = [
{ id: "dec-0", position: "source", path: "M 0 -5 A 5 5 0 1 1 0 5 A 5 5 0 1 1 0 -5", class_name: "det-link-dot", temporary: true },
{ id: "dec-1", position: "source", image: "images/up-triangle.svg", class_name: "det-tri",
distance: 40, x_pos: -16, y_pos: -16, width: 36, height: 36, outline: true, tooltip: "Up Triangle", temporary: true },
{ id: "dec-2", position: "target", image: "images/down-triangle.svg", class_name: "det-tri",
distance: -40, x_pos: -16, y_pos: -16, width: 36, height: 36, outline: true, tooltip: "Down Triangle", temporary: true },
{ id: "dec-1", position: "source", image: "images/custom-canvases/stages/decorations/tri-up.svg", class_name: "det-tri",
distance: 40, x_pos: -7, y_pos: -7, width: 14, height: 14, outline: true, tooltip: "Up Triangle", temporary: true },
{ id: "dec-2", position: "target", image: "images/custom-canvases/stages/decorations/tri-down.svg", class_name: "det-tri",
distance: -40, x_pos: -7, y_pos: -7, width: 14, height: 14, outline: true, tooltip: "Down Triangle", temporary: true },
{ id: "dec-3", position: "middle", path: "M -25 -20 L -25 20 25 20 25 -20 Z", class_name: "det-link-label-background", temporary: true },
{ id: "link-label", position: "middle", label: linkLabel, label_editable: true, label_allow_return_key: "save",
x_pos: -16, y_pos: -10, width: 30, height: 25, temporary: true }
Expand Down

0 comments on commit ab26e20

Please sign in to comment.