# Orient a Knot Diagram

I need some help to orient a diagram knot For example if I have the diagram KnotData["Trefoil,"KnotDiagram"]

How can I orient the diagram?

I have tried to find a command in Wolfram that assigns an orientation to the knot, but I still can't find it, the closest I have found is the DirectedEdge command.

Does anyone know how I could orient the diagram of a knot or can you give me an idea on which commands to use?

• do you get what you need using KnotData["Trefoil", "KnotDiagram"] /. Line -> Arrow and/or KnotData["Trefoil", "KnotDiagram"] /. Line -> (Arrow@*Reverse)? – kglr Mar 22 '20 at 20:32

You can use ReplaceAll to replace Lines with Arrows:
KnotData["Trefoil", "KnotDiagram"] /. Line -> Arrow

KnotData["Trefoil", "KnotDiagram"] /. Line -> (Arrow @* Reverse)