[Feature] Add the expression for the diagram attributes - #8682

I break the python API should be notified somewhere ?

I change the diagram verifications image, I think that the previous one is wrong, she indicate that some plane hasn't any Pilot ...

All comments are welcome :-)