cycle - How can I filter cycles based on link weights?