In the demo https://npm.mipt.ru/demos/vf-dynamic/ edge lines are clipped by side. Which is clearly visible on screenshot below

This is likely because they have same coordinates. One way to solve problem is to push edges slightly to outside. But finding direction of outside requires knowledge of adjacent faces and likely quite a bit of introspection of three.js objects.
In the demo https://npm.mipt.ru/demos/vf-dynamic/ edge lines are clipped by side. Which is clearly visible on screenshot below
This is likely because they have same coordinates. One way to solve problem is to push edges slightly to outside. But finding direction of outside requires knowledge of adjacent faces and likely quite a bit of introspection of three.js objects.