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
Graphileon implements business logic of new EU Regulations for Anti-Money Laundering and Counter-Terrorist Financing

The European Union has recently introduced new regulations aimed at preventing the misuse of the financial system for money laundering and terrorist financing (Read More). A crucial part of these updates focuses on identifying Ultimate Beneficial Owners (UBOs) and entities requiring thorough investigations. In collaboration with a key legal sector client, we’ve successfully implemented the … Continued

Card image cap
Graphileon partners with thatDot to support Quine streaming graph for real-time analytics

Graphileon partners with thatDot to develop connectors for Quine (quine.io), an open-source streaming graph solution for event-driven applications.

Card image cap
Release of Graphileon 3.6.0

The release of Graphileon 3.6.0 brings numerous enhancements and features to this graph database management software. Here are the key highlights: New Components and Features: This version introduces new and improved components (Functions) and incorporates user-requested features, enhancing the functionality of the software. Enhanced Visualization: Users can now customize the visualization of nodes in the … Continued

Get started with Graphileon Personal Edition in the cloud or on your desktop.

The easiest way to get to know Graphileon is to spin up the Personal Edition in the Graphileon Cloud. It comes with two graph stores installed and access to the App Library with examples and apps. You can also download and install Graphileon Personal Edition to run it on your desktop. Either way, you will be able to build graphy applications an browse your graph stores in a way you never did before.