Recent Releases of d3graph

d3graph - 2.6.1

  • add edge color parameter for edge_properties
  • add functionality that edge color can inherit color from the node source and target
  • add edge opacity as new functionality
  • set edge opacity to the weights

- Jupyter Notebook
Published by erdogant 7 months ago

d3graph - 2.6.0

  • Dark mode functionality is added
  • Background parameter is added
  • Slider and Save button graphics are improved
  • When no filepath is specified, HTML get a random name but are all stored in the tempdir with subdir: d3graph
  • docstrings improved

- Jupyter Notebook
Published by erdogant 7 months ago

d3graph - 2.5.2

  • bugfix for sponsor
  • Logger update

- Jupyter Notebook
Published by erdogant 8 months ago

d3graph - 2.5.1

  • Logger update

- Jupyter Notebook
Published by erdogant 10 months ago

d3graph - v2.5.0

  • Created functionality to save the HTML to save as SVG using a save button.
  • Save button can be disabled with d3.show(save_button=False)
  • Removed the transpose in adjmat2vec to prevent that source-target is inverted.

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.17

  • speed improvement in vec2adjmat
  • Updating documentation pages

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.16

  • Add functionality to set the slider theshold
  • See documentation pages for more information.
  • Issue #17

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.15

  • Bug fix in case similar source-target values are found #32

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.14

  • Added functionality to change the edge style #30 More information can be found in the documentation pages.

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.13

  • Removing edge labels for the links that are removed using the threshold slider #28

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.12

  • Zoom functionalities are back. These were accidentally commented out.

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.11

  • Fix for weights #31

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.10

  • Type hinting fixes
  • Pep styling

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.9

  • Type hinting is set to version 3.9

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.8

  • add functionality to set the node size based on the centrality degree with size='degree'

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.7

  • add new functionality opacity to color nodes with different opacity. The default is setting the opacity on centrality degree
  • add datazets for more examples

- Jupyter Notebook
Published by erdogant over 2 years ago

d3graph - v2.4.6

  • Experiment with support using non-intrusive ads from ethical adds.
  • Adds can be changed using the support parameter.

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.4.5

  • edge label weight can be defined to show the weights on the edges.
  • Edge distance is extracted from the adjacency matrix but can also be set as a constant.
  • The range of edge distance can be set with minmax_distance
  • Edge weight (thickness) is extracted from the adjacency matrix but can also be set as a constant.
  • The range of edge distance can be set with minmax

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.4.4

  • added functionality to add text labels on the edges.
  • See documentation for the details.
  • Updated documentation pages, added new examples, such as "on click" functionality.

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.4.3

  • Pan and zoom functionality #23 by @maxoner

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.4.2

  • Node colors remain the same when on click action. But it remains configurable.

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.4.1

  • Add new functionality to change fontsize of the nodes
  • Renamed text_size into fontsize

See examples here

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.4.0

  • added node text coloring: See example over here
  • Solved #22

- Jupyter Notebook
Published by erdogant almost 3 years ago

d3graph - v2.3.10

  • Removed scikit-learn from the default setup and requirements to make it more lightweight. In case scikit-learn is required (when scaler is minmax, a message is shown).

- Jupyter Notebook
Published by erdogant about 3 years ago

d3graph - v2.3.9

  • added on click functionality. With the clickinput parameter, nodes can be highlighted.

``` from d3graph import d3graph d3 = d3graph() adjmat, df = d3.import_example('karate') d3.graph(adjmat, color='cluster')

Specify click event

html = d3.show(click={'fill': 'green', 'stroke': 'black', 'size': 2, 'stroke-width': 2})

No event

html = d3.show(click=None)

```

- Jupyter Notebook
Published by erdogant about 3 years ago

d3graph - v2.3.8

  • Minor bug fixes

- Jupyter Notebook
Published by erdogant about 3 years ago

d3graph - v2.3.7

  • sklearn changed into scikit-learn in both requirements and setup file.

- Jupyter Notebook
Published by erdogant about 3 years ago

d3graph - v2.3.6

  • Fix for hex-colors when using color='cluster'.
  • input parameter groupis changed into color.

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.3.5

  • Fix for creating colors based on clustering
  • Fix for import 'bigbang' example
  • Internal name convention: network_chargeto chargeand network_collisionto collision

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.3.4

  • Renamed function _showfig to showfig
  • By importing examples it will consistently output 2 parameters (adjmat and df)

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.3.3

  • fix for ValueError from Jinja PackageLoader issue #14

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.3.2

  • Added functionality to hide the slider in output HTML

More information can be found in the documentation.

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.3.1

  • added scaler
  • fixes for markers
  • many fixes by @rjhear
  • name conventions (cluster_label into group)
  • docstrings updated
  • Added unit test

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.3.0

  • New feature: Different edge markers (circle, arrow, square, stub) can now be set for marker_end.
  • Name convention: Inputparameter hover is changed into tooltip
  • Catches more errors, improved logger information, code cleaning and refactoring.

Checkout the documentation pages for more information about edge markers.

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.2.1

  • added aggregate parameter in vec2adjmat

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.2.0

  • Fix for changing edge colors #7
  • jinja2 latest version is supported again #9
  • added Two scaler for node size and edge width (zscore and minmax). The minmax was the default but frequently resulted in skewed values, and thus sizes and width because of outliers. The zscore is more robust against outliers and now the default.
  • edgecolor can now also be based on clustering colors: `d3.setnodeproperties(edgecolor='cluster')`
  • The minimum and maximum range of the node size can be set with the parameter (minmax): d3.set_node_properties(minmax=[10, 50])
  • The minimum and maximum range of the edge width can be set with the parameter (minmax): d3.set_edge_properties(minmax=[1, 10])
  • Documentation pages updated

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.1.1

  • edge_width is set to default value=1

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.1.0

  • Add functionality to color nodes based on clustering
  • Support opening files in OSX

