Git Product home page Git Product logo

Comments (9)

bitwalker avatar bitwalker commented on May 18, 2024

Can you gist up the result of inspect Graph.edges/1? I can reconstruct the graph from that. Looks like my test graphs missed an edge case, sorry about that!

from libgraph.

yonkeltron avatar yonkeltron commented on May 18, 2024

Unfortunately the inspect approach didn't work so well. However, encoding it as JSON worked great!

https://gist.github.com/yonkeltron/e48c10985cfc1933b94e45b7dccfe655

from libgraph.

bitwalker avatar bitwalker commented on May 18, 2024

Yeah I forgot to mention that you can do inspect graph, structs: false to dump the raw graph (or any struct for that matter!). I'm flying today, but I'll take a look as soon as I can!

from libgraph.

bitwalker avatar bitwalker commented on May 18, 2024

Found the problem - I forgot to account for self-referential edges. I've pushed the fix to master - looks good on my end though!

from libgraph.

yonkeltron avatar yonkeltron commented on May 18, 2024

from libgraph.

bitwalker avatar bitwalker commented on May 18, 2024

Yeah, specifically loops from a vertex back to itself.

from libgraph.

yonkeltron avatar yonkeltron commented on May 18, 2024

Will this fix go out in a dot release?

from libgraph.

bitwalker avatar bitwalker commented on May 18, 2024

Yep, I'll get one published today. I wanted to get some improvements into the initial clique detection code to try and optimize it (it's pretty slow on large graphs, which is expected, but I think there may be ways to do better than the current perf profile), but I can release what is there now and do another point release with those improvements.

from libgraph.

bitwalker avatar bitwalker commented on May 18, 2024

Just pushed 0.11.0 :)

from libgraph.

Related Issues (20)

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.