ontoviz.graph

Module Contents

Classes

OntologyGraph

Functions

node_color(color)

text_justify(words, max_width)

Attributes

query_classes

query_properties

common_ns

ontoviz.graph.query_classes[source]
ontoviz.graph.query_properties[source]
ontoviz.graph.common_ns[source]
class ontoviz.graph.OntologyGraph(files, config, format='ttl', ontology=None)[source]
pred_map[source]
static _load_files(graph, files, format='ttl')[source]
_read_graph()[source]
add_to_classes(cls)[source]
add_edge(triple)[source]
convert()[source]
_dot_class_node(class_)[source]
_dot_instance_node(instance, class_=None)[source]
_dot_node(uri, attrs)[source]
classmethod generate_dotstring(node_strings, edge_strings, fill)[source]
generate()[source]
graph(format='svg')[source]
write_file(file)[source]
_pred_label(uri)[source]
compute_label(uri, length=20)[source]
ontoviz.graph.node_color(color)[source]
ontoviz.graph.text_justify(words, max_width)[source]