Graph theory v1 Display

7 views
Skip to first unread message

Alex Corner

unread,
Sep 4, 2025, 9:11:38 AMSep 4
to Numbas Users
Odd display issue that has just come up. Using the draw_graph_from_adjacency function from the "Graph theory v1" extension causes graphs to display with huge vertex labels, but only in some browsers. It appears to be an issue in Chrome, Opera, and Edge, but not in Firefox. An example of a question using this is given below with the displayed graphs from the relevant browsers.

Tried the other extension, simply "Graph theory", and the same thing seems to result.

Example Question: https://numbas.mathcentre.ac.uk/question/113784/graphs-match-adjacency-matrix-to-a-graph/preview/

Chrome, Opera, Edge:
chrome_gph.png
Firefox:
firefox_gph.png

Christian Lawson-Perfect

unread,
Sep 9, 2025, 11:36:42 AM (12 days ago) Sep 9
to numbas...@googlegroups.com
Thanks for reporting this.
It looks like it's a bug in the new font-size-adjust CSS property. I think I can avoid it by resetting that property on SVG elements, so I've done that.

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/numbas-users/e589b131-9782-42a7-bd15-ffb041ee6068n%40googlegroups.com.
Message has been deleted

Alex Corner

unread,
Sep 16, 2025, 9:04:44 AM (5 days ago) Sep 16
to Numbas Users

Brill, that all looks good. Thanks!
Reply all
Reply to author
Forward
0 new messages