Additional features#

The main purpose of this package is to provide an extensive set of graph drawing metrics. In addition, we provide some additional functionality that might be useful for someone using the package.

Importing datasets#

Feature

Description

Implementation

Load datasets

Load a dataset from the Graph Layout Benchmark Datasets project from the Northeastern University Visualization Lab and parse it for easy usage.

datasets.iterate_dataset()

Embeddings#

Feature

Description

Implementation

Planarization

A list of all crossings with new nodes incident to all involved edges.

crossings.planarize()

Normalize position

Rescale the graph to fit within a specified bounding box.

boundary.normalize_positions()

Combinatorial embedding

Obtains the combinatorial embedding from a given embedded graph, i.e. the clockwise neighborhood for each node.

edge_directions.combinatorial_embedding()

Ordered neighborhood

Obtains the clockwise neighborhood of a node.

edge_directions.ordered_neighborhood()

Statistical evaluation#

Feature

Description

Implementation

Heatmap

Generates a 2D grid of the average value for a given parameter in each grid cell. Useful for creating heatmaps for local metrics or graph features.

distribution.heatmap()