(Adjustable Arc has the same properties.) If Adjustable Wedge were a clock, 0 would be 12 o'clock, 90 would be 3 o'clock, 270 would be 9 o'clock, and so on. Here I'll be focusing on the Adjustable Wedge, which is not in the Tools toolbar, but you can find it in the Common stencil under "Shapes."Īdjustable Wedge turns out to be very easy to manipulate, as it has the properties startAngle and endAngle for adjusting the outer arc, each of which goes from 0 to 360. (See Shapes in OmniGraffle's AppleScript Dictionary.) These blessed shapes are Adjustable Wedge, Adjustable Arc, Adjustable Star, Adjustable Arrow, and Adjustable Double Arrow. Some of these have special AppleScript access. We'd love to hear from you on this subject, so please chime in here.OmniGraffle has a set of built-in tools and shapes that you can reference by name in AppleScript. Should we simply flag legacy documents and leave well enough alone? Perhaps converting older Curved line types to Bezier so that they look exactly the same? so we'd like to elicit your feedback as to how we should handle older files. We're aware that many of you use OmniGraffle for more illustrative purposes, where you may not want how a Curved line routes to change at all (it may be a path laid over a map, or just something that's artistic in nature). There will be a future release where the new line behavior is the default (there will still be the preference to switch back if desired). We wanted to ensure that the transition wasn't bumpy for anyone out there as well as maintain appearances for documents going back and forth between the Mac and the iPad. Going Forward and How to Best Handle Legacy DocumentsĪs stated at the beginning of the post, this new behavior is off by default. You can also use the new Orthogonal line to get get perfectly horizontal and vertical lines between shapes without resorting to using magnets or faking it with the grid and not actually connecting the shapes. This means it's easy to get a line that goes from one side of a shape to the same side of another shape directly above or below without having to add midpoints. The method winds up being fairly easy to understand the line must route between both endpoints and through the handle with a minimum humber of segments. (It's worth pointing out that without any interaction you will still get the traditional 'dogleg' between shapes unless you move the handle far enough away.) The new control handle allows movement in both the X and Y directions, and provides for much more power when routing orthogonal lines. Orthogonal lines have traditionally had a control handle at their midpoint for adjusting the 'dogleg' of the line where applicable, however that control would only move in one direction based on the layout. There isn't any functional difference here between the old and the new, however the new behavior makes it distinctly easier to have a Bezier line loop around to connect to the same shape without having to make any midpoints, etc. The new behavior will show the selected line's endpoints at the center of the shape, yet any arrowheads or line endings will still render at the edge of the shape (unless the line is connected to a magnet inside the shape and the line is in front. Typically lines desire to point towards the center of a shape that they're connected to (unless snapping to a nearby magnet), yet the endpoints of a selected line show their termination at the edge of the shape. So, what does it all mean? We'll take it step by step: Of course, if you replace NO with YES you can go back to the old way that lines behave if you don't like the new way. " defaults write UseOldBezierPathLayout NO" (if you are running the Standard version of OmniGraffle purchased in the Mac App Store, minus the quotes) " defaults write UseOldBezierPathLayout NO" (if you are running OmniGraffle Professional purchased in the Mac App Store, minus the quotes) " defaults write UseOldBezierPathLayout NO" (if you are running the Standard version of OmniGraffle, minus the quotes) " defaults write UseOldBezierPathLayout NO" (if you are running OmniGraffle Professional, minus the quotes) If you would like to enable the new line behavior works, paste the following in Terminal: (Those of you who downloaded and installed the release candidate have already been exposed to this new behavior, the release notes have the command line defaults to turn it back on, as well as in this post.) We've introduced new behavior to the way that lines connect to shapes in OmniGraffle 5.3, currently this behavior is off by default to preserve appearance for legacy and iPad documents, but this thread is here to show you how to enable the new line styles and to illustrate why you might want to check it out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |