This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 | |
height: 960 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 | |
height: 600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 | |
height: 600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 | |
height: 600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"></div> | |
<div id="menu"> | |
<button id="table">TABLE</button> | |
<button id="sphere">SPHERE</button> | |
<button id="helix">HELIX</button> | |
<button id="grid">GRID</button> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
diameter: 50px; | |
color: #A5ABB6; | |
border-color: #9AA1AC; | |
border-width: 2px; | |
text-color-internal: #FFFFFF; | |
font-size: 10px; | |
} | |
relationship { | |
color: #A5ABB6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gram is a lightweight graph exchange format. | |
// | |
// gram is a series of path updates. | |
// | |
// identified path elements may be introduced and referenced in a later update | |
// node shapes | |
() // anonymous node | |
(a) // identified node | |
(1) // numerically identified node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GraphElementEncoder(json.JSONEncoder): | |
def default(self,obj): | |
if isinstance(obj, graph.Node): | |
return { | |
"element_id": obj.element_id, | |
"labels": list(obj.labels), | |
"properties": {k:v for k,v in obj.items()} | |
} | |
elif isinstance(obj, graph.Relationship): | |
return { |