Giter Club home page Giter Club logo

Comments (1)

fskpf avatar fskpf commented on May 24, 2024

Sorry for the late response.

The node_position_mapping in the Jupyter widget is quite different from the grid/row binding in the App-Generator.

With the node_position_mapping you can set the exact coordinates for each node. These coordinates are then used as initial positions. However, note that layouts other than the orthogonal_edge_router and organic_edge_router re-arranged all nodes. So if another layout is predefined (see set_graph_layout), then those positions will be overwritten by the automatic layout arrangement.

On the other hand, the grid/row binding in the App-Generator shows a feature of the automatic layouts like yFiles' HierarchicLayout or OrganicLayout. Basically, it configures the layout to respect the additional grid constraints, while still providing an automatic placement for the nodes/edges.

Although the yFiles layout algorithms are capable of such features, we want to keep the layout options in the Jupyter widget simple and easy to use. For more options, you can always export the graph to yEd Live (see the toolbar button in the Jupyter widget) and use the options there (though it also doesn't offer this row/column grid feature, but many other layout settings to fine-tune the automatic arrangement).

There are currently no plans to add fine-granular layout settings, though we may add some more non-configurable layout styles in the future.

Apart from these free applications, there is also the commercial diagramming SDK yFiles which provides the full package of options (much more than is showcased in these free apps). So you could easily implement a similar and/or more specifically tailored app for your use case.

from yfiles-jupyter-graphs.

Related Issues (20)

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.