willzeng / cograph

A way to build and explore webs of ideas.
http://www.cograph.co/
GNU General Public License v2.0
15 stars 3 forks source link

svg textwrapping #416

Open davidfurlong opened 10 years ago

davidfurlong commented 10 years ago

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

willzeng commented 10 years ago

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 notifications@github.com 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.

davidfurlong commented 10 years ago

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

willzeng commented 9 years ago

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

davidfurlong commented 9 years ago

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 commented 9 years ago

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

willzeng commented 9 years ago

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.