Skip to content

Releases: aautar/graphpaper

Fix AccessibleRoutingPointsFinder's treatment of entities where routing around is not allowed

31 Aug 20:54

Choose a tag to compare

  • Add PointSet.contains() method
  • Fix to AccessibleRoutingPointsFinder.find(). Entities with isRoutingAroundBoundingRectAllowed == false are not treated as occluders

Entity methods to set/get routing behavior relative to bounding rectangle

31 Aug 02:39

Choose a tag to compare

  • Added Entity.setRoutingAroundBoundingRect() to set if routing around the bounding rectangle of the Entity is allowed (default is true)
  • Added Entity.isRoutingAroundBoundingRectAllowed() to check if routing around the bounding rectangle of the Entity is allowed

Fix to perform snap-to-grid for entities translated via GroupEncapsulationEntity

10 Mar 06:03

Choose a tag to compare

v43.2.5

fix to perform snap-to-grid for entities translated via GroupEncapsul…

Fix to remove wrapped export for CJS dist

08 Mar 06:10

Choose a tag to compare

v43.2.4

remove wrapped export for CJS dist

Fix main entry point in package.json exports object

08 Mar 04:25

Choose a tag to compare

v43.2.3

fix main entry point in package.json exports object

Create cjs and esm dist files

07 Mar 07:58
ab1531c

Choose a tag to compare

Merge pull request #51 from aautar/dist-esm-cjs

cjs and esm module dist files

Optimize dragging and resizing of entities

17 Feb 23:10

Choose a tag to compare

Refactor DragContext and ResizeContext, and their use, such that the Entity being transformed is stored in the context, instead of the Entity ID. This avoids a lookup-by-ID for the Entity when transforming the Entity in drag and resize handlers.

Support FROM_HANDLE_SELECTION_START translation mode on Entity

16 Feb 23:46
40c32cd

Choose a tag to compare

  • Allow setting EntityTranslationMode.FROM_HANDLE_CENTER (default) or EntityTranslationMode.FROM_HANDLE_SELECTION_START on entities via Entity.setTranslationMode()
  • Get translation mode on Entity via Entity.getTranslationMode()

EntityTranslationMode.FROM_HANDLE_SELECTION_START indicates translations, when dragging, are relative to where the selection starts (e.g. where the pointer is).

EntityTranslationMode.FROM_HANDLE_CENTER (the current and the default) indicates translations, when dragging, are anchored to the center of the selected translation handle.

A side effect of EntityTranslationMode.FROM_HANDLE_CENTER is that, when dragging starts, the Entity will instantly be re-positioned such that the selected translation handle is centered where the mouse pointer (or touch point) is. This can be visually jarring with large entities. EntityTranslationMode.FROM_HANDLE_SELECTION_START does not re-position the Entity relative to the selected translation handle.

Add GroupEncapsulationEntity methods

15 Feb 18:10

Choose a tag to compare

New methods for GroupEncapsulationEntity

  • Added GroupEncapsulationEntity.getEncapsulatedEntities()
  • Added GroupEncapsulationEntity.getBoundingRect()

Redesign mechanism for multi-entity transformations

10 Feb 05:21
7c4a67d

Choose a tag to compare

  • Removed GroupTransformationContainer and related constructs
  • Introduced GroupEncapsulationEntity as mechanism to encapsulate and transform multiple entities