Skip to content

buda-base/dottoxml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modified version of dottoxml

Protégé includes the OntoGraf plugin that allows to create a visual graph display from an ontology and to export that display as a .dot format file.

dottoxml converts GraphWiz .dot files to .graphml files that can be read by yEd.

yEd provides reasonable features for cleaning up the graphical display which is tedious and intractable for large graphs in OntoGraf.

The modifications made to dottoxml include:

  • setting arrowheads on the target end of edges;
  • setting the shape of nodes to ellipse rather than rectangle;
  • deleting a useless comment about domain and range on edge labels that OntoGraf seems to insert when generating the edge labels from property names; and
  • setting the edge style to smooth Bezier rather than PolyLine

Running the dottoxml is done via:

python dottoxml input-file.dot output-file.graphml

Then open the graphml file in yEd and then select Tools >> Fit Node to Label followed by selecting an automatic layout via the Layout menu -- the One-click Layout works decently.

The original was downloaded from the bitbucket pages referred to from the pages of Dirk Baechle