diff options
author | Dan Timoney <dtimoney@att.com> | 2019-02-19 15:38:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-19 15:38:32 +0000 |
commit | 6bf2a5e724b0139de9738aad4055fa86518abb38 (patch) | |
tree | 0bdc94b2349add23cd4d412b83cbea8532af9943 /cds-ui/client/src/app/feature-modules/blueprint/modify-template | |
parent | 93bbe97a028bd5aa43f4e09a7414498497baa3f0 (diff) | |
parent | d115bbd6d6e19418049ca7f0587e2a47cbe32773 (diff) |
Merge "Designer component changes"
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/modify-template/designer/designer.component.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/designer/designer.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/designer/designer.component.ts index 5e86a7eb7..b332f8fe4 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/designer/designer.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/designer/designer.component.ts @@ -112,21 +112,21 @@ export class DesignerComponent implements OnInit { d.x = xbyMath; d.y = ybyMath; - firstg.append('rect') - .attr('x', 95) - .attr('y', 20) - // .attr('r', 10) + firstg.append('circle') + .attr('cx', 97) + .attr('cy', 20) + .attr('r', 5) .attr('width', 10) .attr('height', 10) .attr('fill', 'orange') if(d.requirementsArray) { d.requirementsArray.forEach(requirement =>{ - firstg.append('rect') + firstg.append('circle') .attr('id', d.name+requirement.name) - .attr('x', 95) - .attr('y', 60) - // .attr('r', 10) + .attr('cx', 97) + .attr('cy', 60) + .attr('r', 5) .attr('width', 10) .attr('height', 10) .attr('fill', 'blue') @@ -137,16 +137,16 @@ export class DesignerComponent implements OnInit { if(d.capabilitiesArray) { d.capabilitiesArray.forEach(capability =>{ - firstg.append('rect') + firstg.append('circle') .attr('id', d.name+capability.name) - .attr('x', 95) - .attr('y', 40) - // .attr('r', 10) + .attr('cx', 97) + .attr('cy', 40) + .attr('r', 5) .attr('width', 10) .attr('height', 10) .attr('fill', 'green'); - capability.x = xbyMath + 95; - capability.y = ybyMath + 60; + capability.x = xbyMath + 97; + capability.y = ybyMath + 40; }); } @@ -237,7 +237,7 @@ export class DesignerComponent implements OnInit { .attr('x2', link.targetX) .attr('y2', link.targetY) .attr('stroke','gray') - .attr('stroke-width', 5); + .attr('stroke-width', 2); }); } |