Crate gml_parser

source
Expand description

A parser for the Graph Modelling Language (GML) format.

Example graph:

graph [
  directed 1
  node [
    id 0
    label "Node 0"
  ]
  node [
    id 1
    label "Node 1"
  ]
  edge [
    source 0
    target 0
  ]
  edge [
    source 1
    target 0
  ]
]

Modules§

  • Object types that represent a parsed GML graph.

Functions§

  • Parse the graph string into a gml::Gml object. If the graph contains syntax errors, a human-readable error message will be returned.