Last active
August 28, 2017 20:26
-
-
Save nbelyh/8131b9dc483160c690e358e9b8edc8b0 to your computer and use it in GitHub Desktop.
SvgPublish: list text of all shapes to 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
console.log("listing shapes") | |
// for each diagram shape, log it's name | |
$.each(diagram.shapes, function(id) { | |
var shape = diagram.shapes[id]; | |
console.log(shape.Text); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment