cograph icon indicating copy to clipboard operation
cograph copied to clipboard

svg textwrapping

Open davidfurlong opened this issue 11 years ago • 6 comments

We could potentially speed things up by using http://d3plus.org/examples/utilities/a39f0c3fc52804ee859a/ to text wrap instead of using foreign objects.

davidfurlong avatar Aug 28 '14 02:08 davidfurlong

That's a good find, we should see how they are doing things under the hood. If they're using foreignobjects to get this anyway, etc.

On Thu, Aug 28, 2014 at 3:26 AM, David Furlong [email protected] wrote:

We could potentially speed things up by using http://d3plus.org/examples/utilities/a39f0c3fc52804ee859a/ to text wrap instead of using foreign objects.

— Reply to this email directly or view it on GitHub https://github.com/willzeng/graphdocs/issues/416.

willzeng avatar Aug 28 '14 07:08 willzeng

theyre using tspans inside a text to manually define lines, with tspans between each line. Strange

davidfurlong avatar Sep 10 '14 21:09 davidfurlong

Just wanted to revisit this. What was the resulting thought. Would this actually be faster in some sort of measurable way?

willzeng avatar Dec 16 '14 16:12 willzeng

Just wanted to revisit this. What was the resulting thought. Would this actually be faster in some sort of measurable way?

It probably will be. Not sure how much

davidfurlong avatar Dec 16 '14 16:12 davidfurlong

(obviously will make a more of a difference the more nodes we have)

davidfurlong avatar Dec 16 '14 16:12 davidfurlong

ok. If we don't have something concrete on it let's leave this as an idea until we start getting lots of "omg i wish it wouldn't slow down with lots of nodes" feedback.

willzeng avatar Dec 16 '14 16:12 willzeng