Code Monkey home page Code Monkey logo

cytoscape.net's People

Contributors

haapavuo avatar hlweil avatar kmutagene avatar muehlhaus avatar whiteblackgoose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cytoscape.net's Issues

Cytoscape label

Currently not possible to find Cytoscape for .NET in github, adding cytoscape label could help

Top level `Graph` API

I think consistency over the data viz libs in the stack can have huge benefits. Therefore, I suggest to either re-write this lib to follow the same patterns, or gradually introduce a top-level API.

For example, in Plotly.NET we have something like this:

Chart.Point(x=[...], y = [...])

Internally, there are multiple things happening, as in plotly.js there is no trace named "point". Chart.Point is a simple top-level API that removes the need for deep plotly.js knowledge.

in Cyjs.NET (or Cytoscape,NET, see #11 ), we could have something like this:

Graph.Tree(...) // creates a graph that uses taxi edges per default
Graph.Circle(...) // creates a graph using circular layout per default

not sure about the types of graphs that make the most sense besides Graph.Tree though, so i'd love some input

Consider renaming to Cytoscape.NET

While I get where the name is coming from, Cyjs is not something I would google first when searching for a library that can create Cytoscape(.js) graphs in a .NET programming language. To make the lib more discoverable, I suggest renaming it to Cytoscape.NET - something that worked quite well for Plotly.NET as well.

with* methods not visible when calling from C#

Hi. I have a ASP.NET 5.0 application that uses Razor Pages and C#. I want to generate a Cytoscape graph in the backend.

It seems to be possible to do this:

public string GraphHTML { get; set; }

public void OnGet()
{
    var graph = CyGraph.initEmpty();
    graph.AddElement(Elements.node("n1", new FSharpList<CyParam.CyStyleParam>(CyParam.label("TEST 1"), FSharpList<CyParam.CyStyleParam>.Empty)));
    graph.AddElement(Elements.node("n2", new FSharpList<CyParam.CyStyleParam>(CyParam.label("TEST 2"), FSharpList<CyParam.CyStyleParam>.Empty)));
    graph.AddElement(Elements.edge("e1", "n1", "n2", FSharpList<CyParam.CyStyleParam>.Empty));
    GraphHTML = HTML.toCytoHTML(graph);
}

However, I am unable to call withSize() or any other with* methods on the graph. This must be something F# specific that I am not familiar with. Any ideas on how to approach this? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.