Book a Demo

Author Topic: Show activity numbering in diagram?  (Read 7633 times)

Mahalo

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Show activity numbering in diagram?
« on: April 24, 2018, 05:44:29 pm »
Dear all,

I'm looking for an easy option to display the numbering of activities within my process diagram.
This should be done retrospectively (approx. 700 existing activities need to be numbered).

I've installed standard EA, no add-ons etc.


Thanks and regards  :)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Show activity numbering in diagram?
« Reply #1 on: April 24, 2018, 06:29:40 pm »
The package context has a menu Advanced/Apply Auto Numbering. That should probably do what you want. You first need to setup auto numbering in the settings.

q.

Mahalo

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Show activity numbering in diagram?
« Reply #2 on: April 24, 2018, 07:20:36 pm »
Could you please provide details/a screenshot of the "package settings"?
Could not find this at first try.

Thanks!   ;)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Mahalo

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
now how to number the activities by their sequence?
« Reply #4 on: April 24, 2018, 10:38:19 pm »
Now got it, thank you.

However I'm wondering if there is an option to number the activities by their sequence in each diagram?
Right now the numbers appear in sequence of their creation or some other logic I can't follow   ???

Example:

Activity 1 -> Activity 2 -> Activity 3
is auto numbered as follows
0020 --> 0058 --> 0079    (while the identifiers in between appear in another diagram).


Thanks!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: now how to number the activities by their sequence?
« Reply #5 on: April 24, 2018, 10:50:41 pm »
Now got it, thank you.

However I'm wondering if there is an option to number the activities by their sequence in each diagram?
Right now the numbers appear in sequence of their creation or some other logic I can't follow   ???

Example:

Activity 1 -> Activity 2 -> Activity 3
is auto numbered as follows
0020 --> 0058 --> 0079    (while the identifiers in between appear in another diagram).


I don't think this is even theoretically possible.
What if you have
- Activity1 -> Activity2
- Activity1 -> Activity3
- Activity3 -> Activity4
- Activity4 -> Activity1

Which order would they need to be in?

If you mean order them by "location" on the diagram, then what happens if you have two diagrams where the elements appear in different places?

You can of course write your own script that applies the sequence you need.

Geert

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Show activity numbering in diagram?
« Reply #6 on: April 24, 2018, 11:23:57 pm »
Hello,

As Geert explains, numbering is tricky in activity diagrams.

If numbering of things is a key point you want to communicate, you might want to consider using a communication diagram in addition to your activity diagrams.


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Show activity numbering in diagram?
« Reply #7 on: April 25, 2018, 02:08:28 am »
The auto-numbering seems tp respect the order in the package. So if you sort them first you should get the results you expect.

q.