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

Implement multi-node notation. #2

Open
dietercastel opened this issue Nov 29, 2019 · 1 comment
Open

Implement multi-node notation. #2

dietercastel opened this issue Nov 29, 2019 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dietercastel
Copy link
Contributor

dietercastel commented Nov 29, 2019

The string below should result in a network where each C node has a directed connection to F.
str1 = "C1,C2,C3>F"
Same for the undirected case of course:
str2 = "F-C1,C2,C3"

Both sides could be useful as well:
str3 = "A,B-C,D" This could expand to this: str3 = "D-A-C; D-B-C"

The advantages of 'expanding' the syntactic sugar like that is that the parser only needs an extra preprocessing step (right behind the cleaning up of spaces). But if you see another better solution feel free to pick that one.

First writing some tests cases for this (e.g. the above) would be a good start.

@dietercastel dietercastel added the help wanted Extra attention is needed label Dec 6, 2019
@dietercastel
Copy link
Contributor Author

This is by no means a priority but a nice addition. :-)

@dietercastel dietercastel added the good first issue Good for newcomers label Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant