javascript - Filtering Sigma.Js graph from external events -


I have an example of sigma. Js 1.0.0 Rend the graph in my canvas element (code is below, but you can scroll on the bus.

As you can see from that code when the node is clicked, Then click the node event, which then applies filtering to the graph, showing only the clicked node and its surroundings and others to reduce it. This is quite clear.

However, What will I do the same from the outside? Suppose I have Slowly the article is and I have the tag cloud and I want to click on #hashtag only then that node is shown in the graph and the rest are dimmed. How do I do this? >

Thanks!

  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -