question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add I/O support for JSON Graph Format

See original GitHub issue

The JSON Graph Format (JGF) specifies how to write a graph structure as a JSON file. It provides a JSON Schema to facilitate validation.

This extension of the I/O classes entails the creation of a JSONGraphFormat.py file in the openpnm/io/ directory containing the JSONGraphFormat class and its .save() and .load(). methods.

The work will be developed at https://github.com/neumannrf/OpenPNM, in a branch based on dev-V2-alpha1, and later merged into https://github.com/PMEAL/OpenPNM#master via a Pull Request (after v2 has been released).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jgostickcommented, Oct 10, 2018

I’m going to close this issue since all future discussion should occur on the open PR

0reactions
neumannrfcommented, Jul 10, 2018

Hey @jgostick , I am ready to create the PR!

I made it so it is mergeable to dev instead of master because I assume you wouldn’t want to do an official release just for this feature.

I am issuing the PR now, just to get it out of my to-do list (and into yours 😜) but I realise you’re in the middle of a conference, so take your time!

Let’s take this conversation to the PR…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loading and Saving Graphs | yFiles for HTML Documentation
In order to save graph information using the JSON format, you need to iterate the nodes and edges in the graph and store...
Read more >
JSON Graph Format Specification Website
This JSON Graph Format is focused on capturing basic graph structure in a convenient to use format. It allows for the use of...
Read more >
Falcor: JSON Graph
JSON Graph is a convention for modeling graph information as a JSON object. Applications that use Falcor represent all their domain data as...
Read more >
How to plot graphs using .json files in Python - Educative.io
Because JSON files have the same format as the Python dictionary container, these files can be used with Python's matplotlib library to graph...
Read more >
jsongraph/json-graph-specification: A proposal for ... - GitHub
This property default to JSON true indicating a directed graph. nodes property provides the nodes in the graph. Its value is an Map/Dictionary...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found