iec_logic_gates.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <shapes name="mxgraph.electrical.iec_logic_gates">
  2. <shape aspect="variable" h="80" name="AND" strokewidth="inherit" w="60">
  3. <connections>
  4. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  5. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  6. </connections>
  7. <background>
  8. <rect h="80" w="60" x="0" y="0"/>
  9. </background>
  10. <foreground>
  11. <fillstroke/>
  12. <fontsize size="12"/>
  13. <fontstyle style="0"/>
  14. <fontstyle style="0"/>
  15. <text align="center" str="AND" valign="bottom" x="30" y="46"/>
  16. </foreground>
  17. </shape>
  18. <shape aspect="variable" h="80" name="NAND" strokewidth="inherit" w="66">
  19. <connections>
  20. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  21. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  22. </connections>
  23. <background>
  24. <save/>
  25. <rect h="80" w="60" x="0" y="0"/>
  26. </background>
  27. <foreground>
  28. <fillstroke/>
  29. <fontsize size="12"/>
  30. <fontstyle style="0"/>
  31. <fontstyle style="0"/>
  32. <text align="center" str="NAND" valign="bottom" x="30" y="46"/>
  33. <restore/>
  34. <rect/>
  35. <stroke/>
  36. <ellipse h="6" w="6" x="60" y="37"/>
  37. <fillstroke/>
  38. </foreground>
  39. </shape>
  40. <shape aspect="variable" h="80" name="NAND 2" strokewidth="inherit" w="68">
  41. <connections>
  42. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  43. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  44. </connections>
  45. <background>
  46. <save/>
  47. <rect h="80" w="60" x="0" y="0"/>
  48. </background>
  49. <foreground>
  50. <fillstroke/>
  51. <fontsize size="12"/>
  52. <fontstyle style="0"/>
  53. <text align="center" str=" " valign="bottom" x="30" y="46"/>
  54. <fontstyle style="0"/>
  55. <text align="center" str="NAND" valign="bottom" x="30" y="46"/>
  56. <restore/>
  57. <rect/>
  58. <stroke/>
  59. <ellipse h="8" w="8" x="60" y="36"/>
  60. <fillstroke/>
  61. </foreground>
  62. </shape>
  63. <shape aspect="variable" h="80" name="NOR" strokewidth="inherit" w="66">
  64. <connections>
  65. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  66. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  67. </connections>
  68. <background>
  69. <save/>
  70. <save/>
  71. <rect h="80" w="60" x="0" y="0"/>
  72. </background>
  73. <foreground>
  74. <fillstroke/>
  75. <ellipse h="6" w="6" x="60" y="37"/>
  76. <fillstroke/>
  77. <fontsize size="12"/>
  78. <fontstyle style="0"/>
  79. <fontstyle style="0"/>
  80. <text align="center" str="1" valign="bottom" x="35" y="46"/>
  81. <restore/>
  82. <rect/>
  83. <stroke/>
  84. <strokewidth width="1"/>
  85. <path>
  86. <move x="24.25" y="36"/>
  87. <line x="28.75" y="40"/>
  88. <line x="24.25" y="44"/>
  89. </path>
  90. <stroke/>
  91. <restore/>
  92. <rect/>
  93. <stroke/>
  94. <strokewidth width="1"/>
  95. <path>
  96. <move x="30" y="40.75"/>
  97. <line x="25.125" y="45"/>
  98. </path>
  99. <fillstroke/>
  100. </foreground>
  101. </shape>
  102. <shape aspect="variable" h="80" name="NOR 2" strokewidth="inherit" w="68">
  103. <connections>
  104. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  105. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  106. </connections>
  107. <background>
  108. <save/>
  109. <save/>
  110. <rect h="80" w="60" x="0" y="0"/>
  111. </background>
  112. <foreground>
  113. <fillstroke/>
  114. <ellipse h="8" w="8" x="60" y="36"/>
  115. <fillstroke/>
  116. <fontsize size="12"/>
  117. <fontstyle style="0"/>
  118. <text align="center" str=" " valign="bottom" x="35" y="46"/>
  119. <fontstyle style="0"/>
  120. <text align="center" str="1" valign="bottom" x="35" y="46"/>
  121. <restore/>
  122. <rect/>
  123. <stroke/>
  124. <strokewidth width="1"/>
  125. <path>
  126. <move x="24.25" y="36"/>
  127. <line x="28.75" y="40"/>
  128. <line x="24.25" y="44"/>
  129. </path>
  130. <stroke/>
  131. <restore/>
  132. <rect/>
  133. <stroke/>
  134. <strokewidth width="1"/>
  135. <path>
  136. <move x="30" y="40.75"/>
  137. <line x="25.125" y="45"/>
  138. </path>
  139. <fillstroke/>
  140. </foreground>
  141. </shape>
  142. <shape aspect="variable" h="80" name="NOT" strokewidth="inherit" w="66">
  143. <connections>
  144. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  145. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  146. </connections>
  147. <background>
  148. <save/>
  149. <rect h="80" w="60" x="0" y="0"/>
  150. </background>
  151. <foreground>
  152. <fillstroke/>
  153. <fontsize size="12"/>
  154. <fontstyle style="0"/>
  155. <fontstyle style="0"/>
  156. <text align="center" str="=1" valign="bottom" x="30" y="46"/>
  157. <restore/>
  158. <rect/>
  159. <stroke/>
  160. <ellipse h="6" w="6" x="60" y="37"/>
  161. <fillstroke/>
  162. </foreground>
  163. </shape>
  164. <shape aspect="variable" h="80" name="NOT 2" strokewidth="inherit" w="68">
  165. <connections>
  166. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  167. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  168. </connections>
  169. <background>
  170. <save/>
  171. <rect h="80" w="60" x="0" y="0"/>
  172. </background>
  173. <foreground>
  174. <fillstroke/>
  175. <fontsize size="12"/>
  176. <fontstyle style="0"/>
  177. <text align="center" str=" " valign="bottom" x="30" y="46"/>
  178. <fontstyle style="0"/>
  179. <text align="center" str="=1" valign="bottom" x="30" y="46"/>
  180. <restore/>
  181. <rect/>
  182. <stroke/>
  183. <ellipse h="8" w="8" x="60" y="36"/>
  184. <fillstroke/>
  185. </foreground>
  186. </shape>
  187. <shape aspect="variable" h="80" name="OR" strokewidth="inherit" w="60">
  188. <connections>
  189. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  190. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  191. </connections>
  192. <background>
  193. <save/>
  194. <save/>
  195. <rect h="80" w="60" x="0" y="0"/>
  196. </background>
  197. <foreground>
  198. <fillstroke/>
  199. <fontsize size="12"/>
  200. <fontstyle style="0"/>
  201. <fontstyle style="0"/>
  202. <text align="center" str="1" valign="bottom" x="35" y="46"/>
  203. <restore/>
  204. <rect/>
  205. <stroke/>
  206. <strokewidth width="1"/>
  207. <path>
  208. <move x="24.25" y="36"/>
  209. <line x="28.75" y="40"/>
  210. <line x="24.25" y="44"/>
  211. </path>
  212. <stroke/>
  213. <restore/>
  214. <rect/>
  215. <stroke/>
  216. <strokewidth width="1"/>
  217. <path>
  218. <move x="30" y="40.75"/>
  219. <line x="25.125" y="45"/>
  220. </path>
  221. <fillstroke/>
  222. </foreground>
  223. </shape>
  224. <shape aspect="variable" h="80" name="XOR" strokewidth="inherit" w="60">
  225. <connections>
  226. <constraint name="in" perimeter="0" x="0" y="0.5"/>
  227. <constraint name="out" perimeter="0" x="1" y="0.5"/>
  228. </connections>
  229. <background>
  230. <rect h="80" w="60" x="0" y="0"/>
  231. </background>
  232. <foreground>
  233. <fillstroke/>
  234. <fontsize size="12"/>
  235. <fontstyle style="0"/>
  236. <fontstyle style="0"/>
  237. <text align="center" str="=1" valign="bottom" x="30" y="46"/>
  238. </foreground>
  239. </shape>
  240. </shapes>