- gviz_write_rdf(+Stream, +Graph, +Options) is det
- Write the graph Triples to Stream in
dot
compatible format.
Options:
- graph_attributes(+Attributes)
- Additional overall graphs attributes for dot. Each
attribute is of the format Name(Value) and written
as Name="Value". The term
size(W,H)
is accepted as
well.
- max_label_length(+Len)
- Truncate labels to Len characters. Default is 25.
Use
inf
to print the full label.
- lang(+Lang)
- Lang is the language used for the labels. See
resource_label/4.
- smash(+Properties)
- Smash networks connected by one of the given properties.
Currently only [owl:sameAs].
- bags(Bags)
- How to handle bags. Values are
- graph
- Show as normal nodes (i.e. handles as normal RDF)
- merge(Shape, Max)
- Put the members in a dot node using Shape. Only
place the first Max members and add a note stating
'... showing N of M' to indicate the actual number
- edge_links(+Boolean)
- If
false
(default true
) do not put href atributes on
edges.
- wrap_url(:Goal)
- If present, URLs of the graph are replaced with the
result of
call(Goal, URL0, URL)
- shape_hook(:Goal)
- Called to define the shape of a resource as
call(Goal, URI,
Shape)
. Shape is a list of Name(Value) terms. See
shape/3.
- bag_shape_hook(:Goal)
- Called to define the shape parameters for a bag (Table).
called as
call(Goal, Members, Shape)
Shape is a list of
Name(Value) terms.
- label_hook(:Goal)
- Called to define the label of a resource as
call(Goal, URI,
Language, MaxLength, Label)
. Label is an atom.
- target(Target)
- If present, add target=Target to all attribute lists that
have an
href
attribute.
- display_lang(+Boolean)
- Display the language of literal nodes, defaults to true.