It seems like removing duplicates is not really necessary because the only time we read from the list is to check whether it contains particular indices. I'd suggest not calling dedup at all
Not really useful since we're only checking if an index is in the list later on (line 431/434)
start property
This breaks right-aligned labels as can be seen in example 2. This is probably due to the way label positions are computed.
The problem is that the package was initially a simple port of a…
schema.render
The else case allows rescaling the diagram to a fixed width. I included it here so that users wouldn't have to implement it in their document if they needed a particular diagram to fit in the…
I'll probably release one pretty soon after checking that everything still works with Typst 0.14.0
First of all, thank you for your feedback 👍 It does seems like the start offset messes up dependencies
Regarding your example, how should the horizontal arrow be drawn, since both the value…