Support for generating ASCII from NetworkX graph?
Opened this issue · 1 comments
mumrah commented
Is it possible to use this library to generate ASCII graphs from a NetworkX graph object?
AnjoMan commented
Sorry, there is nothing in asciigraf
that can do this. I've seen a few different things around the web that could be used to cobble something together (e.g. https://pypi.org/project/grandalf/ seems to be a pure-python layout tool, but doesn't have the part about rendering the layout in ascii)
if we were to add support for this, i think there are a few important considerations
- there are a lot of different graphs, so we'd probably want some different layout algorithms
- asciigraf is currently very much cross-platform, so we'd ideally want a graph layout algorithm that is also cross-platform