To start off the conversation...
It's interesting that there are only 20 triangles, and they are not distinct.
If my reasoning is correct there should be 24 distinct possible triangles:
(4 * 3 * 2) / 3 = 8 triangles with three different numbers (e.g. 012)
4 * 3 = 12 triangles with two different numbers (e.g. 011)
4 triangles with all same numbers (e.g. 000)
Those 20 triangles must have been chosen specifically for a reason.
I guess two obvious constraints, as bonanova mentioned, is that there must be 20 triangles and 45 dots.
However, I don't think they are the only constraints. Either way, the guarantee of a solution must not arise naturally but by design.
So I say we should look carefully at the triangles.
012 and 021 are duplicated thrice each.
123 and 132 are duplicated twice each.
112, 113, 221, 223, 331, 332, 013, 031, 023, and 032 are missing.