开发者

DOT Language Parser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question 开发者_开发技巧

Does anyone know of a DOT Language (or other GraphViz-ish format) Parser for .NET? I have been experimenting with QuickGraph, but it seems to only support serialization, and not parsing from a stream/string/file.


Graphviz4Net core includes a DOT parser.


Yet another DOT parser:

  • Nuget package: https://www.nuget.org/packages/DotParser/
  • Sources: https://github.com/auduchinok/DotParser


Well you could use a XML-based format like GraphML which per se does not require its own parser, it also has xsd's specified , so its rather trivial to add to .NET


The SPGraphviz project handles graph descriptions in DOT:

SPGraphviz - create your own visualization graphs without programming in Sharepoint. Just define graph on DOT language in simple text file, upload it into document library and specify URL in SPGraphvizWebPart - it will make graphical representation of your graph

The documentation implies that the project uses a wrapper around the C language graphviz, and points to 2 such wrappers:

SPGraphvizWebPart uses Graphviz open source library for rendering graphs defined on DOT language. Many objects in real life can be presented as a graph mathematical abstraction. E.g. organization structure, portal hierarchy, version history of the files, etc. - all these can be displayed as a graph (number of nodes with relations between them). Using DOT language you can create textual definition of a graph (nodes, relations, visual effects like color, shape, etc) in simple text file and pass this file into Graphviz library. It will make graphical representation of the graph using selected layout and image type.

Graphviz - is library written on C. SPGraphviz uses managed wrapper for using functions from Graphviz library. There are several implementations of managed wrapper for Graphviz:

  • WinGraphviz by ood Tsen
  • Rendering an in-memory Graphviz image with C# by David Brown
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