Such a question is whether it is possible to do something similar on python, given that the names are in a variable and connections are considered for example and not given arbitrarily. If so, please tell me where to look, what to work with? 
- 2Try NetworkX - MaxU
- oneRelated question: Creating Circular flow charts (circos) - jfs
- and yes - thanks for zaminusili answer, gentlemen. In it - two solutions. If you don’t like the standard library either - what’s better? just to write and not comment for what? elegantly so ... In English. - Vasyl Kolomiets
|
2 answers
yes easily - a bug. "Children's" module turtle . Only write everything with pens, if you want in Python ... Though you probably wanted a ready-made graphical library for visualizing graphs ? Then, except NetworkX, nothing comes to mind))
- I think it is not fundamentally important, the main thing is to make it look like, I just have a dataframe with a binary matrix in which the names of the columns just correspond to the names of the elements, and now I need to visualize it in a similar way. - ren
- then you have a chance to make an excellent library for yourself. Everything is drawn in "circles". Although I ask - follow the link in my answer in the word "graphs". )) - Vasyl Kolomiets
- oneWell thank you! We will understand - ren
- @ren: there are a lot of libraries on Python (100k +), there is no need to implement popular rendering options with pens. Try a search engine keywords: Chord Diagram python. It is often convenient to use Python to generate data in the input format for a third-party utility like graphviz (if twopi circo is right for you) instead of drawing the graph itself. - jfs
- @jfs - yes, yes. Only if the search from 100k + libraries is considered "free", and the understanding of the found libraries is instant ... oh yeah - and the result should be exactly right)) If, for example, everything should be exactly "in a circle", as I see in an example, then not fact ... - Vasyl Kolomiets
|
See the igraph library.
- @Jenssen, justify. - Xander
|
