Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

About widget in dataiku

Timmy
Level 2
About widget in dataiku

Hi Dataiku team,

I'm exploring the package ipycytoscape package that can return the graph where i can drag and drop the nodes and edges on this graph dynamically.

I try the following example https://ipycytoscape.readthedocs.io/en/latest/

from ipycytoscape import CytoscapeWidget
import networkx as nx
G = nx.complete_graph(5)
cyto = CytoscapeWidget()
cyto.graph.add_graph_from_networkx(G)
display(cyto)

I can run successfully on my local laptop (image.png) but when i run this code in notebook dataiku it does not show the graph even though there is no error. Not sure which settings on dataiku i need to modify

 

 

 

0 Kudos
1 Reply
Turribeach

If this is a widget then follow this documentation:

https://doc.dataiku.com/dss/latest/python/ipywidgets.html

 

0 Kudos