Book a Demo

Author Topic: Color coding and instance issue  (Read 3098 times)

msemwall

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Color coding and instance issue
« on: October 31, 2014, 02:37:44 am »
I am using a CSV file to load our application catalogue as components into EA. This is done using macro and working fine. I needed to color code the systems based on deprecated, tactical and strategic system. I created these status in EA and edited my CSV to reflect this.
When I use this component on the diagram using link it is fine and I get color but when I use instance I lose my status and hence do not see colour. Why does EA retain the status of the component for link and not for instance? I do not want the link as I do not require any association from original system but I would like to inherit status into Instance of the component. Is this a bug ?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Color coding and instance issue
« Reply #1 on: October 31, 2014, 09:17:42 am »
What I did is using a MDG that holds a <<deprecated>> stereotype. Applying that to any element will simply color it red.

Regarding instance/classifier: Those are different and independent of each other, just that the classifier is logically bound to the instance (or vice versa) in a way that the instance holds a property "classifier".

q.
« Last Edit: October 31, 2014, 09:20:00 am by qwerty »

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Color coding and instance issue
« Reply #2 on: October 31, 2014, 01:12:05 pm »
I use some jscript to colour code for heatmapping. Sorry can't fit all the code in this space
« Last Edit: November 05, 2014, 07:05:09 pm by phenzell »
Happy to help
:)