Hi Friends, thanks for the well wishes. I feel a lot better. Don't forget to download the supportive document: drive.google.com/file/d/15tsZgbXoGaV3HTOiFRjfcvq4kLiFv_sv/view?usp=sharing 👉 Keep practicing, never give up, and always remember we're better together so help each other out.
Thank you very much for the Cytoscape example. The topic of networks is very broad and very interesting. The things that can be represented as entities and relationships are sometimes surprising: elements within an invoice, natural language, social networks, etc.
I know... I never realized how broad the topic of networks is. There are so many things that can be visualized as a network. Have you used one of them in the past, Leonardo?
Leonardo, don't forget to send me your email address so I can give you access to extra code I create on GitLab. I can't remember if I gave that to you already or not. My email is: info@charmingdata.org
@@CharmingData, I have had the opportunity to represent relationships between researchers in my country, to find the best connected scientists (with more "contacts"). I have also done some exercises with natural language, representing presidential speeches, statements of mission and vision of institutions, etc. as networks. Related to the latter, knowledge graphs seem very interesting to me.
Thanks for such an amazing tutorial. I have 2 questions that I could not find in this framework: a) How to get the mouse position in runtime? b) How to get the node's position in runtime or in batch mode?
@@CharmingData I have, in my class. I am a student at the University of Michigan Ann Arbor, finishing up my MS in Applied Data Science. I have some great ideas for it and am working on a personal project dealing with social networks and disinformation. I am hoping your videos will help to realize this idea
@@CharmingData Thank you! I'm excited, this is very interesting. Love plotly and dash is just a perfect boost for it. We have been mostly working with Altair, which I am not a big fan of, a 5000 df rows limit? Really?. We'll see what happens, thanks again, and looking forward to the journey.
This topic is absolutely fascinating and you explain things in such a clear and patient way. I really hope to see more of this. Do you have a suggested playlist to get a newb from almost zero to a node/edge exploring app? Thank you very very much.
Hello, thank you so much for all your videos it's very well explained ! Keep up the good work :) Is it possible to print all the target labels connected/related to the selected node by the user ? Maybe you have a video where you speak about that ? Thank you !
@@CharmingData Hello, thank you so much for answering ! If it can help you, on the website of plotly dash there is a code to print the label of a selected node : @app.callback(Output('cytoscape-selectedNodeData-markdown', 'children'), Input('cytoscape-event-callbacks-3', 'selectedNodeData')) def displaySelectedNodeData(data_list): if data_list is None: return "No city selected." cities_list = [data['label'] for data in data_list] return "You selected the following cities: " + " * ".join(cities_list) I'm not very good with python but I thought of something like this (which doesn't work) : def displaySelectedNodeData(data_list): if data_list is None: return "No city selected." cities_list = [data['label'] for data in data_list] connected_nodes = [nodes['target'] for nodes in data_list] return "You selected the following cities: " + " * ".join(cities_list) + "This node is connected to" + " * ".join(connected_nodes) Or something like : for source,target in network_graph.edges(): if data_list== source: return "This node is connected to: " + (target[source]) (This last one because I created a graph with draw_networkx() but I can also access my source and target in my dataframe where I have a column with all bigrams such as row 1 (teleworking, sick), row 2 (teleworking, anxiety), row 3 (play, inside), etc with for source,target in dataframe.column() ). I hope it can help you to have ideas if you're interested of course ! Thank you very much :)
Thank you for another great video. But i am just wondering how to deal with a larger dataset, we can't just go to set the id and name for every single element right?
@@CharmingData the terminology used in cytoscape of, nodes, edges, vertices etc are all terms that are synonymous with Graph databases and the mathematics of graph theory. The Graph database is not a database like oracle, or mysql. Foe example Neo4j is a well known Graph database. I'm sure if you have time and take a look you will see the similarities
I thought you would be showing the social viz dashboards that were created..Anyway, this is a great video!! Can we expect the viz for social good dashboards created by your users in next video?
Awesome video, like all of your videos. I have one question, is it possible to create a dashboard like this one, but focusing the attention on the links, rather than on the nodes? I have a number asso'ciated to the relation between the nodes, so it would be great to great that selecting the link it would appear that number in the other graph like you do in this video selecting the nodes. Could you tell me if it's possible please?? Thanks in advance
Thanks for the tutorial. How could you update the elements interactively? For example, if the elements come from a dataframe and i have separate table that is used to filter the dataframe, how can the filtered data from that table be updated on the cytoscape network graph? Thanks
Hello I want to make a large network by updating your code but it's showing an error, I add more nodes to the dictionary and according to that set the targets.
@@CharmingData When I modify the code they show me the error, Actually, I add more nodes to the dictionary and according to that added more edges. So it's not giving results in a network. Can you specify the changes I have to do if want to make a large network of genes?
I slove the problem thank you so much all the stuff is amazing. One thing more I want to make yFiles orthogonal layout, how can I do it with the same code?
Hi Friends, thanks for the well wishes. I feel a lot better. Don't forget to download the supportive document: drive.google.com/file/d/15tsZgbXoGaV3HTOiFRjfcvq4kLiFv_sv/view?usp=sharing
👉 Keep practicing, never give up, and always remember we're better together so help each other out.
Very helpful, thank you for this video! :)
Wow! Just found your channel. All your tutorials that are so organized, clear, and helpful. Thank you so much and keep it up!
it's my pleasure, Michael. Thank you for watching my channel.
thank you Adam, glad to see you healthy, take care of yourself
Thank you @PycTAM
Thank you very much for the Cytoscape example. The topic of networks is very broad and very interesting. The things that can be represented as entities and relationships are sometimes surprising: elements within an invoice, natural language, social networks, etc.
I know... I never realized how broad the topic of networks is. There are so many things that can be visualized as a network. Have you used one of them in the past, Leonardo?
Leonardo, don't forget to send me your email address so I can give you access to extra code I create on GitLab. I can't remember if I gave that to you already or not. My email is: info@charmingdata.org
@@CharmingData, I have had the opportunity to represent relationships between researchers in my country, to find the best connected scientists (with more "contacts"). I have also done some exercises with natural language, representing presidential speeches, statements of mission and vision of institutions, etc. as networks. Related to the latter, knowledge graphs seem very interesting to me.
@@leonardomolina8958 nice. You have extensive experience 👍
Thank you so much for the tutorial ! great
Amazing tutorial. Saved a lot of time for me!
Thank you Baker. I appreciate your support 🤗
Have you built a dash app yet?
Thanks for such an amazing tutorial.
I have 2 questions that I could not find in this framework:
a) How to get the mouse position in runtime?
b) How to get the node's position in runtime or in batch mode?
Amazing, seriously. Thank you so much for creating the videos
You're welcome Victor. Have you created an app with Dash Plotly?
@@CharmingData I have, in my class. I am a student at the University of Michigan Ann Arbor, finishing up my MS in Applied Data Science. I have some great ideas for it and am working on a personal project dealing with social networks and disinformation. I am hoping your videos will help to realize this idea
@@viktor4207 sounds interesting and potentially impactful your project. Good luck, @Viktor.
@@CharmingData Thank you! I'm excited, this is very interesting. Love plotly and dash is just a perfect boost for it. We have been mostly working with Altair, which I am not a big fan of, a 5000 df rows limit? Really?. We'll see what happens, thanks again, and looking forward to the journey.
Thank you again for great tutorial as always
Thanks for the great tutorial as always. The sound quality is OK :) Big like for you.
Thanks Amir. I raised the mic volume to maximum.
This topic is absolutely fascinating and you explain things in such a clear and patient way. I really hope to see more of this. Do you have a suggested playlist to get a newb from almost zero to a node/edge exploring app? Thank you very very much.
hi @Robert, Unfortunately, I only made a few videos on Cytoscape, so I don't have a different playlist.
Hello, thank you so much for all your videos it's very well explained ! Keep up the good work :)
Is it possible to print all the target labels connected/related to the selected node by the user ? Maybe you have a video where you speak about that ? Thank you !
hey there, thanks for watching. I'll look into it and make a video if possible, but I don't think what you're trying to do is possible.
@@CharmingData Hello, thank you so much for answering ! If it can help you, on the website of plotly dash there is a code to print the label of a selected node :
@app.callback(Output('cytoscape-selectedNodeData-markdown', 'children'),
Input('cytoscape-event-callbacks-3', 'selectedNodeData'))
def displaySelectedNodeData(data_list):
if data_list is None:
return "No city selected."
cities_list = [data['label'] for data in data_list]
return "You selected the following cities: " + "
* ".join(cities_list)
I'm not very good with python but I thought of something like this (which doesn't work) :
def displaySelectedNodeData(data_list):
if data_list is None:
return "No city selected."
cities_list = [data['label'] for data in data_list]
connected_nodes = [nodes['target'] for nodes in data_list]
return "You selected the following cities: " + "
* ".join(cities_list) + "This node is connected to" + "
* ".join(connected_nodes)
Or something like :
for source,target in network_graph.edges():
if data_list== source:
return "This node is connected to: " + (target[source])
(This last one because I created a graph with draw_networkx() but I can also access my source and target in my dataframe where I have a column with all bigrams such as row 1 (teleworking, sick), row 2 (teleworking, anxiety), row 3 (play, inside), etc with for source,target in dataframe.column() ).
I hope it can help you to have ideas if you're interested of course ! Thank you very much :)
Thank you for another great video. But i am just wondering how to deal with a larger dataset, we can't just go to set the id and name for every single element right?
Hi Toan, it might be more challenging for a larger dataset but you might be able to use for loops
Hi Adam, I have a use case for Cytoscape. Just checking that Cytoscape is basically a graph database,
Hi @Tom, I believe your post got cut. I'm not sure what you mean by Cytoscape being a graph database...
@@CharmingData the terminology used in cytoscape of, nodes, edges, vertices etc are all terms that are synonymous with Graph databases and the mathematics of graph theory. The Graph database is not a database like oracle, or mysql. Foe example Neo4j is a well known Graph database. I'm sure if you have time and take a look you will see the similarities
@@twelsh37 oh right. Now I see.
would you please Adam ,make video with real data using cytoscape?? ( finance transaction data for exemple), thanks for your work.
Hi Atari.. Right now i have many videos on my list to make before another Cystoscape video. Sorry.
I thought you would be showing the social viz dashboards that were created..Anyway, this is a great video!! Can we expect the viz for social good dashboards created by your users in next video?
Hi Sai, I emailed you about this yesterday. Yes, that is my next video. Sorry for the delay.
@@CharmingData hi Adam, I was bit busy in other work and couldn't see your email. Thank you for the response!! Get well soon!!
@@saiprakash5224 Thank you Sai.
Awesome video, like all of your videos.
I have one question, is it possible to create a dashboard like this one, but focusing the attention on the links, rather than on the nodes?
I have a number asso'ciated to the relation between the nodes, so it would be great to great that selecting the link it would appear that number in the other graph like you do in this video selecting the nodes.
Could you tell me if it's possible please??
Thanks in advance
Hi Eugenio. Yes that's possible
@@CharmingData awesome, thanks :)
Thanks for the tutorial. How could you update the elements interactively? For example, if the elements come from a dataframe and i have separate table that is used to filter the dataframe, how can the filtered data from that table be updated on the cytoscape network graph? Thanks
Hi,
Do you have a video regarding exporting data?
I would like to export data views into something like xgmml or cx json for sharing.
Thanks!
Hello I want to make a large network by updating your code but it's showing an error, I add more nodes to the dictionary and according to that set the targets.
Does that error occur when you run my original code or the error shows only after you modify the code?
@@CharmingData When I modify the code they show me the error, Actually, I add more nodes to the dictionary and according to that added more edges. So it's not giving results in a network. Can you specify the changes I have to do if want to make a large network of genes?
I slove the problem thank you so much all the stuff is amazing. One thing more I want to make yFiles orthogonal layout, how can I do it with the same code?
Second thing I want to change it a directed graph network by showing the forward arrows. how it will be possible?
@@rubykhan7765 Sorry, I don't have experience making yFiles otthogonal layout. I don't even know what that is.