Fix class diagram

This commit is contained in:
Tyler Long
2018-03-06 18:08:50 +08:00
parent eaa572aafe
commit da47ba11f8

View File

@@ -139,14 +139,14 @@ const drawEdge = function (elem, path, relation) {
const lineData = path.points const lineData = path.points
// This is the accessor function we talked about above // This is the accessor function we talked about above
const lineFunction = d3.svg.line() const lineFunction = d3.line()
.x(function (d) { .x(function (d) {
return d.x return d.x
}) })
.y(function (d) { .y(function (d) {
return d.y return d.y
}) })
.interpolate('basis') .curve(d3.curveBasis)
const svgPath = elem.append('path') const svgPath = elem.append('path')
.attr('d', lineFunction(lineData)) .attr('d', lineFunction(lineData))