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()
Release files for nicegui-g6 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nicegui_g6-0.1.1.tar.gz | 470.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nicegui_g6-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:946.8 kB
Release files / nicegui_g6-0.1.1.tar.gz
| Download URL | nicegui_g6-0.1.1.tar.gz |
|---|---|
| Size | 470.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba7fcd13e666ce419c7758205b5b1a4ea45f746cdf5f69de247cf675da95c065
|
|
BLAKE2b-256 checksum How to use checksums |
6b8f7ed0dfef261e354c1296308a2f9c0cb1e59415aa0690f71b27ef160841f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.2 Windows/10
|
Release files / nicegui_g6-0.1.1-py3-none-any.whl
| Download URL | nicegui_g6-0.1.1-py3-none-any.whl |
|---|---|
| Size | 476.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91c076929bfefcb8d7bb2fd93bb7d3a91ee4a4c662aaeb3f7fa4b9dc50833b90
|
|
BLAKE2b-256 checksum How to use checksums |
4ee7852b00f9bd00bbbe87fbcaa155aab224e12b06b07d0dcb20bd963df2693a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.2 Windows/10
|