Skip to content

Releases

v0.19.5

Choose a tag to compare

@github-actions github-actions released this 27 Nov 06:47
05b28f2

An automated dependency update changes the shipped files, so this PATCH ships them.

v0.19.4

Choose a tag to compare

@github-actions github-actions released this 24 Nov 17:06
588aa6f

This version is a PATCH: the repository moved to metrograph-labs. The fields repository and homepage of package.json and the links of the README name the new repository. The code does not change.

v0.19.3

Choose a tag to compare

@github-actions github-actions released this 19 Nov 01:03
e490253

This version is a PATCH: three private functions use their home, and the range of a dependency goes up. No output changes.

The nearest point of a segment comes from its home

  • The router adam uses nearestOnSegment of @mark1russell7/layout-contract for the point of a leg nearest to a point.
  • nearestOnLine of sbeb uses nearestOnSegment for each leg. Its choice between the legs does not change.
  • The error of a clothoid fit uses pointSegmentDistance for the distance to each leg of the dense polyline.
  • Each of the three copies had the float formula of the home. Thus each route, each curve and each record has the same bytes.
  • The range of @mark1russell7/layout-contract is ^0.10.6, the first version with nearestOnSegment.
  • The roadmap item NEAREST-COPIES moves the other five copies.

v0.19.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 22:38
ad90f33

This version is a PATCH: it adds two functions and their types. No output changes.

Two measures of the joins

  • The new function falseJoins(graph, routes, options) gives the measure B12: the share of the ink where edges of two groups or more read as one line.
  • A point of a leg is a false join when edges of two group keys draw the leg.
  • A point is also a false join when a parallel leg of a different key is nearer than near and its projection covers the point.
  • The group key of an edge comes from the option rule, with the default byCollection. An edge without a key is a group alone.
  • The options near and maxAngle have the defaults of routeSeparation: 4 units and 5 degrees.
  • The result has the share, the length of the false joins, the ink and the values of each edge.
  • The new function curveAgreement(routes, curve, options) gives the measure C12: the gap between the drawn curves of routes on a run of points that they share.
  • The parameter curve gives the drawn curve of a route, for example with curveOf.
  • The result has the count of the runs, their length and the length that the function read. It also has the length with a gap above apart, the share and the largest gap.
  • A count of 0 tells that the routes share no run. Thus a gate can tell "no read" from a good value.
  • The defaults are 1 unit for apart, 0.25 for tolerance and 1 unit for step. The option ends keeps the ends of each run out of the read.
  • No suite, no screen and no gate reads the two measures. measureQuality and the type Quality do not change.
  • The note on the measures has the rows B12 and C12.

v0.19.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:02
938be89

This version is a PATCH: it adds an optional method, a type and an export. No output changes.

A session of a router

  • The type Router has a new optional method session(graph). It gives a RouterSession with route(edges) and dispose().
  • session.route(edges) gives the result of router.route({ ...graph, edges }): the same routes, the same points and the same notes.
  • The session of cornersRouter keeps the obstacles and the corner graph of the nodes. A route of a few edges among many nodes does not make them again.
  • The new function routerSession(router, graph) gives the session of each router. A router without the method gets a session with no kept work.
  • A copy of a router of cornersRouter with a different route, for example withRepair(router), gets a session with no kept work. Thus it keeps its own results.
  • The session holds a snapshot of the nodes. A change of a node needs a new session.
  • A test compares the session with the plain route on 350 sets of edges for 10 sets of options of corners, and on 105 sets for 3 other routers.
  • The script scripts/session-time.ts times the plain route and the session for 2 edges among 400, 800 and 2000 nodes. The workflow Records starts it.

