UI Guides


Graphistry Setup


REST APIs

Introduction

2.0 REST API Tutorial (cURL)


URL API to Embed & Control

- HTML

- URL Options

- IFrame CSS Style Tips


Authentication (2.0 API)

- Concepts

- Create token

- Refresh token

- Verify token

- Modes: Password, Personal Key, & SSO


Computation

- GFQL Query Endpoint

    - GFQL Operations

    - GFQL Predicates

- Python Query Endpoint

- GFQL UDF Endpoint

- Python UDF Endpoint


Upload Data (2.0 API)

- Concepts

- List Files

- Create File

- Delete File

- Upload File Data

- List Visualization Datasets

- Create Visualization Dataset with Bindings

    - Hypergraphs

- Delete Visualization

- Schema

Basic Bindings

    - Color

    - Color Palettes

    - Edge Weight Bindings

Complex Bindings

    - Colors and Sizes

    - Icons

    - Badges

    - Radial & Horizontal Axis

    - Field Controls Overview

        - Field Inclusion

        - Field Exclusion

        - Computed Fields

- Branding Metadata: Logos, title, backgrounds, & effects

- Upload Node & Edge Data

   - json

   - csv

   - parquet

   - orc

   - arrow


Live Sessions (experimental)

- View


Health Checks


Python Notebooks & API

- PyGraphistry Homepage (GitHub)

- PyGraphistry API (ReadTheDocs)

- Jupyter Notebook Examples (GitHub)

- Pygraphistry Databricks Examples (GitHub)

- Graph Algorithms


Visual Playbooks

- Connectors

- Pivots

- Templates


JavaScript Libraries

- React - Storybook

- React - API

- Browser JS - Storybook

- Browser JS - Example

- Browser JS - API

- Node.js - API

Color bindings

When binding to colors, you can provide RGB values or use numbers that correspond to palette entry indexes. To provide RGB values, provide int64 values, while for palette values, use int32 values. Note that uint values are currently not supported. For untyped formats, Graphistry attempts to infer whether a palette is being used.

Example: Providing point colors as RGB values

In the following code, the PyGraphistry library will automatically convert Pandas pd.Series(dtype='int64') columns into Apache Arrow int64 buffers for transport.

# Colors: red, green, blue
graphistry.nodes(pd.DataFrame({
  'myRGBCol': pd.Series([0xFF000000, 0x00FF0000, 0x0000FF00], dtype='int64')
})).bind(point_color='myRGBCol')

Example: Providing point colors as palette colors

In the following code, the PyGraphistry library will automatically convert Pandas pd.Series(dtype='int32') columns into Apache Arrow int32 buffers for transport.

    graphistry.nodes(pd.DataFrame({
      'myPaletteCol': pd.Series([2, 4, 6], dtype='int32')
    })).bind(pointColor='myPaletteCol')