graphistry / graphbi Goto Github PK
View Code? Open in Web Editor NEWGraphistry monorepo for BI integrations
Graphistry monorepo for BI integrations
Example of using Python widget on sample data against a free Graphistry Hub account via PyGraphistry (pip install graphistry)
Instructions for Leo / user to duplicate the flow
git tag 0.1.2
) trigger a buildReact component does not go beyond loading state:
load
event + init
postMessage)init
ready
/ iframe receives it: no errortable names passed from powerbi are showing up as overly-long field names
may be an edge-only issue, or when embedded some reason
Several user errors are currently not propagated to the UI:
These may go away with SSO...
Histograms and inspector panel are not appearing in powerbi embedded iframes. Unclear if powerbi deskop or web reports; embedded react standalone seems fine.
Start with honeypot
Setup:
Filling in src/dst properties does not actually make them appear in the UI
On loading les mis:
Access to resource at 'https://hub.graphistry.com/streamgl/pipe?id=b17e851bc74e428baef22091d45faaea' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
It seems that GET /pipe
(=tick
?) gives a 200
, but the browser rejects because it was a sec-fetch-mode: cors
, origin: null
call with no Access-Control-Allow-Origin: null
response header. In contrast, POST /open
, POST /read
, POST /play
respond with Access-Control-Allow-Origin: null
.
Network:
GENERAL
Request URL: https://hub.graphistry.com/streamgl/pipe?id=b17e851bc74e428baef22091d45faaea
Request Method: GET
Status Code: 200
Referrer Policy: strict-origin-when-cross-origin
RESPONSE HEADERS
cache-control: no-cache
content-security-policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
content-type: text/event-stream;charset=UTF-8
date: Mon, 13 Dec 2021 07:06:48 GMT
expect-ct: max-age=0
referrer-policy: no-referrer
server: Caddy
server: nginx
strict-transport-security: max-age=15552000; includeSubDomains
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
REQUEST HEADERS
:authority: hub.graphistry.com
:method: GET
:path: /streamgl/pipe?id=b17e851bc74e428baef22091d45faaea
:scheme: https
accept: text/event-stream
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
cache-control: no-cache
dnt: 1
origin: null
pragma: no-cache
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36
In github repo, DEVELOP.md for how to build & run JS custom visual
Ex:
graphbi/pbiviz/capabilities.json
Line 356 in b904fff
Some reason the bool
properties are showing up and impacting layout, but numeric
properties are not showing up in the panel and thus not impacting layout, ex, gravity
( https://github.com/graphistry/graphbi/search?q=gravity : strength of center of gravity in middle of screen ~= blackhole vortex)
config.LayoutGravity = this.visualSettings.layoutSetting.gravity;
gravity
missing in extraOpts
at
&gravity=...
See also: https://hub.graphistry.com/docs/api/1/rest/url/#urloptions
vs
.pbviz
should be locally installed by user + by org admin so should be fine for now: let's generate and confirm w/ userSee customer email **Internal** crash in PBIX Desktop
Likely around edge properties
***
<-- not possible"Graphistry Url"
=> "Graphistry Server"
...&splashAfter=true
...&menu=false
<- defaultmenu=true
vs menu=false
re:url params, for reference: https://hub.graphistry.com/docs/api/1/rest/url/#urloptions
The powerbi CI seems to be failing due to some lint and likely subsequent test errors: https://github.com/graphistry/graphbi/actions
Let's fix those as a warmup!
See https://github.com/graphistry/graphbi/wiki/PowerBI-Custom-Visual-MVP
This refers to the code
In pbiviz.json
, the guid
should not be tableExample04E649621A964F0491F29D514385D7FC
In the generated bundle, it already includes the version (nameGUID.version.pbiviz
) so we are good there
Either a custom video or one already on youtube that shows in ~30s-3min how to install a .pbviz
and have it show up in your visuals panel
See https://github.com/graphistry/graphbi/wiki/PowerBI-Custom-Visual-MVP
This refers to the an installable artifact
We need to figure out for embedded cross-origin react->iframe apps that allow user to login, upload, and view
Requires investigation & planning!
User was inadvertently using an old version..
0.1.1
)To simplify development, we should create a powerbi dataset good for testing:
Ideally something fun and reusable by our users, like log activity data or transactions from some interesting system (bitcoin, ...), and potentially augmented for testing purposes
We can work with meagan on the process for this
30s-3min video of putting in your creds into the graphistry component and ensuring they work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.