An open API service indexing awesome lists of open source software.

https://github.com/evilsneer/gepher

convert json or hash-map to .gexf Gephi format
https://github.com/evilsneer/gepher

clojure gephi gexf gexf-graph-files graph json

Last synced: 2 months ago
JSON representation

convert json or hash-map to .gexf Gephi format

Awesome Lists containing this project

README

          

# gepher

A Clojure library designed to convert list of nodes or json to gexf

## Usage

### Clojure usage


(:require [gepher.core :as gepher])

(def td ['({:label ":ROOT", :id 0, :deep 1}
{:label "project.clj", :id 13, :deep 2})
'({:label ":ROOT", :id 0, :deep 1}
{:label "LICENSE", :id 14, :deep 2})])

(gepher/edges->gexf td)

### Cli usage
there is --file argument for cpecify json file to convert

## License

Copyright © 2018 Vladislav Shishkov

Distributed under the MIT License.