Book a Demo

Author Topic: Database Icon  (Read 6477 times)

David Meyers

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Database Icon
« on: November 30, 2006, 10:41:13 am »
I'm creating a deployment diagram and I want to include a generic database component/symbol.  The typical symbol for a database is a cylinder.  Is this available somewhere in EA?

thanks,

Dave

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Database Icon
« Reply #1 on: December 01, 2006, 12:13:00 am »
You can download some images here

See help for "Import Image Library"
« Last Edit: December 01, 2006, 12:31:10 am by peter.zrnko »
Peter

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Database Icon
« Reply #2 on: December 03, 2006, 02:11:58 pm »
Alternatively, you can use this shape script or something like it:

Code: [Select]
shape main
{
 ellipse(0,60,100,100);
 startpath();
 rectangle(0,20,100,80);
 endpath();
 fillpath();
 ellipse(0,0,100,40);
 moveto(0,20);
 lineto(0,80);
 moveto(100,20);
 lineto(100,80);
}


See the help file to find out what to do with shape scripts. In short, you will need to define a stereotype, define a shape script for the stereotype, and apply the stereotype to your database object. Any problems, please ask.
The Sparx Team
[email protected]