File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,8 @@ var attrs = module.exports = overrideAll({
177177 dflt : colorAttrs . defaultLine ,
178178 arrayOk : true ,
179179 description : [
180- 'Sets the color of the `line` around each `link`.'
180+ 'Sets the color of the `line` around each `link`.' ,
181+ 'Note that in the presence of circular links this attribute is ignored.'
181182 ] . join ( ' ' )
182183 } ,
183184 width : {
@@ -187,7 +188,8 @@ var attrs = module.exports = overrideAll({
187188 dflt : 0 ,
188189 arrayOk : true ,
189190 description : [
190- 'Sets the width (in px) of the `line` around each `link`.'
191+ 'Sets the width (in px) of the `line` around each `link`.' ,
192+ 'Note that in the presence of circular links this attribute is ignored.'
191193 ] . join ( ' ' )
192194 }
193195 } ,
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ function linkPath() {
128128 var curvature = 0.5 ;
129129 function path ( d ) {
130130 if ( d . circular ) {
131- return d . link . path ;
131+ return d . link . path ; // TODO: turn this into a closed path to support link.line.(width|color)
132132 } else {
133133 var x0 = d . link . source . x1 ;
134134 var x1 = d . link . target . x0 ;
You can’t perform that action at this time.
0 commit comments