Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Sunshine

Pages: [1] 2 3 ... 44
General Board / Re: More 'natural' curved connectors ?
« on: September 22, 2018, 07:14:58 am »
Not seen anything in the ArchiMate standards over the years to address the topic of curved lines. I've read pretty much all the literature out there on ArchiMate too. The ArchiMate examples in the standards past, usually show straight direct or orthogonal lines. However in Marc Lankhorst's book called "enterprise architect at work" one of the examples there are some curved lines, figure 1.1 Communicating about architecture.
Over the years I've occasionally informalised ArchiMate diagrams for the Management/Executive team and represented the elements with graphics and used beizer lines in Sparx EA. I call this Markitecture as its more aimed at marketing and selling the idea to management as the tend to go all cross-eyed if they see ArchiMate shapes.
So whilst not officially addressed I don't see why not use curved lines if its right for your situation.
You could post a question to Marc Lankhorst on the Linkedin ArchiMate group.

Think you've solved it by selecting ArchiMate3::ArchiMate_ApplicationComponent

Bugs and Issues / Re: EA repository performance on Oracle db
« on: September 18, 2018, 10:32:34 am »
Concur with all the previous comments regarding Oracle DB. I've been in 3 organisations with Oracle and 2 with MS SQL for the Database in last 10 years. Each time with Oracle we hit performance issues. After tweaking Oracle for months with no real benefit we moved to MS SQL and it immediately fixed those problems.
Perhaps there is an Oracle DBA out there who can make it perform well with Sparx EA but I've not come across them yet.

General Board / Re: Custom element label in EA with ArchiMate
« on: September 12, 2018, 07:01:12 pm »
Try this shape script as it draws the ArchiMate Application Component and will do what you appear to want.

Code: [Select]
shape main


shape port

shape name
v_align ="bottom";

shape packagename
v_align ="center";
println("#packagename#"); // Assume the package is domain then could use package name

shape stereotype
v_align ="top";


decoration component


The quick way to get the result you are looking for is to create a stereotype in your model called "ApplicationComponent" which extends UML component.

You can create stereotypes via Ribbon Configure>UML Types
Stereotype Name:ApplicationComponent
Base Class: Component
Override Appearance: Shape Script radio button
Click Edit button and paste the script
Click OK button
Click Save button
Click Close button

Once that done create a ArchiMate V3 diagram then drag a Archimate Component on to it and change the stereotype from "ArchiMate_ApplicationComponent" to "ApplicationComponent"

Hope you can follow those instructions
If you find that helpful then a helpful vote would be appreciated.

General Board / Re: Multiple Models in one SQL Server database
« on: September 12, 2018, 05:40:21 pm »
You can put all the 100 eap file models into one SQL repository. You just need to figure out how you want to structure it and that really depends on what you have in your eap files. If there is one for each project and the projects can be grouped into portfolios and programmes then it could look something like this
-Portfolio A (Root)
   - Programme A (View)
      + Project A (Package)
      + Project B (Package)
      + Project C (Package)
   -Programme B (View)
      + Project D (Package)
      + Project E (Package)
      + Project F (Package)
-Portfolio B (Root)

You can use XMI import/Export to create an XMI file from each eap file then import each one into the SQL central repository as structured above.
Hope that provides some food for thought.

diagram properties | Connector | Connector Notation

I don't see this option in "Diagram Properties."  I am using R14.
Right click on diagram background
diagram properties dialog| Connector | Connector Notation> Information Engineering
Or just create a data modelling diagram in the first place and its already set.

My data modeler refuses to use Sparx due to the way relationships are represented. He wants crows feet. He downloaded Oracle data modeler and is happy.
Doesn't make me feel good about the $2K we spent on Sparx licenses.
Don't worry data modellers are like that. They like to stick to notations and tools they know.
On the plus side Sparx EA can model a whole lot more from motivation models, business architect, business processes, business rules and data models as well as UML so you can design and develop lots more that just data model.

