Recovering the Lie algebra from its extremal geometry