added graphviz graph generator...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-07-08 00:08:33 +03:00
parent 642611f537
commit fee35dca32
2 changed files with 9 additions and 1 deletions

View File

@ -472,6 +472,7 @@ var DialogsActions = actions.Actions({
// XXX this knows about action priority and shortcut marker... // XXX this knows about action priority and shortcut marker...
// XXX should these be more like .getDoc(..) and support lists of actions??? // XXX should these be more like .getDoc(..) and support lists of actions???
// XXX should these be here or someplace in base (base-introspection)???
getDocPath: ['- Interface/', getDocPath: ['- Interface/',
function(action, clean, join){ function(action, clean, join){
clean = clean == null ? true : clean clean = clean == null ? true : clean
@ -886,6 +887,12 @@ var UIIntrospectionActions = actions.Actions({
cls: 'table-view' cls: 'table-view'
}) })
})], })],
// XXX EXPERIMENTAL...
featureGraph: ['- Help/Generate feature graph (graphviz format)',
function(){
return this.features.FeatureSet.gvGraph(this.features.features) }],
}) })
var UIIntrospection = var UIIntrospection =
@ -1429,6 +1436,7 @@ module.BrowseActions = core.ImageGridFeatures.Feature({
depends: [ depends: [
'ui', 'ui',
'ui-dialogs', 'ui-dialogs',
'ui-introspection',
], ],
suggested: [ suggested: [
'keyboard', 'keyboard',

View File

@ -23,7 +23,7 @@
"glob": "^4.0.6", "glob": "^4.0.6",
"guarantee-events": "^1.0.0", "guarantee-events": "^1.0.0",
"ig-actions": "^3.2.5", "ig-actions": "^3.2.5",
"ig-features": "^3.2.2", "ig-features": "^3.2.4",
"ig-object": "^1.0.1", "ig-object": "^1.0.1",
"openseadragon": "^2.1.0", "openseadragon": "^2.1.0",
"preact": "^8.1.0", "preact": "^8.1.0",