Author Topic: Line Style when drawing BPMN 2.0  (Read 5263 times)

inf190tmo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Line Style when drawing BPMN 2.0
« on: January 16, 2017, 09:08:17 pm »
Hello,

I would like to change the defaulted Line Style "Orthogonal - Rounded" to "Orthogonal - Square".
Of course I can change it by every line that I draw  :-\ .... I know, but I want to set it "by default".
So, when I open EA in morning, my lines are "Orthogonal - Square".

I don't find the setting/properties to do so.
Take a look at the printscreen. It seam (to mee) that AE sets it default Line Style when starting up from somewhere...

I'm using EA13
thanks !!
« Last Edit: January 16, 2017, 09:25:19 pm by inf190tmo »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Line Style when drawing BPMN 2.0
« Reply #1 on: January 17, 2017, 10:46:51 am »
It will require changing the default MDG file.

If you are not prepared/able/allowed to do that, we have to leave it there.  If you can, then I can give you the directions.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

inf190tmo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Line Style when drawing BPMN 2.0
« Reply #2 on: January 18, 2017, 08:59:59 pm »
The IT-guys over here will change/modify/... the MDG file to make it work.

So yes, could we have the direstions ?
Thanks man !!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Line Style when drawing BPMN 2.0
« Reply #3 on: January 19, 2017, 10:46:19 am »
Since you will be modifying the distributed BPMN MDG file, make a copy for restoration purposes.

Find the relationship you are interested in changing.

Towards the end of the entry, you will find the
"AppliesTo" section.  Under the Apply subsection, look for the "_lineStyle" entry.  If there isn't one, add it as shown below, otherwise, edit the existing value.  The values for the _lineStyle will be found in the Help file.

Code: [Select]
<AppliesTo>
<Apply type="Association">
<Property name="_lineStyle" value="Direct"/>
</Apply>
</AppliesTo>

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Line Style when drawing BPMN 2.0
« Reply #4 on: January 19, 2017, 11:54:57 am »
Since you will be modifying the distributed BPMN MDG file, make a copy for restoration purposes.


And be aware that re-installing EA will blow away your changes, so keep a copy of your edited technology so you can restore your changes next time you upgrade EA. A text merging application like WinMerge will assist greatly.
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Line Style when drawing BPMN 2.0
« Reply #5 on: January 19, 2017, 06:12:11 pm »
Since you will be modifying the distributed BPMN MDG file, make a copy for restoration purposes.


And be aware that re-installing EA will blow away your changes, so keep a copy of your edited technology so you can restore your changes next time you upgrade EA. A text merging application like WinMerge will assist greatly.
Things that should go without saying, should always be said...  ;)
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

inf190tmo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Line Style when drawing BPMN 2.0
« Reply #6 on: January 19, 2017, 08:56:51 pm »
Mister Paolo.... IT WORKS !!  ;D

We changed  in the MDGfole "BPMN 2.0 Technology.xml"
the property <Property name="_lineStyle" value="orthogonalR"/>
to  <Property name="_lineStyle" value="orthogonalS"/>
And at the next start of EA... the Line styles where set to "Orthogonal Square" by default
Fantastic !!
Thanks Again  ;)