Custom shapes¶
Drew something you'll want again? A pump with its label and pipes, a little org-chart block, your team's favourite three-box sketch? Make it a custom shape. It lives in one of your custom libraries, ready to drag out whenever you like.
Custom shapes and complex shapes
You make custom shapes: they're copies of things you drew. The app draws complex shapes itself, such as tables, swimlanes and callouts. Two different things with confusingly similar names, so now you know.
Making one¶
- Select what you want to keep. One shape or fifty, connectors and labels included.
- Choose Arrange ▸ Create Custom Shape, or right-click the selection and choose Create Custom Shape.
- Choose the library it goes in, from the submenu.
- Give it a name and click Create.
The submenu lists only the custom libraries you made on this Mac. Downloaded libraries belong to whoever published them, and leaving them alone means their updates keep arriving.
No custom library yet, or want a fresh one? Choose New Library… at the bottom of the submenu. You name the library and the shape in the same sheet, and both are made together.
The sheet shows a picture of exactly what will be saved, on your page's background. Your diagram stays as it is: nothing on the canvas moves, and Undo doesn't come into it. If the library can't take the shape, say because it's full or it has unsaved changes in Edit Library, the sheet says why before you click Create.
One closed path on its own becomes an ordinary library shape, as it always has, so you can give it connection points, a text region and data fields in Edit Library. Anything else is saved as it is, all its parts together.
What comes along¶
A custom shape can hold almost anything you can draw: rectangles, ellipses and lines, open or closed; text and notes; shapes from the libraries that come with SimpleDiagrams, from libraries you've downloaded and from your own; SVG artwork, bitmap images, connectors and groups. Labels come too, including the ones above or below a shape and the ones at the ends of a connector.
It's saved exactly as drawn, rotations, flips and line widths included. Its size is everything you can see, so labels and arrowheads don't get clipped.
Locks don't come along. A lock belongs to one diagram, and a shape you reuse should always be editable when you place it. The one exception: if a shape's data came from a library whose creator locked its fields, those fields stay locked in your custom shape too.
Shapes keep their link to the library they came from, so Sync from Library still updates their fields after you place your custom shape.
What can't go in¶
- Complex shapes. Tables, swimlanes, containers, callouts, lifelines, Gantt charts, and the shapes built from parts, such as Ring, Flow and Pyramid. Callouts look like ordinary shapes, so they're the ones that catch people out.
- Dashed boxes. A dashed box is a shape whose artwork is missing, usually because it comes from a library you haven't installed. Install the library first, and the box turns back into the shape.
- A connector joined to a shape you didn't select. Select the shape at its other end too, or leave the connector out. Select only connectors and they're saved as free lines, exactly where you drew them.
When something can't go in, SimpleDiagrams says what it is and what to do, and leaves it to you to deselect it. It never quietly saves a custom shape with bits missing, so a custom shape is always everything you selected.
The connector rule isn't new, by the way. Copy and Cut have always left out a connector joined to an unselected shape; now they say so too, instead of doing nothing.
Placing one¶
Drag it from the Library panel, double-click it, find it with Quick Library Search or keep it in Favorites, just like any other shape. Several parts arrive as one group, so they move together. Drop it into a container or a lane and it joins in.
Once placed, it's an ordinary group. Ungroup it, recolour it, change the words: the custom shape in your library stays as it was. It also arrives in its own colours, whatever the library's Initial colors setting says. Choose Edit ▸ Apply Current Colors afterwards if you want your toolbar's colours.
Changing or removing one¶
Open the library with Edit Library. For a custom shape made of several parts you can change its name, description and keywords. To change the parts themselves, place it, change it, and create it again. Delete the old one there too, if you like.
Its details also list, under Artwork From, the libraries its artwork came from. That's handy when you share a library and want to know whose drawings are in it.
Deleting a custom shape, or its whole library, never touches your diagrams. Each placed copy is an ordinary group that stays exactly as it is.
How big a custom shape can be¶
| Thing | Limit |
|---|---|
| Items | 500 |
| Points along its lines | 50,000 |
| Size, bitmap images included | 32 MB |
| Groups inside groups | 16 deep |
| Width and height | 10,000 points |
| Each bitmap image | 16 million pixels and 16 MB |
The bitmap image limit is a little lower than a diagram's, because a library gets copied around a lot more than a diagram does. If your selection goes over any of these, SimpleDiagrams says which one, and the library's own limits still apply.
Sharing a library that holds custom shapes¶
Export the library and send it, as you would any other. The person you send it to sees your custom shapes even if they don't have the libraries your shapes came from: the artwork travels inside your library, and Artwork From shows them where it came from.
A library holding a custom shape made of several parts needs SimpleDiagrams 5.4 or later, and earlier versions won't open it. The sheet says so the first time you add one to a library. Delete the last such shape and the library opens in earlier versions again.
If someone sends you a library with a custom shape made in a newer version of SimpleDiagrams, its tile says Needs a newer version of SimpleDiagrams and won't place until you update. You can still edit the rest of the library, and saving keeps the newer shape just as it was.
If a custom shape in a library you've been sent is damaged, SimpleDiagrams leaves it out, opens the rest of the library, and tells you how many it left out and why.