mslehre / MAS

Maximum Acyclic Subgraph (MAS) - Multiple Sequence Alignment (MSA) Game
1 stars 0 forks source link

sE graph layout #73

Open Luc4sQ opened 5 years ago

Luc4sQ commented 5 years ago

An algorithm that computes new coordinates for nodes on their horizontal axis. Design a criterion for the placement such that the game position is clear, e.g. long near-horizontal edges are avoided. The criterion could be force-directed, e.g. chosen edges pull their connected nodes together and nodes push each other away. A possible solution is using Graphviz, possibly as a library.

main Parts:

suggestion:

felbecker commented 5 years ago

Make sure you use the new class DrawNode to access and modify the positions where each node is rendered. Please read my comment in #74.

felbecker commented 5 years ago

We came to the conclusion that: