'Scale the start- and end-point of the edge against the connected node size in the network plot using R

Thanks for your help in advance!

My question is, given a list of sets, how can I visualize the overlap of any of the two sets using the network plot as shown below?

An image to illustrate the question

Please feel free to generate any sets for demonstration. Or you can use the following simple sets.

set.seed(123456)
A <- sample(1:100, 60)
B <- sample(1:100, 50)
C <- sample(1:100, 75)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source