You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
I'm using Vis network for my Typescript React project, and I'm having an issue with setting the color for edges. When I'm using the shorthand option like this:
edges: { color: '#0000ff' },
it will be ignored and inherit the color from the node border instead. Doing the longhand option works though:
edges: { color: { color: '#0000ff' } },
although this is too verbose in my opinion, having to set highlight color etc. individually as well. This issue goes for both global and local edge properties.
Just recently I switched from using react-vis-network (which uses vis version ^4.0.0 / 4.21.0) to directly using vis. This is when this issue started appearing, although react-vis-network doesn't alter any of the properties.
Is there anything known about this?
Tested with Google Chrome 74 on Windows 10. vis version is ^4.0.0 / 4.21.0.
Please tell me if there's any more code I need to provide. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using Vis network for my Typescript React project, and I'm having an issue with setting the color for edges. When I'm using the shorthand option like this:
edges: { color: '#0000ff' }
,it will be ignored and inherit the color from the node border instead. Doing the longhand option works though:
edges: { color: { color: '#0000ff' } }
,although this is too verbose in my opinion, having to set highlight color etc. individually as well. This issue goes for both global and local edge properties.
Just recently I switched from using
react-vis-network
(which usesvis
version^4.0.0
/4.21.0
) to directly usingvis
. This is when this issue started appearing, althoughreact-vis-network
doesn't alter any of the properties.Is there anything known about this?
Tested with Google Chrome 74 on Windows 10.
vis
version is^4.0.0
/4.21.0
.Please tell me if there's any more code I need to provide. Thanks in advance.
The text was updated successfully, but these errors were encountered: