Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Cytoscape for visualizing SBOMs #129

Open
nightlark opened this issue Feb 6, 2024 · 4 comments
Open

Investigate Cytoscape for visualizing SBOMs #129

nightlark opened this issue Feb 6, 2024 · 4 comments
Assignees
Milestone

Comments

@nightlark
Copy link
Collaborator

nightlark commented Feb 6, 2024

https://cytoscape.org/

@nightlark nightlark self-assigned this Feb 6, 2024
@nightlark nightlark added this to the v0.1 milestone Feb 8, 2024
@mcutshaw
Copy link
Collaborator

mcutshaw commented Feb 20, 2024

This is something I might be interested in assisting with. What was the plan for the library on the Python side? Or is the idea to just make a viewer in JS?

Edit: Just discovered the CYT-640-web-ui branch, so I would assume just in JS.

@nightlark
Copy link
Collaborator Author

nightlark commented Feb 20, 2024

The plan is sort of tbd -- from the people at ORNL who told me about Cytoscape, it sounded like the main way to interface with it is a (REST API https://cytoscape.org/what_is_cytoscape.html#section-features?) that provides the Cytoscape GUI with information to display (nodes/edges/etc).

From browsing the cytoscape website, it sounded like the Cytoscape GUI is more mature and has more features than the Cytoscape.js library.

If you want to look into adding Cytoscape support as maybe a plugin/subcommand, go for it; if it helps, we can schedule a Teams meeting to discuss ideas (or during the Surfactant WG meeting).

@mcutshaw
Copy link
Collaborator

I might look at outputting to a GML format as it looks like Cytoscape will consume that, and its a standard format, so it might be able to be imported into other tools a well. https://manual.cytoscape.org/en/stable/Supported_Network_File_Formats.html

@nightlark
Copy link
Collaborator Author

That looks like it would be interesting. It's not clear how much additional metadata can be attached to nodes in the GLM format (there might be some benefit in this area with a more active communication method with Cytoscape), but outputting a GLM file looks like it would be a pretty easy way to start visualizing things.

I'd imagine it would be similar to outputting a graphviz dot file (#71) -- @theStache may have something that could be used as a starting point for outputting a GLM file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants