[redland-dev] serializer for Graphviz dot
Josh
parcour at gmail.com
Tue Nov 7 20:32:09 UTC 2006
On 11/6/06, Evan Nemerson <evan at coeus-group.com> wrote:
> As for "abbreviate the URI of nodes defined in the model itself", I'm
> not entirely sure what you mean. Are you talking about generating
> prefixes URIs which haven't previously been given one (eg, everything in
> N-Triples)? If so, I think I added what you want (code mostly stolen
> from the RDF/XML serializer). I've attached the updated version--let me
> know if that's what you were talking.
I meant that you could just leave out everything apart from the
fragment identifier for URIs in the default namespace, but your
solution (to declare a new namespace and qualify the local names with
that) is cleaner. The resulting drawings are MUCH more compact and
readable for the graphs I've tested on.
Josh
More information about the redland-dev
mailing list