Skip to content

v0.32.0

Choose a tag to compare

@AlexeyMz AlexeyMz released this 10 Mar 21:04
· 63 commits to master since this release

馃悰 Fixed

  • Avoid marking grouped relation as "layout only" when importing a diagram (only grouped relation links themselves).
  • Fix being unable to pan the canvas in Firefox when an graph element with a scrollbar inside was present.
  • Fix a freeze when opening a class tree in authoring mode when MetadataProvider.filterConstructibleTypes() returns without any delay.
  • Fix calling MetadataProvider.canConnect() with only source and without target when dragging over an element to establish a new link.
  • Fix flushSync was called from inside a lifecycle method React warning when calling centerTo(), centerContent(), zoomToFit() on CanvasApi from a lifecycle method.
  • Fix labels not loading for element and link type selectors in VisualAuthoring dialogs unless already preloaded from the diagram.
  • Use default property editor for entities or relations when VisualAuthoring.propertyEditor returns undefined.
  • Fix prepareLabels option for SparqlDataProvider to be applied for knownElementTypes(), knownLinkTypes(), elementTypes(), linkTypes(), propertyTypes() and elements.
  • Fix SparqlDataProvider.elements() to always return entities with sorted types.

馃拝 Polish

  • Allow to set className and style on workspace root when using DefaultWorkspace or ClassicWorkspace.
  • Allow to customize link label style separately for each property type in StandardRelation.
  • Allow to customize relation property editor with the built-in relation type selector RelationTypeSelector.
  • Export LinkMarkerCircle and LinkMarkerDiamond built-in link marker styles in addition to existing LinkMarkerArrowhead:
    • Built-in link markers now use context-stroke as stroke/fill value to match link path color.
  • Provide translation and current language to createEntity() and createRelation() methods of MetadataProvider.
  • Add RdfDataProvider.clear() to clear all added graphs to the provider.
  • Add datatypePredicates option for RdfDataProvider to explicitly place connected NamedNode property values into entity/relation properties as if they were literals.
  • Add originProperty option to CompositeDataProvider and origin to DataProviderDefinition to attach information about source provider for an entity or relation as a property value:
    • DataProviderDefinition.origin replaces previous non-configurable name prop (which is marked as deprecated now).
  • Add any option for ToolbarActionSave property mode to be able to save when either diagram or authoring state has changes.
  • Increase default maximum fallback size when exporting a raster image to 8192x8192 px as it well supported in the current browsers.

Link to the CHANGELOG v0.32.0