Skip to content

how to set node edge line type with script? #1809

Answered by euu2021
midnightthinker asked this question in Help
Discussion options

You must be logged in to vote

See the Reference Guide: https://docs.freeplane.org/scripting/Reference.html

// Sets "CLOSE_DOTS" as the edge line type.

node.style.edge.dash = "CLOSE_DOTS"
// Sets the dash array pattern of the outside connector located at index 0 of the selected node.

node.connectorsOut[0].dashArray = "CLOSE_DOTS"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@midnightthinker
Comment options

Answer selected by midnightthinker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants