probability-tree:0.1.2 - #5653
Conversation
|
|
||
| ```typ | ||
| #proba-tree(data: ( | ||
| [$Omega$], |
There was a problem hiding this comment.
For info, just $Omega$ (without the square braces around) should work too. No need to change it for your package to be published, but I thought I would let you know, I feel like it can make the code easier to read.
| @@ -0,0 +1,12 @@ | |||
| # typst.toml | |||
| [package] | |||
| name = "probability-tree" | |||
There was a problem hiding this comment.
I'm not convinced that this is not a very descriptive (if not canonical) name for that kind of package. I immediately pictured that kind of tree when I saw the name. Can you pick another one please? You have the opportunity to make a pun with probabilitree for example :) Or anything else that sounds good to you really, as long as it is not super descriptive. Feel free to ask beforehand if you are unsure about a potential new name.
There was a problem hiding this comment.
Ok, let's go for probabilitree : it's ok for me.
One question : should i make another PR after changing the name ?
Between time I made a new version 0.13 with a "short" version to simplify the wrinting of the tree as proposed by a member.
What do you think : new PR with new name and new versiojn at the same time ?
There was a problem hiding this comment.
Not sure if it is worth committing that file. Unless there is a good reason to do it, can you remove it please?
I am submitting
Description:
Provides a Typst module for drawing n×p probability trees that grow left-to-right, built on top of CeTZ. It supports per-node and per-probability styling, multiple label placements (above, below, on, hybrid, sloped), exact node positions for custom overlays, and clear error handling. Useful for teachers, students, and anyone needing to create probability tree diagrams.
I have read and followed the submission guidelines and, in particular, I
"probability-tree" is a hyphenated compound of two generic words. It is not the most obvious or canonical name because there is no established name for this specific kind of diagram in Typst; the hyphenated form creates a precise identifier that is not a generic term. The package targets a specific niche (n×p probability trees growing left-to-right), which distinguishes it from a generic tree-drawing library.
typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcludePDFs or README images, if any, but not the LICENSE