Skip to content

Commit ccd99e1

Browse files
authored
Merge pull request #40 from virtual-labs/dev
Modified missing Q'
2 parents 8b9aedb + bd4be45 commit ccd99e1

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

experiment/simulation/images/ff_d.svg

Lines changed: 1 addition & 1 deletion
Loading

experiment/simulation/js/main.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,19 @@ export function registerGate(id, gate) {
13691369
],
13701370
})
13711371
);
1372+
// output Q'
1373+
gate.addOutputPoints(
1374+
jsPlumbInstance.addEndpoint(element, {
1375+
anchor: [1, 0.7, 1, 0, 7, -1],
1376+
source: true,
1377+
target: true,
1378+
connectionsDetachable: false,
1379+
uuid: "output:3:" + id,
1380+
overlays: [
1381+
{ type: "Label", options: { id: "qbarout", location: [-1, 0.2] } },
1382+
],
1383+
})
1384+
);
13721385
}
13731386
}
13741387

0 commit comments

Comments
 (0)