Interfaces.jl icon indicating copy to clipboard operation
Interfaces.jl copied to clipboard

Graphs interface

Open gdalle opened this issue 2 years ago • 6 comments

My intern @olegfafurin and I are trying to formalize the AbstractGraph interface in this repo: https://github.com/gdalle/GraphsInterfaceChecker.jl

We might poke around and find missing stuff in Interfaces.jl

gdalle avatar Nov 03 '23 09:11 gdalle

Cool! @olegfafurin please feel free to make issues here for literally any problems you have or missing features you find. That kind of feedback is really useful at this stage.

Note that #37 will change testing and implementation definition a little and #34 will allow (multiple) inheritance soon.

rafaqz avatar Nov 03 '23 12:11 rafaqz

The interface is more or less complete for the time being, and the tests have grown larger, in case you're interested to see your package in action @rafaqz

gdalle avatar Jan 03 '24 09:01 gdalle

The tests look good! Happy its useful :)

rafaqz avatar Jan 03 '24 12:01 rafaqz

Also nice use of readme as the interface description!

Do you imagine packages will have this as a dependency, or just for checking the interface?

rafaqz avatar Jan 03 '24 16:01 rafaqz

For now it's a prototype, still waiting to evolve. Ideally I'd put this in Graphs.jl, but I fear there might be some pushback.

gdalle avatar Jan 03 '24 16:01 gdalle

Yes abosolutely. Packages could just have it as a test dependency.

rafaqz avatar Jan 03 '24 17:01 rafaqz