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({
177
177
dflt : colorAttrs . defaultLine ,
178
178
arrayOk : true ,
179
179
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.'
181
182
] . join ( ' ' )
182
183
} ,
183
184
width : {
@@ -187,7 +188,8 @@ var attrs = module.exports = overrideAll({
187
188
dflt : 0 ,
188
189
arrayOk : true ,
189
190
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.'
191
193
] . join ( ' ' )
192
194
}
193
195
} ,
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ function linkPath() {
128
128
var curvature = 0.5 ;
129
129
function path ( d ) {
130
130
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)
132
132
} else {
133
133
var x0 = d . link . source . x1 ;
134
134
var x1 = d . link . target . x0 ;
You can’t perform that action at this time.
0 commit comments