Skip to main content
100%

Fork of Network graph

✓ Published6🌍 Public
Rreddysushma994@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello HTML

This example shows a fixed-layout network graph of Bangalore neighborhoods, with tomato-colored hexagonal nodes and olive-drab connecting edges on a Canvas. It uses the HTML5 Canvas API directly, with `getContext('2d')`, manual shape drawing via `beginPath()`, `moveTo()`, and `lineTo()`, and hardcoded node coordinates and link data in JavaScript arrays. The graph’s title and structure are defined in the `index.html` page, and the `adjustCanvasSize()` function dynamically resizes the canvas based on the maximum node positions.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes