{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":156463713,"defaultBranch":"master","name":"svgling","ownerLogin":"rawlins","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-11-06T23:45:37.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6290753?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1697319744.0","currentOid":""},"activityList":{"items":[{"before":"589fb762f90f627b5f577101bc4fbcebb0b295d4","after":"c9498d2870477bf1d079b39f0b60ade9f43ce085","ref":"refs/heads/master","pushedAt":"2024-03-21T20:07:46.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"feat: tweaks to `leaf_edges` option\n\n* generalize leaf node identification\n* generalize the no-edge idea into a null edge style, `EmptyEdge`\n* improve distance calculations in various ways: do them starting from\n the baseline of the parent node, make them work with leaf_nodes_align,\n refactor. This handles multi-line parent nodes correctly.\n* make distance configurable, default to 0.0 (rather than what under\n most circumstances amounted to 1.0 in the PR)\n* document in manual\n\nResolves #7","shortMessageHtmlLink":"feat: tweaks to leaf_edges option"}},{"before":"230eac8d1675f0c0fdeb4a105063de359bce4148","after":"589fb762f90f627b5f577101bc4fbcebb0b295d4","ref":"refs/heads/master","pushedAt":"2024-02-25T15:22:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Fix extras_require type\n\nTrailing comma makes `extras_require` a tuple instead of a dict, resulting in an indexing error on line 16.","shortMessageHtmlLink":"Fix extras_require type"}},{"before":"1d130f486b555f1ca1fc5dd37e5583089830fb7a","after":"230eac8d1675f0c0fdeb4a105063de359bce4148","ref":"refs/heads/master","pushedAt":"2023-11-15T13:31:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: more docstrings","shortMessageHtmlLink":"docs: more docstrings"}},{"before":"5411ddd28e2de6c23d7657f90de3309b28ceb132","after":"1d130f486b555f1ca1fc5dd37e5583089830fb7a","ref":"refs/heads/master","pushedAt":"2023-11-12T23:34:12.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"fix: restore an error case for tree parsing\n\nThe previous implementation would error if a sequence was passed to the\nnode builder. Restore this behavior in a more intentional way:\n* if a sequence is passed to from_label, hand it off directly to the\n node builder. This will error unless it's a str, currently.\n* otherwise, convert to a string if possible. Previously, this would\n happen only for leaf nodes.","shortMessageHtmlLink":"fix: restore an error case for tree parsing"}},{"before":"b8023810b1ecd60c5f616be951118c4b5413c45b","after":"5411ddd28e2de6c23d7657f90de3309b28ceb132","ref":"refs/heads/master","pushedAt":"2023-11-11T22:12:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"feat: allow adjusting interline spacing in multiline nodes\n\nUndocumented for now. This is potentially useful because, given the\ndefault behavior, 1em may not allow enough height for certain tall\nglyphs if there are descenders above (e.g. Å below a j).","shortMessageHtmlLink":"feat: allow adjusting interline spacing in multiline nodes"}},{"before":"75e788b7b99ddb05a0183ad97cf68c26735593f1","after":"b8023810b1ecd60c5f616be951118c4b5413c45b","ref":"refs/heads/master","pushedAt":"2023-11-11T21:13:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"fix: restore the use of descender info for margins, not padding\n\nd69467524b6 fix a bunch of issues with how descender info is used for\ncalculating node height, but it the proceeded to use this info for node\npadding, not for the margin. The previous approach used it for the\nmargin (adjusting edge starts acoordingly), which kept nodes much more\nnicely aligned with an em grid. Restore the previous behavior with some\nmore refactoring. This also provides a better way of handling subscripts\n-- they now also expand the margin a bit, rather than adding to the node\nheight itself.","shortMessageHtmlLink":"fix: restore the use of descender info for margins, not padding"}},{"before":"fba127b0eceecfcfe1a4df898a578f51c1501c48","after":"75e788b7b99ddb05a0183ad97cf68c26735593f1","ref":"refs/heads/master","pushedAt":"2023-11-11T18:42:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: various documentation tweaks\n\nThese changes aim at better consistency in how the package is described\nin different places. They also expand the pypi classifiers a bit.","shortMessageHtmlLink":"docs: various documentation tweaks"}},{"before":"8893e233bc9430281d10859ce0da1c84bf51a287","after":"9813ec89aa1898f1fd66f4603471f24ed1014b58","ref":"refs/heads/gh-pages","pushedAt":"2023-11-11T17:40:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"372fb1962a1bf40a522ce49da8dde294cdf18cc6","after":"8893e233bc9430281d10859ce0da1c84bf51a287","ref":"refs/heads/gh-pages","pushedAt":"2023-11-11T17:35:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"d6050757a6482f81d6aa6c22cccea3813e7041fe","after":"372fb1962a1bf40a522ce49da8dde294cdf18cc6","ref":"refs/heads/gh-pages","pushedAt":"2023-11-11T17:34:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"e428d82a2388aeaf8067dda9600ffb22a9f58b9e","after":"fba127b0eceecfcfe1a4df898a578f51c1501c48","ref":"refs/heads/master","pushedAt":"2023-11-11T17:33:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: update docs for custom node builders\n\nThis commit uses the subscript node builder in various places in the\ndocumentation, documents the pre-provided node builders, and adds an\nexample of a custom node builder to the manual. (This was not very\nsimple to write, so I'm not really sure if this api is yet usable by\nanyone but me, but at least it now exists...)","shortMessageHtmlLink":"docs: update docs for custom node builders"}},{"before":"a3d4243deb12cfa097e358c989333a682ce6cc98","after":"e428d82a2388aeaf8067dda9600ffb22a9f58b9e","ref":"refs/heads/master","pushedAt":"2023-11-09T17:06:27.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"feat: further enhance custom node interface\n\nThis commit provides much more robust handling for custom for custom\nnode building begun in 087404963a, in particular providing a way to\ndefer application of tree options until the tree is built, even if the\nnode is instantiated as part of a tree description. It also provides a\nproof of concept node builder the implements subscripts, which is\nprobably the most needed special formatting tweak for syntax trees.\n\nIn some ways it's a bit tempting to go full on latex math mode parsing\nhere, but unfortunately there don't seem to be any off-the-shelf\nsolutions in python that aren't extremely heavy (e.g. calling latex\nitself, calling katex via node.js, etc). And it's probably not a good\nuse of my time to reimplement mathjax/katex...","shortMessageHtmlLink":"feat: further enhance custom node interface"}},{"before":"087404963a92a39f473d53c87caf1d8c2b4af4f7","after":"a3d4243deb12cfa097e358c989333a682ce6cc98","ref":"refs/heads/master","pushedAt":"2023-11-09T12:52:44.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"fix: improve reprs for svgling.figure objects\n\nThese will now be stable reprs, preventing spurious notebook diffs.","shortMessageHtmlLink":"fix: improve reprs for svgling.figure objects"}},{"before":"2c930ca41f31f33afa2321618fe5094339f72690","after":"087404963a92a39f473d53c87caf1d8c2b4af4f7","ref":"refs/heads/master","pushedAt":"2023-11-08T13:41:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"refactor: extract label parsing from its factory function\n\nThis commit separates out the current str->svg label parsing from the\nNodePos factory function, and allows this factory function to take\narbitrary NodePos objects. This is intended to let someone construct a\ntree by providing alternative parsing methods that pre-construct a\nNodePos object, though actually doing this beyond the current default\nparser is still relatively untested and undocumented.","shortMessageHtmlLink":"refactor: extract label parsing from its factory function"}},{"before":"84f2b9b6d215331ac93afe24c39c6e185765e1d1","after":"d6050757a6482f81d6aa6c22cccea3813e7041fe","ref":"refs/heads/gh-pages","pushedAt":"2023-10-29T14:47:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"608633e3f829c438e256f168768c3a3b45f02757","after":"2c930ca41f31f33afa2321618fe5094339f72690","ref":"refs/heads/master","pushedAt":"2023-10-29T14:47:29.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: fix a markdown issue\n\n(why does pandoc do this)","shortMessageHtmlLink":"docs: fix a markdown issue"}},{"before":"74ff802b678d8d9cad386abe46cebbd5dfe8c5c9","after":"84f2b9b6d215331ac93afe24c39c6e185765e1d1","ref":"refs/heads/gh-pages","pushedAt":"2023-10-29T14:46:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"d426171f731439d295248c9adc359c214f21fe39","after":"74ff802b678d8d9cad386abe46cebbd5dfe8c5c9","ref":"refs/heads/gh-pages","pushedAt":"2023-10-29T14:43:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"f54700f7d2412f3ccb3db94763a2a516557b9d00","after":"608633e3f829c438e256f168768c3a3b45f02757","ref":"refs/heads/master","pushedAt":"2023-10-29T14:40:14.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: document `tree_split` option\n\nThis updates the manual to document the new `tree_split` option, showing\nhow to use it for nltk's ProbabilisticTree.\n\nThis commit includes a more complex example of this in the gallery, with\nactual parsing from a PCFG. However, I've had some fairly annoying\ntechnical issues getting this example to render in quarto, and so for\nnow it is not shown in the rendered gallery.","shortMessageHtmlLink":"docs: document tree_split option"}},{"before":"02e6cad9ec8cc68c9377ef0d341491d25b8b8004","after":"f54700f7d2412f3ccb3db94763a2a516557b9d00","ref":"refs/heads/master","pushedAt":"2023-10-15T16:49:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: readme tweaks\n\n`svgwrite` isn't really under active maintenance any more (though it\ndoesn't seem to be entirely dead), so I'm not sure I can safely\nrecommend it in the way I used to...","shortMessageHtmlLink":"docs: readme tweaks"}},{"before":"09b4e0f84b51372180d9681954a27f9497ab0a54","after":"02e6cad9ec8cc68c9377ef0d341491d25b8b8004","ref":"refs/heads/master","pushedAt":"2023-10-15T16:44:45.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"build: shortcut for quarto site rendering\n\nAlso, fix some bad path logic in the pre-render script","shortMessageHtmlLink":"build: shortcut for quarto site rendering"}},{"before":"4264fb9dd65c560cf32bdf79a1666efc47b5af4f","after":"d426171f731439d295248c9adc359c214f21fe39","ref":"refs/heads/gh-pages","pushedAt":"2023-10-15T15:03:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"0338c43346e6b05a0f856b7dcac47e8ffc681d72","after":"4264fb9dd65c560cf32bdf79a1666efc47b5af4f","ref":"refs/heads/gh-pages","pushedAt":"2023-10-15T14:53:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"70c4daa4fdf91e89d0fb8c5440ed050b7da19ea2","after":"09b4e0f84b51372180d9681954a27f9497ab0a54","ref":"refs/heads/master","pushedAt":"2023-10-15T01:31:21.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"fix: quarto compatibility issues\n\nThis tries to fix a bunch of quarto compat issues for rendering\nsvgling.html diagrams. The markdown mode is not entirely reliable...\n\nAlso, fix a list markdown issue.","shortMessageHtmlLink":"fix: quarto compatibility issues"}},{"before":"5a7dbcb0f1a47199d6c5e35295191990d1889cb5","after":"0338c43346e6b05a0f856b7dcac47e8ffc681d72","ref":"refs/heads/gh-pages","pushedAt":"2023-10-15T01:30:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"aab1b9237a8c81342165522971ba1fbe382e3f20","after":"5a7dbcb0f1a47199d6c5e35295191990d1889cb5","ref":"refs/heads/gh-pages","pushedAt":"2023-10-14T21:51:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":"9d0d09eadef3fa73e457ea5ecf2fa22238ffa025","after":"aab1b9237a8c81342165522971ba1fbe382e3f20","ref":"refs/heads/gh-pages","pushedAt":"2023-10-14T21:46:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Built site for gh-pages","shortMessageHtmlLink":"Built site for gh-pages"}},{"before":null,"after":"9d0d09eadef3fa73e457ea5ecf2fa22238ffa025","ref":"refs/heads/gh-pages","pushedAt":"2023-10-14T21:42:24.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"Initilalize gh-pages branch","shortMessageHtmlLink":"Initilalize gh-pages branch"}},{"before":"b75e2f762d3cdc6734f27405be65ad6a2d91f59f","after":"70c4daa4fdf91e89d0fb8c5440ed050b7da19ea2","ref":"refs/heads/master","pushedAt":"2023-10-14T21:41:05.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: first pass conversion to a quarto website\n\nThis converts the package documentation into a quarto project that\ngenerates a website. The individual notebooks (now renamed) are still\nfine to run standalone without quarto, but the whole thing now goes\ntogether as a coherent website.\n\nLots of incidental document edits in the process. At the moment, there\naren'te good links between docs aside from the navbar. This commit also\ndoes various changelog tweaking to get it to render better as a part of\nthe website, including inverting the order so that it is reverse\nchronological.","shortMessageHtmlLink":"docs: first pass conversion to a quarto website"}},{"before":"48fbbce10429221ba6393525e061da7e3a65ef4f","after":"70c4daa4fdf91e89d0fb8c5440ed050b7da19ea2","ref":"refs/heads/quarto","pushedAt":"2023-10-14T21:40:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rawlins","name":"Kyle Rawlins","path":"/rawlins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6290753?s=80&v=4"},"commit":{"message":"docs: first pass conversion to a quarto website\n\nThis converts the package documentation into a quarto project that\ngenerates a website. The individual notebooks (now renamed) are still\nfine to run standalone without quarto, but the whole thing now goes\ntogether as a coherent website.\n\nLots of incidental document edits in the process. At the moment, there\naren'te good links between docs aside from the navbar. This commit also\ndoes various changelog tweaking to get it to render better as a part of\nthe website, including inverting the order so that it is reverse\nchronological.","shortMessageHtmlLink":"docs: first pass conversion to a quarto website"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEHCFLeQA","startCursor":null,"endCursor":null}},"title":"Activity · rawlins/svgling"}