Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

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

Open
peterprib opened this issue May 21, 2018 · 4 comments
Open

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

peterprib opened this issue May 21, 2018 · 4 comments

Comments

@peterprib
Copy link

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
Copy link
Collaborator

herve91 commented May 21, 2018

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:

  • ${foldername} name of the folder that contains the element
  • ${folderpath} or ${folderpath:separator} full folder path (default separator being "/" but can be changed)
  • ${folderdepth} depth of the folder that contains the element

@peterprib
Copy link
Author

Thanks,

How about adding timestamp to objects as useful audit information.

@herve91
Copy link
Collaborator

herve91 commented May 21, 2018

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
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants