Skip to content

abourque72/quiver-mutation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

quiver-mutation

Play around with quiver mutation! You will need to install python 3, pip, and tkinter. Based on the rules in https://arxiv.org/abs/1608.05735


Configuration

There is a config file, which must be named quiver_config.txt, and must be placed in the same folder as the main python file.

It has four options:

  • num_rows: the number of rows of nodes
  • num_columns: the number of columns of nodes
  • node_radius: the radius (presumably) in pixels of the nodes.
  • node_spacing: the spacing (presumably) in pixels between the nodes.

Please keep the formatting as is provided; namely, the name of each entry must be as is given above, and the equals sign must be directly in between the name and the number (no spaces).


App Features

There are four modes: set nodes, move nodes, edges, and mutate.

  1. Set Nodes: Here, you can choose which nodes will be frozen and which nodes will be mutable. Click once to make it frozen (displays an F), click again to make it mutable (displays an M), and click again to make it empty. In all other modes, the empty nodes will disappear, but returning to this mode will make them reappear.

  2. Move Nodes: Self explanatory; you can move nodes around by left clicking and dragging.

  3. Edges: Edges are oriented. Click one node; that will be the initial node of an edge. Then, click another node; that will be the final node of the edge. Since I am following the conventions in https://arxiv.org/abs/1608.05735, loops and oriented 2-cycles are not allowed. In other words, you cannot have an edge from a node to itself, and you cannot have edges in different directions between the same two nodes. There can be multiple edges in the same direction between the same two nodes. To increase the edge multiplicity, left click the number in the middle of an edge. To decrease the edge multiplicity, right click the number in the middle of an edge. If you right click on an edge of multiplicity one, it will remove the edge.

  4. Mutate: Left click on a mutable node to perform the quiver mutation at that node.

To-do:

  • Increase reliability of edge creation.
  • Make edge multiplicity more visible.
  • Add instructions for installation.
  • Recreate program for the web.
  • Clean-up the code.

About

play around with quiver mutation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages