A component of AntV G6 visualization engine implemented based on NiceGUI
Project description
nicegui-g6
A component of AntV G6 visualization engine implemented based on NiceGUI
🔨 Getting Started
To install nicegui-g6, run the following command in your terminal:
pip install nicegui-g6
To use nicegui-g6, you can simply import the g6 function and pass the graph data to it. Here's an example:
from nicegui_g6 import g6
from nicegui import ui
# define the graph data
# You can refer to the G6 documentation for more details.
data = {
"nodes": [
{
"id": "node1",
"x": 100,
"y": 200,
},
{
"id": "node2",
"x": 300,
"y": 200,
},
],
"edges": [
{
"source": "node1",
"target": "node2",
},
],
}
g6(data)
ui.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nicegui_g6-0.1.1.tar.gz.
File metadata
- Download URL: nicegui_g6-0.1.1.tar.gz
- Upload date:
- Size: 470.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba7fcd13e666ce419c7758205b5b1a4ea45f746cdf5f69de247cf675da95c065
|
|
| MD5 |
a527afbbe2134d45e2b7b50c595907ec
|
|
| BLAKE2b-256 |
6b8f7ed0dfef261e354c1296308a2f9c0cb1e59415aa0690f71b27ef160841f7
|
File details
Details for the file nicegui_g6-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nicegui_g6-0.1.1-py3-none-any.whl
- Upload date:
- Size: 476.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91c076929bfefcb8d7bb2fd93bb7d3a91ee4a4c662aaeb3f7fa4b9dc50833b90
|
|
| MD5 |
c8632224f0fb1c7a67faa5ef6007ea2e
|
|
| BLAKE2b-256 |
4ee7852b00f9bd00bbbe87fbcaa155aab224e12b06b07d0dcb20bd963df2693a
|