Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ishubin committed Jan 23, 2025
1 parent 130bee0 commit c074274
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions assets/templates/diagrams/src/sankey.sch
Original file line number Diff line number Diff line change
Expand Up @@ -299,17 +299,6 @@ func buildSingleConnectorItem(connector, srcNode, dstNode) {
local dx = max(0.001, maxX - minX)
local dy = max(0.001, maxY - minY)

// local rawPoints = List(
// Vector(xs, ys1),
// Vector(xd, yd1),
// Vector(xd, yd2),
// Vector(xs, ys2),
// )

// local points = rawPoints.map(p => {
// PathPoint('L', 100 * (p.x - minX) / dx, 100 * (p.y - minY) / dy)
// })

local points = List(
PathPoint('B', xs, ys1, 0, (ys2 - ys1) / 3, (xd - xs) / 3, 0),
PathPoint('B', xd, yd1, (xs - xd) / 3, 0, 0, (yd2 - yd1) / 3),
Expand Down

0 comments on commit c074274

Please sign in to comment.