Could you attach a screenshot / mockup to your post to provide additional context? It is not clear to me whether you’d want to show the documentation in an extra panel, on the diagram or wherever.
i’m trying to add new elements to documentation and i want that to be display it in the task element attributes like that <task id="task_f692e8fb-53fd-4907-894b-12c3a4300ab8" name="user has logged on successfully" documentation="{type: 'test'}">, here is my code