Skip to content

Commit 39420aa

Browse files
committed
Refine comment text and MIT license url
1 parent 20daa20 commit 39420aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ This product includes code in the function applyCubicBezierStyles that was
286286
inspired by a public Codepen, which was available under a "MIT" license.
287287

288288
Copyright (c) 2020 by Guillaume (https://codepen.io/guillaumethomas/pen/xxbbBKO)
289-
MIT License http://www.opensource.org/licenses/mit-license.php
289+
MIT License http://www.opensource.org/licenses/mit-license
290290

291291
---
292292
This product includes code that is adapted from mapbox-gl-js, which is

x-pack/plugins/apm/public/components/app/ServiceMap/Cytoscape.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function getLayoutOptions(nodeHeight: number): cytoscape.LayoutOptions {
8080
* inspired by a public Codepen, which was available under a "MIT" license.
8181
*
8282
* Copyright (c) 2020 by Guillaume (https://codepen.io/guillaumethomas/pen/xxbbBKO)
83-
* MIT License http://www.opensource.org/licenses/mit-license.php
83+
* MIT License http://www.opensource.org/licenses/mit-license
8484
*/
8585
function applyCubicBezierStyles(edges: cytoscape.EdgeCollection) {
8686
edges.forEach((edge) => {
@@ -92,7 +92,7 @@ function applyCubicBezierStyles(edges: cytoscape.EdgeCollection) {
9292
const costheta = z === 0 ? 0 : x / z;
9393
const alpha = 0.25;
9494
// Two values for control-point-distances represent a pair symmetric quadratic
95-
// bezier curves joined to appear as a single cubic bezier curve:
95+
// bezier curves joined in the middle as a seamless cubic bezier curve:
9696
edge.style('control-point-distances', [
9797
-alpha * y * costheta,
9898
alpha * y * costheta,

0 commit comments

Comments
 (0)