I have following javascript variable:
this.Edges = {};
Then I did
this.Edges[path] = {edgeDst};
So Edges variable at this point is somehing like
Edges['232kb32i23'] = { edgeDst: 'AND_m_5' }
after that I when I did
this.Edges[path] = {edgeSrc};
It overwrote the value I had added with edgeDst. At this point Edges is like following:
Edges['232kb32i23'] = { edgeSrc: 'B_m_5' }
But I want to produce something like: Edges['232kb32i23'] = { edgeDst: 'AND_m_5', edgeSrc: 'B_m_5' }
Here I can't added edgeSrc and edgeDst simulataneously.
How will I achieve this?
= {edgeSrc};, what's inedgeSrcetc ?this.Edges[path] = {edgeDst, edgeSrc};