Changelog#
0.4.1#
ipyforcegraph 0.4.1#
adds
TintandColorizewrappers to fine-tune color channels (and opacity)all wrappers have a convenience
rootproperty (not trait), which returns the final feature which would change a graph (e.g.NodeShapes)care should be taken to avoid cycles of
.wrappedwrappers: these will crash the renderer
@jupyrdf/jupyter-forcegraph 0.4.1#
updated to
force-graph 1.43.3and3d-force-graph 1.72.3
0.4.0#
ipyforcegraph 0.4.0#
adds
CaptureAs, which can wrap any nearly any value (such as aNunjucks,Column, or subclasses likeContinuousColor) to store the calculated property in a new column on thenodeorlinkthe captured value might be available e.g. in other
Nunjucksvalues, but there are likely race conditionscare should be taken to avoid conflicting column names, either with the original
sourcedata or those configured by other behaviors and facetsselecting a
column_nameknown to be used byforce-graph(such asxory) will raise a trait error
Breaking
blanket
var(--...)replacing, introduced in0.3.8is removedthe
ReplaceCssVariableswrapper can now be applied to any property
@jupyrdf/jupyter-forcegraph 0.4.0#
TBD
0.3.8#
ipyforcegraph 0.3.8#
TBD
@jupyrdf/jupyter-forcegraph 0.3.8#
adds support for CSS
var()values in relevant behaviors and values (e.g. colors, fonts)this does not support
calc
0.3.7#
ipyforcegraph 0.3.7#
adds
LinkShapes.shapeswith support for theTextshapeadds
offset_x,offset_y, andoffset_zto all shapesadds
Text.size_pixelsfor fine-tuning performance/quality when rendering in 3D
@jupyrdf/jupyter-forcegraph 0.3.7#
adds
LinkShapesModel.shapeswith support for theTextModelshape
0.3.6#
ipyforcegraph 0.3.6#
rename
GraphDirector.paddingto.fit_padding
@jupyrdf/jupyter-forcegraph 0.3.6#
normalize
GraphDirectorModel.paddingtofit_padding
0.3.5#
ipyforcegraph 0.3.5#
@jupyrdf/jupyter-forcegraph 0.3.5#
2D node text can now be provided by non-text values (by constant or
Column)
0.3.4#
ipyforcegraph 0.3.4#
adds
GraphCamerabehavior which can observe the contents of a graph viewportadds
GraphDirectorbehavior which can update the graph viewport
@jupyrdf/jupyter-forcegraph 0.3.4#
TBD
0.3.3#
ipyforcegraph 0.3.3#
@jupyrdf/jupyter-forcegraph 0.3.3#
improves handling of
node_andlink_preserve_columns, respecting ordering
0.3.2#
ipyforcegraph 0.3.2#
improves default selection behavior for
LinkShapes.curvatureandLinkShapes.line_dashadds
line_dashto all 2D shapesremoves the significance of order in
ForceGraph.behaviorsall node, link, and graph behaviors now have a (sensible default)
.ranktrait which determines the order in which they are applied.lower
rankare applied before higherrank
adds
DodoSourcefor interpretingdoittasks graphsadds
node_preserve_columns,link_id_column, andlink_preserve_columnsthese allow for keeping values when updating data, such as those created by the simulation engine (e.g.
xandy) and custom columns, such as created bySelectionbehaviorslink_id_columnis required if the number and or order of links change
adds
ContinuousColorandOrdinalColorcolor schemes, supported byd3-scale-chromatic
@jupyrdf/jupyter-forcegraph 0.3.2#
adds more
jsMathfunctions (cosh,sinh,tanh, andhypot) and provided more comprehensive documentation for them inBehaviors.ipynb
Documentation#
adds
NodeShapeUI controls inShapes.ipynbandBehaviors.ipynbfixes labels for UI controls in
Behaviors.ipynbupdates to latest JupyterLite packages
adds non-JupyterLite-compatible examples
DodoSource.ipynbfor viewing and runningdoittasksDodoApp.ipynbfor demonstrating a full app, featuringipylabipydatagrid
0.3.1#
ipyforcegraph 0.3.1#
fixes compatibility with
jupyterlab_widgets 3.0.6adds
curvature,line_dashtoLinkShapes
@jupyrdf/jupyter-forcegraph 0.3.1#
0.3.0#
ipyforcegraph 0.3.0#
adds a configurable
NodeShapes, compatible with bothForceGraphandForceGraph3Dadds initial
Text,CircleandRectanglewhich can be stacked in.shapes
adds
DAGtoGraphForcesadds manual
ForceGraph.reheatto restart simulation
Breaking Changes#
the
column_nameandtemplatefeatures ofBehaviorsare consolidated into theNunjucksandColumnclasseseach has a single
value,and may be
coerced into a specific JS-compatible type (e.g.booleanornumber)
most dynamic behaviors have been merged to use this pattern, diverging from the upstream JS API in favor of more idiomatic, compact descriptions. For example, for link arrows:
0.2.xgraph.behaviors = [ LinkDirectionalArrowColor(column="color"), LinkDirectionalArrowLength(template="10"), LinkDirectionalArrowRelPos(template="{{ link.value / 10 }}"), ]
0.3.xgraph.behaviors = [ LinkArrows( color=Column("color"), length=1.0, relative_position=Nunjucks("{{ link.value / 10 }}") ), ]
@jupyrdf/jupyter-forcegraph 0.3.0#
adds connection to
force-graphDAG configuration
0.2.0#
ipyforcegraph 0.2.0#
raise minimum python from
3.7to3.8improve types and add
py.typedfileadds
background_color(defaults to transparent, encoded asrgba(0, 0, 0, 0.0))adds
GraphDatawhich can capture the as-simulated data from the browseradds
LinkSelectionwhich mirrorsNodeSelection, but returns link indices in.source.links, as they are not guaranteed to have a anidcolumnadds
LinkWidthsadds
NodeSizesadds most of the browser’s
Mathfunctions and constants to the environment made available to.templatevaluesadds
GraphForces, which exposes a large number of the forces from [d3-force-3d]renames the top-level graph imports
ipyforcegraph.graphs(wasipyforcegraph.forcegraph)the
DataFrameSource, and its new subclassWidgetSource, can be imported fromipyforcegraph.sources
@jupyrdf/jupyter-forcegraph 0.2.0#
implements bidirectional serialization of
zstd-compressed dataframesupdates TypeScript
targettoes2018update to
3d-force-graph 1.71.1update to
force-graph 1.43.0
0.1.0#
ipyforcegraph 0.1.0#
initial release
@jupyrdf/jupyter-forcegraph 0.1.0#
initial release