parent
f9b7761f86
commit
543e169165
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -252,6 +252,10 @@ export default class GraphContainer extends Component {
|
|||
let typevar = `type_${type.toLowerCase()}`;
|
||||
|
||||
let statement = `MERGE (n:${type} {${key}:{name}})`
|
||||
if (key === "Computer" || key === "User"){
|
||||
statement = `${statement} SET n.owned=false`
|
||||
}
|
||||
|
||||
q.run(statement, {name:varn}).then(x => {
|
||||
let instance = this.state.sigmaInstance;
|
||||
let id = generateUniqueId(instance, true);
|
||||
|
|
Loading…
Reference in New Issue