changed app

This commit is contained in:
Bryan Li
2023-07-24 12:32:21 -07:00
parent 42129c4875
commit fb33f12d95
2 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -108,18 +108,22 @@ type InputCiphertextOp = {
type MultiplyOp = {
kind: 'Multiply'
id: number
};
type AddOp = {
kind: 'Add'
id: number
};
type RelinearizeOp = {
kind: 'Relinearize'
id: number
};
type OutputCiphertextOp = {
kind: 'OutputCiphertext'
id: number
};
type FheProgramOperation = InputCiphertextOp | MultiplyOp | AddOp | RelinearizeOp | OutputCiphertextOp
@@ -152,6 +156,7 @@ const dataToGraph = (data: FheProgramGraph) => {
nodes.push({id: op.id, title: "", type: 'input'})
break
case 'Multiply':
// nodes.push({id: op.id, title: "", type: 'multiply'})
case 'Add':
case 'Relinearize':
case 'OutputCiphertext':