nshape's People
Forkers
apple75824 cube3power palzj michaelrandrup ajinkyakulkarni gzwplato jozelom nilavanrajamani hdxhan guohong365 huluzai jmptrader ew8cn youkebing eillel enginetix yuzs wbskyboy master-xuanwu zilinxiao muhammedsahin chinaray xush1611 erisonliang aspnetcoreeamples team-robinson harlanchou qingmuhai wkysoft lijunay bangush ehtick tangbinbinyes jeongyong-park clorin powerchamp persvensson david0718 sedighzade yuankyinshape's Issues
feature: svg export
Hi,
thanks for NShape. Using it a lot to draw flow charts.
In my opinion, a export to svg would be a perfect addition. Any chance of implementing it?
want to draw closed Polygon/path of Points.
Is there any object to draw a closed polygon or path.
Lets say i have different XY coordinates.
i have to connect all these coordinates and fill with some color.
In normal GDI+ we can achieve this with GraphicsPath.
How to do with NShape Tool.
Please help.
Polyline issue when it comes back on same Y axis
i have set of XY
- 100,300
- 400,300
- 130,300
- 130,350
when i draw this polyline, it is not drawing correctly.
because it starts from Point 1 and End at Point 2,
Again from Point2 its coming back on same Y-axis to Point3.
And from Point3 it draws a vertical line.
at the end it will be like and L shape line. But i am getting a curved line.
in my case from Point 3 to Point4 it has to draw a straight line. But it is drawing from Point2 to Point4.
this is my code.
Polyline p5 = (Polyline)project.ShapeTypes["Polyline"].CreateInstance();
p5.X = 100;
p5.Y = 300;
p5.AddVertex(400, 300);
p5.AddVertex(150, 300);
p5.AddVertex(150, 350);
// get the glue point id.
ControlPointId cp5 = p5.GetControlPointIds(ControlPointCapabilities.Glue).Last();
// assign the glue point coordinates to the last point coordinates.
p5.MoveControlPointTo(cp5, 150, 350, ResizeModifiers.None);
diagram.Shapes.Add(p5);
Please help me in this issue.
LibraryManagementDialog: invalid assembly path handling
In the project "WinFormsUI" the class "LibraryManagementDialog.cs", method "GetAssemblyFilePath()" uses a UriBuilder to return a path to a given assembly object.
However, this fails for any paths containing a hashtag in their name, e.g.:
C:\projects\c#\NShape\libs
The UriBuilder uses the # sign as fragment separator, resulting in above example path to become:
C:\projects\c
Easy fix in the above method would be to just return assembly.Location as that contains the full path (tested with VS2019).
I can't see why the UriBuilder is used at all there.
Events for shapes being connected (ignoring line shape)
I'm looking for a way to be informed when two shapes are connected.
I can see there are two connection events being fired (origin shape glue point -> line shape followed by line shape -> target shape connection point).
Does anything exist that combines these? Ideally I would like an event that returns the origin shape and target shape.
Any help appreciated.
Dependencies of Nuget Packages declared wrong
NShape.Shapes.General
and NShape.WinFormsUI
2.4.0 declare the dependency to NShape.Core
as >= 2.3.1
This how ever is wrong. During compiling this raises the error, that the references to the assembly Dataweb.NShape
are not correct. The compiler error BC32207
is raised.
setup installer missing but referenced in documentation
The documentation mentions a setup installed but there appears to be none present.
Documentation seriously out of date
I am trying to understand how to use NShape but the documentation that comes with it is written for a much earlier version of Visual Studio than I have available. I am using VS 2017 and none of the instructions in your Basic tutorial map to anything I have available in VS 2017.
I have some experience with WPF and none with WinForms. If you could provide some examples using WPF and a more recent version of Visual Studio (preferably 2017) it would help greatly in deciding whether to use your product in a project we are looking at.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.