iec_logic_gates.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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.0" name="NAND" strokewidth="inherit" w="66.0">
  19. <connections>
  20. <constraint name="in" perimeter="0" x="0.0" y="0.5"/>
  21. <constraint name="out" perimeter="0" x="1.0" y="0.5"/>
  22. </connections>
  23. <background>
  24. <save/>
  25. <rect h="80.0" w="60.0" x="0.0" y="0.0"/>
  26. </background>
  27. <foreground>
  28. <fillstroke/>
  29. <fontsize size="12.0"/>
  30. <fontstyle style="0"/>
  31. <fontstyle style="0"/>
  32. <text align="center" str="NAND" valign="bottom" x="30.0" y="46.0"/>
  33. <restore/>
  34. <rect/>
  35. <stroke/>
  36. <ellipse h="6.0" w="6.0" x="60.0" y="37.0"/>
  37. <fillstroke/>
  38. </foreground>
  39. </shape>
  40. <shape aspect="variable" h="80.0" name="NOR" strokewidth="inherit" w="66.0">
  41. <connections>
  42. <constraint name="in" perimeter="0" x="0.0" y="0.5"/>
  43. <constraint name="out" perimeter="0" x="1.0" y="0.5"/>
  44. </connections>
  45. <background>
  46. <save/>
  47. <save/>
  48. <rect h="80.0" w="60.0" x="0.0" y="0.0"/>
  49. </background>
  50. <foreground>
  51. <fillstroke/>
  52. <ellipse h="6.0" w="6.0" x="60.0" y="37.0"/>
  53. <fillstroke/>
  54. <fontsize size="12.0"/>
  55. <fontstyle style="0"/>
  56. <fontstyle style="0"/>
  57. <text align="center" str="1" valign="bottom" x="35.0" y="46.0"/>
  58. <restore/>
  59. <rect/>
  60. <stroke/>
  61. <fillcolor color="none"/>
  62. <strokewidth width="1"/>
  63. <path>
  64. <move x="24.25" y="36.0"/>
  65. <line x="28.75" y="40.0"/>
  66. <line x="24.25" y="44.0"/>
  67. </path>
  68. <stroke/>
  69. <restore/>
  70. <rect/>
  71. <stroke/>
  72. <strokewidth width="1"/>
  73. <path>
  74. <move x="30.0" y="40.75"/>
  75. <line x="25.12" y="45.0"/>
  76. </path>
  77. <fillstroke/>
  78. </foreground>
  79. </shape>
  80. <shape aspect="variable" h="80.0" name="NOT" strokewidth="inherit" w="66.0">
  81. <connections>
  82. <constraint name="in" perimeter="0" x="0.0" y="0.5"/>
  83. <constraint name="out" perimeter="0" x="1.0" y="0.5"/>
  84. </connections>
  85. <background>
  86. <save/>
  87. <rect h="80.0" w="60.0" x="0.0" y="0.0"/>
  88. </background>
  89. <foreground>
  90. <fillstroke/>
  91. <fontsize size="12.0"/>
  92. <fontstyle style="0"/>
  93. <fontstyle style="0"/>
  94. <text align="center" str="=1" valign="bottom" x="30.0" y="46.0"/>
  95. <restore/>
  96. <rect/>
  97. <stroke/>
  98. <ellipse h="6.0" w="6.0" x="60.0" y="37.0"/>
  99. <fillstroke/>
  100. </foreground>
  101. </shape>
  102. <shape aspect="variable" h="80.0" name="OR" strokewidth="inherit" w="60.0">
  103. <connections>
  104. <constraint name="in" perimeter="0" x="0.0" y="0.5"/>
  105. <constraint name="out" perimeter="0" x="1.0" y="0.5"/>
  106. </connections>
  107. <background>
  108. <save/>
  109. <save/>
  110. <rect h="80.0" w="60.0" x="0.0" y="0.0"/>
  111. </background>
  112. <foreground>
  113. <fillstroke/>
  114. <fontsize size="12.0"/>
  115. <fontstyle style="0"/>
  116. <fontstyle style="0"/>
  117. <text align="center" str="1" valign="bottom" x="35.0" y="46.0"/>
  118. <restore/>
  119. <rect/>
  120. <stroke/>
  121. <fillcolor color="none"/>
  122. <strokewidth width="1"/>
  123. <path>
  124. <move x="24.25" y="36.0"/>
  125. <line x="28.75" y="40.0"/>
  126. <line x="24.25" y="44.0"/>
  127. </path>
  128. <stroke/>
  129. <restore/>
  130. <rect/>
  131. <stroke/>
  132. <strokewidth width="1"/>
  133. <path>
  134. <move x="30.0" y="40.75"/>
  135. <line x="25.12" y="45.0"/>
  136. </path>
  137. <fillstroke/>
  138. </foreground>
  139. </shape>
  140. <shape aspect="variable" h="80.0" name="XOR" strokewidth="inherit" w="60.0">
  141. <connections>
  142. <constraint name="in" perimeter="0" x="0.0" y="0.5"/>
  143. <constraint name="out" perimeter="0" x="1.0" y="0.5"/>
  144. </connections>
  145. <background>
  146. <rect h="80.0" w="60.0" x="0.0" y="0.0"/>
  147. </background>
  148. <foreground>
  149. <fillstroke/>
  150. <fontsize size="12.0"/>
  151. <fontstyle style="0"/>
  152. <fontstyle style="0"/>
  153. <text align="center" str="=1" valign="bottom" x="30.0" y="46.0"/>
  154. </foreground>
  155. </shape>
  156. </shapes>