doc: better parameters inheritage hierarchy diagram, with caption