Hiperspace Notebook

Accessing Hiperspace from Jupyter Notebooks

Posted by steve on August 07, 2024

jupyter notebooks is a great technology for interactive development in python, with built in integration for graph visualisation tools, particularly for data science. Today, it is most commonly used with Visual Studio code. With the popularity of jupyter notebooks, Microsoft have added Polyglot notebooks, To extend the technology to other languages other than python, notably C#,F# and R.

Fo the Cousins sample we're using the F# interactive environment because F# is a fucntional language designed for interactive development rather than an adapted scripting language. The script closely follows the C# unit test

The notebook presents a family tree of eleven people as a graph of nodes with parent/child relations as

Family tree Graph View

when infered relations (to cousins, aunts, grandparaents) are added the graph grows obscuring the hierarchical nature of the graph.

We often expend so much effort extracting data, shapping, and loading graph stores; that it is just a means to an end.

Cousins was built using F#, but could just as easily have been built with Python using pythonnet (test.py)