![]() Sets an external link, note that a node can only contain one link Sets when the node was last modified, in milliseconds since epocįold the given node, also see node::fold and node::unfold ![]() Sets the created timestamp, in milliseconds since epoc Specifies the background color of the node, e.g. The node being updated, if no node is provided then the selected one will be used. Node::set -node $node -bold -icon idea -color #aa33cc Type Removes all child nodes of the current node If there is any need to get the references to the removed child nodes then using node::get first or using the node::remove_subnode proc directly would be recommended. Remove a child node matching the given text. If no name is passed in then all icons will be removed. If the name of the icon is provided then just the matching one will be removed. The node text should no longer be in italic The node text should no longer be in bold If no parameters are passed in then all attributes will be removed from the node. If the key is passed in as * then all attributes with the given value will be removed. If the value is passed in as * then all attributes with the given key are removed. This can be passed multiple times to remove more attributes from the node. Removes custom node attributes in key value pairs. Removes the folded attribute of the node, this essentially unfolds the node, also see node::unfold This would only remove the color attribute of the value if the currently set color is in fact #aa33cc. This procedure tries to calculate and set this optimal width based on gathered stats, but may not provide 100% accurate sizes. The optimal width is determined by the graphical width a text takes up based on the number of pixels needed to display it. ![]() Procedure to simulate the "Optimal Width" functionality when right clicking attributes within FreeMind. The node to check whether it has child nodes or notġ if the node has child nodes, 0 otherwise If the node has no child nodes then it will be a leaf node. The node to retrieve the child nodes fromĪll child nodes found, or empty string if the node has no child nodesĬhecks whether a node has child nodes or not. Retrieves a child nodes of the given node. The name/text of the child node to retrieve Retrieves an attribute from a given node. Node::set for a better explanation of what all these parameters doĪ list of results based on the parameters passed in to the proc ![]() Retrieves all child nodes from the current node Retrieves a child node matching the given text Retrieve the rich content from the node, also see node::get_rich_content Retrieves the font size of the node, or empty string if not set (the default is 12) Retrieves the font of the node, returns empty string if default (the default is SansSerif) Returns true if node is in italic, false or empty string otherwise Returns true if node is bold, false or empty string otherwise Retrieves custom node attributes in key value pairs, also see node::get_attribute ![]() Retrieve the link set for this node, if the node is linked to another node then the ID of the linked node will be returned Retrieves the folded attribute of the node, returns true if the node is folded, false or empty string if not Retrieves the background color of the node Mark the given node to be selected for further updates Set res lassign $res created id text Type This should not be confused with DOM attributes. An "attribute" here refers to custom key value pairs of information that can be added to nodes in the FreeMind application. ![]()
0 Comments
Leave a Reply. |