Coder Social home page Coder Social logo

alrasheeda / st-link-analysis Goto Github PK

View Code? Open in Web Editor NEW
34.0 2.0 3.0 1.05 MB

A custom Streamlit component for link analysis, built with Cytoscape.js and Streamlit.

Home Page: https://pypi.org/project/st-link-analysis/

License: MIT License

Python 34.66% JavaScript 42.97% HTML 12.66% CSS 9.70%
streamlit-component cytoscapejs network-analysis

st-link-analysis's People

Contributors

alrasheeda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

st-link-analysis's Issues

Remove event

Hello. Thank you for adding functionality that enlarge possible manipulations with nodes!

I would like to ask you about removal action: is it possible to turn this action off? I've tried to make this action do nothing, but it still deletes nodes.

Node Expansion Dynamics

Is your feature request related to a problem? Please describe.
When a node is expanded (refer to PR #17), the new neighboring nodes are simply placed at position (0,0). This results in several issues in user experience:

  • Multiple nodes overlap each other.
  • New nodes are positioned arbitrarily relative to the expanded node.
  • The transition appears abrupt and disorienting.

Describe the solution you'd like
Open to suggestions. Here are some solutions that I considered and their limitations:

  • Place the new nodes at the parent node and animate transitioning them in different directions. Limitations: can still lead to overlapping nodes (not completely overlapped as in the original behavior), especially when further expansions are performed.
  • Re-run the layout algorithm after each node addition. Limitations: makes it difficult for users to keep track of the nodes they were previously viewing
  • ...

Thank you

Function to expand/delete

I really love how customizable the appearance of the graph can be, and also the information panel showing the details of the node when selected. But I would like to request for the ability to expand or delete nodes from the graph. I noticed there's no support for callback functions when I select a node. It would be great to have these features as it would be almost perfect replication of a Neo4j browser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.