The 2014 “Using Graphviz as a Library” by Emden R. Gansner mentions GXL (Graph eXchange Language) output format. But when I run DOT it rejects it as not one of the supported file formats.
Has it been dropped?
I also see PSD (Adobe Photoshop) is not in the list of formats. Pity.
I think we never supported GXL as an output format. From the document:
Various graph drawing and manipulation packages either use GXL or GML as their main graph language, or provide a translator. In this, Graphviz is no different. We supply the programs gv2gxl, gxl2gv,gv2gml and gml2gv for converting between the DOT and these formats. Thus, if an application is XMLbased, to use the Graphviz tools, it needs to insert these filters as appropriate between its I/O and the Graphviz layout programs.
You’re right. I should have read the document more closely. It’s not a problem, I’m not familiar with any apps that use GXL, it just sounded like an industry standard. If necessary, I can probably crank out GXL directly from my app.
I’m not familiar with GXL, but it sounded like a popular format, there’s a long list of impressive organizations involved. My program is used by others, and I want to provide them with maximum flexibility as to what they do with the output.
It’s funny, if you click on the link for the GXL website, it goes to a German university, and you need special authorization to access. Not encouraging.
GXL seems to be one of several (dead) graphics “standards” that were created back when SGML and HTML were new and shiny; pdf was locked-up tight; and SVG was a standard that had no useful implementations
PSD (photoshop) seems to be a multi-layer, raster (bitmapped) format (I prefer vector file formats like SVG)
gimp and imagemagick seem to be able to convert other formats to PSD
not sure if this can be done at library level
not sure if PSD layers can be supported
note that Graphviz does support layers at a high level (see FAQ | Graphviz)
Driving Graphviz from another system: Graphviz can explicitly position nodes, edges, and labels based on pos input values (see FAQ | Graphviz)
I thought PSD was the native Adobe Photoshop project file format, containing all the information to edit a drawing. This would enable a user to output a graph with Graphviz, then further modify it or incorporate other elements with Photoshop.
A vector-based editor like Inkscape would probably be better for some of the difficult editing steps described above. (Inkscape edits svg formatted files)