archi-contribs / specialization-plugin

Plugin for Archi to specialize concepts (figure, icon...)
Other
29 stars 2 forks source link

Imbedding diagram title and what to have date/time last changed #15

Open peterprib opened 6 years ago

peterprib commented 6 years ago

In diagram using artefact as base for putting title into diagram. Would be great if I could include date time it was changed in an automated way. Same with mode as property Know one can do such for property but requires manual management. Plus be nice to be able to make some basic formatting such as text bold. Also property that give folder with folder depth.

herve91 commented 6 years ago

Unfortunately, the date time elements were changed is an information that Archi do not keep. So I won't be able to retrieve it :(

On the other hand, regarding folders, I suggest:

peterprib commented 6 years ago

Thanks,

How about adding timestamp to objects as useful audit information.

herve91 commented 6 years ago

What could be done is to act with the database plugin that could create or update some properties during the export process like creation and update date/time.

Then the specialization plugin could reference those properties.

But as Archi does not track this information, the specialization plugin cannot get it (i.e. the specialization plugin is not aware of the updates done on the model components so cannot retrieve the modification date).

Of course, you could also ask the Archi devs to manage those dates directly :)

peterprib commented 6 years ago

Could I suggest with ${folderpath} that the first level is dropped as known as option which is default. Plus as I want to use artifact for display the location of the view so needs a mechanism to allow such if folderpath based is object location (not view) which I suspect would be a best implementation as more flexible. Adding index including negative direction from end may be useful as I may want to use a level if I have structured levels.