Skip to content

Commit e65dca5

Browse files
authored
Update Computer Science graph for 2024 (#1424)
1 parent 9904b53 commit e65dca5

File tree

5 files changed

+6836
-3
lines changed

5 files changed

+6836
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44

55
### 🚨 Breaking changes
66

7+
- Update Computer Science graph for 2024
8+
79
### ✨ New features/enhancements
810

911
- Added button to deselect courses in "FCE count" side panel
12+
- Increase font size for hybrid nodes in graphs
1013

1114
### 🐛 Bug fixes
1215

1316
- Fixed bug that causes FCE count to increase when toggling course via sidebar
1417
- Fixed bug that forced users to input a course codes in a specific way when generating a dependency graph
18+
- Correctly handle `'l'` directives in svg path attributes
1519

1620
### 🔧 Internal changes
1721

app/Svg/Parser.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import Text.Read (readMaybe)
3939

4040
parsePrebuiltSvgs :: IO ()
4141
parsePrebuiltSvgs = runSqlite databasePath $ do
42-
performParse "Computer Science" "csc2023.svg"
42+
performParse "Computer Science" "csc2024.svg"
4343
performParse "Statistics" "sta2022.svg"
4444
-- performParse "(unofficial) Mathematics Specialist" "math_specialist2022.svg"
4545
-- performParse "(unofficial) Biochemistry" "bch2015.svg"
@@ -538,7 +538,7 @@ parsePathD = parseValWithState parser initialState
538538
absoluteMove :: P.Parsec String PathDState ()
539539
absoluteMove = (P.char 'L' <|> P.char 'M') >> setMode AbsoluteMove
540540
relativeMove :: P.Parsec String PathDState ()
541-
relativeMove = P.char 'm' >> setMode RelativeMove
541+
relativeMove = (P.char 'l' <|> P.char 'm') >> setMode RelativeMove
542542
absHorizontalMove :: P.Parsec String PathDState ()
543543
absHorizontalMove = P.char 'H' >> setMode AbsoluteHorizontal
544544
absVerticalMove :: P.Parsec String PathDState ()

0 commit comments

Comments
 (0)