# Variable line widths in scatter3d?

**URL:** <https://community.plotly.com/t/variable-line-widths-in-scatter3d/22422>\
**Category:** plotly.js\
**Created:** [April 17, 2019, 8:27pm UTC](https://community.plotly.com/t/variable-line-widths-in-scatter3d/22422 "2019-04-17T20:27:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danmeek](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@danmeek](https://community.plotly.com/u/danmeek)\
**Post date:** [April 17, 2019, 8:27pm UTC](https://community.plotly.com/t/variable-line-widths-in-scatter3d/22422/1 "2019-04-17T20:27:14Z")

</div>

(First-time Plot.ly user so apologies if there is an obvious answer…)

I’m using scatter3d to map a social network graph. I can work out how to change the colour and size of the nodes. Is there any way to vary the colour, thickness and opacity of the individual lines between the nodes? That would let me show the weightings of the edges.

Thanks!

---

<div class="post-metadata">

**Author:** ![archmoj](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/archmoj/32/8388_2.png) [@archmoj](https://community.plotly.com/u/archmoj)\
**Post date:** [November 7, 2019, 10:24pm UTC](https://community.plotly.com/t/variable-line-widths-in-scatter3d/22422/2 "2019-11-07T22:24:06Z")

</div>

Thanks for using Plotly!  
Here is a [demo](https://codepen.io/MojtabaSamimi/pen/GRRdaYJ?editors=0010) for `marker.line.color` with/without transparency  
as well as `colorscale` options.
