Skip to content

Releases: nteract/semiotic

DAGRE graph support

30 Aug 03:46
Compare
Choose a tag to compare

FEATURES

  • NetworkFrame now has a dagre option. If you set your networkType to dagre you can pass a dagre graph to the graph property of NetworkFrame and Semiotic will use some nice custom line and node rendering. dagre is not included in Semiotic (because of size) but you can import it into your project and get access to amazing DAG rendering like this:

screen shot 2018-08-29 at 8 32 59 pm

https://emeeks.github.io/semiotic/#/semiotic/customnode

  • NetworkFrame edgeType honors a curve type to draw those s-curves that D3 likes for dendrograms.

screen shot 2018-08-29 at 7 25 13 pm

DOCS

  • Added docs for dagre, ordinal snap brushing, some marginalia line labeling

FIXES

  • Column names in OrdinalFrame were sometimes numbers and sometimes strings and it was causing issues that got fixed (thanks @agirton)
  • OrdinalFrame tooltips no longer have the tooltip class because of collisions with other libraries that have CSS rules for that incredibly common class

Ordinal Brushing

21 Aug 17:09
Compare
Choose a tag to compare

Features

  • OrdinalFrame when sent an interaction prop that doesn't specify columnsBrush will now enable snapped brushing of the entire frame. So send something like this:
<OrdinalFrame
{...otherProps}
   interaction={{
      extent: ["Jason", "Betty"],
      end: e => {
      console.info("e", e)
   },
   during: e => {
      console.info("during e", e)
   }
   }}

Will get you something like this:
itt_muse_3

Fixes

  • heatmap areaType would sometimes create an extra row or column on the bottom and/or right. This should be fixed now

Arc Tweening

21 Aug 17:12
Compare
Choose a tag to compare

Features

  • Sunburst and pie arcs will now do an angle tween instead of a shape morph

Sunburst Labeling

21 Aug 17:14
Compare
Choose a tag to compare

Features

  • Sunburst labels are now rotated like stem labels in pie charts

Fixes

  • Enclose rules in NetworkFrame weren't always generated correctly

FacetController Invert

21 Aug 17:15
Compare
Choose a tag to compare

Fixes

  • FacetController wasn't correctly honoring some invert and extent settings
  • Custom interpolator behavior was having issues with CurveLinear

barpercent

21 Aug 17:17
Compare
Choose a tag to compare

Features

  • Added barpercent to OrdinalFrame which does the same convenience data formatting as linepercent and stackedpercent but for bar charts

Fixes

  • FacetController wasn't handling responsive frames

React 15 Compatibility with FacetController

21 Aug 17:18
Compare
Choose a tag to compare

Fixes

  • Added react15Wrapper to FacetController so that React 15 (which doesn't support fragments) can use FacetController by passing a wrapper element (like a div).
  • Fix key complaint with node labels

FacetController Tidying

21 Aug 17:19
Compare
Choose a tag to compare

Fixes

  • A bunch of little issues introduced with FacetController-related changes to annotations and drawing were cleaned up.

Render Order

21 Aug 17:22
Compare
Choose a tag to compare

Features

  • Add renderOrder prop to all frames that is an array of strings that indicates the order of rendering individual dataviz types (so like "lines", "areas", "points" in XYFrame or "summaries", "pieces", "connectors" in OrdinalFrame or "edges", "nodes" in NetworkFrame).
  • Aria labels use tick formatting from axes when available

Fixes

  • Handle update when extent changes better

Faceting

30 Jul 04:49
Compare
Choose a tag to compare

Features

  • FacetController allows you to (via composition) tie a bunch of frames together. This means you can share tooltips easily, share extents easily, and share props easily. The next step (not implemented) is to create FacetXYFrame, FacetOrdinalFrame and FacetNetworkFrame that automatically create the frames inside FacetController but you can already do a pretty decent amount with it now. See example in docs at: https://emeeks.github.io/semiotic/#/semiotic/facet (thanks to @agirton for making the code a bit less obtuse)
    itt_muse_2
  • Annotations are a bit more robust at handling annotations sent to the annotations prop that used to only use built-in functionality. For instance you can now send frame-hover and column-hover annotations and they'll render tooltips correctly.

Fixes

  • Chord diagram was generating path elements that had undefined pathstrings which was causing issues in rendering. These are now not rendered.
  • NetworkFrame would allow edge strings that were so high they were crashing D3's forceSimulation. It's capped now.

Chores

  • Added a few more dataviz examples and functionality bits to the galleria bot