logo Netzschleuder network catalog, repository, and centrifuge

History of fullerene_structures

The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.

[entries] Add the date when each entry was added, and remove icon_hash by Tiago de Paula Peixoto beff7c9
The dates are those of the commits that first added the entries' files
(2020-08-11 for the entries of the initial commit); renamed entries keep
the date of their first name.

Changed: none
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index da7002e..aa5425d 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -28,7 +28,7 @@ The networks have the following properties:
 tags = ['Chemical', 'Unweighted', 'Spatial']
 url = 'https://doi.org/10.6084/m9.figshare.5700832'
 citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
-icon_hash = '5e25280d78691ca4060b74ae'
+date_added = '2020-08-11'
 upstream_license = ("Creative Commons Attribution 4.0 International (CC BY 4.0)",
                     "https://creativecommons.org/licenses/by/4.0/")
 # figshare's ndownloader refuses some automated downloads, so the files
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) by Tiago de Paula Peixoto bc3dbbd
The lists of properties at the end of the descriptions marked edge
properties with "Edge" but left node properties unmarked, or grouped
them in "Nodes: `a`, ...; `b`, ..." items, so the kind of a property
was often unclear. Every item now starts with (Node), (Edge) or (Graph),
followed by the property names, a colon and the explanation, one item
per property or group of properties; qualifications (kinds of nodes,
networks) follow the names in parentheses. Properties that were only
named got a short explanation, and a few items that named the wrong
kind of property were corrected.
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 9d6c4fb..da7002e 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -23,8 +23,8 @@ description = r"""Fifteen molecular graphs of fullerenes, closed-cage molecules
 
 The networks have the following properties:
 
-- `label`: the index of the atom in the source file.
-- `weight` (edges): always 1."""
+- (Node) `label`: the index of the atom in the source file.
+- (Edge) `weight` (edges): always 1."""
 tags = ['Chemical', 'Unweighted', 'Spatial']
 url = 'https://doi.org/10.6084/m9.figshare.5700832'
 citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
[entries] Remove unneeded code from the entries by Tiago de Paula Peixoto 2c69f19
Unneeded "global files" statements, unused imports and variables,
f-strings without placeholders, duplicate keys in foodweb_little_rock
(keeping the order and the values used), and the second definition of
get_lines() in twitter_higgs. Nothing changes in the networks or
descriptions.

Changed: none
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 4c73856..9d6c4fb 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -47,7 +47,6 @@ def fetch_upstream(force=False):
 @coerce_props()
 @annotate()
 def parse(alts=None):
-    global files
     name = __name__.split(".")[-1]
     for fnames, alt, fmt in files:
         if alts is not None and alt not in alts:
[entries] Move unavailable upstream sources to verified alternatives by Tiago de Paula Peixoto 2137af6
The upstream sources of these entries are gone, moved, or refuse automated
downloads; each now downloads the same data (byte-identical to the cached
files, or for board_directors, identical apart from line endings) from:

- add_health: the Wayback Machine (Moreno's site, as its sibling entries)
- board_directors: T. Opsahl's site (opsahl.co.uk)
- copenhagen, cow_signed_relations, fullerene_structures,
  german_power_grid: figshare's API (its downloader refuses the server)
- drosophila_flybi: the same address, without a doubled slash
- dutch_criticism: V. Batagelj's repository of Pajek data on GitHub
- fly_larva: the copy of the supplementary files in Europe PMC
- foursquare: the authors' Google Drive file
- game_thrones, microsoft_concept, un_migrations: pinned Wayback Machine
  snapshots
- internet_top_pop: the Topology Zoo repository on GitHub
- scotus_majority: Harvard Dataverse and Wayback Machine snapshots
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 758a576..4c73856 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -31,7 +31,9 @@ citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed netwo
 icon_hash = '5e25280d78691ca4060b74ae'
 upstream_license = ("Creative Commons Attribution 4.0 International (CC BY 4.0)",
                     "https://creativecommons.org/licenses/by/4.0/")
-upstream_prefix = 'https://ndownloader.figshare.com/files'
+# figshare's ndownloader refuses some automated downloads, so the files
+# are downloaded through figshare's API (the same files, by id)
+upstream_prefix = 'https://api.figshare.com/v2/file/download'
 files = [(f"21172485:zip:Molecular graphs of fullerene/Fullerenes graphs in gml format/Fullerene {net}.gml", net, "gml")
          for net in ["C1500", "C180", "C2160", "C240", "C260", "C2940", "C320",
                      "C3840", "C4860", "C500", "C540", "C6000", "C60", "C720",
[entries] Lay out spatial networks with cfd_layout() without the SBM partition by Tiago de Paula Peixoto 9db8d77
Road, power grid, public transport, water and river networks and physical
meshes override get_pos() with the default parameters of cfd_layout(),
without grouping by the partition of the SBM fit.
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index c82e12f..758a576 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -56,3 +56,9 @@ def parse(alts=None):
             fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
             g = parse_graph(fs, fmt, directed=False)
         yield alt, g
+
+
+def get_pos(g, sbm_fit):
+    # Spatial network: laid out with the default parameters of cfd_layout(),
+    # without the partition of the SBM fit
+    return cfd_layout(g)
[entries] Merge duplicate entries and add cross-references between related ones by Tiago de Paula Peixoto 9bc6033
- Removed duplicates, merged into the entries holding the same data:
  dblp_coauthor_snap (soc_net_comms), cattle and bison (dom; bison's
  breeding data move there, as do the wolves' age and sex),
  football_tsevans (football, with both conference assignments),
  eu_procurements_alt (eu_procurements), foursquare_friendships
  (foursquare_global).
- software_dependencies: colt and scolt are one network; ambassador: the
  duplicate 2001 network is dropped and the three same-edge networks
  combined; dom: the dataset count corrected (436).
- macaque_neural: Young's 71-area network added (young71; the 47-area one
  is now cocomac47), both from archived copies.
- collins_yeast, celegans_interactomes: from archived copies of the dead
  CCSB site (byte-identical files).
- Cross-references between entries holding versions of the same data
  (food webs, Wikipedia, Slashdot, physicians, SNAP/Mislove, CCSB).
- ICON ids of duplicate records added; macaque_neural's corrected.
- prosper, dbpedia_all: string properties given in edge-index order (needs
  graph-tool with the fixed vals ordering).
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 2f60105..c82e12f 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -29,7 +29,8 @@ tags = ['Chemical', 'Unweighted', 'Spatial']
 url = 'https://doi.org/10.6084/m9.figshare.5700832'
 citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
 icon_hash = '5e25280d78691ca4060b74ae'
-upstream_license = 'CC BY 4.0'
+upstream_license = ("Creative Commons Attribution 4.0 International (CC BY 4.0)",
+                    "https://creativecommons.org/licenses/by/4.0/")
 upstream_prefix = 'https://ndownloader.figshare.com/files'
 files = [(f"21172485:zip:Molecular graphs of fullerene/Fullerenes graphs in gml format/Fullerene {net}.gml", net, "gml")
          for net in ["C1500", "C180", "C2160", "C240", "C260", "C2940", "C320",
[entries] Add networks to existing entries by Tiago de Paula Peixoto 3023ce5
- digg_votes: the Digg friendship network (`friends`, next to `votes`)
- facebook_wall: the friendship links (`friends`, next to `wall`)
- interactome_vidal: CCSB's HI-I-05 interactions (`HI-I-05`, next to
  `maayan`)
- trackers: ssc.io's tracker embedding network (`trackers`, next to
  KONECT's `third_parties`), with corrected description and citations
- dblp_author_paper, dblp_cite, dblp_coauthor: the dblp release of
  2026-10-03 (`2026-10`, next to `2017`)
- fullerene_structures: year, licence and description
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 59c56a1..2f60105 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -18,8 +18,8 @@
 
 from .. import *
 
-title = "Fullerene molecular structures"
-description = r"""Fifteen molecular graphs of fullerenes, closed-cage molecules made only of carbon atoms, with sizes from 60 atoms (C60, buckminsterfullerene) to 6000 atoms. Nodes are carbon atoms and undirected edges are the chemical bonds between them; as in every fullerene graph, each atom is bonded to exactly three others, and the bonds form 12 pentagonal and otherwise hexagonal rings. The graphs were assembled by S. Aref and M. C. Wilson from published three-dimensional atomic coordinates (the Yoshida fullerene library and a collection of icosahedral fullerenes), and were used to compute the bipartite edge frustration and other bipartivity measures, which have been proposed as indicators of the chemical stability of fullerenes. Each network is named after the molecular formula of the fullerene (e.g. `C240`).
+title = "Fullerene molecular structures (2017)"
+description = r"""Fifteen molecular graphs of fullerenes, closed-cage molecules made only of carbon atoms, with sizes from 60 atoms (C60, buckminsterfullerene) to 6000 atoms. Nodes are carbon atoms and undirected edges are the chemical bonds between them; as in every fullerene graph, each atom is bonded to exactly three others, and the bonds form 12 pentagonal and otherwise hexagonal rings. The graphs were assembled by S. Aref and M. C. Wilson from published three-dimensional atomic coordinates (the Yoshida fullerene library and a collection of icosahedral fullerenes), and published in a collection of networks used in their study of balance and frustration in signed networks (Aref and Wilson, 2019), where they were used to compute the bipartite edge frustration and other bipartivity measures, which have been proposed as indicators of the chemical stability of fullerenes. Each network is named after the molecular formula of the fullerene (e.g. `C240`). The other networks of the same collection are in the entries `lazy_portfolios`, `cow_signed_relations`, `signed_biological` and `signed_social_relations`; the atomic coordinates from which the graphs were built are also part of the collection but are not included.
 
 The networks have the following properties:
 
@@ -29,7 +29,7 @@ tags = ['Chemical', 'Unweighted', 'Spatial']
 url = 'https://doi.org/10.6084/m9.figshare.5700832'
 citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
 icon_hash = '5e25280d78691ca4060b74ae'
-upstream_license = None
+upstream_license = 'CC BY 4.0'
 upstream_prefix = 'https://ndownloader.figshare.com/files'
 files = [(f"21172485:zip:Molecular graphs of fullerene/Fullerenes graphs in gml format/Fullerene {net}.gml", net, "gml")
          for net in ["C1500", "C180", "C2160", "C240", "C260", "C2940", "C320",
[entries] Fix parse bugs and improve the metadata of existing entries by Tiago de Paula Peixoto c996a0e
From a review of the dataset descriptions against the upstream sources
and papers, and from user reports:

- parse fixes (wrong edge direction or directedness, shifted or
  misnamed properties, merged node identities, duplicated or missing
  edges and nodes, wrong types), e.g. arxiv_citation (the HepTh dates
  were a copy of the HepPh ones; now from the KDD Cup 2003 data),
  eu_procurements, foursquare_global, hiv_transmission, genetic_multiplex,
  gnutella (adds the 05 snapshot), roadnet, macaque_neural, python_dependency
- descriptions rewritten from the upstream sources, documenting every
  property
- corrected titles, citations and DOIs, licences (ustream_license typo,
  the data's own terms), tags and ICON ids
- url lists for entries with several sources or dataset pages
- SocioPatterns entries moved to the site's new data location, with the
  daily networks of sp_infectious and sp_primary_school
- the Michael Fire entries marked as orphans (served from the mirror)
- redundant type forcings removed after the graph-tool coercion fixes
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index ae24ad3..59c56a1 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -19,13 +19,17 @@
 from .. import *
 
 title = "Fullerene molecular structures"
-description = """Fifteen networks of carbon atoms and the atomic bonds that connect them within molecules of fullerenes, from 60 atoms up to 6000 atoms. A bond is defined to exist whenever the distance of two atoms is less than 1.5 angstrom.[^icon]
-[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
-tags = ['Biological', 'Chemical', 'Unweighted', 'Spatial']
+description = r"""Fifteen molecular graphs of fullerenes, closed-cage molecules made only of carbon atoms, with sizes from 60 atoms (C60, buckminsterfullerene) to 6000 atoms. Nodes are carbon atoms and undirected edges are the chemical bonds between them; as in every fullerene graph, each atom is bonded to exactly three others, and the bonds form 12 pentagonal and otherwise hexagonal rings. The graphs were assembled by S. Aref and M. C. Wilson from published three-dimensional atomic coordinates (the Yoshida fullerene library and a collection of icosahedral fullerenes), and were used to compute the bipartite edge frustration and other bipartivity measures, which have been proposed as indicators of the chemical stability of fullerenes. Each network is named after the molecular formula of the fullerene (e.g. `C240`).
+
+The networks have the following properties:
+
+- `label`: the index of the atom in the source file.
+- `weight` (edges): always 1."""
+tags = ['Chemical', 'Unweighted', 'Spatial']
 url = 'https://doi.org/10.6084/m9.figshare.5700832'
 citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
 icon_hash = '5e25280d78691ca4060b74ae'
-ustream_license = None
+upstream_license = None
 upstream_prefix = 'https://ndownloader.figshare.com/files'
 files = [(f"21172485:zip:Molecular graphs of fullerene/Fullerenes graphs in gml format/Fullerene {net}.gml", net, "gml")
          for net in ["C1500", "C180", "C2160", "C240", "C260", "C2940", "C320",
Update copyright information by Tiago de Paula Peixoto 73a4f0d
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index ccf1ceb..ae24ad3 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 3d288ea
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 397c137..ccf1ceb 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 8d005ae
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index bb3ae8c..397c137 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright info by Tiago de Paula Peixoto db2efcc
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 336bd5a..bb3ae8c 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Change license from GPLv3 to AGPLv3 by Tiago de Paula Peixoto d754be5
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index 309d08d..336bd5a 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -3,18 +3,18 @@
 #
 # Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
 #
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
+# details.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Affero General Public License along
+# with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from .. import *
 
Add explicit attribution to descriptions obtained from ICON by Tiago de Paula Peixoto 1645314
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
index a4d601b..309d08d 100644
--- a/entries/fullerene_structures/__init__.py
+++ b/entries/fullerene_structures/__init__.py
@@ -19,7 +19,8 @@
 from .. import *
 
 title = "Fullerene molecular structures"
-description = "Fifteen networks of carbon atoms and the atomic bonds that connect them within molecules of fullerenes, from 60 atoms up to 6000 atoms. A bond is defined to exist whenever the distance of two atoms is less than 1.5 angstrom."
+description = """Fifteen networks of carbon atoms and the atomic bonds that connect them within molecules of fullerenes, from 60 atoms up to 6000 atoms. A bond is defined to exist whenever the distance of two atoms is less than 1.5 angstrom.[^icon]
+[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Biological', 'Chemical', 'Unweighted', 'Spatial']
 url = 'https://doi.org/10.6084/m9.figshare.5700832'
 citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
Initial commit by Tiago de Paula Peixoto cc85872
diff --git a/entries/fullerene_structures/__init__.py b/entries/fullerene_structures/__init__.py
new file mode 100644
index 0000000..a4d601b
--- /dev/null
+++ b/entries/fullerene_structures/__init__.py
@@ -0,0 +1,52 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+
+title = "Fullerene molecular structures"
+description = "Fifteen networks of carbon atoms and the atomic bonds that connect them within molecules of fullerenes, from 60 atoms up to 6000 atoms. A bond is defined to exist whenever the distance of two atoms is less than 1.5 angstrom."
+tags = ['Biological', 'Chemical', 'Unweighted', 'Spatial']
+url = 'https://doi.org/10.6084/m9.figshare.5700832'
+citation = [('S. Aref and M. C. Wilson, "Balance and frustration in signed networks." J. Complex Networks 7(2), 163–189 (2019)', 'https://doi.org/10.1093/comnet/cny015')]
+icon_hash = '5e25280d78691ca4060b74ae'
+ustream_license = None
+upstream_prefix = 'https://ndownloader.figshare.com/files'
+files = [(f"21172485:zip:Molecular graphs of fullerene/Fullerenes graphs in gml format/Fullerene {net}.gml", net, "gml")
+         for net in ["C1500", "C180", "C2160", "C240", "C260", "C2940", "C320",
+                     "C3840", "C4860", "C500", "C540", "C6000", "C60", "C720",
+                     "C960"]]
+
+def fetch_upstream(force=False):
+    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+                                force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+    global files
+    name = __name__.split(".")[-1]
+    for fnames, alt, fmt in files:
+        if alts is not None and alt not in alts:
+            continue
+        if isinstance(fnames, str):
+            fnames = [fnames]
+        with ExitStack() as stack:
+            fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
+            g = parse_graph(fs, fmt, directed=False)
+        yield alt, g