All Projects → jkrukoff → digraph_export

jkrukoff / digraph_export

Licence: Apache-2.0 license
File conversion and export support for graphs created using the Erlang digraph module.

Programming Languages

erlang
1774 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to digraph export

optic
An Erlang/OTP library for reading and updating deeply nested immutable data.
Stars: ✭ 34 (+3.03%)
Mutual labels:  erlang-otp, erlang-library
forseti
Process balancer and distributor for Erlang/OTP
Stars: ✭ 27 (-18.18%)
Mutual labels:  erlang-otp, erlang-library
sockerl
Sockerl is an advanced Erlang/Elixir socket framework for TCP protocols and provides fast, useful and easy-to-use API for implementing servers, clients and client connection pools.
Stars: ✭ 26 (-21.21%)
Mutual labels:  erlang-otp, erlang-library
rel
command line tool for managing personal graphs of anything and writing them to dot
Stars: ✭ 51 (+54.55%)
Mutual labels:  dot
xumlidot
RUBY UML class diagram generator with XMI and DOT output.
Stars: ✭ 28 (-15.15%)
Mutual labels:  dot
avit-da2k
💲 oh-my-zsh theme based on avit theme
Stars: ✭ 15 (-54.55%)
Mutual labels:  dot
redot
Graphviz dot file processor powered by plugins based on @unifiedjs
Stars: ✭ 60 (+81.82%)
Mutual labels:  dot
achlys
Erlang framework for building applications with Lasp on GRiSP
Stars: ✭ 41 (+24.24%)
Mutual labels:  erlang-otp
swagger routerl
Routing library that generate the routing table from swagger.yaml.
Stars: ✭ 14 (-57.58%)
Mutual labels:  erlang-library
DoTH-DNS
Your server doth DNS the safe way if you use DoTH-DNS.
Stars: ✭ 26 (-21.21%)
Mutual labels:  dot
nxontology
NetworkX-based Python library for representing ontologies
Stars: ✭ 45 (+36.36%)
Mutual labels:  digraph
digraph-parser
Java parser for digraph DSL (Graphviz DOT language)
Stars: ✭ 38 (+15.15%)
Mutual labels:  dot
pipen
pipen - A pipeline framework for python
Stars: ✭ 82 (+148.48%)
Mutual labels:  dot
dot
distributed data sync with operational transformation/transforms
Stars: ✭ 73 (+121.21%)
Mutual labels:  dot
updns
Public Adfree DNS over HTTPS Server
Stars: ✭ 23 (-30.3%)
Mutual labels:  dot
AAG-Visualizer
🌆 🏙 🌃 Viz.js Graphviz - An Elegant Visualizer for And-Inverter Graph
Stars: ✭ 95 (+187.88%)
Mutual labels:  dot
tortuga
A modern game engine built using dot net core
Stars: ✭ 14 (-57.58%)
Mutual labels:  dot
XLDotLoading
iOS 新浪微博红包加载动画
Stars: ✭ 30 (-9.09%)
Mutual labels:  dot
partial
An Erlang/OTP parse transform to emulate Scheme's cut/cute syntax.
Stars: ✭ 18 (-45.45%)
Mutual labels:  erlang-otp
DottedView
Drawing Dots in android
Stars: ✭ 13 (-60.61%)
Mutual labels:  dot

digraph_export

Spider Web

Overview

The digraph_export module provides a set of utility functions for converting digraph graphs into common graph file formats. In addition, graph viewing programs can be launched to view those files.

It is intended for use in debugging and visualizing graphs, not for customizing the export process. As such, no graph features beyond digraph's built in ID and label constructs are supported.

Modules

digraph_export

Getting Started

This library is published to hex.pm as digraph_export. If you're using rebar3 as your build tool, it can be added as a dependency to your rebar.config as follows:

{deps, [{digraph_export}]}.

Usage

1> Graph = digraph:new(),
    digraph:add_vertex(Graph, 1, first),
    digraph:add_vertex(Graph, 2, second),
    digraph:add_edge(Graph, edge, 1, 2, connected).
2> GraphML = digraph_export:convert(Graph, graphml).
3> digraph_export:view(GraphML, graphml, cytoscape).

Cytoscape Example Graph

Formats

The following output file formats are supported:

Programs

If installed and present on the current $PATH, the following programs can be launched:

Contributing

Please fork the repo and submit a PR. Tests are run via:

rebar3 as test eunit, proper

Documentation is autogenerated using edown and edoc via:

rebar3 as markdown edoc

The application has only been tested with Erlang/OTP 21 on Windows 10. Reports of success (or failure!) on other versions and operating systems are appreciated.

Lineage

This module was created while working on an exercism.io Erlang exercise, where I had managed to incorrectly create the underlying graph. Once I finally found the bug, I realized it would have been quite a bit easier if I'd been able to visualize the graph I'd created.

Attribution

Image by Fir0002

CC BY-SA 3.0 https://creativecommons.org/licenses/by/3.0/deed.en

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].