Skip to content

Commit

Permalink
Adding directed/undirected attribute for graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
anuprulez committed Mar 15, 2017
1 parent c6bd499 commit 2a63915
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Expand Up @@ -32,6 +32,16 @@ define( [], function() {
{ label : 'Preset', value : 'preset' },
{ label : 'Random', value : 'random' } ]
},
directed : {
label : 'Directed/Undirected',
help : 'Select a kind of edge.',
type : 'select',
display : 'radio',
value : '',
data : [ { label : 'Directed', value : 'triangle' },
{ label : 'Undirected', value : '' } ]

},
min_zoom : {
name : 'min_zoom',
label : 'Minimum zoom',
Expand Down
Expand Up @@ -42,7 +42,8 @@ define( [ 'utilities/utils', 'utilities/sifjson', 'plugins/cytoscape/cytoscape'
'haystack-radius': 0,
'width': 5,
'opacity': 0.5,
'line-color': '#a8eae5'
'line-color': '#a8eae5',
'target-arrow-shape': settings.get( 'directed' )
}
}],
elements: data_content
Expand Down

0 comments on commit 2a63915

Please sign in to comment.