Hi Kevin,
Regarding your questions about the Org Chart example:
1) This example requires using table shapes, because it shows an image and a text for each shape arranged in a tabular manner.
2) You can customize the style sheets used for the 2D shapes of the example by modifying the
CreateStyleSheets method. More information about styles and style sheets is
available in the documentation.
3) To customize the look of the connectors, you can create a style sheet for them and assign its name to the tree importer like this:
// Create style sheets for the edges
NStyleSheet edgeStyleSheet = new NStyleSheet("Edges");
NStyle.SetEndArrowheadStyle(edgeStyleSheet, new NArrowheadStyle(ArrowheadShape.Arrow, null,
new NSizeL(6, 6), new NColorFillStyle(Color.White), new NStrokeStyle(Color.Black)));
document.StyleSheets.AddChild(edgeStyleSheet);
// Assign the style sheet name to the tree importer
treeImporter.EdgeStyleSheetName = edgeStyleSheet.Name;
4) You can assign a tooltip to each imported 2D shape in the event handler of the
VertexImported event of the tree importer by assigning an interactivity style to the shape:
NStyle.SetInteractivityStyle(shape, new NInteractivityStyle("My Tooltip"));
Best Regards,
Nevron Support Team