Comments (3)
I'll try to see if I can address these questions adequately:
The hierarchical edge bundles uses a concept called connections; that is, links between edges that do not interfere with how the layout is calculate. A connection can be thought of as the sequence of nodes to travel through to get from the start to the end. In the flare example the class hierarchy makes up the graph structure which end up as a hierarchical layout (that isn't drawn). The import data is then a secondary structure that defines links between nodes in the hierarchy, but isn't part of that hierarchy. For the hierarchical edge bundles the paths defining the connections are detected automatically using the gCon function...
For the second question, this is more an igraph issue, and I suggest you consult the documentation (it's very well documented)
Hope this helps - I'm in the last stage of thesis writing at the moment, so it is a little short...
from ggraph.
This was a really useful comment. I was having a hard time using geom_edge_bundle until I realized that flare$edges was a full rooted hierarchy (I only had specific and general classes, but nothing to connect the general classes). Good luck with your thesis!
from ggraph.
Glad it made sense - feel free to get back with further questions. I'm planning on adding a wiki once time permits, but until then some of the specifics of the API can be a bit hard to grasp
from ggraph.
Related Issues (20)
- move geometry to vctrs
- use geom_node_text add label Encountered a problem HOT 3
- Release ggraph 2.1.0
- Swapping of "from" and "to" axes in directed hive plots HOT 1
- Deprecation warning for size aesthetic thrown by geom_edge_link (and similar) since ggplot2 version 3.4.0 HOT 3
- facet_graph, number of rows HOT 1
- Empty plot on example graph HOT 5
- Error in try_fetch(utils::getFromNamespace(algorithm, "igraph"), error = function(cnd) { : could not find function "try_fetch HOT 2
- Error in check.length(gparname) : 'gpar' element 'lwd' must not be length 0 HOT 2
- [Accessibility] Vignette plots lack alt= attributes
- Error in layout_with_sparse_stress() HOT 2
- Plotting Overlapping Node's Text At the same Z-height as Point HOT 1
- Feature request: small multiples plots replicating entire network HOT 1
- Cannot edit ex-post a layout_tbl_graph with mutate?
- circlepack layout struggles with large number of nodes HOT 5
- `arrow.fill` support HOT 1
- `sort.by` option collapses all nodes into one when using linear layout with circular HOT 1
- Providing custom bezier control points HOT 2
- `geom_conn_bundle()` crashes R HOT 8
- labels are cut off on the sides HOT 2
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 ggraph.