Closed j-i-l closed 3 years ago
Testing
Input and modification
Layout
[x] Possible layouts are 'top', 'bottom', 'centered' and 'optimized'. Only 'optimized' takes vertical flow distances into account.
[x] Difference between 'top' and 'bottom' is y-axis direction. Not ideal, as this complicates having column specific layouts.
[ ] Allow to position a column (y-offset) such that the total vertical displacement of attached flows is (approx.) minimized.
[ ] Allow block swapping within column (more generally, pushing all blocks in a list of blocks back one index an put last at index 0).
[x] Automatically set the x&y limits.
[x] Sorting flows attached to a single block based on:
[ ] Implementation of 'optimized' layout algorithm
[x] make the y-axis invisible by default
Styling
[x] Set up default styling (flow with alpha 0.7?)
[x] Assert priority hierarchy for styling arguments: Proxies > Tags > SubDiagrams > Alluvial
[ ] Flows colors can handle 'source', 'target', 'interpolate' and 'migration':
[x] cmaps for blocks with common tag
[x] cmaps for blocks in SubDiagram
Examples to specify
Needs rc 3.4.0 for cbook.narmalize_kwargs
for the tests to pass...
Bring the structure closer to an mpl module