Changelog#
0.4.1
#
ipyforcegraph 0.4.1
#
adds
Tint
andColorize
wrappers to fine-tune color channels (and opacity)all wrappers have a convenience
root
property (not trait), which returns the final feature which would change a graph (e.g.NodeShapes
)care should be taken to avoid cycles of
.wrapped
wrappers: these will crash the renderer
@jupyrdf/jupyter-forcegraph 0.4.1
#
updated to
force-graph 1.43.3
and3d-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 thenode
orlink
the captured value might be available e.g. in other
Nunjucks
values, but there are likely race conditionscare should be taken to avoid conflicting column names, either with the original
source
data or those configured by other behaviors and facetsselecting a
column_name
known to be used byforce-graph
(such asx
ory
) will raise a trait error
Breaking
blanket
var(--...)
replacing, introduced in0.3.8
is removedthe
ReplaceCssVariables
wrapper 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.shapes
with support for theText
shapeadds
offset_x
,offset_y
, andoffset_z
to all shapesadds
Text.size_pixels
for fine-tuning performance/quality when rendering in 3D
@jupyrdf/jupyter-forcegraph 0.3.7
#
adds
LinkShapesModel.shapes
with support for theTextModel
shape
0.3.6
#
ipyforcegraph 0.3.6
#
rename
GraphDirector.padding
to.fit_padding
@jupyrdf/jupyter-forcegraph 0.3.6
#
normalize
GraphDirectorModel.padding
tofit_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
GraphCamera
behavior which can observe the contents of a graph viewportadds
GraphDirector
behavior 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.curvature
andLinkShapes.line_dash
adds
line_dash
to all 2D shapesremoves the significance of order in
ForceGraph.behaviors
all node, link, and graph behaviors now have a (sensible default)
.rank
trait which determines the order in which they are applied.lower
rank
are applied before higherrank
adds
DodoSource
for interpretingdoit
tasks graphsadds
node_preserve_columns
,link_id_column
, andlink_preserve_columns
these allow for keeping values when updating data, such as those created by the simulation engine (e.g.
x
andy
) and custom columns, such as created bySelection
behaviorslink_id_column
is required if the number and or order of links change
adds
ContinuousColor
andOrdinalColor
color schemes, supported byd3-scale-chromatic
@jupyrdf/jupyter-forcegraph 0.3.2
#
adds more
jsMath
functions (cosh
,sinh
,tanh
, andhypot
) and provided more comprehensive documentation for them inBehaviors.ipynb
Documentation#
adds
NodeShape
UI controls inShapes.ipynb
andBehaviors.ipynb
fixes labels for UI controls in
Behaviors.ipynb
updates to latest JupyterLite packages
adds non-JupyterLite-compatible examples
DodoSource.ipynb
for viewing and runningdoit
tasksDodoApp.ipynb
for demonstrating a full app, featuringipylab
ipydatagrid
0.3.1
#
ipyforcegraph 0.3.1
#
fixes compatibility with
jupyterlab_widgets 3.0.6
adds
curvature
,line_dash
toLinkShapes
@jupyrdf/jupyter-forcegraph 0.3.1
#
0.3.0
#
ipyforcegraph 0.3.0
#
adds a configurable
NodeShapes
, compatible with bothForceGraph
andForceGraph3D
adds initial
Text
,Circle
andRectangle
which can be stacked in.shapes
adds
DAG
toGraphForces
adds manual
ForceGraph.reheat
to restart simulation
Breaking Changes#
the
column_name
andtemplate
features ofBehaviors
are consolidated into theNunjucks
andColumn
classeseach has a single
value
,and may be
coerce
d into a specific JS-compatible type (e.g.boolean
ornumber
)
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.x
graph.behaviors = [ LinkDirectionalArrowColor(column="color"), LinkDirectionalArrowLength(template="10"), LinkDirectionalArrowRelPos(template="{{ link.value / 10 }}"), ]
0.3.x
graph.behaviors = [ LinkArrows( color=Column("color"), length=1.0, relative_position=Nunjucks("{{ link.value / 10 }}") ), ]
@jupyrdf/jupyter-forcegraph 0.3.0
#
adds connection to
force-graph
DAG configuration
0.2.0
#
ipyforcegraph 0.2.0
#
raise minimum python from
3.7
to3.8
improve types and add
py.typed
fileadds
background_color
(defaults to transparent, encoded asrgba(0, 0, 0, 0.0)
)adds
GraphData
which can capture the as-simulated data from the browseradds
LinkSelection
which mirrorsNodeSelection
, but returns link indices in.source.links
, as they are not guaranteed to have a anid
columnadds
LinkWidths
adds
NodeSizes
adds most of the browser’s
Math
functions and constants to the environment made available to.template
valuesadds
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
target
toes2018
update to
3d-force-graph 1.71.1
update to
force-graph 1.43.0
0.1.0
#
ipyforcegraph 0.1.0
#
initial release
@jupyrdf/jupyter-forcegraph 0.1.0
#
initial release