Git Product home page Git Product logo

graphio.jl's Introduction

GraphIO

Build Status codecov.io

GraphIO provides support to LightGraphs.jl for reading/writing graphs in various formats.

The current version of GraphIO works with Julia version >= 0.7.

Currently, the following functionality is provided:

Format Read Write Multiple Graphs Format Name
[EdgeList] EdgeListFormat
[GML] GMLFormat
[Graph6] Graph6Format
[GraphML] GraphMLFormat
[Pajek NET] NETFormat
[GEXF] GEXFFormat
[DOT] DOTFormat
[CDF] CDFFormat

[EdgeList]: a simple list of sources and dests separated by whitespace and/or comma, one pair per line. [GML]: https://en.wikipedia.org/wiki/Graph_Modelling_Language [Graph6]: https://users.cecs.anu.edu.au/~bdm/data/formats.html [GraphML]: https://en.wikipedia.org/wiki/GraphML [Pajek NET]: https://gephi.org/users/supported-graph-formats/pajek-net-format/ [GEXF]: https://gephi.org/gexf/format/ [DOT]: https://en.wikipedia.org/wiki/DOT_(graph_description_language)

Graphs are read using either the loadgraph function or, for formats that support multiple graphs in a single file, the loadgraphs functions. loadgraph returns a LightGraph object, while loadgraphs returns a dictionary of LightGraph objects.

For example, an edgelist file could be loaded as:

graph = loadgraph("path_to_graph/my_edgelist.txt", "graph_key", EdgeListFormat())

graphio.jl's People

Contributors

andreasnoack avatar bicycle1885 avatar sbromberger avatar simonschoelly avatar waldyrious avatar

Watchers

 avatar

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.