As I understand it, it was common practice for a playwright to retell a well-known story with the details changed to suit the playwright's needs. A tidy way to avoid a lot of tedious exposition.

In Antigone, this leads to some significantly different endings:

In Sophocles' play, she is imprisoned and hangs herself, Creon has a change of heart too late, and Haemon commits suicide.

In Euripides' play, Dionysus intercedes, and everyone lives happily ever after.

In Hyginus' interpretation, Antigone is hidden away, and discovered years later, when she is finally executed by Haemon, in spite of intercession from Heracles.

So artistic license aside, is there a canonical ending to the myth?