question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Graphistry integration

See original GitHub issue

Problem

Integrate Graphistry into Streamlit.

The following snippet works but is not ideal :

g = graphistry.bind(source="src", destination="dst", node="dst").nodes(edges).edges(edges)
plot = g.settings(url_params={'play': 1000, 'bg': '%230a0a0a'}).plot()
iframe = '<iframe src="' + plot + '", height="800", width="100%"></iframe>'
st.markdown(iframe, unsafe_allow_html=True)

Solution

Test if custom components or iframe support works with Graphistry.

  • For custom component, we need to know if Graphistry has a React/JS library that accepts some JSON input with data and configuration to display the graph in a div.
  • If not possible, then try to embed the HTML directly

Additional context

Link to original discussion

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
lmeyerovcommented, Jul 27, 2020

Hi @randyzwitch just a quick heads up, as we’ve been bogged down in some internal + customer stuff:

– with the st queryurl + fullscreen stuff landing, looks like we’re about there for v1 from st side!

– we hit issues on using caddy reverse proxy <> st for showing how to bundle together in a production setting (bastion / auth server), hopefully eow or next for that as on some customer paths

folks have been perking up on this, and 2+ projects already planning for it, so we’re excited

2reactions
randyzwitchcommented, May 15, 2020

@lmeyerov If you’re interested in working with us in the Custom Components Beta, please send me an email at randy@streamlit.io. We’d love to have you as one of our launch examples, feels like it shouldn’t be much work to get this going 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Embed and Integrate - Graphistry
Integrate rich visualizations in your favorite notebook, dashboard, or application. Graphistry aligns with the way that you work, allowing you to bring ...
Read more >
How it Works - Graphistry
Embed and integrate Graphistry where you need it. Treat Graphistry like Google Maps and drop it in wherever you need it. Add Graphistry...
Read more >
Developers - Graphistry
Quickly and easily integrate Graphistry so that users can finally see all of the relationships in their data. Quickly embed and totally configure:...
Read more >
Connect Your Data - Graphistry
Our connectors make it easy to automatically connect to and query across your SIEM, Elasticsearch, and virtually any data source with an API....
Read more >
Graphistry: Home
Graphistry brings visual graph intelligence to your big or complex data. ... Modern data science & development with ecosystem integrations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found