Comments (8)
From version 4.4.0
and above you have to specify entryNode
property in your top level graph. It's name of your central node on global level. Does it resolve your issue?
from vizceral.
Kind of. I'm not getting stats for the nodes other than my entryNode now (I just get the region loading spinner). Is it not possible for all nodes to send and receive data to/from each other?
Also, can you point me at the documentation for entryNode so I can understand it better?
from vizceral.
Also why won't this work:
{ name: '1', renderer: 'global', maxVolume: 500, entryNode: '1', nodes: [{ name: '1' }, { name: '2' } ], connections: [{ source: '1', target: '2', metrics: { normal: 10, warning: 9, danger: 5 } }, { source: '2', target: '1', metrics: { normal: 10, warning: 9, danger: 5 } } ] }
from vizceral.
Your JSON format is dicey at best. You should take a look at the Data Format wiki.
You can get away with the JSON you have now if you change "global" to "region". But you are playing a dangerous game by not specifying a renderer
for each node.
--- UPDATE ---
If you use the entryNode
field you will get the spinning "region loading" donut graph(s) for any nodes other than the one supplied via entryNode
or with the name "internet". Where "any nodes" are nodes with the renderer explicitly set to "region" or that are children of a renderer: "global"
entity, but seriously you should give every node a renderer
to make your life easy)regions contain no children.
It took me 8 minutes to run a test and @baransu just posted the same information in that time, while I was updating my comment. I did verify that by adding nodes to an empty renderer: "region"
the "Region Loading" will go away on the next updateData call.
from vizceral.
Loading region is probably due to no nodes inside your region. I don't know right now how to handle this other than creating some nodes inside region.
I'm afraid there is no documentation about entryNode
. It's just indicated which node is entry point and central node for your graph.
What messages are you getting in console regarding your data? What version are you using?
Your problem may be related to no renderer
specified for every node in global graph.
Try looking here to understand how to use
vizceral.
from vizceral.
Yes, as @baransu said, the global graph has an assumption that nodes will have children nodes. There is currently no way around this, but should be trivial to add something to allow for this. I would be happy to look at a PR around this.
And yes, you have to specify an entryNode or have a node named 'INTERNET'. I updated the wiki to include this.
from vizceral.
@jrsquared actually INTERNET
is assumed on region level not global. On global you have to specify it mandatory. Should we add it for global level graph too?
from vizceral.
Ah, you are correct. No, that's fine.
from vizceral.
Related Issues (20)
- memory leak?
- Allow embedding images/HTML in notices HOT 2
- Next in timeline? HOT 1
- Problem of calling updateData with same trafficData HOT 1
- Curved connections between nodes HOT 3
- problem HOT 2
- 'TypeError: Cannot read property 'showLabels' of undefined' when set showLabels to false HOT 2
- vizceral.js:formatted:37091 Uncaught TypeError: r.setValue is not a function : Upgrading to 4.7.0 version. HOT 3
- Problem with Dockerfile with a create-react-app and the Vizceral
- Delete merged branches
- Install fails with [email protected] HOT 1
- Class Vizceral can't accept external layout HOT 1
- Notices don't show
- Vizceral doesn't show live metrics
- Which tool is Netflix using now? HOT 4
- Next step after the installation of Vizceral HOT 2
- Request Dynamic font size for label
- how to change connection notice icon?
- How traffic data is collected HOT 1
- Is there any way to place each donut graph on specific place
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vizceral.