Commit Graph

24 Commits

Author SHA1 Message Date
Robbie Gleichman
a250b479a5 Use bezier curves for edges. 2016-12-01 20:46:24 -08:00
Robbie Gleichman
989a8f520e Refactor Rendering.hs to use IngSyntaxGraph instead of Drawing. Eliminate warnings in AllTests. 2016-11-30 20:45:50 -08:00
Robbie Gleichman
582528d74e Remove sub-Drawings from Drawing. 2016-11-28 13:55:26 -08:00
Robbie Gleichman
860e00a724 Fix edge transfer for embedded pattern apply. 2016-11-27 18:07:14 -08:00
Robbie Gleichman
02446b5b15 Reduce GHC warnings. 2016-11-27 17:25:30 -08:00
Robbie Gleichman
d617914139 Hlint suggestions. 2016-11-27 15:44:43 -08:00
Robbie Gleichman
4371f2d4c6 Fix factorial test. 2016-11-27 15:07:35 -08:00
Robbie Gleichman
0156f2af1d Refactor GraphAlgorithms. Child edge transfer for embedded pattern apply still needs to be fixed. 2016-11-27 14:41:07 -08:00
Robbie Gleichman
dd821cbb47 Fix bug in GraphAlgorithms where a node counted as its own parent. 2016-11-21 21:51:35 -08:00
Robbie Gleichman
4dafd8ea7e Use the new collapseNodes algorithm when rendering. Still need to do embedding for patterns. 2016-11-21 19:18:08 -08:00
Robbie Gleichman
99e2ad9493 Change the function name in NestedApply from a string to an Icon. 2016-11-20 15:34:18 -08:00
Robbie Gleichman
12d28b4b07 Add embedChildSyntaxNodes for ApplyNodes. 2016-11-19 14:45:16 -08:00
Robbie Gleichman
45b7bb3268 Add unit test for childCanBeEmbedded. Make NameNodes not embeddable. 2016-11-18 15:14:41 -08:00
Robbie Gleichman
b36ffd400a Add unit tests for findTreeRoots. Fix findTreeRoots. Improve renderFglGraph. 2016-11-17 15:56:10 -08:00
Robbie Gleichman
5ec0bc7902 Add test framework for collapseNodes using collapseTestStrings. 2016-11-03 15:30:04 -07:00
Robbie Gleichman
cab045da4b Extract the Graphviz parameters in Rendering.hs so they can be reused by renderFglGraph. 2016-11-03 14:52:22 -07:00
Robbie Gleichman
7ceb5977e4 Initial work for collapseNodes using graphs. 2016-11-02 14:49:29 -07:00
Robbie Gleichman
e19deaaa2d Convert SyntaxGraph to an FGL graph, and render it. 2016-07-02 14:43:18 -07:00
Robbie Gleichman
65fdc1006d Fix tests. Add test case for icons not nesting. 2016-05-29 12:00:57 -07:00
Robbie Gleichman
b71597b5ad Removed obsolete rendering tests. 2016-05-13 22:27:32 -07:00
Robbie Gleichman
242aa8225d Move render tests from app/Main.hs to test/AllTests.hs 2016-05-11 23:08:18 -07:00
Robbie Gleichman
84a9280ddd Fix tests. Add test_translate. Add an empty test-output directory so tests can be run with zero setup. 2016-05-10 22:33:07 -07:00
Robbie Gleichman
973674054e Remove (&) and (#), add tests. 2016-05-09 23:45:37 -07:00
Robbie Gleichman
95aebaccdc Initial commit 2016-01-04 17:18:42 -08:00