Book a Demo

Author Topic: Determine InitialNode  (Read 3051 times)

olacjusz

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Determine InitialNode
« on: December 16, 2006, 03:16:39 am »
Hello,

I have a problem with determine the InitialNode from an activity diagram. Can someone write me please what attribute determine type of the element, like Activity, ActivityInitial or ActivityFinal, thank you in advance, regards.

Alek

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Determine InitialNode
« Reply #1 on: December 17, 2006, 01:49:26 pm »
Quote
Hello,

I have a problem with determine the InitialNode from an activity diagram. Can someone write me please what attribute determine type of the element, like Activity, ActivityInitial or ActivityFinal, thank you in advance, regards.

Alek

You need to look at the EA.Element.Subtype value. An ActivityInitial will have Type="StateNode" and Subtype=100. This is explained in the help file under "Subtype" about half way down the page.

HTH
The Sparx Team
[email protected]