Skip to content

Releases: neo4j/python-graph-visualization

v0.6.0

30 Oct 11:32

Choose a tag to compare

Changes in 0.6.0

Breaking changes

  • Change API of integrations to only provide basic parameters. Any further configuration should happen on the Visualization Graph object:
    • Don't derive fields from properties. Use utility functions on the VisualizationGraph instead or set them manually on the node/relationship objects (VG.nodes/VG.relationships). This affects from_neo4j, from_gds, from_gql_create, from_pandas, from_snowflake.
    • from_gds rename additional_node_properties to node_properties
    • Drop parameters size_property, node_radius_min_max. Use VG.resize_nodes(property=...) instead. This affects from_gds, from_neo4j, from_pandas, from_gql_create, from_snowflake.

New features

  • Allow to include db node properties in addition to the properties in the GDS Graph. Specify db_node_properties in from_gds.

Bug fixes

  • fixed a bug in from_neo4j, where the node size would always be set to the size property.
  • fixed a bug in from_neo4j, where the node caption would always be set to the caption property.
  • Color nodes in from_snowflake only if there are less than 13 node tables used. This avoids reuse of colors for different tables.
  • fixed a bug in from_gds, where properties of type list could not be imported.

Improvements

  • Validate fields of a node and relationship not only at construction but also on assignment.
  • Allow resizing per node property such as VG.resize_nodes(property="score").
  • Color nodes by label in from_gds and from_gql_create.
  • Add table property to nodes and relationships created by from_snowflake. This is used as a default caption.

v0.5.0

27 Aug 09:35

Choose a tag to compare

v0.5.0 Pre-release
Pre-release

Changes in 0.5.0

New features

  • Added new constructor from_snowflake that creates visualization graphs from Snowflake tables.

Improvements

  • The field parameter of color_nodes now also accepts casing other than snake_case.

v0.4.2

01 Aug 12:26
1f6151a

Choose a tag to compare

v0.4.2 Pre-release
Pre-release

Changes in 0.4.2

Bug fixes

  • Fixed a bug with from_gds where graphs with different relationship types would fail if they had different properties.
  • Fixed a bug with from_gds where the additional property would be skipped if its also defined as the size property.

v0.4.1

02 Jul 12:19

Choose a tag to compare

v0.4.1 Pre-release
Pre-release

Changes in 0.4.1

Breaking changes

  • Relationship types are now added as the default caption on relationships when fetched using from_gds

New features

  • Allow passing a neo4j.Driver instance as input to from_neo4j, in which case the driver will be used internally to fetch the graph data using a simple query
  • The rel_dfs parameter of from_dfs is now optional, allowing for loading a graph with only nodes and no relationships

Bug fixes

  • Make sure that temporary internal node properties are not included in the visualization output
  • Fixed bug where loading a graph with from_gds where all node or relationship properties are not present on every entity would result in an error

v0.4.0

13 Jun 14:13

Choose a tag to compare

v0.4.0 Pre-release
Pre-release

Changes in 0.4.0

Breaking changes

  • The from_gds method now fetches all node properties of a given GDS projection by default, instead of none.
  • The from_gds method now adds node labels as captions for nodes.
  • The from_gds method now samples large graphs before fetching them by default, but this can be overridden.

New features

  • Allow visualization based only on relationship DataFrames, without specifying node DataFrames in from_dfs
  • Add relationship properties to VisualizationGraph when constructing via from_gds
  • Allow setting layout_options for VisualizationGraph::render

Improvements

  • Improved error messages when constructing VisualizationGraphs using from_dfs, from_neo4j, from_gds and from_gql_create methods

v0.3.1

22 May 09:57

Choose a tag to compare

v0.3.1 Pre-release
Pre-release

Changes in 0.3.1

Improvements

  • Allow for Node and Relationship inputs to be given as camelCase and SCREAMING_SNAKE_CASE (in addition to snake_case).
  • Convert non-json serializable properties to strings in the render method, instead of raising an error.

v0.3.0

16 May 12:02

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 0.2.6...0.3.0

v0.2.6

08 Apr 09:32

Choose a tag to compare

v0.2.6 Pre-release
Pre-release

What's Changed

  • Allow some unhashable types in color_nodes by @adamnsch in #133

Full Changelog: 0.2.5...0.2.6

v0.2.5

04 Apr 13:20

Choose a tag to compare

v0.2.5 Pre-release
Pre-release

What's Changed

Full Changelog: 0.2.4...0.2.5

v0.2.4

31 Mar 09:46

Choose a tag to compare

v0.2.4 Pre-release
Pre-release

What's Changed

  • Fix issue of conflicting keys when importing from Neo4j by @adamnsch in #123

Full Changelog: 0.2.3...0.2.4