Releases: nteract/semiotic
Releases · nteract/semiotic
DAGRE graph support
FEATURES
- NetworkFrame now has a
dagre
option. If you set yournetworkType
todagre
you can pass a dagre graph to thegraph
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:
https://emeeks.github.io/semiotic/#/semiotic/customnode
- NetworkFrame
edgeType
honors acurve
type to draw those s-curves that D3 likes for dendrograms.
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
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:
Fixes
heatmap
areaType would sometimes create an extra row or column on the bottom and/or right. This should be fixed now
Arc Tweening
Features
- Sunburst and pie arcs will now do an angle tween instead of a shape morph
Sunburst Labeling
Features
- Sunburst labels are now rotated like stem labels in pie charts
Fixes
- Enclose rules in NetworkFrame weren't always generated correctly
FacetController Invert
Fixes
- FacetController wasn't correctly honoring some invert and extent settings
- Custom interpolator behavior was having issues with CurveLinear
barpercent
Features
- Added
barpercent
to OrdinalFrame which does the same convenience data formatting aslinepercent
andstackedpercent
but for bar charts
Fixes
- FacetController wasn't handling responsive frames
React 15 Compatibility with FacetController
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
Fixes
- A bunch of little issues introduced with FacetController-related changes to annotations and drawing were cleaned up.
Render Order
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
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
andFacetNetworkFrame
that automatically create the frames insideFacetController
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)
- 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 sendframe-hover
andcolumn-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