Going back to default settings in RCy3

30 views Asked by At

I wonder how do you get to default settings with RCy3, after using functions such as, for instance:

setNodeColorMapping()
setEdgeLineWidthMapping()

Do I need to name them, then put them under mappings in a visual style, and finally remove the visual style if not happy about it?

Thanks!

David R

2

There are 2 answers

1
Scooter Morris On BEST ANSWER

I poked around for a bit, but I wasn't able to figure out a way to clear the visual mapping either. I'm assuming you would just overwrite it, or switch to a different visual style...

0
AlexanderPico On

The recommended practice is to not edit the "Default" style, but rather copy it (or start from scratch) and edit a custom style (using "style.name"). Then you can switch back to "Default" or any number of styles you create at a later point.