Page MenuHomePhabricator

Graphviz remarkup blocks produce graphs too wide to display
Closed, ResolvedPublic

Assigned To
Authored By
tel
Jul 3 2015, 6:51 PM
Referenced Files
F584263: pasted_file
Jul 3 2015, 8:47 PM
F583554: pasted_file
Jul 3 2015, 6:51 PM

Description

Today it is possible to construct Graphviz graphs which are too large display in Phriction wiki, yet they still will be displayed overflowing the text area. A fix should either display the generated graph inline shrunk to fit and then enable the user to click to expand it.

pasted_file (576×1 px, 103 KB)

Event Timeline

tel raised the priority of this task from to Needs Triage.
tel updated the task description. (Show Details)
tel added a project: Remarkup.
tel updated the task description. (Show Details)
tel added a subscriber: tel.

I have a vague recollection this was fixed some time ago. What browser are you using and is your Phabricator at HEAD?

It's not, but it's fairly recent. I'm on Chrome and I'll try an upgrade.

Updated to head—no dice.

I'm thinking of T8221, which was May 19th. Might not be the same bug.

It's a similar looking problem. Indeed, it has a similar solution!

pasted_file (483×891 px, 99 KB)

Not sure why it's not working currently.

D13548 will only correct images when they are newly built. If you have existing images that don't fit, you'll need to regenerate them.

epriestley claimed this task.
epriestley added a subscriber: epriestley.

(I think this is fixed?)

Yup! When I regenerate the graph it's well-sized.