Page Index Toggle Pages: 1 ... 17 18 [19] 20 21  Send TopicPrint
Locked Topic Link between two nodes (Read 129100 times)
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #270 - Aug 13th, 2014 at 6:13am
 
I have generated VISIO file with help of XML but still there no hyperlink coming can you tell me reason ?
I have attached XML files with VISIO file.
  

HyperLinkIssue.zip (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #271 - Aug 13th, 2014 at 12:13pm
 
The <Hyperlink ID="1" NameU="OffPageConnector" ...> code posted above is from the Visio 2007 specification and should go into the Visio VDX file, under the XML element for the respective Visio off-page connector shape. You are adding it to the NetDiagram's XML file instead, where it's not recognized by LoadFromXml and ignored.
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #272 - Aug 14th, 2014 at 4:47am
 
But previously you said these tags from Net diagrams,
Give me tags those to add in Netdiagrams xml and i am loading that xml with diagram page object as per your comments, then exactly whats the problem?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #273 - Aug 14th, 2014 at 11:27am
 
No, here's what I said previously:
http://mindfusion.eu/Forum/YaBB.pl?num=1400652920/261#261

Until we add support for hyperlinks to VisioExporter you won't be able to implement them via diagram properties, you'll have to add respective Visio XML elements to the VDX file instead.
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #274 - Aug 26th, 2014 at 8:23am
 
Hi,

Is it possible to export graph to Image format i.e JPG, JPEG like we are exporting PDF.?


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #275 - Aug 26th, 2014 at 9:40am
 
Hi,

Call diagram.CreateImage().Save().

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #276 - Aug 26th, 2014 at 10:17am
 
Why there is text in image i.e MindFusion.Diagramming for Asp.Net, v5.3 beta
  

shri_DataFlowDiagram_26Aug2014_033943PM.JPEG (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #277 - Aug 26th, 2014 at 10:22am
 
I suppose you are using a pre-release assembly. You can get the released version 5.3 from your http://clientsarea.eu/ account page.
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #278 - Aug 26th, 2014 at 1:20pm
 
I am using below code to generate Image but why its cutting is there any property to fit contents ?
string sFilePath = "";
            Diagram dc = new Diagram();
            try
            {
                sFilePath = System.IO.Path.GetDirectoryName(sXMLFilePath) + "\\" + System.IO.Path.GetFileNameWithoutExtension(sXMLFilePath) + ".JPEG";
                dc.LoadFromXml(sXMLFilePath);
                dc.SaveToXml(sXMLFilePath);
                MindFusion.Diagramming.Layout.DecisionLayout dl = new MindFusion.Diagramming.Layout.DecisionLayout();
                dl.Orientation = MindFusion.Diagramming.Layout.Orientation.Vertical;
                dl.HorizontalPadding = 10;
                dl.VerticalPadding = 10;
                dc.BackBrush = new MindFusion.Drawing.SolidBrush(Color.White);
                dl.Arrange(dc);
                //dc.AutoResize = AutoResize.AllDirections;
                dc.CreateImage().Save(sFilePath);
                return true;
  

ProgramFlow.JPEG (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #279 - Aug 26th, 2014 at 2:08pm
 
Apparently the diagram.Bounds value assigned by DecisionLayout does not include right and bottom margin space. For time being call diagram.ResizeToFitItems(margin) to add it before exporting.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #280 - Aug 27th, 2014 at 12:13pm
 
Can you tell me how to set size of image i.e width and height?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #281 - Aug 27th, 2014 at 12:23pm
 
It's equal to diagram.Bounds.Size multiplied by MeasureUnit pixel size, so you could change diagram.Bounds or alternatively use the CreateImage (RectangleF viewport, float scale) overload.
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #282 - Sep 1st, 2014 at 5:19am
 
Can u tell me one eg which sets height 200px and width 100px ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #283 - Sep 1st, 2014 at 5:23am
 
Set the viewport argument to the result of DiagramView.ClientToDoc(200 x 100 rectangle).
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #284 - Sep 1st, 2014 at 5:38am
 
I am using like this
dc.CreateImage().Save(sFilePath);

so i am not able to understand viewport argument.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 17 18 [19] 20 21 
Send TopicPrint