> sublist_indices(edges(a),lambda([e], member(2, e)))-1; > -> [0,1,3]. > > > HTH, Andrej Ok, perfect.. I understand... and now, how can I color that polygon? And if I want to run a command that colors polygon [0,1,3] and [2,3,4] (vertex 0 in graph)? Thanks for help MR