Book a Demo

Author Topic: database node in a deployment diagram  (Read 3576 times)

sergeysps

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
database node in a deployment diagram
« on: January 26, 2012, 11:14:53 pm »
Hej,

i was wondering whether there exists this cylinder-shaped database node in EA? I was experementing with different stereotypes for the element "node" but couldnt find anything. Apparently there is a possibility to define your own shapes using the shape editor but it looks quite time consuming, since there is no predefined cylinder shape.
Did anyone had already the same problem and solved it?

best regards

Sergey

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: database node in a deployment diagram
« Reply #1 on: January 27, 2012, 09:21:49 am »
Here's a shape script that will draw a cylinder:
Code: [Select]
shape main
{
    startpath();
    moveto(0,10);
    lineto(0,90);
    arcto(0,80,100,100,0,90,100,90);
    lineto(100,10);
    endpath();
    fillandstrokepath();
    ellipse(0,0,100,20);
}
The Sparx Team
[email protected]

sergeysps

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: database node in a deployment diagram
« Reply #2 on: January 27, 2012, 07:42:10 pm »
thanks a lot :)