JuliaGraphs / JuliaGraphs/MetaGraphsNext.jl

Is there an efficient way to read a GraphML file and produce a MetaGraph?

Open
#54 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Julia
Stars
93
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Is there an efficient way to read a GraphML file and produce a MetaGraph?

My use case: I have a file with vertices and edges, all with metadata. I can succesfully read the graph using

g = loadgraph(“calcGraph.graphml”,“graph”, GraphMLFormat())

but that ignores the key and data nodes. MetaGraphNext.jl doesn’t seem to have a function to read GraphML files.

Is there a way to read the GraphML, apart from using EzXML to read the GraphML file and building the MetaGraph myself? If not, what would be the most efficient and/or most Julian way to approach this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the GraphMLFormat/loadgraph path and the MetaGraphNext.jl APIs for vertex and edge metadata. Compare how GraphML key and data nodes are handled with the metadata expected by MetaGraphNext.jl. Done means establishing a supported, efficient way to load the metadata or documenting why a custom EzXML-based conversion is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.