Coder Social home page Coder Social logo

pcf-network-graph's Introduction

PCF Network Graph

A Power Apps custom control that implements cytoscape.js network graph library. Cytoscape.js is a highly configurable and flexible library for visualizing network graphs.

Features

Configuration

  1. configure the graphData or items property of the control. If graphData is set the items property will be disregarded. This makes it simpler to debug as you can change your graph inline.
  2. Optionally configure the styling. If not it will use cytoscape default styling
  3. Optionally configure the layout. If not it will use cytoscape default layout

Demo

CPAL Data Model Explorer

Example Power Apps implementation

CDS Data Model Explorer (https://github.com/jenschristianschroder/CPAL-Data-Model-Explorer)

pcf-network-graph's People

Contributors

jenschristianschroder avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

pcf-network-graph's Issues

Issue with larger datasets and suggestions for improvement

Hi Jens Christian,

I love this component, but i have some suggestions for improvement and found some issues that you may want to fix:

  • for large dataset with several classes the component will not display all nodes/edges when inputted into the Graph DataSet(Items). If the same dataset in JSON format is provided to the GraphData input field it does display all nodes/edges. It looks like somewhere in iterating through all the records in the component something is lost.
  • There is a double definition of Width / Height. One sets the width/height of the component container, the other the width/height of the cytoscape container. It would be nicer if there is only 1.
  • There is a fixed black border around the cystoscape container. it would be nicer to have a border as an option or no border at all
  • It would be nice to have the add-on layout options included in the component, e.g. spread
  • The version used of cytoscape is rather old.
  • The Search option is confusing, why are there 2 inputs for Search Input. How should they be used?
  • What is the autoupdate button meant for?

Best regards,

Jaco Band

Importing

Hi there @jenschristianschroder I love the presentation and the functionality you show for the app. But could you help me out with using the solution? Do i import it as an canvas app solution? Or is it a component? In both cases i run into errors. Maybe I could add to the ReadMe here once I get it to allow for adoption by noobs as well haha.

Thomas

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.