-
Notifications
You must be signed in to change notification settings - Fork 16
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
sanitize_graph function #78
Comments
The short answer is that that graph can't be contracted in the |
Make current top-left (
and the
which tells us that former |
I think I see, it means I need to find those simple cases first and add them to the contracted set. It's worth it because all my dodgy (not dodgr) ARC code will disappear when we get this. It just occurred to me to get into the habit of using igraph to plot these minimal cases, so maybe I bring scgraph into it and work up some direct igraph plots too. I had to think pretty hard about the shapes in the graph you created, but it was helpful! |
Oh, while we're at it - where does the insertion of implicit vertices live here? Would (as discussed earlier: hypertidy/silicate#60 (comment)) |
That last point is really important: The way I see it, there would / should be a general need for an independent Another argument against auto-insertion is that this could be a pretty computationally expensive procedure? It requires calculating pair-wise intersections between all edges. Can obviously be run in parallel, but may consume notable processing time for large graphs. As for your ultimate question of where this function lives? I don't know. I'd be happy to put it as a stand-alone in |
Absolutely agree. Whatever is easiest, but we do need to have though about where things go - I'm a bit wary of requiring igraph (for example). I'm happy for it to go in silicate! It seems this |
"Absolutely agree." The question is the underlying graph representation fed to |
I tried a minimal network with 5 edges joined at two nodes:
I get an empty contraction, but I'm expecting 3 pairings
gkZcTf -> vq03WP
SpeI4O -> p600f2
ZmNi0f -> b3oq5s
Am I still thinking about this incorrectly?
The text was updated successfully, but these errors were encountered: