umbrella icon indicating copy to clipboard operation
umbrella copied to clipboard

[egf]: allow untyped links

Open nichtich opened this issue 4 years ago • 1 comments

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 https://github.com/thi-ng/umbrella/issues/234

foo
  -> bar

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

nichtich avatar Jul 23 '20 07:07 nichtich

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...

postspectacular avatar Jul 23 '20 08:07 postspectacular