[graph-tool] Grouping and drawing
Tiago de Paula Peixoto
tiago at skewed.de
Wed Feb 7 14:16:10 CET 2018
On 13.01.2018 17:08, Mátyás Csongor wrote:
> Is there an example that uses multiple groups within the graph and draw it
> accordingly. I have multiple groups and I would like to draw the graph in a
> way that all vertices within each group to be close to each other. I could
> not achieve this with a problem that has a known solution, so I thought
> maybe it is not possible, or if it is, someone could help me in how I should
> try doing it.
> The test problem that I've chosen is to take all amino acids, organize them
> into groups according to their properties, and to get to this planar grouping:
> I would like some general help ideas, but if someone would like to join me
> in this small project, I can share what I've tried until now.
Take a look at the "groups" and "gamma" parameters in sfdp_layout(), as it
seems to address what you want.
Tiago de Paula Peixoto <tiago at skewed.de>
More information about the graph-tool