🎉 Excited to share our latest work on g6R: collapsible nodes. Read more on our blog post below👇 https://lnkd.in/etKHgbfY
💎 Collapsible nodes just landed in g6R 💎 As graphs grow, they get messy. At cynkra, we've been working on collapsible nodes for g6R, a way to tame visual clutter in complex graphs 🧹 👀 What's new: 📦 Collapsible nodes: any node with children gets a configurable collapse button to hide or show children and related edges in a click. When collapsed, the buttons shows the children count. 📦 Improved collapsible combos: they resize dynamically in combination of any node collapse, to fit visible content. 📦 DAG friendly: unlike tree-only approaches, this handles directed acyclic graphs where a child can have multiple parents. Collapsing one parent consistently collapses shared children across the graph. This new approach complements the existing (but not perfect) collapse_expand g6R behaviour: https://lnkd.in/emsGaisD. 📦 Smarter overlays: like combos, bubble sets and hulls resize on the fly when nodes are collapsed or expanded. 📦 Depth control: decide which level of nodes can be collapsed. Root only? All levels? None? One line of code. 🤖 This feature was developed by supervising Claude as a coding agent. We prepared structured files with motivations, requirements, design decisions, code samples and skills. Then we let the AI handle the implementation step by step and progressively reviewed the code base, making sure it fits with the current style or nothing controversial was introduced. A workflow we're excited to refine further, and perhaps share in future blog posts! Stay tuned ... 📖 Full blog post: https://lnkd.in/eKxdpk8w 💻 More examples: https://lnkd.in/eNGktK8u 📦 Install: pak::pak("cynkra/g6R") #RStats #Shiny #DataVisualization #OpenSource #GraphVisualization #AI
-
-
-
-
-
+2