---
title: "Logic Circuit 2 Diagram"
description: "A diagram diagram template"
category: "templates/engineering"
type: "diagram"
source_file: "templates/engineering/logic_circuit_2_decoded.xml"
tags: ["circuit", "ui", "engineering", "template", "design", "technical", "electrical", "wireframe", "drawio"]
---

# Logic Circuit 2 Diagram

A diagram diagram template

## XML Source

```xml
<?xml version="1.0" ?>
<mxGraphModel dx="1408" dy="544" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" background="none" math="0" shadow="0">
  <root>
    <mxCell id="0"/>
    <mxCell id="1" parent="0"/>
    <mxCell id="47212f2697e5c962-1" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.and;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="200" y="100" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-2" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.and;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="340" y="140" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-3" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.inverter;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="200" y="270" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-4" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.inverter;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="200" y="365" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-5" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.or;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="340" y="320" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-6" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.and;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="560" y="240" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-7" value="" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.logic_gates.or;rounded=1;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="710" y="160" width="100" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.165;exitPerimeter=0;entryX=1;entryY=0.5;entryPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-7" target="47212f2697e5c962-2" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.165;exitPerimeter=0;entryX=1;entryY=0.5;entryPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-2" target="47212f2697e5c962-1" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.835;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-2" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="70" y="190" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.835;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-1" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="70" y="150" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.165;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-1" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="70" y="110" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-3" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="150" y="150" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-4" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="120" y="190" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.165;exitPerimeter=0;entryX=1;entryY=0.5;entryPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-5" target="47212f2697e5c962-3" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.835;exitPerimeter=0;entryX=1;entryY=0.5;entryPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-5" target="47212f2697e5c962-4" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitPerimeter=0;entryX=0;entryY=0.835;entryPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-5" target="47212f2697e5c962-6" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.165;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-6" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="180" y="110" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitPerimeter=0;entryX=0;entryY=0.835;entryPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-6" target="47212f2697e5c962-7" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitPerimeter=0;labelBackgroundColor=none;startArrow=none;startFill=0;startSize=5;endArrow=none;endFill=0;endSize=5;jettySize=auto;orthogonalLoop=1;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=16;fontColor=#000000;" parent="1" source="47212f2697e5c962-7" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="880" y="190" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="47212f2697e5c962-21" value="A" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=16;fontFamily=Verdana;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="40" y="98" width="30" height="20" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-22" value="B" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=16;fontFamily=Verdana;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="40" y="140" width="30" height="20" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-23" value="C" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=16;fontFamily=Verdana;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="40" y="180" width="30" height="20" as="geometry"/>
    </mxCell>
    <mxCell id="47212f2697e5c962-24" value="Q" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=16;fontFamily=Verdana;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="890" y="180" width="30" height="20" as="geometry"/>
    </mxCell>
  </root>
</mxGraphModel>

```