I’m reasonably sure I understand the difference between a sheet and a shape, the sheet being basically a list or shortcut to the available shapes, and a shape being the svg description to draw on the screen.
This tag, containing one network reference
<sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns"> is in a sheet.
This tag containing two network references
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://ww.w3.org/2000/svg"> is in a shape.
What I noticed was both tags were network addresses. So I checked the addresses and found they were not valid. This made me curious, as I couldn’t figure out what reason there could be for having an invalid link that breaks the program if it is changed?
Dia works without a network connection, but the two address strings cannot be altered without breaking the program. I’m not concerned about them, just curious as to what they are for?
I’ve tried Dia a couple of times before with varying degrees of success, but for some reason this time round I have really started to click with it, and it is a really cool tool, thanks guys.
I’m a fan of Python as well, so I’m quite keen on having a play with that as well. I was looking for a way to capture a click event so I could open a link in a new window rather than a new tab, so any hints on that would be great.
Have a great day and stay safe.