Gets or sets URL of the image to display inside this node.
Namespace: MindFusion.Diagramming
File: ShapeNode.js
JavaScript
![]() |
---|
get imageLocation() {} |
String
A URL string that identifies the image to be loaded.
This property lets you display an image inside the node. Set the imageAlign property to specify how the image is aligned inside shape's area. By default, the image is displayed in the center of the bounding rectangle of the node.
If a node should display multiple images, you could add and arrange them using NodeLabel objects.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2025 MindFusion |