-
Notifications
You must be signed in to change notification settings - Fork 36
973592: Disable default tooltip for symbols in palette #4441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
``` javascript | ||
|
||
var diagram = document.getElementById("container").ej2_instances[0]; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty line
@@ -0,0 +1,2 @@ | |||
@(Html.EJS().Diagram("container").Width("100%").Height("580px")) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty line
// GET: Nodes | ||
public ActionResult Nodes() | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty line
{ | ||
|
||
List<DiagramNode> nodes = new List<DiagramNode>(); | ||
List<DiagramNodeAnnotation> Node1 = new List<DiagramNodeAnnotation>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the variable name Node1 -> annotation1
Node2 -> annotation2
// GET: Nodes | ||
public ActionResult Nodes() | ||
{ | ||
List<DiagramNode> SymbolPaletee = new List<DiagramNode>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SymbolPalette - flowShapes
BasicNodes - basicShapes
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
|
||
}); | ||
ViewBag.nodes = nodes; | ||
List<DiagramConnector> Connectors = new List<DiagramConnector>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Connectors -> connectors
SymbolPaletee.Add(new FlowShapes() { Id = "Terminator", Shape = new { type = "Flow", shape = "Terminator" } }); | ||
SymbolPaletee.Add(new FlowShapes() { Id = "Process", Shape = new { type = "Flow", shape = "Process" } }); | ||
SymbolPaletee.Add(new FlowShapes() { Id = "Decision", Shape = new { type = "Flow", shape = "Decision" } }); | ||
SymbolPaletee.Add(new FlowShapes() { Id = "Document", Shape = new { type = "Flow", shape = "Document" } }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new DiagramNode() { Id = "Terminator", Shape = new DiagramFlowShape() { Type = Syncfusion.EJ2.Diagrams.Shapes.Flow, Shape = FlowShapes.Terminator } },
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Description:
Disable default tooltip for symbols in palette.