I am currently developing an app where you can move different elements (boxes) and I need to display several arrows between them to show off connections and data flows. I don't want to use simple lines because this looks crappy. I recently used this great JavaScript library which does the thing I need for HTML: http://jsplumbtoolkit.com/jquery/demo.html
Is there something similar for XAML out there?
Thanks in advance!
I think, you should use bezie curves. From MSDN
To create a quadratic Bezier curve, use the PathGeometry, PathFigure, and QuadraticBezierSegment classes.
Simple example for creating bezie curves
Related
I'm using cytoscape.js to draw a graph. I'd like to do some fancier coloring of my edges similar to this:
I can't find any existing extensions for this, and the docs are pretty unclear on how I might write one to do something like this. I could probably hack this particular dashed style with two edges and some dash config-ing, but...thats hacky. Is there a way to do this correctly, or am I SOL?
Visual style features need visual style properties and renderer support. Extensions are usually for layouts or interactive widgets (e.g. tooltips).
If you want particular style properties, you should define them in a feature request in the issue tracker. PRs are always welcome, but it’s good to define the feature well first so we can discuss and iterate on the API design beforehand.
There’s a lot going on in the picture, but maybe you mean something along the lines of a line-dash-background-color property? It’s also not clear to me what the usecase is for having the alternating colours. In any case, start by defining the property or properties in a Github issue and we’ll go from there.
There are several examples in the API, but for some reason, what I think the biggest feature is eluding me for some reason. I have a list of points and each point needs to be represented by a different icon. I also may have layers that use the same icon which I can find, just not the option for different icons/markers. An example of this would be greatly appreciated!!
I found out how to use the Graphic option to add an array of points that have a different url for their markers (symbols). This used the Picture Marker type. The beauty of JSON!!
I have created a graph in Gephi using GeoLayout (showing network over the world). Now for my visualization I would like to add a background map in sigma.js ideally something like openstreetmap or a similar service. Is that possible?
Otherwise I could also imagining adding the graph to a leaflet map if that is easier. In any case I would need to know how this can be achieved. Any help is appreciated. Thanks!
I want to create controls that lets the user decide crop area of a bitmap, in the common way, having four corners on the image. I saw that there is a sample C# app in the Microsoft site for this - http://www.microsoft.com/en-us/showcase/details.aspx?uuid=bef08d57-fa4d-4d9c-9080-6ee55b8623c0
But I cannot figure out how to do this strictly WinJS. Do I need to create custom controls - if so how? Any sample code will help a great deal.
I have an example in my codeSHOW project. It's the demo called Rx Crop. It uses Reactive Extensions (which are awesome by the way), but if you didn't want that dependency you could probably just use the example to figure out how to do it without.
BTW, the codeSHOW project has a bug and a usability issue currently. I have an update in certification. For now, just make sure you select the Rx Crop demo on the home screen and then click See the Code. If you hit See the Code with no demo selected it will crash.
Do me a favor and rate the app. Thanks.
In short:
I am trying to find information about text styling inside an NSTextView. Bold, italics, indentation, making a word completely uppercase and setting backdrop colors to certain lines.
Any and all info is welcome. I've been looking around the web for docs on the subject and only managed to find a few things that seem to be part of an iphone framework. I'm sure there must be something out there and that I'm just searching for the wrong words.
A few details:
I am not a developer. I am a motion graphics artist and screenwriter. I do know html, php, javascript, css and several scripting languages (all very similar to javascript) used by different graphics apps.
I am not very proficient in objective-c but I've taken up writing a screenwriting app as a bit of a side project. I've been teaching myself objective-c from a book call Cocoa Programming for Mac OSX and using the code I've created from the examples in the book to create my app using Xcode. Styling text was not covered and I am at a loss as to how to approach it.
Screenplays have very specific formats. Using css I could create this format easily so my first thought was to find out if text inside a NSTextview can have css applied to it. I've not found anything that could answer this. Of course I am probably way off with this approach.
Again, any help or anyone who can point me in the right direction would be extremely appreciated.
Thanks!
-Omar
You can't do this because it only accept one style.
You have to deal with UIWebView Tutorial for this and use your CSS.
Or you can use some code like EGOTextView. I do not test this but I think it will be the easiest way for you.