Creating association classes on Visio 2019 - uml

I'm a beginner using Visio. For my project, I'm using the 2019 Professional version and I'm having a trouble to create an association class, like the "Items", down in the image.
How can I do it?

To draw a dashed line from a class to an association, proceed as follows:
Click with the right mouse button on the background of the drawing. A toolbar and a menu pop up at the same time.
The top left button of the toolbar has a very small triangle next to it, pointing down. Click on this triangle. A menu drops down.
Choose 'line' from this menu (it's the fifth entry).
Drag a line from the class to the association. A solid line will appear.
Click with the right mouse button on the line and choose 'Format shape'. The Format shape pane will appear.
In the Format shape pane, choose dashed formatting.

Related

Powerpoint: Change grid that drawings are aligned to/Move objects freely

I try to highlight a bar graph (exported from Excel) by adding an arrow at the tip and the bottom of a specific bar but it drives me nuts, that the grid at which Powerpoint orients itself results in the arrow not being exactly in the middle of the bar. Moving the whole bar graph doesn't bring a solution to this. Can I just move the arrows freely?
Hold down the ALT key while you move the shape with the mouse; that'll temporarily disable snapping to grid.
Or right click off the slide, choose Grid & Guides and turn off Snap To Grid in the resulting dialog box.

Add radial lines to radar chart

I'm using Office 2013 Excel and making a radar chart. By default the concentric rings are visible, but I want spokes or radial lines from the center to each category on the outside. I can't find out how to do this.
It seems to be a bug in Excel 2013 (and 2016).
A workaround is:
Create a radar chart.
Change the chart type to one of the other two radar charts, for e.g. radar with markers.
Change the chart type back to the original radar chart and format the Y axis to have lines.
These are the steps that I follow to add radial lines:
Create radar chart;
Click on the radar chart to show the Chart Design tab on toolbar;
Click on Change Chart Type and select Radar, then "Radar with
Markers" or "Filled Radar";
Click on Add Chart Elements (on the toolbar), then click on Axes, More Axes Options...;
Click on Fill & Line icon (under the button "Axis Options"), find
Line section and click on Solid line.
How about the code below?
ActiveChart.Axes(xlCategory).hasMajorGridlines=true
Select the target chart on excel.
Press Alt+F11 on excel, then VBE opens.
Press Ctrl+G on VBE, then immediate window opens.
Paste the above code.
Place the cursor on the line of the code and press the enter key.
I made the file with PHPExcel and edit it with excel 2010.
p.s. I confirmed with Excel 2016 without PHPExcel, too.
Right click the rectangular edge of the overall chart.
Click "Chart Area" drop down.
Select "radar (value) axes" and click the pen icon to select a colour.
In Excel for Mac version 16,
1. Create your radar chart.
2. Change chart type to any other chat type.
3. With your new chat selected. Go to Insert==>Chart==>Radar (the chart now allows you to format Y axis).

Python + GTK - Scrolled menu bugged

Basically, when we click on a combobox near to the bottom edge of the screen, the first item of the menu begins at the same vertical position of the combobox, leaving a blank space on top of this.
This way the menu is created with the size to hold all the menu items, but since the first element of these is not put at the top of the menu, the menu has to scroll to see them.
Link to the image: http://postimg.org/image/767ukjphz/
It's not a bug in my code. The menu is created correctly. The bug is in the GTK libraries.
So, what do you suggest me?, how can I resolve this situation?, maybe moving to menu position?

Different border for Dialog. Set style for one

How I can set different border for Dialog. for bottom, top, left and right border.
I need to set round angle for bottom left and right angles. But top angles have to be direct.
You can achieve it by 'Image Border Wizard' for DialogContentPane style.
Follow these steps
Create an image that has your required borders and some empty area in the center.
Open your '.res' file in Resource Editor, under your active theme
create a new style say MyDialogContenPane for unselected state.
Make sure you derive this new style from DialogContentPane's
unselected state, you can do this by going to 'derive' tab and selecting 'DialogContentPane' in the combo-box.
With this style's window open move to 'border' tab and click the 'Image
Border Wizard' button to open a new window. Under the tab 'Create Image'
select radio button 'Use A File', choose the image file created in #1
in this file dialog. Move to tab 'Cut Image' adjust the guides on the
image and move to tab 'Apply To', here you select the listed component
'MyDialogContentPane' and hit 'Generate' button and close this
window. The new border can be previewed in the style window.
NOTE: If you want this new border to be done for all the dialogs than instead of creating new style 'MyDialogContentPane' you reuse the 'DialogContentPane' style with the above steps.
I would recommend you to go through the Shai's blog posts 'LWUIT Resource Editor Tutorial Part 1' till part 10. To better understand the Resouce Editor its features and capabilities.

Insert Space between Shapes and Connectors in Visio

I'd like to automatically pad my shapes with some space so that connectors (e.g. arrows) do not touch the shape, but instead are a few pixels away.
This can be achieved by moving the shape connector points away from the shape, but this is a manual, time consuming process which needs to be done per shape which I would like to avoid.
How can I automatically insert a fixed amount of space between connectors and shapes?
You can do this with a Custom Line End.
If the Drawing Explorer Window is not shown then View Menu > Drawing Explorer Window.
In the Drawing Explorer Window right click on the Line Ends folder.
Click New Pattern.
Give the Line End a name and select Scaled. Click OK.
Right click on the new Line End.
Click on Edit Pattern Shape.
Draw a small line end e.g. an arrow about 0.125 in square or 3 mm square. The arrow should point to the right.
If there line end you created is made of more than one shape group it, e.g. Ctrl+A then Ctrl+G.
Zoom in closely to the shape.
Make sure the Pointer Tool is selected in the Standard Toolbar.
Select the shape.
Mouse over the Shape Rotation Handle e.g. the lollypop.
A new handle should appear with the tooltip Center of Rotation.
Move this handle outside the shape to the right. How far you move will control the offset of your line from the shapes. See image:
Close the Pattern Shape window.
Click Yes to save the pattern.
Select all the lines you want to use the new Line Pattern with.
Format Menu > Line
Change the Line ends: Begin and Line ends: End to the name of your new Line End. The name will be at the bottom of the list.
The lines begin and ends should now appear offset from the shapes they are connected to.
These instructions are for versions of Visio prior to Visio 2010. In Visio 2010 the menu items described are replace with buttons in the ribbon.

Resources