The stamps of a long session

  • A grid and the search of a corner graph mark their entries with a stamp. Each query takes the next stamp, and a mark is a 32-bit value.
  • A session keeps its grids and its corner graphs for each route, so a stamp can come to the largest 32-bit value.
  • At that value, a grid and a search set their marks to 0 and start again at the stamp 1. The cost is one test for each query.
  • Without this new start, a grid gives an item more than one time after 2^31 queries, and a search does not end after 2^31 searches.
  • The search of SoftGraph has the same stamps and the same new start. No session keeps a SoftGraph.
  • A test lowers the limit, so that one session comes to it many times. Each result keeps the value, the bytes and the work of the default limit.

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 05:53
88f760f

The release train changes the range of @mark1russell7/rigor-generators, @mark1russell7/rigor-statistics to a version outside the old range. The public types name @mark1russell7/rigor-generators, @mark1russell7/rigor-statistics, so its new version outside the old range can change them.

Breaking

  • The range ^0.1.1 of @mark1russell7/rigor-generators in dependencies does not hold 0.2.0, so it changes.
  • The range ^0.1.22 of @mark1russell7/rigor-statistics in dependencies does not hold 0.2.10, so it changes.

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 09:16
d7951a7

The release train changes the range of @mark1russell7/layout-contract to a version outside the old range. The public types name @mark1russell7/layout-contract, so its new version outside the old range can change them.

Breaking

  • The range ^0.5.1 of @mark1russell7/layout-contract in dependencies does not hold 0.10.0, so it changes.

v0.17.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 16:46
fa16eaa

This version is a PATCH: it adds an export and an optional parameter. No output changes.

The pick of a level

  • itemSizes(levels, side) takes an optional side, long (the default) or short. The type ItemSide names the two values.
  • The new function pickLevelOf(levels, scale, options) picks a level from the levels themselves. Its options are the thresholds of pickLevel, side and minItems.
  • With minItems, the search from fine to coarse stops at a level with fewer items. When no level passes, the pick is the coarsest level with enough items.
  • Without side and minItems, pickLevelOf gives the result of pickLevel. A test compares a rule with one threshold on 400 random sets of levels.

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 15:56
43f1baa

This version is a MINOR before 1.0, because default routes of sectionsRouter change. The public API does not change.

Routes that change

  • A way through the hubs that goes through a box gives way to the direct way, when the direct way goes through no box (SITE-HUB-THROUGH).
  • The way goes through a box when a piece between two hubs has no way. A step from a plug into a box does too.
  • The options margin: 20, stretch: 3, cap: 6 move 4 of 6,307 routes of 84 boards. Their route.through goes from 296 to 292.
  • With the default options, no route of these boards moves. The option outSteps: false keeps the routes of 0.16.0.

v0.16.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 07:15
4df6107

This version is a PATCH before 1.0: it adds two strategies, a new optional field and new exports. The default routes do not change.

Strategies

  • The curve strategy elastic (NAT-026) is an elastic band on the polyline of a route. Springs pull the band taut, and the boxes near it push it away. A spline goes through the band.
  • When a route has no band, elastic gives the spline of the polyline with the plug normals. Thus the curve leaves along the normal of each plug.
  • The plug strategy charges (RULE-054) pushes the free plugs of a side apart as equal charges. A spring pulls each plug to the place of facing.
  • routeSpace has 10 plug options. The record space-size/1 counts 1016275071962 base configs.

The rules of a curve

  • A curve strategy can declare curveRules: g1 for a curve with no kink, and normals for a curve that leaves along the plug normals.
  • The bench checks the rules C1 and C10 of each strategy that declares them. Before, the bench checked a fixed list of names. Thus a variant of a screen got no check.
  • The built-in curves declare the rules that the fixed list gave them. The results of the bench do not change.

Exports

  • elasticCurve, relaxBand, ELASTIC_DEFAULTS, ElasticOptions and ElasticStrategyOptions.
  • chargeEnds, chargePlugs, CHARGE_DEFAULTS and ChargeOptions.
  • CurveRules, and the optional field curveRules of Strategy and StrategyDefinition.