UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

[BULL-1947] Move nodes down when expanding one, add unexpanding

Closed Raj Manandhar requested to merge BULL-1947-5 into master
4 unresolved threads
1 file
+ 47
47
Compare changes
  • Side-by-side
  • Inline
@@ -47,6 +47,50 @@ import Build from "@/components/PartyBus/ServiceCatalog/Build.vue";
import * as joint from "jointjs";
import { g } from "jointjs";
// joint.shapes.standard.Link.define(
// "standard.Link2",
// {
// attrs: {
// line: {
// connection: true,
// stroke: "#333333",
// strokeWidth: 2,
// strokeLinejoin: "round",
// targetMarker: {
// type: "path",
// d: "M 10 -5 0 0 10 5 z",
// },
// },
// wrapper: {
// connection: true,
// strokeWidth: 10,
// strokeLinejoin: "round",
// },
// },
// },
// {
// markup: [
// {
// tagName: "path",
// selector: "wrapper",
// attributes: {
// fill: "none",
// cursor: "none",
// stroke: "transparent",
// },
// },
// {
// tagName: "path",
// selector: "line",
// attributes: {
// fill: "none",
// "pointer-events": "none",
// },
// },
// ],
// }
// );
export default {
components: {
UnitTest,
@@ -82,8 +126,8 @@ export default {
});
[
{ offset: 0, fill: "#c2d1d880" },
{ offset: 1, fill: "#afc4c880" },
{ offset: 0, fill: "#C1DFEC80" },
{ offset: 1, fill: "#86B4BD80" },
].forEach((backgroundInfo) => {
const background = new joint.shapes.standard.Rectangle();
background.position(backgroundInfo.offset * 1780, 0);
@@ -362,50 +406,6 @@ export default {
return orthogonal2Routing(linkView);
};
// joint.shapes.standard.Link.define(
// "standard.Link2",
// {
// attrs: {
// line: {
// connection: true,
// stroke: "#333333",
// strokeWidth: 2,
// strokeLinejoin: "round",
// targetMarker: {
// type: "path",
// d: "M 10 -5 0 0 10 5 z",
// },
// },
// wrapper: {
// connection: true,
// strokeWidth: 10,
// strokeLinejoin: "round",
// },
// },
// },
// {
// markup: [
// {
// tagName: "path",
// selector: "wrapper",
// attributes: {
// fill: "none",
// cursor: "none",
// stroke: "transparent",
// },
// },
// {
// tagName: "path",
// selector: "line",
// attributes: {
// fill: "none",
// "pointer-events": "none",
// },
// },
// ],
// }
// );
[
["Docker File Lint", "Build"],
["Find Unauthorized Job", "Build"],
@@ -713,7 +713,7 @@ $base: 30px;
top: 0;
height: 100%;
width: 50%;
background: $p1-light-green;
background: #b3a400;
z-index: -1;
}
Loading