mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
commit
bf25274fc0
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
|
@ -119,10 +119,14 @@ var cy = cytoscape({
|
|||
'curve-style': 'bezier'
|
||||
}
|
||||
}]
|
||||
<?php //if($renderdata) echo ",elements: ".$renderdata; ?>
|
||||
}
|
||||
});
|
||||
|
||||
);
|
||||
cy.gridGuide({
|
||||
discreteDrag: false,
|
||||
guidelinesStyle: {
|
||||
strokeStyle: "red"
|
||||
}
|
||||
});
|
||||
|
||||
function save_handler(evt) {
|
||||
// console.log(JSON.stringify(cy.json().elements));
|
||||
|
@ -313,6 +317,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