Mercurial > hg > Members > nobuyasu > html > graphViewer
changeset 20:864c47b06e85 draft
edge paint
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 21 Mar 2013 21:03:52 +0900 |
parents | 3c02336869d4 |
children | 8f6f69bdd82c |
files | show.html |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/show.html Thu Mar 21 20:57:33 2013 +0900 +++ b/show.html Thu Mar 21 21:03:52 2013 +0900 @@ -328,7 +328,10 @@ function statePost(buttonEle) { var id = this.id; var state = buttonEle.html(); + var node = GRAPH_DATA.nodes[id]; + node.property.state = state; postToServer("id="+id+"&state="+state); + showMiniDisplay(node); } function nodePositionPost(id, coordX, coordY) { @@ -659,6 +662,7 @@ } var gData = GRAPH_DATA; showFirstEvidenceList(gData); + showAllEdge(gData); } function start() {