Skip to content

harinandana02/AttributeGraphs.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AttributeGraphs.jl

codecov.io

AttributeGraphs.jl is an effort to make a dead-simple, type-stable, flexible, compliant with Graphs.jl container of a graph and its attributes. It wraps an AbstractGraph, thus in theory it can play with all subtypes, and provides API for edge, vertices and graph properties. The type of properties is parametric and fully flexible.

To access the properties you can use vertex_attr(), edge_attr(), graph_attr().

An opinionated API using addvertex!, remvertex!, addedge!, remedge! is exported, but if not appreciated one can directly use the add_vertex!, rem_vertex!, add_edge!, rem_edge! functions or easily create his/her own. The opinionated implementation uses a Vector for the data properties of each vertex and a Dict for the edge properties. The Dict keys are updated after a vertex removal.

See the docs for a comparison with similar packages

AttributesGraphs.jl is a simple and small project and might break often in favor of design improvements.

About

attribute graphs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%