Trying to get a working, simple example of using split-grid.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> | |
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css"> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script> | |
<style> | |
.container { | |
padding: 5em 0em; | |
} | |
.ui.dropdown { |
Trying to get a working, simple example of using splitjs.
Note: A solution has been found, see below.
I am trying to create an SVG graph of nodes with D3, with "expandable nodes." That is, when one clicks on a node, its siblings are added to the graph (or more precisely: its siblings in the graph data are added to the graph visualization.)
The visualization uses a d3 force simulation (using D3 v5). When a node (an SVG circle) is clicked, the simulation is stopped (in case it was still running, to make sure there is no new node with no coordinates added in the middle of a run,) the corresponding nodes and links are added to the corresponding arrays,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(:~ | |
: Template for the recursive descent copy. | |
: | |
: This function does not actually modify anything as such. Modify it as needed, | |
: this version does by default, for each node, a recursive exact same copy. | |
: | |
: Note that in addition to typeswitch cases, you can also have regular if/else | |
: statements, for more complex conditions, but conditions that can be expressed | |
: as typeswitch cases will be more efficient. | |
:) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import module namespace p = "XQueryML30" | |
at "XQueryML30.xquery"; | |
declare variable $src := | |
' | |
(:~ | |
: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean | |
: mauris ante, commodo sed ipsum et, malesuada blandit neque. Nulla | |
: nulla neque, malesuada quis dignissim in, hendrerit non | |
: lorem. Vestibulum in diam venenatis, semper lectus vel, finibus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Log excerpt after creation of a new document "/test/hello-world.xml": | |
2015-10-29 16:18:39.687 Info: expath-console: ***** Document /test/hello-world.xml was created. ***** | |
2015-10-29 16:18:39.687 Info: expath-console: <?xml version="1.0" encoding="UTF-8"?> | |
2015-10-29 16:18:39.687 Info: expath-console: <hello>World!</hello> | |
2015-10-29 16:18:39.687 Info: expath-console: ***** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/phantomjs | |
var page = require('webpage').create(); | |
var system = require('system'); | |
// ***** Argument handling | |
function isInt(value) { | |
return !isNaN(value) && | |
parseInt(Number(value)) == value && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xxx xmlns:p1="uri2"> | |
<a/> | |
</xxx> |
NewerOlder