PiotrJustyna / drakon-renderer

svg drakon diagrams
MIT License
2 stars 0 forks source link

valent point #89

Open PiotrJustyna opened 1 week ago

PiotrJustyna commented 1 week ago

Having read:

https://drakon.su/_media/video_i_prezentacii/graphical_syntax_.pdf

I can sadly confirm that this type of connection is not canonical drakon:

Screenshot 2024-10-14 at 14 59 45

I also learned a lot about what drakon diagrams were initially intended to be and that sheds some new light on the layout algorithm... Updates soon, but for now I need to introduce a valent point in the list of positioned icons. That should solve the connection from the screenshot above and also could simplify the connection algorithm which today handles the "bypasses":

Screenshot 2024-10-14 at 15 04 21

PiotrJustyna commented 1 week ago

We can't realistically expect end users to define valent points themselves in the input, so those must be added artificially: