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

GraphML>SBGNML direction: logic for identifying positions for ports #4

Open
amazein opened this issue Jun 13, 2018 · 0 comments
Open

Comments

@amazein
Copy link
Contributor

amazein commented Jun 13, 2018

The idea is to focus on just one arc and 1) if it does not have any bend points, then compare the positions of the two nodes, 2) if it has bend points, find the one closest to the process, it would be the last bend point for incoming arcs, then compare positions of the bend point and the process glyph.

This focusing-on-one-arc approach will not work if in yEd someone forgets to bend links where needed. It is often like that for logic gates.

By the way, for logic gates, it is often that situation that the outgoing arc goes directly to process (see the figure attached). For that reason, it makes sense to focus on the outgoing arc (with an arrowhead).
untitled

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

No branches or pull requests

1 participant