Pointless Machine

Paste a tree description and press "Validate & Draw". Drag vertices to adjust layout.

Assumes a tree: exactly n-1 edges. Vertices are 1..n, with n in 0..20.
Examples (click to load, validate, and draw):