I am having a hard time building a nice looking legend using VisLegend, here is the best I can do with my (large) dataset:
visLegend(useGroups = F,addNodes = Colors.df, position = "left", main = "State", ncol = 2, zoom = F, width = 0.18)
By the way, I have tried changing the type of shapes provided to visNetwork (as suggested in this thread) but this has no influence on the legend shapes).
Here is a snapshot of my network graph and as you can see I am using the "dot" shape type with text outside of the shape and the legend still has text inside:
Hence, isn't there an option to create a simpler legend with the texts outside of the shapes, something very basic like that ?
Dear visNetwork team,
I am having a hard time building a nice looking legend using VisLegend, here is the best I can do with my (large) dataset:![image](https://user-images.githubusercontent.com/52161904/201942237-99b00cd0-a185-4b8b-b5ae-b7fdff21f6b2.png)
visLegend(useGroups = F,addNodes = Colors.df, position = "left", main = "State", ncol = 2, zoom = F, width = 0.18)
By the way, I have tried changing the type of shapes provided to visNetwork (as suggested in this thread) but this has no influence on the legend shapes).
Here is a snapshot of my network graph and as you can see I am using the "dot" shape type with text outside of the shape and the legend still has text inside:![image](https://user-images.githubusercontent.com/52161904/201944320-b2e816b1-6d6a-4295-b4d4-385a16e94d41.png)
Hence, isn't there an option to create a simpler legend with the texts outside of the shapes, something very basic like that ?
Best wishes,
Corentin