TextAnnotationGraphs icon indicating copy to clipboard operation
TextAnnotationGraphs copied to clipboard

Support n-ary relation (trigger-less) links

Open myedibleenso opened this issue 6 years ago • 0 comments

This may be related to #1.

Current Behavior

If a Link lacks a trigger, it is binarized:

  • https://github.com/CreativeCodingLab/TextAnnotationGraphs/blob/697642dbec1daa7b9b6ab219c66ff8af335df50e/src/js/components/link.js#L1021-L1138

Expected behavior

n-ary trigger-less Links should be supported. We can mimic the approach followed to draw events (a Link with a trigger):

  • https://github.com/CreativeCodingLab/TextAnnotationGraphs/blob/697642dbec1daa7b9b6ab219c66ff8af335df50e/src/js/components/link.js#L711

myedibleenso avatar Feb 26 '19 08:02 myedibleenso