- Jupyter Notebook
Published by erdogant over 3 years ago

d3graph - v2.0.5

  • Check for scipy version>1.8.0. Otherwise the karate example can not be imported.

- Jupyter Notebook
Published by erdogant almost 4 years ago

d3graph - v2.0.4

  • fix for directed edges by using nx.DiGraph

- Jupyter Notebook
Published by erdogant almost 4 years ago

d3graph - v2.0.3

  • add extra checks for input parameter color to catch some errors

- Jupyter Notebook
Published by erdogant almost 4 years ago

d3graph - v2.0.2

  • Fix for slider range.
  • label will replace the node text if used.
  • hover will show text when hovering over a node.

``` from d3graph import d3graph d3 = d3graph() adjmat = d3.importexample('bigbang') d3.graph(adjmat) d3.setnode_properties(label=adjmat.columns.values+' are the names', hover=['\nFemale\nMore info', 'Female', 'Male', 'Male', 'Female', 'Male', 'Male']) d3.show()

```

- Jupyter Notebook
Published by erdogant almost 4 years ago

d3graph - v2.0.1

  • Improvements in docstrings and examples

- Jupyter Notebook
Published by erdogant almost 4 years ago

d3graph - 2.0.0

Major update. If you prefer the previous version, fix it to version 1.0.3

  • The code is refactored entirely
  • Many redundant functions are removed
  • code complexity is lowered
  • docstrings are updated and included
  • Classes are used for more ease of use
  • node properties can easily be adjusted
  • edge properties can easily be adjusted
  • Documentation pages are available

Example how to create networks using d3graph:

``` from d3graph import d3graph, vec2adjmat

source = ['node A', 'node F', 'node B', 'node B', 'node B', 'node A', 'node C', 'node Z'] target = ['node F', 'node B', 'node J', 'node F', 'node F', 'node M', 'node M', 'node A'] weight = [5.56, 0.5, 0.64, 0.23, 0.9, 3.28, 0.5, 0.45]

Convert to adjacency matrix

adjmat = vec2adjmat(source, target, weight=weight)

Initialize with default parameters

d3 = d3graph()

Proces adjmat

d3.graph(adjmat)

Set node properties using the setnodeproperties functionality

d3.setnodeproperties(color=adjmat.columns.values)

Plot

d3.show()

Simply make changes in the node properties and plot again with d3.show()

print(d3.node_properties)

Simply make changes in the edge properties and plot again d3.show()

print(d3.edge_properties)

```

- Jupyter Notebook
Published by erdogant almost 4 years ago

d3graph - 1.0.3

  • fix for bug introduced by newest version of markupsafe.
  • fix for settingwithcopywarning for pandas

- Jupyter Notebook
Published by erdogant about 4 years ago

d3graph - 1.0.2

  • Writing to html with utf-8 encoding

- Jupyter Notebook
Published by erdogant about 4 years ago

d3graph - 1.0.1

  • Bug fix for nodes not showing up
  • Bug fix that functions vec2adjmat and adjmat2vec could not be located
  • Some code cleaning and refactoring

- Jupyter Notebook
Published by erdogant about 4 years ago

d3graph - 1.0.0

  • remove of special chars in columns
  • Fixed future pandas warnings
  • Some code cleaning

- Jupyter Notebook
Published by erdogant about 4 years ago

d3graph - 0.1.12

  • Reduced complexity in the packaging by removing utils directory

- Jupyter Notebook
Published by erdogant over 4 years ago

d3graph - 0.1.11

  • Freeze jinja2 at version 2.11.3 because version 3 and higher throws an error: https://github.com/pallets/jinja/issues/1168

- Jupyter Notebook
Published by erdogant over 4 years ago

d3graph - 0.1.10

added missing file to manifest

- Jupyter Notebook
Published by erdogant almost 5 years ago

d3graph - 0.1.9

  • Added requirements for installation

- Jupyter Notebook
Published by erdogant almost 5 years ago

d3graph - 0.1.8

  • bug fix for version check networkx
  • New layout using j2

- Jupyter Notebook
Published by erdogant almost 5 years ago

d3graph - 0.1.7

  • bug fix: additional information does show up again when using the df parameter
  • docstring updates
  • a bit of code cleaning

- Jupyter Notebook
Published by erdogant over 5 years ago

d3graph - 0.1.6

  • fix for missing files

- Jupyter Notebook
Published by erdogant over 5 years ago

d3graph - 0.1.5

  • accidental removed d3js files restored.

- Jupyter Notebook
Published by erdogant over 5 years ago

d3graph -

  • Code refactoring
  • Code cleaning
  • Docstrings added
  • private functions

- Jupyter Notebook
Published by erdogant about 6 years ago

d3graph - Moved to new git and changed links

- Jupyter Notebook
Published by erdogant about 6 years ago

d3graph - arrowheads fix!

This update fixed the arrowheads!

- Jupyter Notebook
Published by erdoganta about 6 years ago

d3graph - new release

- Jupyter Notebook
Published by erdoganta about 6 years ago

d3graph - Very first one!

Very first release of d3graph

- Jupyter Notebook
Published by erdoganta about 6 years ago