I’m trying to create a presentation about Apache Cassandra and draw what they call a ring which shows which nodes store which ranges of partition key.
I wanted to express this ranges as colour ranges.
After that I wanted to show how replication factor makes node to store more ranges by drawing overlapping rainbows with shifted colours.
But so far I’ve only managed to draw two rings without overlap.
I would also like to automate this to replication factor of more than three and any number of nodes (I’ve struggled with
\foreach, but the node labels were shifted by x and y axis and out of sync with circles).
I’m a novice as far as tikz and latex, maybe I should just drop this idea, because all this custom shading solutions I’ve googled seem very complex…
I would appreciate help. Solution should be preferably as simple as possible.
\tikz \shade[shading=color wheel] [even odd rule] (0,2) circle [radius=2.4] (0,2) circle [radius=2.2] (0,2) circle [radius=2.0] (0,2) circle [radius=1.8];