You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really nice to have a way to specify where (with regard to a node) an arrow should point at.
Sample Code:
#diagram({
node((0,0), [hi])
edge(from: "north", to: "south-west") // coming from the north of the previous node and pointing to the southwest of the destination node.
node((3, 3), [hi])
})
The text was updated successfully, but these errors were encountered:
Does something like the following do what you mean?
#import"@preview/fletcher:0.4.3": diagram, node, edge#diagram({
node((0,0), [start])
edge("n,e,sssss,e,ne") // line goes [n]orth from previous node, then east, south 5 units, east, then north-east into the next node
node((3,3), [end])
})
You have to describe the exact path yourself, though.
It would be really nice to have a way to specify where (with regard to a node) an arrow should point at.
Sample Code:
The text was updated successfully, but these errors were encountered: