seachel / treehehe

An interactive visualization of proof tree representations of mathematical proofs using D3 and MathJax.
0 stars 0 forks source link

Correct inference line width when one or zero children #30

Closed seachel closed 6 years ago

seachel commented 6 years ago

Parent issue

When there are zero children, the left and right bounds of the rule are not set correctly. Note that there must be a distinction between an empty set of children, meaning an axiom rule, and children is null, meaning the proposition is a premise of the goal.

When there is one child, the line should extend to the outermost bounds of either the parent or the child.