Building a Truncation Diagram (TD) has always been a challenge. Ephesia comes up with an efficient solution to automatically build flag-shaped TDs from data using a machine learning algorithm. In non-stationary situations, TDs are also automatically adapted to the local proportions, delivering more geologically realistic simulations.