I need to work with a graph where the vertices are tuples. All the graph libraries I’ve seen in Julia expect the graph vertices to be integers. Any suggestions?
DevJac
1
Skoffer
2
You can use MetaGraphs.jl and keep tuples as vertices metadata or just keep external dict with necessary bindings.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| (Directed acyclic) graphs with non-integer data type | 3 | 481 | September 24, 2022 | |
| Creating a graph with objects or structs as nodes | 3 | 1924 | February 10, 2022 | |
| Recommended packages for graph theory? | 4 | 2516 | November 1, 2022 | |
| Graph vertex and edge attributes | 4 | 1063 | June 4, 2022 | |
| How to add metadata such as labels to nodes in Graphs.jl? | 4 | 1141 | July 20, 2022 |