Example #1

{ "width":800, "height":400, "showToolbox":false, "toolbox":[ {"type":"In"}, {"type":"Out"}, {"type":"Joint"}, {"type":"DC"}, {"type":"LED"}, {"type":"PushOff"}, {"type":"PushOn"}, {"type":"Toggle"}, {"type":"BUF"}, {"type":"NOT"}, {"type":"AND"}, {"type":"NAND"}, {"type":"OR"}, {"type":"NOR"}, {"type":"EOR"}, {"type":"ENOR"}, {"type":"OSC"}, {"type":"7seg"}, {"type":"16seg"}, {"type":"4bit7seg"}, {"type":"RotaryEncoder"}, {"type":"BusIn"}, {"type":"BusOut"}, {"type":"RS-FF"}, {"type":"JK-FF"}, {"type":"T-FF"}, {"type":"D-FF"}, {"type":"8bitCounter"}, {"type":"HalfAdder"}, {"type":"FullAdder"}, {"type":"4bitAdder"}, {"type":"2to4BinaryDecoder"}, {"type":"3to8BinaryDecoder"}, {"type":"4to16BinaryDecoder"}, {"type":"DSO"}, {"type":"Delay"}, {"type":"Transmitter"} ], "devices":[ {"type":"LED","id":"dev0","x":608,"y":176,"label":"LED"}, {"type":"OR","id":"dev1","x":488,"y":176,"label":"OR"}, {"type":"AND","id":"dev2","x":320,"y":168,"label":"AND"}, {"type":"Toggle","id":"dev3","x":144,"y":256,"label":"C","state":{"on":false}}, {"type":"Toggle","id":"dev4","x":144,"y":176,"label":"B","state":{"on":false}}, {"type":"Toggle","id":"dev5","x":136,"y":96,"label":"A","state":{"on":false}}, {"type":"DC","id":"dev6","x":16,"y":176,"label":"DC"} ], "connectors":[ {"from":"dev0.in0","to":"dev1.out0"}, {"from":"dev1.in0","to":"dev2.out0"}, {"from":"dev1.in1","to":"dev3.out0"}, {"from":"dev2.in0","to":"dev5.out0"}, {"from":"dev2.in1","to":"dev4.out0"}, {"from":"dev3.in0","to":"dev6.out0"}, {"from":"dev4.in0","to":"dev6.out0"}, {"from":"dev5.in0","to":"dev6.out0"} ] }



Example #2

{ "width":800, "height":400, "showToolbox":false, "toolbox":[ {"type":"In"}, {"type":"Out"}, {"type":"Joint"}, {"type":"DC"}, {"type":"LED"}, {"type":"PushOff"}, {"type":"PushOn"}, {"type":"Toggle"}, {"type":"BUF"}, {"type":"NOT"}, {"type":"AND"}, {"type":"NAND"}, {"type":"OR"}, {"type":"NOR"}, {"type":"EOR"}, {"type":"ENOR"}, {"type":"OSC"}, {"type":"7seg"}, {"type":"16seg"}, {"type":"4bit7seg"}, {"type":"RotaryEncoder"}, {"type":"BusIn"}, {"type":"BusOut"}, {"type":"RS-FF"}, {"type":"JK-FF"}, {"type":"T-FF"}, {"type":"D-FF"}, {"type":"8bitCounter"}, {"type":"HalfAdder"}, {"type":"FullAdder"}, {"type":"4bitAdder"}, {"type":"2to4BinaryDecoder"}, {"type":"3to8BinaryDecoder"}, {"type":"4to16BinaryDecoder"}, {"type":"DSO"}, {"type":"Delay"}, {"type":"Transmitter"} ], "devices":[ {"type":"OR","id":"dev0","x":200,"y":88,"label":"OR"}, {"type":"AND","id":"dev1","x":488,"y":200,"label":"AND"}, {"type":"NOT","id":"dev2","x":256,"y":88,"label":"NOT"}, {"type":"NOT","id":"dev3","x":232,"y":208,"label":"NOT"}, {"type":"DC","id":"dev4","x":32,"y":152,"label":"DC"}, {"type":"Toggle","id":"dev5","x":120,"y":48,"label":"A","state":{"on":true}}, {"type":"Toggle","id":"dev6","x":120,"y":120,"label":"B","state":{"on":true}}, {"type":"Toggle","id":"dev7","x":120,"y":176,"label":"C","state":{"on":true}}, {"type":"Toggle","id":"dev8","x":120,"y":240,"label":"D","state":{"on":true}}, {"type":"LED","id":"dev9","x":576,"y":200,"label":"LED"}, {"type":"OR","id":"dev10","x":368,"y":168,"label":"OR"} ], "connectors":[ {"from":"dev0.in0","to":"dev5.out0"}, {"from":"dev0.in1","to":"dev6.out0"}, {"from":"dev1.in0","to":"dev10.out0"}, {"from":"dev1.in1","to":"dev3.out0"}, {"from":"dev2.in0","to":"dev0.out0"}, {"from":"dev3.in0","to":"dev8.out0"}, {"from":"dev5.in0","to":"dev4.out0"}, {"from":"dev6.in0","to":"dev4.out0"}, {"from":"dev7.in0","to":"dev4.out0"}, {"from":"dev8.in0","to":"dev4.out0"}, {"from":"dev9.in0","to":"dev1.out0"}, {"from":"dev10.in0","to":"dev2.out0"}, {"from":"dev10.in1","to":"dev7.out0"} ] }



Example #3

{ "width":800, "height":400, "showToolbox":false, "toolbox":[ {"type":"In"}, {"type":"Out"}, {"type":"Joint"}, {"type":"DC"}, {"type":"LED"}, {"type":"PushOff"}, {"type":"PushOn"}, {"type":"Toggle"}, {"type":"BUF"}, {"type":"NOT"}, {"type":"AND"}, {"type":"NAND"}, {"type":"OR"}, {"type":"NOR"}, {"type":"EOR"}, {"type":"ENOR"}, {"type":"OSC"}, {"type":"7seg"}, {"type":"16seg"}, {"type":"4bit7seg"}, {"type":"RotaryEncoder"}, {"type":"BusIn"}, {"type":"BusOut"}, {"type":"RS-FF"}, {"type":"JK-FF"}, {"type":"T-FF"}, {"type":"D-FF"}, {"type":"8bitCounter"}, {"type":"HalfAdder"}, {"type":"FullAdder"}, {"type":"4bitAdder"}, {"type":"2to4BinaryDecoder"}, {"type":"3to8BinaryDecoder"}, {"type":"4to16BinaryDecoder"}, {"type":"DSO"}, {"type":"Delay"}, {"type":"Transmitter"} ], "devices":[ {"type":"DC","id":"dev0","x":64,"y":176,"label":"DC"}, {"type":"Toggle","id":"dev1","x":136,"y":56,"label":"A","state":{"on":true}}, {"type":"Toggle","id":"dev2","x":136,"y":136,"label":"B","state":{"on":true}}, {"type":"Toggle","id":"dev3","x":136,"y":232,"label":"C","state":{"on":true}}, {"type":"Toggle","id":"dev4","x":136,"y":320,"label":"D","state":{"on":true}}, {"type":"OR","id":"dev5","x":256,"y":88,"label":"OR"}, {"type":"NOT","id":"dev6","x":256,"y":320,"label":"NOT"}, {"type":"OR","id":"dev7","x":520,"y":152,"label":"OR"}, {"type":"LED","id":"dev8","x":608,"y":152,"label":"LED"}, {"type":"AND","id":"dev9","x":336,"y":280,"label":"AND"}, {"type":"NAND","id":"dev10","x":424,"y":120,"label":"NAND"} ], "connectors":[ {"from":"dev1.in0","to":"dev0.out0"}, {"from":"dev2.in0","to":"dev0.out0"}, {"from":"dev3.in0","to":"dev0.out0"}, {"from":"dev4.in0","to":"dev0.out0"}, {"from":"dev5.in0","to":"dev1.out0"}, {"from":"dev5.in1","to":"dev2.out0"}, {"from":"dev6.in0","to":"dev4.out0"}, {"from":"dev7.in0","to":"dev10.out0"}, {"from":"dev7.in1","to":"dev9.out0"}, {"from":"dev8.in0","to":"dev7.out0"}, {"from":"dev9.in0","to":"dev3.out0"}, {"from":"dev9.in1","to":"dev6.out0"}, {"from":"dev10.in0","to":"dev5.out0"}, {"from":"dev10.in1","to":"dev9.out0"} ] }