jamesscottbrown / pyyed

A simple Python library to export networks to yEd
BSD 3-Clause "New" or "Revised" License
82 stars 38 forks source link

import from `networkx` #52

Open laimaretto opened 1 year ago

laimaretto commented 1 year ago

Hello, I was wondering if it's possible to import a networkx based network into pyyed ...

I'm asking this because, even though networkx has the method nx.write_graphml() when opening that file in yEd, I still need to do all the attributes mapping, for example, to see labels on nodes or edges, or the see color applied.

However, if the network is created from scratch with pyyed, then opening it in yEd is straight forward.

thanks!