mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
c825356430
1276
styles/bootstrap/cytoscape/cytoscape-grid-guide.js
Normal file
1276
styles/bootstrap/cytoscape/cytoscape-grid-guide.js
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -109,9 +109,14 @@ var cy = cytoscape({
|
|||
}
|
||||
}]
|
||||
<?php if($renderdata) echo ",".$renderdata; ?>
|
||||
}
|
||||
});
|
||||
|
||||
);
|
||||
cy.gridGuide({
|
||||
discreteDrag: false,
|
||||
guidelinesStyle: {
|
||||
strokeStyle: "red"
|
||||
}
|
||||
});
|
||||
|
||||
cy.on('free', 'node', function(evt) {
|
||||
$('#png').attr('src', cy.png({'full': true}));
|
||||
|
@ -270,6 +275,8 @@ $(document).ready(function() {
|
|||
|
||||
$this->htmlAddHeader(
|
||||
'<script type="text/javascript" src="../styles/bootstrap/cytoscape/cytoscape.min.js"></script>'."\n");
|
||||
$this->htmlAddHeader(
|
||||
'<script type="text/javascript" src="../styles/bootstrap/cytoscape/cytoscape-grid-guide.js"></script>'."\n");
|
||||
$this->htmlAddHeader('
|
||||
<style type="text/css">
|
||||
body {padding: 0px;}
|
||||
|
|
Loading…
Reference in New Issue
Block a user