Commit 7a19f811 authored by Yannick Chudy's avatar Yannick Chudy

version 0.6

parent db080828
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
"""
0.6 added edge direction with reification > or < where % === %<
"""
required = [] required = []
try : try :
with open('requirements.txt') as f: with open('requirements.txt') as f:
...@@ -13,11 +19,11 @@ required = [] ...@@ -13,11 +19,11 @@ required = []
setup( setup(
name='botapad', name='botapad',
version='0.5', version='0.6',
description='padagraph pad parser', description='padagraph pad parser',
author='ynnk, a-tsioh', author='ynnk, a-tsioh',
author_email='contact@padagraph.io', author_email='contact@padagraph.io',
url='www.padagraph.io', url='botapad.padagraph.io',
packages=['botapad'], #+ ['botapad.%s' % submod for submod in find_packages('botapad')], packages=['botapad'], #+ ['botapad.%s' % submod for submod in find_packages('botapad')],
install_requires=required install_requires=required
) )
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -9799,7 +9799,7 @@ span.name { ...@@ -9799,7 +9799,7 @@ span.name {
//overflow-y: auto; //overflow-y: auto;
//z-index:1; //z-index:1;
//} //}
</style><template><template is="dom-if" if="{{ model }}"> <div class="ui card"><template is="dom-if" if="{{ is_edge }}"><div class="item"><padagraph-edge-card-xl model="{{model}}"></padagraph-edge-card-xl></div></template><template is="dom-if" if="{{ is_vertex }}"> <div class="intersected"><padagraph-vertex-card-m model="{{model}}"></padagraph-vertex-card-m><div class="sub header"><a href="#expand" on-click="expand" class="ui label">+10 </a><a href="{{ geturl(model) }}/neighbors" target="_blank" class="ui label">neighbors</a><a href="{{ geturl(model) }}" target="_blank" title="{{ model.id }}" class="ui label">{{ shortuuid(model) }}</a></div><div style="overflow-y:auto;" class="content"><template is="dom-if" if="{{image}}"> <img src="{{image}}" class="ui small centered image"><div class="ui divider"></div></template><template is="dom-repeat" items="[[props]]"> <div class="comment"><div class="content"><span class="name">{{item.name}}</span><padagraph-card-property prop="{{item}}" class="value"></padagraph-card-property></div></div></template><padagraph-vtx-neighbors graph="{{graph}}" model="{{model}}"></padagraph-vtx-neighbors></div></div></template></div></template></template><script>'use strict'; </style><template><template is="dom-if" if="{{ model }}"> <div class="ui card"><template is="dom-if" if="{{ is_edge }}"><div class="item"><padagraph-edge-card-xl model="{{model}}"></padagraph-edge-card-xl></div></template><template is="dom-if" if="{{ is_vertex }}"> <div class="intersected"><padagraph-vertex-card-m model="{{model}}"></padagraph-vertex-card-m><div class="sub header"><a href="#expand" on-click="expand" class="ui label">+10 </a><a href="{{ geturl(model) }}/neighbors" target="_blank" class="ui label">neighbors</a><a href="{{ geturl(model) }}" target="_blank" title="{{ model.id }}" class="ui label">{{ shortuuid(model) }}</a><a href="#explore" on-click="explore" class="ui label">explore </a></div><div style="overflow-y:auto;" class="content"><template is="dom-if" if="{{image}}"> <img src="{{image}}" class="ui small centered image"><div class="ui divider"></div></template><template is="dom-repeat" items="[[props]]"> <div class="comment"><div class="content"><span class="name">{{item.name}}</span><padagraph-card-property prop="{{item}}" class="value"></padagraph-card-property></div></div></template><padagraph-vtx-neighbors graph="{{graph}}" model="{{model}}"></padagraph-vtx-neighbors></div></div></template></div></template></template><script>'use strict';
require(['backbone', 'cello', 'gviz', 'materials', 'pdgconst'], function (Backbone, Cello, Gviz, Materials, Const) { require(['backbone', 'cello', 'gviz', 'materials', 'pdgconst'], function (Backbone, Cello, Gviz, Materials, Const) {
Polymer({ Polymer({
...@@ -9891,6 +9891,12 @@ require(['backbone', 'cello', 'gviz', 'materials', 'pdgconst'], function (Backbo ...@@ -9891,6 +9891,12 @@ require(['backbone', 'cello', 'gviz', 'materials', 'pdgconst'], function (Backbo
Backbone.trigger('engine:expand_prox', params); Backbone.trigger('engine:expand_prox', params);
}, },
explore: function explore() {
var graph = this.model.graph;
var params = { graph: graph.id, query: this.model.id };
Backbone.trigger('engine:explore', params);
},
shortuuid: function shortuuid(model) { shortuuid: function shortuuid(model) {
var uuid = null; var uuid = null;
if (model) uuid = "" + model.id; if (model) uuid = "" + model.id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment