Releases: neo4j/python-graph-visualization
Releases · neo4j/python-graph-visualization
v0.6.0
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_gdsrenameadditional_node_propertiestonode_properties- Drop parameters
size_property,node_radius_min_max. UseVG.resize_nodes(property=...)instead. This affectsfrom_gds,from_neo4j,from_pandas,from_gql_create,from_snowflake.
- 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
New features
- Allow to include db node properties in addition to the properties in the GDS Graph. Specify
db_node_propertiesinfrom_gds.
Bug fixes
- fixed a bug in
from_neo4j, where the node size would always be set to thesizeproperty. - fixed a bug in
from_neo4j, where the node caption would always be set to thecaptionproperty. - Color nodes in
from_snowflakeonly 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_gdsandfrom_gql_create. - Add
tableproperty to nodes and relationships created byfrom_snowflake. This is used as a default caption.
v0.5.0
v0.4.2
Changes in 0.4.2
Bug fixes
- Fixed a bug with
from_gdswhere graphs with different relationship types would fail if they had different properties. - Fixed a bug with
from_gdswhere the additional property would be skipped if its also defined as the size property.
v0.4.1
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.Driverinstance as input tofrom_neo4j, in which case the driver will be used internally to fetch the graph data using a simple query - The
rel_dfsparameter offrom_dfsis 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_gdswhere all node or relationship properties are not present on every entity would result in an error
v0.4.0
Changes in 0.4.0
Breaking changes
- The
from_gdsmethod now fetches all node properties of a given GDS projection by default, instead of none. - The
from_gdsmethod now adds node labels as captions for nodes. - The
from_gdsmethod 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
VisualizationGraphwhen constructing viafrom_gds - Allow setting
layout_optionsforVisualizationGraph::render
Improvements
- Improved error messages when constructing
VisualizationGraphs usingfrom_dfs,from_neo4j,from_gdsandfrom_gql_createmethods
v0.3.1
Changes in 0.3.1
Improvements
- Allow for
NodeandRelationshipinputs to be given ascamelCaseandSCREAMING_SNAKE_CASE(in addition tosnake_case). - Convert non-json serializable properties to strings in the
rendermethod, instead of raising an error.
v0.3.0
What's Changed
- Add basic ToC to some doc pages by @adamnsch in #134
- Add functionality for continuous color mapping by @adamnsch in #128
- Move non-NVL custom fields into a properties dict by @adamnsch in #137
- Add hover effects for node IDs by @adamnsch in #136
- Add properties to element on hover effect by @adamnsch in #144
- Add
from_gql_createVG constructor by @adamnsch in #142 - Add screenshot and zoom buttons by @nvitucci in #148
New Contributors
- @stefano-ottolenghi made their first contribution in #152
Full Changelog: 0.2.6...0.3.0