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

[egf]: allow untyped links #236

Open
nichtich opened this issue Jul 23, 2020 · 1 comment
Open

[egf]: allow untyped links #236

nichtich opened this issue Jul 23, 2020 · 1 comment

Comments

@nichtich
Copy link

In lack of a formal specification It's not strictly forbidden at the moment. Explicit mentioning the possibility of untyped links would help:

foo
  #ref bar

Or with #234

foo
  -> bar

The parser could treat untyped links as links with property label being the empty string.

@postspectacular
Copy link
Member

I'm not quite sure how you'd represent these in the target environment/datastructure. E.g. in JS each node is an object with properties and their values as KV pairs. So for untyped edges between nodes we'd need to introduce another special property (like $id or $ref). Not sure what to call that, really...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants