-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Currently the only way to index cells in the \implicant command is via the number value the cell has, that is sometimes rather counter-intuitive, since KV maps are numbered in a non-standard way. I propose a way of indexing the cells based on the x/y-Positions within the grid.
Example: Drawing an implicant from top right to bottom left on a 4x4 grid.
Current implementation: Type \implicant{0}{10}.
Problem: The indexing is counterintuitive, since you constantly have to calculate, which value corresponds to which cell.
Proposal: Index the grid from [0, 0] in the top left corner to [3, 3] in the bottom right. The above example could then be simplified to \implicant{0,0}{3,3}, which is more intuitive, since it is related to the cells position, not its index value. This is also just a syntax i thought of, it could be implemented differently.