Hi,
Quote:How can I detect on runtime which node is being dropped on the canvas?
Try this:
if (node.getShape().getId() == "DividedProcess")
{
var t = sender.getFactory().createTableNode(node.getBounds());
...
}
Quote:1. How can we change the color of the shapes in the shapebox? I am using custom shapes.
Set the ShapeListBox.ShapeFillColor property.
Quote:2. Is it possible to assign images outside the node created but tied to the particular node [Please see the screen shot attached]
It's possible by creating a separate ShapeNode at that position to display the image, and calling its attachTo method to make it follow the main node. You could also set its Transparent property to leave only the image visible, and Locked to prevent users from selecting it.
Another option in JavaApplet mode is to set nodes' CustomDraw property to Additional and draw the icon using Java Graphics2D API's from the DrawNodeScript handler.
Quote:3. Increase the default size of the node, when they are dropped on the canvas.
Set ShapeListBox.DefaultShapeSize.
Quote:Also please confirm this trial is valid for how many days and how can I go about the purchase?
The trial does not expire. You can purchase from
http://mindfusion.eu/buy-netdiagram.html, or contact sales at mindfusion.eu email address if you need to follow a more involved purchase process.
I hope that helps,
Stoyan