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(self)[source]
add_to_classes(self, cls)[source]
add_edge(self, triple)[source]
convert(self)[source]
_dot_class_node(self, class_)[source]
_dot_instance_node(self, instance, class_=None)[source]
_dot_node(self, uri, attrs)[source]
classmethod generate_dotstring(cls, node_strings, edge_strings, fill)[source]
generate(self)[source]
graph(self, format='svg')[source]
write_file(self, file)[source]
_pred_label(self, uri)[source]
compute_label(self, uri, length=20)[source]
ontoviz.graph.node_color(color)[source]
ontoviz.graph.text_justify(words, max_width)[source]