This commit is contained in:
Nastya 2023-12-04 10:50:55 +03:00
parent 525977609d
commit 25ce62509b
2 changed files with 20 additions and 16 deletions

@ -684,10 +684,14 @@ if (e.cy().data('firstNode') !== 'root') {
}} }}
/> />
<button onClick={() => { <button onClick={() => {
console.log("ELEMENTS____________________________") console.log("NODES____________________________")
cyRef.current?.elements().forEach((ele:any) => { cyRef.current?.elements().forEach((ele:any) => {
console.log(ele.data()) console.log(ele.data())
}) })
}}>nodes</button>
<button onClick={() => {
console.log("ELEMENTS____________________________")
console.log(questions)
}}>elements</button> }}>elements</button>
</> </>
); );