diff --git a/NOTICE.txt b/NOTICE.txt index e1f2d8b498215..d689abf4c4e05 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -286,7 +286,7 @@ This product includes code in the function applyCubicBezierStyles that was inspired by a public Codepen, which was available under a "MIT" license. Copyright (c) 2020 by Guillaume (https://codepen.io/guillaumethomas/pen/xxbbBKO) -MIT License http://www.opensource.org/licenses/mit-license.php +MIT License http://www.opensource.org/licenses/mit-license --- This product includes code that is adapted from mapbox-gl-js, which is diff --git a/x-pack/plugins/apm/public/components/app/ServiceMap/Cytoscape.tsx b/x-pack/plugins/apm/public/components/app/ServiceMap/Cytoscape.tsx index 76ff046882f28..0b00c8a8bf093 100644 --- a/x-pack/plugins/apm/public/components/app/ServiceMap/Cytoscape.tsx +++ b/x-pack/plugins/apm/public/components/app/ServiceMap/Cytoscape.tsx @@ -80,7 +80,7 @@ function getLayoutOptions(nodeHeight: number): cytoscape.LayoutOptions { * inspired by a public Codepen, which was available under a "MIT" license. * * Copyright (c) 2020 by Guillaume (https://codepen.io/guillaumethomas/pen/xxbbBKO) - * MIT License http://www.opensource.org/licenses/mit-license.php + * MIT License http://www.opensource.org/licenses/mit-license */ function applyCubicBezierStyles(edges: cytoscape.EdgeCollection) { edges.forEach((edge) => { @@ -92,7 +92,7 @@ function applyCubicBezierStyles(edges: cytoscape.EdgeCollection) { const costheta = z === 0 ? 0 : x / z; const alpha = 0.25; // Two values for control-point-distances represent a pair symmetric quadratic - // bezier curves joined to appear as a single cubic bezier curve: + // bezier curves joined in the middle as a seamless cubic bezier curve: edge.style('control-point-distances', [ -alpha * y * costheta, alpha * y * costheta,