Solved: yEd GraphML Editor and Gremlin/Blueprints Perl Workflow Integration

412 views
Skip to first unread message

sluggish

unread,
Dec 19, 2011, 12:35:46 PM12/19/11
to Gremlin-users
I have created a commandline Perl utility (that can run on Linux or
Windows) that integrates/synchronizes graphml creation/editing with
gremlin/blueprints compatible queries.

yWork's great and free GraphML editor, yEd can now be included in
gremlin-based workflow.

The utility script takes node/edge data dictionary items (defined in a
YAML config file) and inserts them into a yEd created graphml file,
and automatically builds new display text labels from configured data
elements such as _label, _id, weight, etc. This makes yEd the master
updater of graphml information, retaining all the yEd layout goodness.

This utility lets you quickly create graphs visually in yEd (which
also makes nice documentation - see the pdf) and includes all the
query-able Data elements you need for your nodes and edges. Some
sample queries on the sample graphml file are included in the text
file.

The top part of the integrator.pl script contains user documentation
and installation instructions.

zip file is located here:
https://bitbucket.org/sluggish/gremlin-yed-graphml-synchronization/downloads

it includes:
* sample graphml file
* pdf snapshot of file as exported from yEd
* integrator.pl (perl script and documentation)
* a YAML configuration file (one for each graphml file)
* sample Gremlin query results (text file)

Shoot me any questions.

Happy Graphing and Querying,
Ross Anderson

Ross Anderson

unread,
Dec 20, 2011, 5:07:04 PM12/20/11
to Gremlin-users
updated zip to show pattern matching example in GraphML/snippets and
updated to code to play nicer with yEd.

On Dec 19, 12:35 pm, sluggish <rja2...@gmail.com> wrote:
> I have created a commandline Perl utility (that can run on Linux or
> Windows) that integrates/synchronizes graphml creation/editing with
> gremlin/blueprints compatible queries.
>
> yWork's great and free GraphML editor, yEd can now be included in
> gremlin-based workflow.
>
> The utility script takes node/edge data dictionary items (defined in a
> YAML config file) and inserts them into a yEd created graphml file,
> and automatically builds new display text labels from configured data
> elements such as _label, _id, weight, etc.  This makes yEd the master
> updater of graphml information, retaining all the yEd layout goodness.
>
> This utility lets you quickly create graphs visually in yEd (which
> also makes nice documentation - see the pdf) and includes all the
> query-able Data elements you need for your nodes and edges. Some
> sample queries on the sample graphml file are included in the text
> file.
>
> The top part of the integrator.pl script contains user documentation
> and installation instructions.
>
> zip file is located here:https://bitbucket.org/sluggish/gremlin-yed-graphml-synchronization/do...
Reply all
Reply to author
Forward
0 new messages