A simple undo

Oh no .. I shouldn’t have double-clicked 🙁

When I explore a graph, it always happens to me at some point. I double-click a node and oops …  my screen fills up with way more nodes than I anticipated. And since I’m almost always operating in autoComplete mode, that also includes all relationships connecting the newly loaded neighbours to the node I double-clicked.

Yes, I know, we have the default Neighbours panel that allows me to explore the graph in a controlled way by loading only selected neighbours. But well, sometimes you’re in a hurry and and a bit careless …

So I figured there must be a way to just go back one step and unload all nodes and relationships that result from a double-click.

IA_IO to the rescue 🙂

Fortunately, Graphileon has the IA_IO function that can help us. It can store any run-time variable and that is exactly what we need here: store the nodes and relationships that are present in the IA_NetworkView at the moment a nodeDoubleClick event is triggered.

The logic is quite simple (click on the picture below for an interactive diagram with the relevant functions and triggers)  :

  • Execute an IA_IO function upon the first nodeDoubleClick event that occurs, and ensure that it stays alive by setting stayAlive:session or stayAlive:dashboard . The IA_IO function has an _instance name, so we can reference it later.
  • Store the two arrays with nodes and relationships in the placeholders on the IA_IO function.
  • The undo functionality is implemented using a batch trigger, i.e. a  [:TRIGGER {type:'batch'}] relation from the IA_NetworkView to itself.  It retrieves the nodes and relations from the IA_IO function instance and sends them back to the IA_NetworkView  .

 

The video below shows the undo functionality in action.


Card image cap
CRUDding edges and vertices in DataStax Enterprise Graph 6.7

Adding support for DataStax Enterprise Graph in less than a month! Less than a month ago we announced the support for DataStax Enterprise (DSE) Graph. Today we can show you a sneak preview of how to manage DSE Graph content using the standard Graphileon NodeFormView and RelationFormView functions. Next on our roadmap is to integrate … Continued

Card image cap
Graphileon to Support DataStax Enterprise Graph

DataStax, the company behind the leading database built on Apache Cassandra™, today announced a technology partnership with Graphileon to include support for DataStax Enterprise Graph (DSE Graph) on Graphileon’s application development platform. Developers using DSE Graph will now be able to leverage Graphileon’s platform for simpler coding and easier visualization of graph data. DSE Graph enables enterprises to extract … Continued

Card image cap
Cambridge Semantics Adds Graphileon to AnzoGraph®

Cambridge Semantics, the leading provider of modern data discovery and integration software for enterprise data fabrics, today announced the integration of Graphileon framework with its stand-alone version of AnzoGraph, a leading graph analytics database. With this integration, AnzoGraph developers and customers benefit from Graphileon’s market-leading ability to navigate, manage and visualize the content of multiple … Continued

Get started with the Personal Edition

The easiest way to get to know Graphileon is by using the Personal Edition. Build graphy applications and browse your graph stores in a way you never did before.