W3C home > Mailing lists > Public > public-esw-thes@w3.org > July 2012

Re: Directed graphs

From: Ford, Kevin <kefo@loc.gov>
Date: Wed, 25 Jul 2012 11:12:06 -0400
To: "'public-esw-thes@w3.org'" <public-esw-thes@w3.org>
Message-ID: <B8AF2ACE62D0FD4391BE28FEB91E1FF313876299F2@LCXCLMB03.LCDS.LOC.GOV>
Hi Chuks,

On Antoine's point, when we re-did the ID.LOC.GOV codebase last year, I 
actually wanted to use the protovis (now D3) force-directed graph 
visualization [1].  In fact, I had it completely developed and 
implemented, but given the time crunch to relaunch and the difficulties 
(incompatibility) in getting protovis (now D3) to work in IE I had to 
revert to the older visualization.  Still, I would check it out, 
especially if the difficulties of getting the JS library to work in IE 
have been cleanly addressed or you only need it to work in FF or Chrome.

I have an XQuery module that takes ntriples and outputs the 
JSON expected by D3 for the force-directed graph visualization (providing nothing has changed 
since protovis).  I could probably make the XQuery available, but it 
would not be until the earliest next week.  Caveat: it may be somewhat 
customized for ID - to only output the relations to other concepts, for 
example - but I can no longer remember.



[1] http://mbostock.github.com/d3/ex/force.html

Kevin Ford
Network Development and MARC Standards Office
Library of Congress
Washington, DC

On 07/25/2012 10:49 AM, Antoine Isaac wrote:
> Hi Christophe, Chuks,
> There's also an example of basic (clickable) visualization at LCSH.
> See the "Visualization" tab at
> http://id.loc.gov/authorities/subjects/sh85061145
> Best,
> Antoine
>> Hi Chuks!
>> Graphviz.org is very good at producing directed graphs.
>> An example applied to SKOS:
>> http://www.destin-informatique.com/scheme/concept.jsp?concept=c_29466&graf=en#Graf
>> If you look at HTML page source, you will find an HTML comment
>> beginning with:
>> DOT Input=digraph G {
>> where the generated commands for Graphviz are shown.
>> With SVG output, you can make each shape clickable: links are
>> specified and generated by Graphviz.
>> My opinion is that you can make a modelling software where the users
>> can edit definitions and have the graph redrawn when requested (or
>> periodically).
>> You do not need "direct edit" within the graph itself (except for
>> clicking the shape you want to act upon: a properties' form can then
>> pop-up).
>> I also think GraphViz is good enough at auto layout to not be obliged
>> to add precise positioning directives.
>> But that is a question of taste and colours... What other thinks ? Any
>> interaction design, layout or symbols suggestions from the community ?
>> Good luck!
>> Christophe
>> Le 23/07/2012 14:43, Chuks Emma a écrit :
>>> Hi Guys,
>>> I need a great favor from you. Am completely new to SKOS, i have been
>>> working on it for less than a month now, reading tons of materials,
>>> trying to get a grasp of what it is all about. Now i can say that ,
>>> at least it makes sense. I have a limited time to understand all this
>>> , then try to develop a a Visualization software for SKOS that takes
>>> a SKOS file and transforms it into a directed graph of concepts and
>>> relationships. I need your help and Guidance because, i honestly dont
>>> know how to start. I have spent time learning about apps like
>>> protègè, ThManager..etc. I have also spent time on the Jena API for
>>> java, trying to get a grip. If there's anyone out there who has
>>> worked on this visualization software before, please come to my aid.
>>> Sincerely,
>>> Chuks.
Received on Wednesday, 25 July 2012 15:14:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:46:19 UTC