Commit Graph

417 Commits

Author SHA1 Message Date
Robbie Gleichman
1c0de4ed64 Update tutorial svg in README 2016-12-09 13:37:55 -08:00
Robbie Gleichman
958611dde3 Add compose to tutorial. 2016-12-09 13:35:51 -08:00
Robbie Gleichman
bef2208939 Fix simplifyExp in Translate. Modify factorial in tutorial to not use compose. 2016-12-09 00:56:40 -08:00
Robbie Gleichman
540c864f25 Put the function name in nested apply and pattern apply in a colored box. 2016-12-09 00:42:53 -08:00
Robbie Gleichman
c8649945c3 Cycle colors for nested apply. 2016-12-09 00:35:19 -08:00
Robbie Gleichman
8bbfcdce3a Improve compose icon. 2016-12-08 22:16:09 -08:00
Robbie Gleichman
eccfe0cd9b Reduce warnings. 2016-12-08 21:45:33 -08:00
Robbie Gleichman
63a5213ca4 Compose nested node. 2016-12-08 21:38:43 -08:00
Robbie Gleichman
d0457df8c8 Fix findParentThatWillEmbed in GraphAlgorithms. 2016-12-08 19:52:38 -08:00
Robbie Gleichman
1150fbb63a Add flat compose icon. 2016-12-08 19:19:47 -08:00
Robbie Gleichman
9d211f1c7d Tweak line color. 2016-12-08 13:09:13 -08:00
Robbie Gleichman
922094b41f Increase edge line thickness. 2016-12-08 12:47:41 -08:00
Robbie Gleichman
3991b1531d Add note about random line colors to tutorial. 2016-12-08 12:21:32 -08:00
Robbie Gleichman
fd7a4a2e1f Randomly color edges. 2016-12-08 02:41:47 -08:00
Robbie Gleichman
7d994f0ff3 Update tutorial SVG in README 2016-12-07 22:11:33 -08:00
Robbie Gleichman
97cff80df0 Revise tutorial. 2016-12-07 22:09:52 -08:00
Robbie Gleichman
13ebabe0a2 Remove old rotateNodes. Reduce warnings. 2016-12-07 20:30:13 -08:00
Robbie Gleichman
4815b4466d Improve icon rotation using port angles. 2016-12-07 20:14:01 -08:00
Robbie Gleichman
07b4f9bdb2 Add back pattern nesting in Translate.hs. 2016-12-06 21:09:04 -08:00
Robbie Gleichman
89a8afbfee Lookup the root node in the embedding map during syntaxGraphToFglGraph. 2016-12-06 18:48:47 -08:00
Robbie Gleichman
078a3305bf Add and embedding Map to SyntaxGraph. 2016-12-06 18:39:38 -08:00
Robbie Gleichman
dca1434c68 Simplify syntaxGraphToFglGraph. 2016-12-06 17:22:36 -08:00
Robbie Gleichman
5e1d724418 Change node identifier from string to Int. Now, data NameAndPort = NameAndPort NodeName (Maybe Port), where NodeName and Port are both Int newtypes. 2016-12-06 17:02:54 -08:00
Robbie Gleichman
d3c463d41f Pretty print graphs in tests. 2016-12-06 13:45:12 -08:00
Robbie Gleichman
8187ca9af9 Add note about Microsoft browsers to README 2016-12-05 17:26:20 -08:00
Robbie Gleichman
49bad57e2c Remove pattern embedding from GraphAlgorithms. 2016-12-05 17:24:03 -08:00
Robbie Gleichman
9fd08c7432 Add test for improper pattern nesting. 2016-12-05 17:14:54 -08:00
Robbie Gleichman
7f03bf54f5 Update tutorial SVG in README 2016-12-02 20:19:50 -08:00
Robbie Gleichman
4ab82128f7 Update tutorial. 2016-12-02 20:18:32 -08:00
Robbie Gleichman
a64809406f Reduce warnings. 2016-12-02 20:08:42 -08:00
Robbie Gleichman
0f9c4d5b80 Generalize the number type in SepcialQDiagram 2016-12-02 19:43:03 -08:00
Robbie Gleichman
59cd6757fe Rotate nodes with bezier curve edges. 2016-12-02 17:21:13 -08:00
Robbie Gleichman
e9abde2c8b Change the order of TransformableDia so Name is first. 2016-12-02 13:19:01 -08:00
Robbie Gleichman
987a9b8869 Use applicatives for Angle arithmetic. 2016-12-02 13:06:30 -08:00
Robbie Gleichman
0b81421971 Allow literals to be embedded in pattern apply. 2016-12-01 22:32:12 -08:00
Robbie Gleichman
eb6291b11d Pick best port angles for edges. 2016-12-01 22:11:11 -08:00
Robbie Gleichman
a250b479a5 Use bezier curves for edges. 2016-12-01 20:46:24 -08:00
Robbie Gleichman
334369afac Remove nameDiagramMap parameters from placeNode and its sub-functions. 2016-12-01 00:18:49 -08:00
Robbie Gleichman
3b6da410b4 Use TransformableDia type synonym. 2016-11-30 22:13:43 -08:00
Robbie Gleichman
762a6539c8 Remove syntaxGraphFromDrawing and ingSyntaxGraphToDrawing from TranslateCore. 2016-11-30 20:59:25 -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
b393acd949 Add bezierArrowShaft that can draw an arrow shaft with its ends at parameterized angles. 2016-11-28 13:31:13 -08:00
Robbie Gleichman
7e139e114b Update getting started guide (tutorial) in README. 2016-11-27 18:10:21 -08:00
Robbie Gleichman
a7f2330d5d Update tutorial svg 2016-11-27 18:07:55 -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