Re: D3 force graph with rdf data

42 views
Skip to first unread message
Message has been deleted

Japhy Bartlett

unread,
Jul 11, 2017, 3:40:32 PM7/11/17
to d3...@googlegroups.com
Hrm, it looks pretty good in the fiddle.  Maybe you figured it out?

The general idea is to measure the width of the text and the width of the rectangle, and calculate a midpoint.



On Mon, Jul 10, 2017 at 3:09 AM, Mishelle Uchuari <dmuc...@gmail.com> wrote:
Hello, Im working in a rdf graph and for do this I'm using d3 force graph, I have got put literal data in rectangles and URI's in circles but I cant center the rectangles text in the rectangle middle. I have looking for this in the web but I didn't found nothing similar, only graphs with circular elements. Could you help me?

My graph :



Regards

--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages