https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • k

    kevins8

    03/08/2021, 3:52 PM
    @User @User been lurking here and reading over the antora docs. really like a lot of its design and dendron will probably borrow some elements, especially the playbooks. one of the use cases for dendron is technical documentation. once we have standalone vaults working (make dendron work without a workspace), you can imagine any
    /docs
    folder being a potential dendron vault that you could use one uber workspace to pull together
  • f

    fudo

    03/09/2021, 8:42 PM
    Currently for those interested in the Graph view of Dendron, you can find my actual Draft for the Rfc I'm writing here: https://github.com/flammehawk/dendron-site/blob/docs/rfc/vault/dendron.rfc.6-graph-rework.md Some things are still missing a basic construct of what I thought, Others I'm still writing, otherwise I Would already have Made a PR to the site. I'm open to feedback for it.
  • i

    inode

    03/09/2021, 9:51 PM
    Great! 💯
  • c

    cameron

    03/10/2021, 1:58 PM
    A few other options worth taking a peek at for the rendering / frontend layer - cytoscapejs - the visjs network package https://visjs.github.io/vis-network/docs/network/ - what anvaka on GitHub is using for the ngraph family of tools - the alibaba graph renderer
  • h

    hikchoi

    03/10/2021, 2:03 PM
    A rendering option where you can apply some repelling force between the nodes would be great. Sometimes my graph overlaps a bit and it's pretty confusing 😄
  • f

    fudo

    03/10/2021, 2:04 PM
    That would depend on the layout of the graph xD
  • h

    hikchoi

    03/10/2021, 2:07 PM
    if we don't mix wikilinks with the tree graph, with enough edge length it should be always be able to be non-overlapping. I think?
  • f

    fudo

    03/10/2021, 2:12 PM
    Well I don't mind edges overlapping as long as the Nodes don't overlap and for that their are already diffrent force layouts out their.
  • c

    cameron

    03/10/2021, 2:33 PM
    I made a little graph-based layout debugger app where you can express a hierarchy in a markdown-inspired format (
    cstree
    ), and choose between a few different graph layouts, some of which are force-directed. The difference between this and a pure tree is that I also permit edges between "cousin" nodes, you can use this to mock up what conditions might lead to edges overlapping with nodes or just getting busy in general https://cstree-visual.netlify.app/. the "hello force" has weights that try to help "long" paths pull all their nodes towards the bottom, but the "block" and "cola" forces are a bit more spacious. You can load in your own data file like so: https://cstree-visual.netlify.app/?graphData=https://gist.githubusercontent.com/hydrosquall/751d8a1462e2b57c6ff5258c4f3870aa/raw/c54c1c0f657db3331f0e6f470d831c1b216da795/testHierarchy.txt
  • k

    kevins8

    03/10/2021, 4:46 PM
    thanks for the links. will be looking them over. on an aside, does anyone know if there's a library for generating the github contribution visualization?
  • c

    cameron

    03/10/2021, 5:16 PM
    It's not an exact match, but I used https://github.com/kevinsqi/react-calendar-heatmap to make thank-you cards for interns using a combo of their github + JIRA data (note it's missing the Y axis label). You get a lot more configurability out of Vega though https://vega.github.io/vega-lite/examples/circle_github_punchcard.html / https://vega.github.io/vega-lite/examples/rect_heatmap_weather.html
  • u

    user

    03/12/2021, 2:39 PM
    hello, Dendron looks great and, for me, the best option along with org-roam...so, curious where can i find some info about the projects mentioned in the docs about the folks trying to bring Dendron to other editors like vim/ST..?
  • k

    kevins8

    03/12/2021, 3:55 PM
    folks have expressed interested in it but so far no concrete projects (that i know of) have been published yet
  • k

    kevins8

    03/14/2021, 4:01 AM
    been playing around with vega visualizations (spent more time than I meant to 😅 )
  • k

    kevins8

    03/14/2021, 4:02 AM
    tying to figure out if people would find them useful. especially as something that might be displayed on a public site
  • h

    hikchoi

    03/14/2021, 4:05 AM
    what kind of data are we trying to visualize here? # of commits on their vaults?
  • k

    kevins8

    03/14/2021, 4:09 AM
    num commits
  • k

    kevins8

    03/14/2021, 4:09 AM
    i played around with line changes but the scale is too out of scale (eg. most commits are <100 but refactoring causes +100k lines at certain points)
  • h

    hikchoi

    03/14/2021, 4:10 AM
    hmmm yeah might want to weed out the outliers
  • k

    kevins8

    03/14/2021, 4:10 AM
    yep, even after aggressive filtering, its still weird, so probably binning is the way to go
  • k

    kevins8

    03/14/2021, 4:10 AM
    but already spent more time on this then i should so might take a pause for now 😅
  • h

    hikchoi

    03/14/2021, 4:11 AM
    my commit granularities change drastically depending on my mood of the day so I usually don't really find other people's commit count stats useful as well haha
  • h

    hikchoi

    03/14/2021, 4:11 AM
    (but that's for code, not dendron notes)
  • k

    kevins8

    03/14/2021, 4:12 AM
    yeah, i find its very hard to find an actionable visualization
  • k

    kevins8

    03/14/2021, 4:12 AM
    anyhow, in case you or anyone else wants to play around with this, my changes are in the
    dev-kevin
    branch
  • k

    kevins8

    03/14/2021, 4:13 AM
    you can create the same graph by running the latest cli with
    dendron exportPod  --wsRoot . --podId dendron.gitpunchard --config "dest=/tmp/vega"
  • h

    hikchoi

    03/14/2021, 4:13 AM
    coolio.
  • c

    cameron

    03/15/2021, 12:00 AM
    Haha yes this is the question I ask every day as a dataviz engineer :). Vega is very expressive, glad you had fun playing around with it! One question that people might find interesting is to see when specific branches of their hierarchy have activity, rather than for the whole tree at once. This would be a bit more fiddly to code, but takes things in a similar direction as what git-temporal can do (https://marketplace.visualstudio.com/items?itemName=bee.git-temporal-vscode). This sort of thing becomes more exciting when you have it as an interactive (e.g. click a punchcard and see what kinds of notes you write at 3 AM etc)
  • c

    cameron

    03/15/2021, 12:00 AM
    Thanks for sharing the branch, I'll keep this in back of mind!
  • h

    hikchoi

    03/15/2021, 12:15 AM
    A playback of a hierarchy graph from start would be... glorious
1...555657...108Latest