Unable to get edge/vertex/... from io.gmshio.model_to_mesh with dolfinx version0.9.0

Hi, I’m using Ubuntu22.04 with dolfinx 0.9.0, the latest version on official website.
I want to get the edge and vertex infomation from the model generated by gmsh, while on the source of Fenics github repository it should work by using dolfinx.io.gmshio.model_to_mesh function https://github.com/FEniCS/dolfinx/blob/main/python/dolfinx/io/gmshio.py#L254)) supposing to return to MeshData with mesh, cell tags, facet tags, edge tags, vertex tags and physical groups as follows.

But when I use the function, it can only return to a tuple with 3 components: mesh, cell tags and facet tags.

I don’t know it’s a version problem or what, as I’ve already gotten the newest one( though I knew someone’s version is 0.10.0)
I install with the instruction for ubuntu of the documentation:

sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt update
sudo apt install fenicsx

If someone could help for it, I really appreciate it.

v0.9.0 does not have the updated interface included, as you can see by:

This will be part of the v0.10.0 release (and is currently available through the nightly docker images:

1 Like

Thank you very much!