
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=dia_diagram_editor_notes</id>
		<title>dia diagram editor notes - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=dia_diagram_editor_notes"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=dia_diagram_editor_notes&amp;action=history"/>
		<updated>2026-04-29T01:30:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=dia_diagram_editor_notes&amp;diff=1171&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot; ==adding new shapes==  [http://dia-installer.de/howto/create_shape/index.html.en#fig_png_export_options How to add a new shape to Dia]  '''Adding a shape to a sheet'''  Once ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=dia_diagram_editor_notes&amp;diff=1171&amp;oldid=prev"/>
				<updated>2017-11-28T15:00:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; ==adding new shapes==  [http://dia-installer.de/howto/create_shape/index.html.en#fig_png_export_options How to add a new shape to Dia]  &amp;#039;&amp;#039;&amp;#039;Adding a shape to a sheet&amp;#039;&amp;#039;&amp;#039;  Once ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
==adding new shapes==&lt;br /&gt;
&lt;br /&gt;
[http://dia-installer.de/howto/create_shape/index.html.en#fig_png_export_options How to add a new shape to Dia]&lt;br /&gt;
&lt;br /&gt;
'''Adding a shape to a sheet'''&lt;br /&gt;
&lt;br /&gt;
Once you have created a shape, you can add it to a sheet.&lt;br /&gt;
&lt;br /&gt;
Select File → Sheets and Objects from the menu to open the Sheets and Objects dialog&lt;br /&gt;
&lt;br /&gt;
==issue - shape icons are cropped==&lt;br /&gt;
&lt;br /&gt;
root cause - size of the image it too large.  can there be a separate icon/thumbnail image?&lt;br /&gt;
&lt;br /&gt;
===example shape SVG file===&lt;br /&gt;
&lt;br /&gt;
A typical shape file may look something like this:&lt;br /&gt;
&lt;br /&gt;
[http://dia-installer.de/doc/en/custom-shapes-chapter.html]&lt;br /&gt;
&lt;br /&gt;
connections for linking other objects are set in the connections section&lt;br /&gt;
        &lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;shape xmlns=&amp;quot;http://www.daa.com.au/~james/dia-shape-ns&amp;quot;&lt;br /&gt;
         xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;name&amp;gt;Circuit with identifiers - NPN Transistor&amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;icon&amp;gt;npn.xpm&amp;lt;/icon&amp;gt;&lt;br /&gt;
    &amp;lt;connections&amp;gt;&lt;br /&gt;
      &amp;lt;point x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;point x=&amp;quot;6&amp;quot; y=&amp;quot;-4&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;point x=&amp;quot;6&amp;quot; y=&amp;quot;4&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/connections&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;aspectratio type=&amp;quot;fixed&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;textbox x1=&amp;quot;4&amp;quot; y1=&amp;quot;-3&amp;quot; x2=&amp;quot;12&amp;quot; y2=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;svg:svg&amp;gt;&lt;br /&gt;
      &amp;lt;svg:line x1=&amp;quot;0&amp;quot; y1=&amp;quot;0&amp;quot; x2=&amp;quot;3&amp;quot; y2=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;svg:line x1=&amp;quot;3&amp;quot; y1=&amp;quot;-3&amp;quot; x2=&amp;quot;3&amp;quot; y2=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;svg:line x1=&amp;quot;3&amp;quot; y1=&amp;quot;-2&amp;quot; x2=&amp;quot;6&amp;quot; y2=&amp;quot;-4&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;svg:line x1=&amp;quot;3&amp;quot; y1=&amp;quot;2&amp;quot; x2=&amp;quot;6&amp;quot; y2=&amp;quot;4&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;svg:polyline points=&amp;quot;5,4 6,4 5.6154,3.0769&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
  &amp;lt;/shape&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>