Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unconnected graphs are not drawn #3

Open
teake opened this issue Mar 26, 2019 · 0 comments
Open

Unconnected graphs are not drawn #3

teake opened this issue Mar 26, 2019 · 0 comments

Comments

@teake
Copy link

teake commented Mar 26, 2019

Hi,

Thanks for the nice library! I did find one issue though: graphs with only unconnected vertices are not drawn. The simplest case (below) yields ''. Graphs with both connected and unconnected vertices do get drawn ok though.

import networkx as nx
from asciinet import graph_to_ascii

G = nx.Graph()
G.add_node(1)
assert graph_to_ascii(G) != ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant