Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 08:03
1897b09

This version is a minor version. It changes no API. The layout of a graph with crossed edges in the strategy layers can change.

  • A long edge in the strategy layers gets a virtual node in each layer between its ends. Thus the barycenter ordering also counts the long edges.
  • The ordering counts the crossings after each pass, and it keeps the order with the fewest crossings. Thus a pass does not make the order worse.
  • Each example of the gallery keeps its layout: the golden files do not change.
  • A dependency map of 250 boxes and 293 edges had 3710 crossings of its routed edges with 0.1.5. With 0.2.0, it has 2010.
  • The crossing reduction adds approximately 0.4 kB gzip to each entry with the strategy layers. The gzip size of layout goes from 17.34 kB to 17.72 kB. The size limits of layout, the core, ireko/shapes, ireko/react and ireko/xyflow go up by 0.3 kB to 0.5 kB.