almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

Struggling with chosen borderColor #4116

Open ghost opened 6 years ago

ghost commented 6 years ago

Ironic that I'm only struggling with the final touches. Just trying to get my borderColor to work with chosen.

I've tried a few different combinations/ variations of the below

--> in groups under color (where hover works well)

var options = {               
            groups: {
                     MyGroup: {
                          color: {
                              border: 'DARKSLATEGRAY',
                              hover: {
                                   border: '#20b2aa'
                              },
                              chosen: {
                                  border: '#20b2aa'

--> also tried putting chosen directly under MyGroup

--> in nodes:

nodes: {
             chosen: {     
                     border: '#20b2aa'