Ok Tiago thanks.

My question is, given a source node how can I get all ancestors? I tried to use 
all_predecessors but I dunno what is dist_map and prep_map.

Question: Is possible to get all ancestors passing a node in graph-tool? 

Thanks.

> On 22 Feb 2022, at 11:00, Tiago de Paula Peixoto <ti...@skewed.de> wrote:
> 
> Am 22.02.22 um 14:53 schrieb RAFAEL SERAPILHA DURELLI:
>> I found the func all_predecessors, but I could not figured out how to use 
>> it.. since it is mandatory to pass diet_map and prep_map.
>> Can you please help me inhere :D
> 
> We cannot help with generic questions about how to use a function.
> 
> There is a documentation that explains how to use it, and I cannot read your 
> mind to determine what you did or did not understand from it.
> 
> We can only help with specific questions.
> 
> -- 
> Tiago de Paula Peixoto <ti...@skewed.de>
> _______________________________________________
> graph-tool mailing list -- graph-tool@skewed.de
> To unsubscribe send an email to graph-tool-le...@skewed.de


-- 
O conteúdo deste e-mail e anexos são restritos aos seus destinatários e de 
responsabilidade do remetente. O uso do e-mail deve estar de acordo com os 
regulamentos institucionais vigentes.
_______________________________________________
graph-tool mailing list -- graph-tool@skewed.de
To unsubscribe send an email to graph-tool-le...@skewed.de

Reply via email to