Color-Graph
Color-Graph copied to clipboard
undirected weighted graph
Hi, I am interested in your code, I find it very interesting, I tried to use your code to build an undirected weighted graph, but it didn't work well, can you give me some help? I use colorgraph.js to generate a color palette, and an adjacency matrix describing the association between colors, and then use these to build an undirected weighted graph, where the nodes represent the colors and the size of the nodes represent the color frequencies, and then I don't know how the weights of the edges between two nodes should be determined. If you can give me some hints, I would appreciate it.