Commit Graph

24 Commits

Author SHA1 Message Date
Brian Picciano
49d208b190 WIP gim: I had started working on some file vertex.go, not sure if I'll end up needing it or not 2018-07-16 01:09:49 +00:00
Brian Picciano
7d42bafad4 WIP gim: render graphs in the view package using new fancy algorithm 2018-06-08 04:03:13 +00:00
Brian Picciano
c277bab368 gim: move view code into its own package 2018-06-08 02:04:27 +00:00
Brian Picciano
0a6526d2c3 gim: add terminal.Buffer.DrawBufferCentered 2018-06-08 00:17:49 +00:00
Brian Picciano
0b36e4ec37 gim: make rounder a global in geo, kinda gross but simplifies a lot of things 2018-06-07 22:50:01 +00:00
Brian Picciano
ef48a2d708 gim: move line drawing code into terminal. drawing the line body is kind of busted, but whatever 2018-06-07 22:35:18 +00:00
Brian Picciano
a6d540f1fb gim: refactor positioning and drawing code to take advantage of terminal buffers more 2018-06-07 03:25:40 +00:00
Brian Picciano
b906697151 gg: rename Walk to Iter, and implement Disjoin 2018-06-07 02:21:44 +00:00
Brian Picciano
efa7319555 gim: give terminal.LineStyle Perp and Arrow fields 2018-06-06 06:30:39 +00:00
Brian Picciano
97be10b03e gim: modify terminal to use a buffer, which will allow for much more complex behavior later 2018-06-05 07:56:50 +00:00
Brian Picciano
018e84575f more notes for gim 2018-06-03 04:25:32 +00:00
Brian Picciano
c16fc00bf7 notes for gim on graph drawing algo, and some TODOs 2018-06-02 08:45:03 +00:00
Brian Picciano
1dc53518af gim: draw the text of the edge 2018-06-02 06:52:57 +00:00
Brian Picciano
65933a004d gim: properly sort outgoing edges along the from box 2018-06-02 06:52:42 +00:00
Brian Picciano
faf41c7386 gim: make outgoing edges also be split along the rectangle 2018-06-02 06:52:24 +00:00
Brian Picciano
905b182467 gim: make incoming edges separate along the drawn rectangle edge, instead of all overlapping onto the same point 2018-06-02 06:51:53 +00:00
Brian Picciano
e52befb7ed refacctor gg to use Value instead of Identifier, which will make serializing more straightforward, and reduces some complexity of the code besides 2018-01-21 15:39:25 +00:00
Brian Picciano
754b75407a integrate constraint engine into determining box positioning 2017-12-03 12:38:53 -07:00
Brian Picciano
79a171323d implement basic constraint engine in gim, which will be used to determine positioning of vertices 2017-11-25 14:33:00 -07:00
Brian Picciano
286c2fbb35 use gg.Str instead of gim.str 2017-11-24 11:05:58 -07:00
Brian Picciano
7c7502b42f move a bunch of code into view, which holds onto a bunch of the drawing logic and settings now 2017-11-23 12:19:32 -07:00
Brian Picciano
f68bb4d8a2 do a lot of work on gim to get it sort of rendering gg.Graphs 2017-11-19 14:39:56 -07:00
Brian Picciano
11328fa76c drawing edges in gim, and split out some parts into their own packages 2017-11-04 15:29:15 -06:00
Brian Picciano
b4bf8f6c5a basic box drawing and moving in gim 2017-11-02 16:45:10 -06:00