I've had this problem of showing several instances of the same archimate element on one diagram.
Originally I created this script to create multiple diagram elements pointing to the same element.
Code: [Select]
option explicit
'!INC Local Scripts.EAConstants-VBScript
' Script Name: Add Element to Diagram
' Purpose: This adds the currently selected element to the currently visible diagram
' Date: 11/08/2010
sub main
       Dim currentElement as EA.Element
       Set currentElement = Repository.GetTreeSelectedObject
       Dim currentDiagram as EA.Diagram
       Set currentDiagram = Repository.GetCurrentDiagram
       Dim diagramID
       if ( currentDiagram is Nothing ) then
              Session.Output("No Current Diagram Selected")
              Session.Output("Adding " & currentElement.Name & " to " & currentDiagram.Name)
              diagramID = currentDiagram.DiagramID
              Dim currentDiagramObject as EA.DiagramObject
              set currentDiagramObject = currentDiagram.DiagramObjects.AddNew("l=10;r=130;t=10;b=82", "")
              currentDiagramObject.ElementID = currentElement.ElementID
       end if
end sub
Initially that worked but after a few Sparx EA versions later it didn't work so well.
So now I have resorted to creating an instance of the ArchiMate element similar to a UML instance of a class. I had to create stereotypes with shapescript for the instance so it looked like the ArchiMate element. I put all the instances of the ArchiMate element under the original in the project explorer. Seems to work but kind of a hack.

Mixing Archimate and UML IN THE SAME MODEL is not a good idea IMHO.  Each has its place, but their metamodels don't play nice together, so.... good luck???

Well we use both ArchiMate, UML and BPMN together in harmony in the same model for different levels of abstraction required in doing both Enterprise Architecture and Solution Architecture. There are a few papers on using these three notations together and its not rocket science.

General Board / Re: Diagram alignment helper lines
« on: September 07, 2018, 06:49:03 am »
Yes, they are blue, I somehow remembered them being red.

Thanks KP, that worked. I would have never found that option by myself.

Me neither!
Me neither ???

Perhaps if you could share the full shape script we might be able to help.
Also if you could share what version of Sparx EA you are using that may help too.
If you right click on the text you get a context menu for text alignment and you can make it left, center or right justified.

XMI export and Import would be the way I'd do it as described by Geert.

General Board / Re: Code generation to multiple langages
« on: August 28, 2018, 06:24:39 am »
Actually, our current baseline is a C# datamodel with no UML to start with.
This is why I initially did initialize the PIM from the C# code base.

At some point in time, we will do a PIM-first developpment and generate the C# (and other langages) from a PIM.
In that case you should do C# to PIM transformation. Then you have a path for creating the other PSM.

You can create a stereotype and associate a shapescript with that stereotype. The shape script can create custom compartments. See for examples
and page 164 of the MDG technologies guide for more details

General Board / Re: Code generation to multiple langages
« on: August 27, 2018, 06:57:00 pm »
The way model driven approach is intended to work is you have one platform independent model (PIM) from which you can transform to multiple platform specific models (PSM) and from those models generate code. The platform Specific Models are technology specific such as Java, C#, XML, DDL

For example with one PIM you would transform to several PSMs and then from those generate code.
PIM-> PSM (C#)-> C# code files
PIM-> PSM (Java) -> Java code files
PIM-> PSM (C++) -> C++ File
PIM-> PSM (DDL) -> DDL File to create a DB schema.

The language for all the elements in the PSM should be set in the PIM -> PSM transformation.

Sounds like you are trying to start with a data model then generate several code files which isn't the correct way. If your trying to change the language then your probably not doing it correctly.

There are plenty of books out there for you to read on the topic of Model Driven Development and Model Driven Architecture.

Hope that helps.

Bugs and Issues / Re: Diagram element Align keyboard shortcut don't work
« on: August 22, 2018, 11:00:10 am »
We've had a lot of fun when people leave their machines unlocked by software rotating one monitor, physically rotating the other, and changing their mouse to left handed.
That sounds like a good one. Must try it.
We send out an email inviting everyone to free drinks down at the local pub when they leave their computer unlocked. But that's getting old now :) 

Pages: [1] 2 3 ... 44